Wayne Wayne

Porting a kernel

Discussion created by Wayne Wayne on Nov 23, 2011
Latest reply on Jan 10, 2012 by David Lynch

Hi all,

 

I'm looking for some guidance on how to tackle a kernel boot problem. I have been using a i.MX53 Emtrion SOM, this module comes with its own BSP with a 2.6.35.3 kernel, there are some outdated drivers and features missing in the BSP, however they are contained in the 2.6.38 kernel hosted in Freescales git repo here http://opensource.freescale.com/git?p=imx/linux-2.6-imx.git;a=summary. There I am attempting a port.

I have been hacking the 2.6.38 kernel with information from the Emtrion BSP kernel in the hope that I could get the board to boot to some degree. I have managed to build the 2.3.38 kernel but when the board boots it gets stuck at the "booting kernel" message.

 

Calculated data checksum = 0x221d9f41 (OK)

linux will be booted now

## Booting kernel from Legacy Image at 70800000 ...   
Image Name:   Linux-2.6.38-ga269596-dirty   
Created:      2011-11-23   9:29:59 UTC   
Image Type:   ARM Linux Kernel Image (uncompressed)   
Data Size:    2140812 Bytes = 2 MiB   
Load Address: 70008000   
Entry Point:  70008000   
Verifying Checksum ... OK   
Loading Kernel Image ... OK
Starting kernel ...

Uncompressing Linux... done, booting the kernel.

 

I have put some printks in my board init function but it would appear the the boot process isn't even getting as far as the board init, could anyone offer up some suggestions on where I should be looking to try and fix this?

 

Thanks very much

 

W.

Outcomes