|
按照手册说明的操作,用SD卡启动总是失败,串口打印停在starting kernel... 没有进行下一步解压缩
使用IROM_Fusing_Tool_res_210制作SD启动卡成功后修改配置文件如下:
#### This is TQ210 SD config files ####
operating condition=install
OS Type=android
LED indicator=install
Beep=on
#### Others ####
bootloader=images\bootloader\u-boot_TQ210_v1.0.bin
LOGO=images\logo\logo_800x480.bin
#### Others end ####
#### Linux ####
kernel=images\linux\zImage_2.6.35.7_800x480_for_linux_V1.0.bin
rootfs=images\Linux\rootfs_linux_V1.0.bin
#### Linux end ####
#### Windows CE ####
stepldr=images\wince\MLC\stepldr.bin
eboot=images\wince\EBOOT.bin
NK=images\wince\NK.bin
#### Windows CE end ####
#### Android ####
kernel=images\android\zImage_2.6.35.7_800x480_for_android_V1.0.bin
rootfs=images\android\rootfs_android2.3_v1.0.bin
#### Android end ####
#### uCOS-II ####
uCOS-II Image=images\uCOS-II\TQ6410_UCOS-II.bin
#### uCOS-II end ####
#### User Application ####
Application Image=images\UserAPPS\TQ6410_Test.bin
#### User Application end #####
镜像文件都放入相应的目录下,之后将拨码调到SD卡启动模式(14关,23开),将SD卡插入卡槽,启动,烧写打印如下:
##### EmbedSky BIOS for SKY210/TQ210 #####
This Board: SDRAM is 1024MB; LCD display size is: 800X480
Hit any key to stop autoboot: 0
SD and FAT initialize success!
file length is 0x382.
condition=INSTALL
OSType=LINUX
beep state=ON
bootloader=images\bootloader\u-boot_TQ210_v1.0.bin
file length is 0x60000.
NAND erase: device 0 offset 0x0, size 0x100000
Erasing at 0xe0000 -- 100% complete.
OK
NAND write: device 0 offset 0x0, size 0x60000
Main area read (3 blocks):
Checksum is calculated.
Main area write (3 blocks):
393216 bytes written: OK
logodir=images\logo\logo_800x480.bin
file length is 0x177000.
NAND erase: device 0 offset 0x200000, size 0x300000
Erasing at 0x4e0000 -- 100% complete.
OK
NAND write: device 0 offset 0x200000, size 0x177000
Writing data at 0x376800 -- 100% complete.
1536000 bytes written: OK
Linux zImage=images\linux\zImage_2.6.35.7_800x480_for_linux_V1.0.bin
file length is 0x40b144.
NAND erase: device 0 offset 0x500000, size 0x500000
Erasing at 0x9e0000 -- 100% complete.
OK
NAND write: device 0 offset 0x500000, size 0x40b144
Writing data at 0x90b000 -- 100% complete.
4239684 bytes written: OK
Linux rootfs=images\linux\rootfs_linux_V1.0.bin
NAND erase: device 0 offset 0xa00000, size 0x3f600000
Skipping bad block at 0x14120000
Erasing at 0x3ffe0000 -- 100% complete.
OK
NAND write: device 0 offset 0xa00000
Writing data at 0x6c1f800 -- 100% complete.
106106880 bytes written: OK
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x100000 -- 100% complete.
Writing to Nand... done
Start Linux ......
NAND read: device 0 offset 0x500000, size 0x500000
5242880 bytes read: OK
Boot with zImage
Starting kernel ...
运行至此就停住不动了,此时如果将拨码拨回nand启动,开机后串口毫无打印,没反应,将ini文件中的操作类型改为run,开机后串口打印为:
##### EmbedSky BIOS for SKY210/TQ210 #####
This Board: SDRAM is 1024MB; LCD display size is: 800X480
Hit any key to stop autoboot: 0
SD and FAT initialize success!
file length is 0x37e.
condition=RUN
u-boot will run OS!
Start Linux ......
NAND read: device 0 offset 0x500000, size 0x500000
5242880 bytes read: OK
Boot with zImage
Starting kernel ...
感觉NAND中的原厂系统被擦掉了,但是从NAND启动的时候没打印,说明uboot没启动,好像就没写进去似的,从SD卡启动也会失败,跟手册对照了一下没发现什么明显的问题,请问这个流程哪里有问题?
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|