Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Jul 2011 06:49:16 -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:  <4E18403C.8010203@gmail.com>
In-Reply-To: <1310178351.5681.4.camel@bmcgover-laptop.beta.com>
References:  <20110708120025.5C94210656D9@hub.freebsd.org> <1310178351.5681.4.camel@bmcgover-laptop.beta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/8/2011 9:25 PM, Brian J. McGovern wrote:
> While I'm waiting to get real HW, I wanted to play with qemu's arm
> emulation. I've built binaries and a kernel with "make TARGET=arm
> TARGET_ARCH=arm DESTDIR=/usr/tmp/armbuild" and the buildworld,
> installworld, buildkernel, and installkernel targets. For the moment,
> I'm trying to use the GUMSTIX kernel configuration file.
>
> I'm getting hung up, apparently, on turning the resulting binary set in
> to something which can be booted. I've played with a number of settings
> for mkimage, but can't seem to get it right. When I go to boot the
> result, at best, I get a ":" in the emulation window. At worst, the
> emulator crashes.
>
> Any pointers to web documents that does a good job of describing the
> process? Google for obvious search terms (e.g. FreeBSD arm mkimage)
> turns up some older pages, none of which seem to result in a working
> kernel.
>
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>

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. * 
<http://svnweb.freebsd.org/base?view=revision&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.

.



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