How to use our stock armv7-RPI2 images with QEMU?
Ian Lepore
ian at freebsd.org
Tue Dec 19 18:50:14 UTC 2017
On Tue, 2017-12-19 at 17:58 +0100, Sylvain Garrigues wrote:
>
> The trick that make it work for me is to recompile qemu with one
> modification: change KERNEL_LOAD_ADDR to 0x100000 instead of 0x10000
> in hw/arm/boot.c
0x10000 will never work for a freebsd armv6/7 kernel; the kernel must
be loaded on a 2MB boundary to work with all SoCs (1MB for most). It
should just be permanently changed (via port patch or upstream or
whatever) to 0x200000, which will always work.
-- Ian
More information about the freebsd-arm
mailing list