Compiling a 3.7 kernel from kernel.org. Boot halts after kernel uncompressed

Started by jlumme, December 13, 2012, 08:15:10 AM

Previous topic - Next topic

jlumme

I downloaded a new kernel from kernel.org, and I compiled a kernel for olinuxino.

Changes I did.
- Updated imx23-olinuxino.dtsi and ims23.dts
- Merged changes (from 3.6-rc2) to mxs-phy.c

After this, I reconfigured with mxs default config, and then configured in kernel following components: SMSC95xx, MTD for spi flash, SPI for MXS and boot string passed to kernel I set to [noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc ssp2=spi2]

Now all seems to go well, I compile kernel and modules, append the newly created DTB to kernel. Create bootlets with this zImage_dtb.
Bootlets seem to go ok, but then the boot will just stop:
Uncompressing Linux... done, booting the kernel.



jlumme

Ok, I managed to solve this issue. Most likely an user error :)
I took another clone from Freescale mainline kernel, this time specifying the patch set (-b patches-3.7). Last time I just cloned as is (assuming that it will take latest one ?) maybe that was the problem..

Also I didn't start merging any of the stuff to mxs-phy.c from older kernel.. And now it boots ok.