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.

Problem about changing the cpu frequency on OMAP-L137

Hi.

My board is working fine at 300MHz, and now I need to boost the frequency to 372MHz.

I change the PLL Initialization code in ARM ubl, and the Uboot is successfully booted with uart console showing " ARM clock : 372000000 Hz". I wrote the uimage into the SPI. and tried to boot the system but the following errors occur: 

I2C: ready
DRAM: 64 MB
 *** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
ARM Clock : 372000000 Hz
More than one PHY detected.
Hit any key to stop autoboot: 0
4096 KiB W25Q32 at 0:0 is now current device
## Booting kernel from Legacy Image at c0700000 ...
Bad Header Checksum
ERROR: can't get kernel image!

  • Hi Jone Joniee,

    *** Warning - bad CRC, using default environment

    This error is due to "u-boot" environement variable is got erased or not modified or not done "saveenv"
    Do "saveenv" in u-boot and you won't see this again.


    ## Booting kernel from Legacy Image at c0700000 ...
    Bad Header Checksum
    ERROR: can't get kernel image!

    It seems the kernel from SPI is corrupted, can you please try to boot via NFS ?
  • Dear Sir/Madam,

    I  could solve the problem with decreasing the frequency to 36 MHz but the new problem was happened. The booting is stopped in the following stage:

    DRAM: 64 MB
    In: serial
    Out: serial
    Err: serial
    ARM Clock : 360000000 Hz
    More than one PHY detected.
    Hit any key to stop autoboot: 0
    4096 KiB W25Q32 at 0:0 is now current device
    ## Booting kernel from Legacy Image at c0700000 ...
    Image Name: Linux-2.6.18_pro500-da830_omapl1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1808112 Bytes = 1.7 MB
    Load Address: c0008000
    Entry Point: c0008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.............................................................
    ............................................................ done, booting the kernel. 

    The booting does not continue???

  • Hi Jone Joniee,

    The frequency seems to be 360MHz and not 36MHz.
    Able to boot this kernel with default 300MHz frequency ?
    Please make sure that you have not enabled the power management support in Linux kernel, if yes, try to disable it and boot.

  • Thank you
    This kernel boots with default 300 MHz frequency. The power management support has been already disabled. The problem still exists.

  • In my opinion, some of the driver is not able to handle the newer clock, we may need to connect the debugger and check.
    If we suspect the clock issue in some of the driver, we can disable that particular driver and rebuild the kernel & boot.