[coreboot] SeaBIOS VGA failure after ctrl-alt-delete
Rudolf Marek
r.marek at assembler.cz
Sat Oct 10 14:41:56 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Kevin
You can do good old "keyboard reset" trick.
kbd_wait();
outb(0xfe, 0x64);
This know working good.
Or throuh port 92h (less likely)
Or triple fault, which generates shutdown cycle.
load_idt(&no_idt);
_asm__ __volatile__("int3");
Or port cf9 which seems bit like chipset standard at least VIA/Intel has it.
Linux enables it if type 2 or 1 PCI config works.
u8 cf9 = inb(0xcf9) & ~6;
outb(cf9|2, 0xcf9); /* Request hard reset */
udelay(50);
outb(cf9|6, 0xcf9); /* Actually do the reset */
udelay(50);
Or we could provide a ACPI 3.0 reset register, so SeaBIOS can read this and do
reset ;)
Rudolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkrQgRQACgkQ3J9wPJqZRNXcqgCgsx2YEaSb+KzYrJiekpIdxtrW
exMAoJ9JWBxQrFUaTTYsk55m4BBLwrh3
=HXyC
-----END PGP SIGNATURE-----
More information about the coreboot
mailing list