Hi Vagrant,

On Mon, Sep 10, 2018 at 01:12:14PM -0700, Vagrant Cascadian wrote:
> > 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 pushed a branch 'qemu' to salsa which creates a u-boot-qemu package with the
images for the architectures that are actually in debian:

qemu-x86_64 qemu-x86 qemu_arm qemu_arm64 qemu_mips qemu_mipsel qemu_mips64el

Inspired by other qemu bootloaders (like edk2, openbios, ...), I created this
as an arch all package, which is built using the cross compilers available in
the archive. This caused some changes in the build of the package. I would be
interested to get your feedback on this. Do you think this is an acceptable
way forward?

The existing u-boot packages contain a build of qemu-mips. The transition to
the new u-boot-qemu package still needs to be done.

> 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.

I started a preliminary README.Debian, but I intend to add some examples to
it. If there is specific information you want to see, please let me know.

> 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

I guess these images can be added once the patches are accepted upstream.


Ivo

Reply via email to