Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#55480 - 05/01/2002 20:12 Build environment help
kday
new poster

Registered: 05/01/2002
Posts: 40
Loc: Boston, MA
Hello -

I just got my empeg last week and, of course, I love the damned thing already. I want to start hacking it. I have a fair amount of Linux and embedded ARM (SA110) development experience, but I've never needed both for the same machine before... this ought to be interesting.
To get my feet wet, I want to write a mileage computer. You know, just type in the odometer reading and fuel amout at every fill-up (hooking it up to the fuel computer for real time fuel consumption comes later ). I've been playing around with Hijack and it seems perfect for what I want to do.

However, I can't get a kernel to build. I've tried a few different ARM toolchains from the net, as well as a freshly-built binutils 2.11.92. This happens with a clean kernel from empeg... anybody know what's going on?


/usr/local/arm/bin/arm-linux-gcc -D__KERNEL__ -I/usr/src/empeg/kernel/include -D__ASSEMBLY__ -mno-fpu -mapcs-32 -marmv4 -c -o entry-armv.o entry-armv.S
entry-armv.S: Assembler messages:
entry-armv.S:456: Warning: Rn and Rd must be different in LDRT
entry-armv.S:500: Warning: rest of line ignored; first ignored character is `0'
entry-armv.S:542: Warning: rest of line ignored; first ignored character is `0'
entry-common.S:27: Warning: rest of line ignored; first ignored character is `0'
entry-armv.S:729: Warning: rest of line ignored; first ignored character is `0'
entry-armv.S:769: Warning: rest of line ignored; first ignored character is `0'
entry-armv.S:810: Warning: rest of line ignored; first ignored character is `0'
entry-armv.S:837: Warning: rest of line ignored; first ignored character is `0'
entry-common.S:86: Error: Internal_relocation (type 230) not fixed up (IMMEDIATE)
make[1]: *** [entry-armv.o] Error 1
make[1]: Leaving directory `/u6/empeg/kernel/arch/arm/kernel'


Top
#55481 - 05/01/2002 21:12 Re: Build environment help [Re: kday]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14484
Loc: Canada
Try the pre-built (Redhat-7.0 or later, including Mandrake) toolchain from my site -- I updated it earlier this week for better distribution compatibility:

http://empeg-hijack.sourceforge.net/

Just untar it as root under / (it will end up under /usr/local/armtools-empeg/

and then pre-pend "/usr/local/armtools-empeg/bin" to your PATH before using make. This is exactly what I use to build the Hijack kernels I distribute.

export PATH="/usr/local/armtools-empeg/bin:$PATH"

Cheers.

-ml


Edited by mlord (05/01/2002 21:13)

Top
#55482 - 05/01/2002 21:23 Re: Build environment help [Re: kday]
Fastrack
member

Registered: 29/10/2001
Posts: 137
Loc: Toronto, Ontario Canada
Hey, that sounds like a cool little hack. Keep us updated, it would be handy!
_________________________
Ben Rio Car 10GB + 60GB Toshiba ([green]Green[/green]) - Serial # 30102833

Top