On Fri, May 15, 2009 at 08:56:20PM +0000,
patrick.oeschger@... wrote:
> hi there
> some guys seem to work on a OMAP3 port of openbsd...
> i have a gumstix overo board since end of last year and did some work myself
> *porting newbie*
> after compiling the kernel (bootstrap code) with the standard openbsd4.4 compiler my new kernel was looping
> reading the assembler code that was generated for bootstrap showed that there were some very strange jump
> instructions which caused the loop...
> then i took the newest gcc with CORTEX support and the kernel bootstrap worked just fine
> *hmmm*
>
> - what gcc version are you guys using for compiling OMAP3 kernels?
> - which processor type do you use when using the standard openbsd4.4 gcc (which has no CORTEX support)?
> - any suggestions to clearify these loops?
>
> many thanks
> /pat
>
Look at the sys/arch/beagle directory for the initial omap support.
Currently gcc3 is being used, either natively or cross compiling on
OpenBSD i386 using Makefile.cross TARGET=armish
The compiler is not generating any armv7 specific code at this time.
There may be some problems that some of the new Cortex instructions are
not supported by the older binutils in use.
I will be getting a gumstix overo in a couple of weeks and will be working
on adding that to the beagle port.
This is something that I have been working on in my limited spare time recently
and is not complete yet.
Dale Rahn
drahn@...