Venkatraman Vaitheeswaran

2.6.31 Kernel Hangs on bootup- iMX25

Discussion created by Venkatraman Vaitheeswaran on Nov 6, 2011
Latest reply on Nov 10, 2011 by Venkatraman Vaitheeswaran

Hello,

 

I am using an iMX25 board which has a Micron MT29F1G08AACWP NAND Flash.

Downloaded the L2.6.31_09.12.01.SDK. The redboot_TO1_1.bin didn't work upfront with the board (it gave error message.

 

Made changes to mxc_nand_parts.inl to include this NAND info, recompiled the boot loader, burnt it using the ATK tool (changes made in tool to burn to this NAND Flash). No warnings or errors in Bootloader messages. fis commands work properly.

 

The linux2.6.31 patch was applied to the linux 2.6.31 in the pkgs/patches folder (just ran patch-kernel.sh).

Made changes to drivers/mtd/nand/nand_device_info.c. Added changes for MT29F1G08, similar to

(http://www.voipac.com/downloads/imx/51/src/kernel/linux-2.6.35.3_imx-vmx51-diff0.txt)

The zImage was downloaded over serial (ymodem) and did fis write on NAND. fis list shows the kernel at 0x300000.

 

fis load kernel

exec -c "noinitrd console=ttymxc0,115200 remove_dbg"

Uncompressing kernel............................booting.

 

The board LCD lights up.

No more messages on console. It just hangs up there.

 

I thought it would get to the point where it won't find the rootfs and stop there.

 

Any pointers as to where I am going wrong would be helpful. Please let me know if you need more information.

 

Venkat

Outcomes