之前使用的是Appro 2.6 SDK,烧录SDK里自带ubl,u-boot,kernel,file system,软件都可以正常跑起来,也可以通过VLC和在IE里看到视频图像。现将SDK版本升级到Version 3.0,参照IPNC文档,烧录了SDK里的ubl,u-boot,uImage_ipnc_dm368_3.0.0和ipnc_dm368_3.0.0.squashfs,并且在u-boot下设置了参数,如下:
tftpboot 0x80700000 uImage_ipnc_dm368_3.0.0;tftpboot 0x82000000 ipnc_dm368_3.0.0.squashfs
nand erase 0x500000 0x400000;nand write 0x80700000 0x500000 0x400000
nand erase 0x900000 0x1000000;nand write 0x82000000 0x900000 0x1000000
setenv bootcmd 'nboot 0x80700000 0 0x500000;bootm 0x80700000'
setenv bootargs 'mem=48M console=ttyS0,115200n8 root=/dev/mtdblock3 rootfstype=squashfs ip=192.168.1.168:192.168.1.100:192.168.1.1:255.255.255.0:::off eth=00:0C:0C:02:37:A6 lpj=1077248 cmemk.phys_start="0x83000000" cmemk.phys_end="0x88000000" cmemk.phys_start_1="0x00001000" cmemk.phys_end_1="0x00008000" cmemk.pools_1="1x28672" cmemk.allowOverlap="1" quiet';setenv verify no;saveenv;reset
系统无法启动,超级终端下的提示信息如下:
Loading from NAND 32MiB 3,3V 8-bit, offset 0x500000
Image Name: Linux-2.6.18_pro500-davinci_IPNC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2658244 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: 2658244 Bytes = 2.5 MB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK
Starting kernel ...
[ 0.250000] SQUASHFS error: Unknown inode type 0 in squashfs_iget!
[ 0.260000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[ 0.270000]
是我的操作哪里出了问题吗?