mndar n00b
Joined: 04 Apr 2005 Posts: 52
|
Posted: Thu Feb 19, 2015 12:14 am Post subject: Gentoo on Freerunner. Busybox uClibc Kernel Panic |
|
|
I am trying to install Gentoo on my Freerunner. I have been successful using glibc. I can ssh into the phone.
Now, I trying to do the same with uclibc.
I used crossdev to build a armv4tl-softfloat-linux-uclibceabi toolchain. I then compiled Busybox.
But while booting I get Code: | Kernel panic - not syncing: Attempted to kill init! | Busybox built with a armv4tl-softfloat-linux-gnueabi toolchain works fine
Could this have something to do with uClibc ?
To check whether the uclibc toolchain can produce executable binaries, I booted to phone using a glibc rootfs and copied over a small program compiled with the uclibc toolchain Code: | armv4tl-softfloat-linux-uclibceabi-gcc -o myroot/root/hello temp/hello.c -static | Trying to run the program gives an error 'Illegal Instruction'. The same thing happens with a statically compiled Busybox binary.
Here is the output of file Code: | # file myroot/bin/busybox
myroot/bin/busybox: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, stripped |
|
|