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.

L138 Experimenter not booting the kernel

Other Parts Discussed in Thread: OMAPL138, OMAP-L138

Hi

I had a working system till this morning. Now the kernel stops at "..,booting kernel". If I use the kernel on the SPI FLASH - it works. I have also built a clean image based on da850_omapl138_defconfig and it still does not boot. I load my rootfs and uImage via tftp. This is the log:

U-Boot 2009.01 (Jul 30 2009 - 11:58:01)

DRAM:  64 MB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 300000000 Hz
Ethernet PHY: GENERIC @ 0x00
Hit any key to stop autoboot:  0
TFTP from server 192.168.0.107; our IP address is 192.168.0.151
Filename 'ramdisk.gz'.
Load address: 0xc1180000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################
done
Bytes transferred = 6422035 (61fe13 hex)
TFTP from server 192.168.0.107; our IP address is 192.168.0.151
Filename 'uIm'.
Load address: 0xc0700000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######################
done
Bytes transferred = 2113736 (2040c8 hex)
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.33-rc4
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2113672 Bytes =  2 MB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

And then it hangs.

What could be wrong?

Regards

Ian

  • Hi,

    Refer to http://elinux.org/Kernel_Debugging_Tips, specifically have a look at "Accessing the printk buffer after a silent hang on boot". This will give you some idea to debug this issue.

    Regards, Sudhakar

  • Hi Ian,

    Can you share the contents of the bootargs U-Boot varaible? Note that console on OMAP-L138 EVM is on ttyS2.

    Thanks,

    Sekhar

  • Hi

    I looked at the debugging tips. Problem is - I could not get a kernel load that had the printk buffer defined - so I could not find the memory point. Maybe it is in some compile map file but I did not get that far.

    I did solve the problem though by using an extra board and swopping hardware components out. The problem is the experimeter board addition that I made. I added a coin cell onto the RTC battery input and removed the resistor strapping the RTC supply to 3.3V. When the coin battery discharges to 2.0 V, then the SOM LDO regulator input voltage drops too far causing V_RTC to be too low. This stops the kernel from booting. Perhaps due to early RTC checking.

    regards

    Ian