DENX . DULG . LinuxHangsAfterUncompressingKernel

14.2.21. Linux hangs after uncompressing the kernel

Question:
I am using U-Boot with a Linux kernel version Y (Y < 2.4.5-pre5), but the last message I see is
Uncompressing Kernel Image ... OK
Then the system hangs.

Answer:
Most probably you pass bad parameters to the Linux kernel.
There are several possible reasons:

Here some possible reasons for older Linux kernel versions:

Linux:
arch/ppc:
                                                                         
=> setenv clocks_in_mhz 1
=> saveenv
       
For recent kernel the "clocks_in_mhz" variable must not be set. If it is present in your environment, you can delete it as follows:
                                                                         
=> setenv clocks_in_mhz
=> saveenv
       
ALERT! A common error is to try "setenv clocks_in_mhz 0" or to some other value - this will not work, as the value of the variable is not important at all. It is the existence of the variable that will be checked.

----- Revision r1.7 - 12 Sep 2008 - 08:47 - DetlevZundel
Copyright © 2002-2021 by DENX Software Engineering