s111906019 发表于 2013-3-5 17:07:59

TQ210 SD卡启动不了

本帖最后由 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 at0x09080000                                          
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 static/image/common/back.gif
下载镜像时的串口信息呢?

串口信息显示:

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 at0x09080000                                          
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 static/image/common/back.gif
串口信息显示:

OK


亲,只烧写u-boot,然后从Nand重启,看uboot能否启动。然后在逐步烧写。我这里测试发现全部同时烧写是没有问题的。

s111906019 发表于 2013-3-6 10:51:10

亚瑟王 发表于 2013-3-6 10:27 static/image/common/back.gif
亲,只烧写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   #####

Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
Download Eboot (eboot.nb0) to Nand Flash
Download Linux Kernel (zImage.bin) to Nand Flash
Download LOGO Picture (logo.bin) to NandFlash
Download UBIFS image (root.ubi) to Nand Flash
Download YAFFS image (root.bin) to Nand Flash
Download Program to SDRAM and Run it
Boot the system
Format the Nand Flash
Set the boot parameters
Download User Program
Enter TFTP download mode menu
Reboot u-boot
Test Linux Image (zImage)
Enter your selection:
但是屏幕上显示花屏,然后用nand方式打开是黑屏

亚瑟王 发表于 2013-3-6 10:52:38

s111906019 发表于 2013-3-6 10:51 static/image/common/back.gif
我试了只烧写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 static/image/common/back.gif
亲,你搞错了哦。你的看看你的信息,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 static/image/common/back.gif
亲,你搞错了哦。你的看看你的信息,bootloader=后面说的镜像名称错了。是不是你修改了EmbedSky.ini文件的 ...

现已解决,用USB烧写进去了

亚瑟王 发表于 2013-3-7 10:01:54

s111906019 发表于 2013-3-6 22:20 static/image/common/back.gif
现已解决,用USB烧写进去了

也行,用usb烧写也可以的。亲,把帖子类型修改为“已解决”吧(请参考:http://www.armbbs.net/forum.php?mod=viewthread&tid=15200)
页: [1]
查看完整版本: TQ210 SD卡启动不了