On 2018-09-30, Ivo De Decker wrote: > 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 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
Thanks for working on it! The patches don't change too much and even make some improvements to debian/rules, so that's great! I'll likely merge parts of it regardless. > 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? Overall, I like the improvements, but I have mixed feelings. With multi-arch being possible, I'm inclined to keep things native... At the same time, multi-arch is a bit annoying to require for someone wanting to use qemu to boot a foreign architecture... Since all the cross-compilers are (currently) only available on amd64/i386, this would mean you can't build u-boot's arch:all packages on anything other than amd64/i386, which might cause problems for tests.reproducible-builds.org, which builds both arch:any and arch:all packages for amd64, i386, arm64 and armhf. I think it would also be easier to transition to arch:all later and start off with native packages than the other way around. > 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. That looks like a good start, even one example would made it solid. Surely better than some of the other u-boot packages. So, Not sure yet either way, but thanks for putting your time and energy into it thus far! live well, vagrant
signature.asc
Description: PGP signature