linux-2.6.26.5
busybox-1.13.1
uClibc-0.9.30
target: broadcom BCM56224
Hello to everybody
I'm tryng to bring up
busybox embedded in my initramfs.
After the boot i get the message
Kernel panic - not syncing: Attempted to kill init!
Using a simple hello C program instead of
busybox I can happly get the
"Hello world" to the console.
I suspect that I'm missing some fundamental bits in my initramfs
Code:
dir /proc 755 0 0
dir /sys 755 0 0
dir /mnt 755 0 0
dir /root 755 0 0
dir /dev 755 0 0
nod /dev/console 644 0 0 c 5 1
nod /dev/ttyS0 644 0 0 c 4 64
nod /dev/loop0 644 0 0 b 7 0
dir /bin 755 0 0
dir /sbin 755 0 0
dir /etc 755 0 0
file /bin/busybox /home/selva/mips/busybox-1.10.1/busybox 755 0 0
#file /bin/busybox /home/selva/mips/busybox-1.13.1/busybox 755 0 0
#file /bin/busybox /home/selva/mips/target/bin/busybox 755 0 0 (troppo grosso)
slink /bin/init /bin/busybox 777 0 0
#slink /sbin/init /bin/hello 777 0 0
slink /sbin/init /bin/busybox 777 0 0
file /bin/hello usr/hello 755 0 0
file /etc/inittab rootfs/etc/inittab 755 0 0
It seems to me that
busybox dies at beginning.
I tried also to put on it some printf at very beginning main() but I can't see nothing on the console.
Why ? The kernel panic stops everyting before any user message can go through ?
I'm clueless so any pointer to make more investigation is very welcomed
Thanks
Andrea