Nicholas Ipri

iMX283 SD/MMC0 kernel boot hangs

Discussion created by Nicholas Ipri on May 21, 2012
Latest reply on Dec 6, 2012 by jar raj


I have a custom iMX283 board with a single 1Gb Micron DDR2 chip, same as the one used on the iMX28 EVK. I am trying to boot Linux from a micro SD on MMC0. The kernel intermittently hangs during the boot process, sometimes just after decompressing, sometimes towards the middle of the boot sequence and sometimes the kernel actually boots through to a login prompt. When it does, everything seems to work properly. The memory test in the boot_prep bootlet (init-mx28.c) always completes successfully. I am using LTIB as downloaded from the Freesscale website with kernel version 2.6.35. Although the memory test always passes I still suspect that this problem is memory timing related and that the kernel isn't always decompressing properly. One thing I would like to try is to slow down the CPU and memory clocks but am not quite sure how to go about that in the code. I'm also inclined to change some memory settings in the DDR2 register table function in init-mx28.c but am not exactly sure about what to change given that the kernel boots successfully on the EVK board. Any suggestions are greatly appreciated!