On 2018-08-29, Ivo De Decker wrote:
> Upstream u-boot ships a config for qemu. It would be nice to have the u-boot
> package build this. I tested it on armhf and arm64. Qemu can be started with
> "-bios /path/to/u-boot.bin". All that is needed is a boot.src or
> extlinux.conf. On a clean install with d-i, running u-boot-update (from
> u-boot-menu) is enough. Flash-kernel could probably support this too, but it
> would need to be updated.

Thanks for the suggestion!


> If you think this is a good idea, I can write a patch (or create a merge
> request) that creates a u-boot-qemu package. I wonder if this would be
> usefull on other architectures (besided arm*).

I've been hesitant to include the qemu targets in the past, but if it
would actually be useful to people, I could see enabling u-boot-qemu for
at least arm64, armhf and *maybe* some of the mips, ppc, x86 and x86_64
targets. U-Boot v2019.09-rc3 contains:

  qemu-ppce500_defconfig qemu_arm64_defconfig qemu_mips64el_defconfig
  qemu-x86_64_defconfig qemu_arm_defconfig qemu_mips_defconfig
  qemu-x86_defconfig qemu_mips64_defconfig qemu_mipsel_defconfig

I would want to have a documented way of what it actually takes to use
them, upstream and/or in README.Debian. I've tried some of these targets
in the past and was unable to figure it out, but it's been a while.


There are also patches for riscv submitted upstream, which might be
useful for riscv64 while real hardware is still quite limited:

  https://lists.denx.de/pipermail/u-boot/2018-September/339977.html


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to