Re-configuring busybox that comes with DENX's ELDK SELF

Randy Smith rsmith at imagemap.com
Fri Apr 28 04:45:33 EST 2006


Hello,

I have a weird situation that I am very confused about and I was 
wondering if some kind soul would point me in the right direction?

I have a working powerpc embedded system using the 2.4 kernel built with 
DENX' ELDK and root file system from DENX' SELF.
I am trying to enable some additional applets in the busybox (well, tftp 
anyway) that came with SELF. I am using the ELDK cross toolchain on an 
x86 box to build everything and the powerpc board itself is based on an 
Icecube board. I thought I could do the following...

1. Download the source for busybox and compile it using the cross tools 
from DENX.
2. Install it in my target root file system
3. Make the jffs2 file system image and flash it into the unit under test.

When I do this, the kernel loads and boots just like before and then 
hangs after is says it is freeing unused memory. I am assuming that this 
is where it is trying to run the new init that I just installed, so 
obviously it isn't working like I planned.

Where did I go wrong?

I am thinking that I have a library mismatch/issue and that the new init 
binary can't/won't run with the runtime libraries that come with SELF, 
but I don't know how to go about correcting this if this is the case.

Opinions or urls to tutorials welcome.

Thanks,

-Randy Smith
Software Engineer
Imagemap, Inc.



More information about the Linuxppc-embedded mailing list