This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem building Linux kernel; Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

Hi,

I'm trying to rebuild the TI Linux 3.2.0 kernel for a BeagleBone.  I have the ti-sdk-am335x-evm-05.05.01.00 SDK installed.

First question; which tree should I be building from:

ti-sdk-am335x-evm-05.05.01.00/board-support/board-port-labs/sitara-board-port-linux

or

ti-sdk-am335x-evm-05.05.01.00/board-support/linux-3.2.0-psp04.06.00.08.sdk?  What is the exact difference between these two directories?

For my test I used the source in ti-sdk-am335x-evm-05.05.01.00/board-support/linux-3.2.0-psp04.06.00.08.sdk.

I used the steps shown in http://pastebin.com/5BCBHDC3 to build the kernel.  The only modification I made in the menuconfig was compiling in ext4 support (not as a module), as my rootfs is ext4 debian 6.0.  The .config file used is at http://pastebin.com/eWAFEubk

After copying the files over and rebooting the BeagleBone I get these messages on startup, looks to me like it can't mount the root filesystem:

http://pastebin.com/weupE9Mu

The message "request_module: runaway loop modprobe binfmt-464c" may be a clue. 

Can anyone please tell my why this kernel is not booting and how to get it to work?

My cross compiler is the one from the TI-SDK, i.e. arm-arago-linux-gnueabi-gcc (GCC) 4.5.3 20110311 (prerelease)

Thank you,

Sean