天嵌 ARM开发社区

 找回密码
 注册
查看: 5084|回复: 1

TQ210 SD烧了Nandflash 完成后无法启动系统

[复制链接]
ARM_andriod 发表于 2012-12-2 07:32:24 | 显示全部楼层 |阅读模式
本帖最后由 ARM_andriod 于 2012-12-2 07:33 编辑

使用SD卡方式烧了Nandflash ,烧录好多次,但是每次烧录完成LCD显示烧录成功 但每次都启动不了,不知道为什么,看到论坛里有同样的问题,但也没有明确的解决方法,发帖求助!

开机按空格键出来下面内容:

#####    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: 9
//格式化nandflash,
NAND scrub: device 0 whole chip
Warning: scrub option will erase all factory set bad blocks!
         There is no reliable way to recover them.
         Use this command only for testing purposes if you
         are sure of what you are doing!

Really scrub this NAND flash? <y/N>
y

Erasing at 0x3ffe0000 -- 100% complete.
Scanning device for bad blocks
OK

#####    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: r     //重新启动
reset...

OK
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 0x384.
condition=INSTALL
OSType=ANDROID
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

Android zImage=images\android\zImage_2.6.35.7_800x480_for_android_V1.0.bin
file length is 0x3bee38.

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

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

Writing data at 0x8be800 -- 100% complete.
3927608 bytes written: OK

Android rootfs=images\android\rootfs_android2.3_v1.0.bin

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

NAND write: device 0 offset 0xa00000

Writing data at 0x747f800 -- 100% complete.
115163136 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 ...  
不知道为什么 每次到这里就停下了,没有任何反应,等了N久都不行

将薄码拨到Nandflash 启动方式 上电重新启动 串口没有任何反应,屏幕黑屏,


#### This is TQ210 SD config files ####
operating condition=run
OS Type=android
LED indicator=on
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 ####

将SD卡内部文件EmbedSky.ini  operating condition 由Install改成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 0x380.
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 ...

屏幕花屏,上半蓝屏 下班蓝屏夹杂绿色不规则线条,现象如上所述,

请相关技术人员指导一下原因


亚瑟王 发表于 2012-12-3 10:16:18 | 显示全部楼层
亲,我这里自动烧写OK,下面是我这边的串口信息。
说明:镜像都是用的光盘里面的,连续测试了好几次。
#####    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: 9

NAND scrub: device 0 whole chip
Warning: scrub option will erase all factory set bad blocks!
         There is no reliable way to recover them.
         Use this command only for testing purposes if you
         are sure of what you are doing!

Really scrub this NAND flash? <y/N>
y

Erasing at 0x1eb80000 --  48% complete.
nand0: MTD Erase failure: -5
Erasing at 0x3ffe0000 -- 100% complete.
Scanning device for bad blocks
OK

#####    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:  
(关机重启)D 8        $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 0x381.
condition=INSTALL
OSType=ANDROID
beep state=OFF

bootloader=images\bootloader\u-boot_TQ210_v1.0.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\logo_800x480.bin
Without this file
Unknown command 'error' - try 'help'
file length is 0 or file does not exit!

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

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

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

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

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

NAND erase: device 0 offset 0xa00000, size 0x3f600000
Skipping bad block at  0x1f020000                                            
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 ...

Uncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpu
Linux version 2.6.35.7-EmbedSky (root@embedsk-server) (gcc version 4.4.6 (for TQ210 EmbedSky Tech) ) #2 PREEMPT Tue Oct 30 16:21:50 CST 2012
CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-7 13:52 , Processed in 1.015625 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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