你好,
我们现在采用3.1版本开发DM36X,可现在系统总是无法启动。刚进入内核就出错!
设置的启动参数:
setenv bootargs 'mem=48M console=ttyS1,115200n8 root=/dev/mtdblock3 rootfstype=squashfs ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off eth=64:43:46:00:0a:6c lpj=1077248 cmemk.phys_start="0x83000000" cmemk.phys_end="0x88000000" cmemk.phys_start_1="0x00001000" cmemk.phys_end_1="0x00008000" cmemk.pools_1="1×28672" cmemk.allowOverlap="1" quiet'
启动过程如下:
DM36x initialization passed!
TI UBL Base Version: 1.50
Boot Loader BootMode = NAND
Starting NAND Copy…
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
Boot Mode Task Completed
IPNC UBL Version: 2.1.0
Platform: DM368-432
Jumping to entry point at 0x81080000
U-Boot 1.3.4 (Jun 21 2013 – 10:41:58) DM368-IPNC-2.0.0
I2C: ready
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
128 MiB
In: serial
Out: serial
Err: serial
ARM Clock :- 432MHz
DDR Clock :- 340MHz
Ethernet PHY: GENERIC @ 0x01
Hit any key to stop autoboot: 0
Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000
Image Name: Linux-2.6.18_pro500-davinci_IPNC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2669220 Bytes = 2.5 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 …
Image Name: Linux-2.6.18_pro500-davinci_IPNC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2669220 Bytes = 2.5 MB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image … OK
OK
Starting kernel …
[ 0.270000] SQUASHFS error: zlib_fs returned unexpected result 0xfffffffd
[ 0.270000] SQUASHFS error: Unable to read cache block [df6f65:952]
[ 0.280000] SQUASHFS error: Unable to read inode [df6f65:952]
[ 0.280000] Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
启动到这里就没反应了,找了好久了,现在还是不是知道问题出在哪!
Chris Meng:
你好,
从log看,uboot没有更新。请更新ipnc 3.1里面的uboot/ubl在看看
Tuff Li:
根文件系统挂载不上,你们是不是换flash了?
Eason Wang:
你说总是无法启动,是说偶尔也是可以启动的吗?
tuff所言极是。 你有没有更换flash型号。容量大小,page size, 数据位宽有哪些变化?
你烧写的文件系统大小,烧写的位置是怎么样的?
BR,
Eason