Package: u-boot-qemu
Version: 2020.10+dfsg-1
Severity: important

u-boot-qemu currently ships:
  /usr/lib/u-boot/qemu-x86/u-boot.bin
  /usr/lib/u-boot/qemu-x86/uboot.elf
  /usr/lib/u-boot/qemu-x86_64/u-boot.bin
  /usr/lib/u-boot/qemu-x86_64/uboot.elf

However, these do not seem to be functional. e.g.
  qemu-system-i386 -nographic -bios /usr/lib/u-boot/qemu-x86/u-boot.bin
  qemu-system-x86_64 -nographic -bios /usr/lib/u-boot/qemu-x86_64/u-boot.bin
fails with:
  qemu: could not load PC BIOS '/usr/lib/u-boot/qemu-x86/u-boot.bin'

I believe that the correct file to use here is "u-boot.rom" which is
what u-boot's documentation refers to as well. I've confirmed with a
local build that it indeed boots with the invocation above.

The rom file is generated by u-boot's build system without any changes;
it's just currently not shipped by the Debian package. I think the fix
here may be as simple as:
  sed -i '/x86/s/bin/rom/' debian/targets

Thanks!
Faidon

Reply via email to