Suggestions for arm build for qemu?

Mark Tinguely marktinguely at gmail.com
Mon Jul 11 01:17:21 UTC 2011


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


More information about the freebsd-arm mailing list