Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jul 2011 20:17:12 -0500
From:      Mark Tinguely <marktinguely@gmail.com>
To:        "Brian J. McGovern" <mcgovern@beta.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Suggestions for arm build for qemu?
Message-ID:  <4E1A4F18.5000802@gmail.com>
In-Reply-To: <1310344111.1455.3.camel@bmcgover-laptop.beta.com>
References:  <20110708120025.5C94210656D9@hub.freebsd.org> <1310178351.5681.4.camel@bmcgover-laptop.beta.com> <4E18403C.8010203@gmail.com> <1310344111.1455.3.camel@bmcgover-laptop.beta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/10/2011 7:28 PM, Brian J. McGovern wrote:
> [trimmed]
>> I had a problem starting the boot with GUMSTIX kernel and qemu. I
>> finally traced it to the change in arm/arm/elf_trampoline.c revision
>> 194609. I kept a copy of that file with that change, but manually
>> added the changes that followed it.
>>
>> Also you need to disable the "ARM_CACHE_LOCK_ENABLE" option in
>> arm/xscale/std.h because qemu does not emulate every feature of the
>> GUMSTIX.
>>
>> --Mark Tinguely.
>>
>> .
> Thanks. I'm still working with the 8.2 source in CVS. It sounds like I'm
> going to have to catch up to -CURRENT.
>
>

The 194609 change is also in FreeBSD 8.2 elf_trampoline.c. When it was 
in the kernel, qemu would just sit there in some loop.

With option ARM_CACHE_LOCK_ENABLE compiled into the kernel, qemu will 
give an illegal instruction error.

--Mark Tinguely



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