Joined: 04 Apr 2005
|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
Busybox built with a armv4tl-softfloat-linux-gnueabi toolchain works fine
|Kernel panic - not syncing: Attempted to kill init! |
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
Trying to run the program gives an error 'Illegal Instruction'. The same thing happens with a statically compiled Busybox binary.
|armv4tl-softfloat-linux-uclibceabi-gcc -o myroot/root/hello temp/hello.c -static |
Here is the output of file
|# file myroot/bin/busybox
myroot/bin/busybox: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, stripped