Does U-Boot freeze upon kernel boot?

I am working on a Freescale imx50evk board. I built uboot.bin and uImage using LTIB (Linux image builder). At the U-Boot prompt bootm addr, I enter a command and then freezes after the message "Loading kernel ..."

> MX50_RDP U-Boot > boot

MMC read: dev # 0, block # 2048, count 6290 partition # 0 ... 
6290 blocks read: OK
## Booting kernel from Legacy Image at 70800000 ...
   Image Name:   Linux-2.6.35.8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1323688 Bytes =  1.3 MB
   Load Address: a0008000
   Entry Point:  a0008000
   Verifying Checksum ... OK
   Loading Kernel Image ...
+5
source share
3 answers

This problem can be caused by a number of reasons. The most common causes are listed below.

Reason # 1 - Invalid Linux console boot option:

, - OMAP3 UART3, UART3 - 115200 , 8- , . , u-boot, - :

OMAP3 beagleboard.org # printenv bootargs

bootargs = console = ttyS2,115200n8 root =/dev/mmcblk0p2 rw rootwait

, , , . , "console = ttyS2, 115200n8" .

Linux 2.6.36 ttyO2 ttyS2 ( -O, ).

- script . Teraterm_Scripts. Linux Minicom.

№ 2 -

Linux , - , . , - ! , , , - , , , , . , ​​ . !

, ​​ CONFIG_DEBUG_LL. , linux menuconfig ( "make menuconfig" ) " " " ". , ​​EVA OMAP3 - OMAP3, .

: / (r1 = 0x0000060a).

:

(hex) NAME 000005ff OMAP3 EVM

/ .

№ 3 -

, , , . , , CONFIG_DEBUG_LL Linux. " " , . , , .

+9

, 0xa0008000, " " . U-Boot, , , , , .

[ , , , 0xAXXXXXXX.]

uImage, , zImage mkimage.

, , ,

zreladdr-y     := 0xa0008000

arch/arm/mach-XXX/Makefile.boot . , 0x8000 (32K). . zImage make .

+1

When building the development core 3.20 for rockchip rk3288, I found that using LZO image compression, the device hung in "Kernel Launch". I assume that this is due to the lack of version matching between the LZO build hosts and the decompression code deployed, so this can happen with any of the compression algorithms. In my case, the switch in gzip fixed it.

This is just my guess why changing the compression algorithm gave the boot kernel. Please correct me if I am wrong.

0
source

All Articles