你好!
我们用的开发板是自己画的,ARM芯片是TI的ARM9芯片AM1808。
在一开始的时候,我们的嵌入式linux是可以跑起来的,后来被我在U-Boot状态下,改了一些环境配置,以后就成这种现象了。我改的环境配置如下:
1、输入setenv bootcmd 'nand read.e 0xc0700000 0x200000 0x250000;bootm'
2、输入setenv bootargs 'mem=128M console=ttyS2,115200n8 root=/dev/mtdblock4 rw rootfstype=jffs2 ip=192.168.1.3:192.168.1.105:192.168.1.1:255.255.255.0::eth0:off eth=00:40:01:2B:64:60'
3、输入saveenv
正确的环境配置如下:
1、输入setenv bootcmd 'nand read.e 0xc0700000 0x200000 0x400000;bootm'
2、输入setenv bootargs 'mem=64M console=ttyS2,115200n8 root=/dev/mtdblock4 rw rootfstype=jffs2 ip=192.168.1.3:192.168.1.105:192.168.1.1:255.255.255.0::eth0:off eth=00:40:01:2B:64:60'
3、输入saveenv
以后不管怎么改环境配置,擦除nand,冲烧系统,烧Uboot,都不管用,但是可以正常烧写。
以下的启动信息就是我们板子目前的状况。它一直停在“Uncompressing Linux... done, booting the kernel.”不动。
OMAP-L138 initialization passed!
Booting TI User Boot Loader
UBL Version: 1.65
UBL Flashtype: NAND
Starting NAND Copy...
Valid magicnum, 0x55424CBB, found in block 0x00000006.
DONE
Jumping to entry point at 0xC1080000.
U-Boot 2009.11 (11鏈?02 2011 - 17:59:40)
I2C: ready
DRAM: 128 MB
NAND: 1024 MiB
MMC: davinci: 0
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
nand_read_bbt: Bad block at 0x00001a340000
nand_read_bbt: Bad block at 0x0000206e0000
nand_read_bbt: Bad block at 0x000022560000
nand_read_bbt: Bad block at 0x000028f80000
nand_read_bbt: Bad block at 0x00002b5c0000
nand_read_bbt: Bad block at 0x00002bf80000
nand_read_bbt: Bad block at 0x00002c700000
nand_read_bbt: Bad block at 0x000030e60000
nand_read_bbt: Bad block at 0x0000331e0000
nand_read_bbt: Bad block at 0x0000336a0000
nand_read_bbt: Bad block at 0x00003c020000
nand_read_bbt: Bad block at 0x00003d640000
nand_read_bbt: Bad block at 0x00003ebc0000
nand_read_bbt: Bad block at 0x00003f980000
In: serial
Out: serial
Err: serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net: Ethernet PHY: GENERIC @ 0x00
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x200000, size 0x400000
4194304 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-2.6.33-rc4
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2169300 Bytes = 2.1 MB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.