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.

Kernel Hangs after u-boot at "starting kernel..."

Other Parts Discussed in Thread: 4430

Hi,

We are working on our custom board based on omap 4430. We are trying to bring up android jelly bean 4.2.5p1 on it.

We were successfully able to build x-loader , u-boot and kernel for our board. x-loader and u-boot boot up on the board without any problem however there seems to be an issue with the kernel.  As soon as the u-boot tries to load the kernel, it hangs without any further message.

Below is the log, the bootargs used can be seen at the u-boot:

@ @ @D(�` @ @ @k��H������U��.HR�.]�][Y��s Inc X-Loader 1.41.0-gdd880470-dirty (Jun 14 2013 - 13:00:28)
mmc read: Invalid size
Starting OS Bootloader from MMC/SD1 ...


U-Boot 1.1.4-g622fcfe5-dirty (Jun 14 2013 - 12:58:39)

Load address: 0x80e80000
DRAM:  1024 MB
Flash:  0 kB
Using default environment

In:    serial
Out:   serial
Err:   serial
Battery not detected
status[initDisplay]: Probing 0x0b success..
Initializing SD(0) Slot.
ptbl slot: SD:(0).
efi partition table not found
efi partition table:
ptbl slot: EMMC:(1).
     256     128K xloader
     512       3M bootloader
    6656     128K misc
    7680     128K serialno
    7936      16M efs
   40704      16K crypto
   40736       8M recovery
   57120       8M boot
   73504     512M system
 1122080     256M cache
 1646368     512M userdata
Net:   KS8851SNL
Hit any key to stop autoboot:  0
OMAP4 GOLDENI #
OMAP4 GOLDENI #
OMAP4 GOLDENI #
OMAP4 GOLDENI # setenv bootargs console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootdelay=2 init=/init vram="32M" omapfb.vram="0:32M" rootfstype=ext3
OMAP4 GOLDENI # mmcinit 0; fatload mmc 0 0x80500000 uImage; bootm 0x80500000
mmc read: Invalid size

3519592 bytes read
## Booting image at 80500000 ...
   Image Name:   Linux-3.4.34-01535-g499e8d5-dirt
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3519528 Bytes =  3.4 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK
I2C read: I/O error

Starting kernel ...

After this it goes blank.

The mach id used is same at the u-boot and kernel.

I have enabled early_printk in the kernel, but still no luck.

Could someone help on this?

Thank You

Prakash