Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2017 11:50:05 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Sylvain Garrigues <sylgar@gmail.com>, Warner Losh <imp@bsdimp.com>
Cc:        Alexey Dokuchaev <danfe@nsu.ru>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: How to use our stock armv7-RPI2 images with QEMU?
Message-ID:  <1513709405.29087.2.camel@freebsd.org>
In-Reply-To: <07FDE656-3DBA-4EB6-80F5-A7E25051DB37@gmail.com>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1513709405.29087.2.camel>