天嵌 ARM开发社区

 找回密码
 注册
查看: 3117|回复: 9

TQ210 SD卡启动不了

[复制链接]
s111906019 发表于 2013-3-5 17:07:59 | 显示全部楼层 |阅读模式
本帖最后由 s111906019 于 2013-3-7 18:08 编辑

我用SD卡启动时,拨码开关调为sd卡,内容如下:
#### This is TQ210 SD config files ####
operating condition=install
OS Type=Android
LED indicator=on
Beep=on

#### Others ####
bootloader=images\bootloader\u-boot_TQ210_v1.1.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_for_android_V1.1.bin
rootfs=images\android\rootfs_android_2.3_V1.1.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 #####
此时能够成功下载镜像,但是下载完之后就一直停留在原来的界面,重新拨到nand方式时再打开电源开关,就一直黑屏。当把operating condition改成run时直接就变成了花屏
亚瑟王 发表于 2013-3-5 18:04:47 | 显示全部楼层
下载镜像时的串口信息呢?
 楼主| s111906019 发表于 2013-3-6 09:27:57 | 显示全部楼层
串口信息显示:

OK
##### 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 0x355.
condition=INSTALL
OSType=ANDROID
beep state=ON

bootloader=images\u-boot_TQ210_V1.1.bin
file length is 0x64000.

NAND erase: device 0 offset 0x0, size 0x100000
Erasing at 0xe0000 -- 100% complete.
OK

NAND write: device 0 offset 0x0, size 0x64000
Main area read (4 blocks):
Checksum is calculated.
Main area write (4 blocks):
524288 bytes written: OK

logodir=images\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

Android zImage=images\zImage_2.6.35.7_for_android_V1.1.bin
file length is 0x3c1b98.

NAND erase: device 0 offset 0x500000, size 0x500000
Erasing at 0x9e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x500000, size 0x3c1b98

Writing data at 0x8c1800 -- 100% complete.
3939224 bytes written: OK

Android rootfs=images\rootfs_android_2.3_V1.1.bin

NAND erase: device 0 offset 0xa00000, size 0x3f600000
Skipping bad block at  0x09080000                                            
Erasing at 0x3ffe0000 -- 100% complete.
OK

NAND write: device 0 offset 0xa00000

Writing data at 0x75f4000 -- 100% complete.
116736576 bytes written: OK
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x100000 -- 100% complete.
Writing to Nand... done

NAND read: device 0 offset 0x500000, size 0x500000


5242880 bytes read: OK
Boot with zImage

Starting kernel ...
之后就一直停在这个地方,而显示器也是一直停在下载完成
 楼主| s111906019 发表于 2013-3-6 09:29:42 | 显示全部楼层
亚瑟王 发表于 2013-3-5 18:04
下载镜像时的串口信息呢?

串口信息显示:

OK
##### 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 0x355.
condition=INSTALL
OSType=ANDROID
beep state=ON

bootloader=images\u-boot_TQ210_V1.1.bin
file length is 0x64000.

NAND erase: device 0 offset 0x0, size 0x100000
Erasing at 0xe0000 -- 100% complete.
OK

NAND write: device 0 offset 0x0, size 0x64000
Main area read (4 blocks):
Checksum is calculated.
Main area write (4 blocks):
524288 bytes written: OK

logodir=images\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

Android zImage=images\zImage_2.6.35.7_for_android_V1.1.bin
file length is 0x3c1b98.

NAND erase: device 0 offset 0x500000, size 0x500000
Erasing at 0x9e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x500000, size 0x3c1b98

Writing data at 0x8c1800 -- 100% complete.
3939224 bytes written: OK

Android rootfs=images\rootfs_android_2.3_V1.1.bin

NAND erase: device 0 offset 0xa00000, size 0x3f600000
Skipping bad block at  0x09080000                                            
Erasing at 0x3ffe0000 -- 100% complete.
OK

NAND write: device 0 offset 0xa00000

Writing data at 0x75f4000 -- 100% complete.
116736576 bytes written: OK
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x100000 -- 100% complete.
Writing to Nand... done

NAND read: device 0 offset 0x500000, size 0x500000


5242880 bytes read: OK
Boot with zImage

Starting kernel ...
之后就一直停在这个地方,而显示器也是一直停在下载完成
亚瑟王 发表于 2013-3-6 10:27:38 | 显示全部楼层
s111906019 发表于 2013-3-6 09:29
串口信息显示:

OK

亲,只烧写u-boot,然后从Nand重启,看uboot能否启动。然后在逐步烧写。我这里测试发现全部同时烧写是没有问题的。
 楼主| s111906019 发表于 2013-3-6 10:51:10 | 显示全部楼层
亚瑟王 发表于 2013-3-6 10:27
亲,只烧写u-boot,然后从Nand重启,看uboot能否启动。然后在逐步烧写。我这里测试发现全部同时烧写是没有 ...

我试了只烧写uboot,然后串口显示OK
##### 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 0x328.
condition=INSTALL
OSType=ON
beep state=IMAGES\U-BOOT_TQ210_V1.1.BIN

bootloader=images\linux\zImage_2.6.35.7_800x480_for_linux_V1.0.bin
Without this file
Unknown command 'error' - try 'help'
file length is 0 or file does not exit!

logodir=images\linux\zImage_2.6.35.7_800x480_for_linux_V1.0.bin
Without this file
Unknown command 'error' - try 'help'
file length is 0 or file does not exit!

#####    Boot for TQ210 Main Menu       #####
#####     EmbedSky USB download mode     #####

[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot (eboot.nb0) to Nand Flash
[3] Download Linux Kernel (zImage.bin) to Nand Flash
[4] Download LOGO Picture (logo.bin) to Nand  Flash
[5] Download UBIFS image (root.ubi) to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program
[n] Enter TFTP download mode menu
[r] Reboot u-boot
[t] Test Linux Image (zImage)
Enter your selection:
但是屏幕上显示花屏,然后用nand方式打开是黑屏
亚瑟王 发表于 2013-3-6 10:52:38 | 显示全部楼层
s111906019 发表于 2013-3-6 10:51
我试了只烧写uboot,然后串口显示OK
##### EmbedSky BIOS for SKY210/TQ210 #####
This Board: SDRAM is ...

亲,你搞错了哦。你的看看你的信息,bootloader=后面说的镜像名称错了。是不是你修改了EmbedSky.ini文件的框架啊?
 楼主| s111906019 发表于 2013-3-6 11:27:21 | 显示全部楼层
亚瑟王 发表于 2013-3-6 10:52
亲,你搞错了哦。你的看看你的信息,bootloader=后面说的镜像名称错了。是不是你修改了EmbedSky.ini文件的 ...

我将EmbedSky.ini中的operating condition改写成run,然后将OS Type改写成Others,不知道这样是不是只烧写u-boot,结果串口显示
OK
##### 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 0x33c.
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打开显示黑屏,此外当我将sd卡设成自动烧写时,最后一个文件总是烧写不了,EmbedSky.ini如下#### This is TQ210 SD config files ####
operating condition=install
OS Type=Android
LED indicator=on
Beep=on

#### Others ####
bootloader=images\u-boot_TQ210_V1.1.bin
LOGO=images\logo_800x480.bin
#### Others end ####

#### Linux ####
kernel=images\zImage_2.6.35.7_for_linux_V1.1.bin
rootfs=images\rootfs_linux_V1.1.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\zImage_2.6.35.7_for_android_V1.1.bin
rootfs=images\rootfs_android_2.3_V1.1.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 e
串口显示为:
OK
##### 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 0x341.
condition=INSTALL
OSType=ANDROID
beep state=ON

bootloader=images\u-boot_TQ210_V1.1.bin
file length is 0x64000.

NAND erase: device 0 offset 0x0, size 0x100000
Erasing at 0xe0000 -- 100% complete.
OK

NAND write: device 0 offset 0x0, size 0x64000
Main area read (4 blocks):
Checksum is calculated.
Main area write (4 blocks):
524288 bytes written: OK

logodir=images\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

Android zImage=images\zImage_2.6.35.7_for_android_V1.1.bin
file length is 0x3c1b98.

NAND erase: device 0 offset 0x500000, size 0x500000
Erasing at 0x9e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x500000, size 0x3c1b98

Writing data at 0x8c1800 -- 100% complete.
3939224 bytes written: OK

Android rootfs=images\rootfs_android_2.3_V1.1.bin
don't download Android rootfs
Start Linux ......
NAND read: device 0 offset 0x500000, size 0x500000


5242880 bytes read: OK
Boot with zImage

Starting kernel ...
 楼主| s111906019 发表于 2013-3-6 22:20:06 | 显示全部楼层
亚瑟王 发表于 2013-3-6 10:52
亲,你搞错了哦。你的看看你的信息,bootloader=后面说的镜像名称错了。是不是你修改了EmbedSky.ini文件的 ...

现已解决,用USB烧写进去了
亚瑟王 发表于 2013-3-7 10:01:54 | 显示全部楼层
s111906019 发表于 2013-3-6 22:20
现已解决,用USB烧写进去了

也行,用usb烧写也可以的。亲,把帖子类型修改为“已解决”吧(请参考:http://www.armbbs.net/forum.php?mod=viewthread&tid=15200
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-17 18:07 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表