EmcraftSystems / linux-emcraft

uClinux for Cortex-M3 and Cortex-M4, version 2.6.33
http://www.emcraft.com
Other
267 stars 209 forks source link

Kernel panic: No init found #3

Closed thuoeg closed 11 years ago

thuoeg commented 11 years ago

Hi, I'm to use this kernel for the a2f-actel-dev-brd platform. The kernel build sucessifully, and load using u-boot. I've build busybox 1.16.0 sucessifully and update my initramfs-list-min file with basic character devices in /dev i.e console and the necesary $slinks for the busybox including /bin/init, but I keep getting the above error.

Please help

sposelenov-emcraft commented 11 years ago

Hi,

Regards, Sergei

On Mon, 1 Oct 2012 13:00:51 -0700 thuoeg notifications@github.com wrote:

Hi, I'm to use this kernel for the a2f-actel-dev-brd platform. The kernel build sucessifully, and load using u-boot. I've build busybox 1.16.0 sucessifully and update my initramfs-list-min file with basic character devices in /dev i.e console and the necesary $slinks for the busybox including /bin/init, but I keep getting the above error.

Please help


Reply to this email directly or view it on GitHub: https://github.com/EmcraftSystems/linux-emcraft/issues/3

thuoeg commented 11 years ago

Hi, yes, busybox has support for init and I've added "init=/bin/init" to bootargs in uboot and still I'm gettting the same error. However i think the problem is the way I'm building busybox i.e It's configuration, toolchain I'm using and the initramfs-list-min file. Though, I'm relatively confident on my setting in initramfs-list-min, I'm not sure of my configuration and toolchain. Currently, this is what I,m doing:

            Toolchain: arm-uclinuxeabi- (Sourcery G++ Lite 2011.03-46)
            Configuration: default configuration -> defconfig  but I build statically i.e no shared lib.
            Busybox version: busybox-1.20.2.

Please help. If i can get the basic initramfs-list-min .config for busybox and the toolchain you are using, that will be great.

Thanks.

sposelenov-emcraft commented 11 years ago

Hi,

The toolchain looks like the correct one. Check the optimization options you are using. You should use -mcpu=cortex-m3 -mthumb for uclibc and busybox build.

On Tue, 2 Oct 2012 04:41:13 -0700 thuoeg notifications@github.com wrote:

Hi, yes, busybox has support for init and I've added "init=/bin/init" to bootargs in uboot and still I'm gettting the same error. However i think the problem is the way I'm building busybox i.e It's configuration, toolchain I'm using and the initramfs-list-min file. Though, I'm relatively confident on my setting in initramfs-list-min, I'm not sure of my configuration and toolchain. Currently, this is what I,m doing:

            Toolchain: arm-uclinuxeabi- (Sourcery G++ Lite

2011.03-46) Configuration: default configuration -> defconfig but I build statically i.e no shared lib. Busybox version: busybox-1.20.2.

Please help. If i can get the basic initramfs-list-min .config for busybox and the toolchain you are using, that will be great.

Sorry but no. We offer support only for the customers of our products.

Regards, Sergei

Thanks.


Reply to this email directly or view it on GitHub: https://github.com/EmcraftSystems/linux-emcraft/issues/3#issuecomment-9068060

thuoeg commented 11 years ago

Hi, This did it. Thanks a lot thats what I was forgetting, and thanks again for putting this support on-line for free.