Re: [MIPS] Build an embedded initramfs into mips kernel

2007-12-19 Thread Alon Bar-Lev
Thank you for your help. Indeed the dynamic loader of uclibc is the cause. I upgraded to latest uclibc-0.9.29, and finally the files was linked against uclibc's ld. But it did not work... Tried to run a dynamic linked executable via static shell, and got floating point exception. Tried to compile t

Re: [MIPS] Build an embedded initramfs into mips kernel

2007-12-18 Thread Willy Tarreau
On Wed, Dec 19, 2007 at 12:09:46AM +0200, Alon Bar-Lev wrote: > On 12/18/07, H. Peter Anvin <[EMAIL PROTECTED]> wrote: > > Make sure your /init doesn't depend on an interpreter or library which > > isn't available. > > Thank you for your answer. > > I already checked. > > /init is hardlink to bu

Re: [MIPS] Build an embedded initramfs into mips kernel

2007-12-18 Thread H. Peter Anvin
Alon Bar-Lev wrote: On 12/18/07, H. Peter Anvin <[EMAIL PROTECTED]> wrote: Make sure your /init doesn't depend on an interpreter or library which isn't available. Thank you for your answer. I already checked. /init is hardlink to busybox, it depends on libc.so.0 which is available at /lib B

Re: [MIPS] Build an embedded initramfs into mips kernel

2007-12-18 Thread Alon Bar-Lev
On 12/18/07, H. Peter Anvin <[EMAIL PROTECTED]> wrote: > Make sure your /init doesn't depend on an interpreter or library which > isn't available. Thank you for your answer. I already checked. /init is hardlink to busybox, it depends on libc.so.0 which is available at /lib But shouldn't I get a

Re: [MIPS] Build an embedded initramfs into mips kernel

2007-12-18 Thread H. Peter Anvin
Alon Bar-Lev wrote: Hello, I am trying to build a basic initramfs image into the kernel, using the CONFIG_INITRAMFS_SOURCE. The required result is a single image loaded into a target containing usermode application (busybox). I use cross compile mipsel-unknown-linux-uclibc in order to build the

[MIPS] Build an embedded initramfs into mips kernel

2007-12-18 Thread Alon Bar-Lev
Hello, I am trying to build a basic initramfs image into the kernel, using the CONFIG_INITRAMFS_SOURCE. The required result is a single image loaded into a target containing usermode application (busybox). I use cross compile mipsel-unknown-linux-uclibc in order to build the kernel and the initra