How to use our stock armv7-RPI2 images with QEMU?

Alexey Dokuchaev danfe at nsu.ru
Sun Dec 24 10:27:24 UTC 2017


On Tue, Dec 19, 2017 at 11:11:01PM +0100, Sylvain Garrigues wrote:
> 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.

Hmm, where does one get u-boot.bin file?  I don't see it in the FreeBSD
RPi2 image anywhere (expected to find under /boot).

> The attached ugly patch made u-boot able to go further and recognize
> partitions on the sd image attached to qemu in raspi2 configuration.

Thanks, might be useful once I get acquainted with all that armish u-boot
stuff and such.

./danfe


More information about the freebsd-arm mailing list