![]() For whatever reason, when you compile SeaBIOS in Csm16 mode, and use it under EDK2's OvmfPkg, the ATA_CMD_IDENTIFY_PACKET_DEVICE command doesn't work properly, therefore, SeaBIOS detects the "SATA HARDDISK" as a "SATA CDROM" device, in QEMU. Despite the Tianocore developers seem to have removed support for Csm16 some time ago, if we decide to remove Csm16 mode in SeaBIOS in favor of that, at least we have the last commit of Csm16 working properly and not half-broken. In order to fix this bug, I decided to add another command, that command being ATA_CMD_DEVICE_RESET, right before the ATA_CMD_IDENTIFY_PACKET_DEVICE command is called. Signed-off-by: Christopher Lentocha <christopherericlentocha@gmail.com> Message-ID: <eabe9bd2-a7c4-84dd-9a18-7e2e5e1f1247@gmail.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> |
||
---|---|---|
docs | ||
scripts | ||
src | ||
vgasrc | ||
.gitignore | ||
COPYING | ||
COPYING.LESSER | ||
Makefile | ||
README |
README
Welcome to the SeaBIOS project! This project implements an X86 legacy bios that is built with standard GNU tools. Please see build and developer information at: http://seabios.org/Developer_Documentation For the impatient, SeaBIOS is built for QEMU and tested on QEMU with: make qemu -bios out/bios.bin SeaBIOS can be configured with kconfig. To change the default configuration one can run "make menuconfig" prior to running "make". For other types of builds, and for more detailed developer documentation, please see the online documentation listed above.