How to use our stock armv7-RPI2 images with QEMU?
Sylvain Garrigues
sylgar at gmail.com
Tue Dec 19 22:11:06 UTC 2017
Le 19 déc. 2017 à 22:36, Warner Losh <imp at bsdimp.com> a écrit :
> Any chance the uboot image could be used for the kernel?
As far as I remember, the current u-boot is stuck in an infinite loop when run in qemu with -kernel u-boot.bin -machine raspi2, during u-boot mmc initialization.
The attached ugly patch made u-boot able to go further and recognize partitions on the sd image attached to qemu in raspi2 configuration. This patch was just for fun, I don’t know what side effects it may have. I actually tested it successfully with qemu aarch64 to load loader.efi from the RPI3 aarch64 snapshot, but I’m pretty sure the same patch would allow u-boot to load loader from an RPI2 armv7 snapshot.
Sylvain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot_qemu_raspi2.patch
Type: application/octet-stream
Size: 2406 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20171219/be89e59d/attachment.obj>
More information about the freebsd-arm
mailing list