天嵌 ARM开发社区

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

TQ2440开发板烧录WinCE6.0后启动失败

[复制链接]
UPC_QD 发表于 2013-6-8 15:15:00 | 显示全部楼层 |阅读模式
本帖最后由 UPC_QD 于 2013-6-8 15:48 编辑

开发板型号 TQ2440,64MB
下面是烧录步骤:
1、NOR启动 烧录 STEPLDR.nb1
2、烧录 eboot.nb0
3、烧录 LOGO图片Download LOGO Picture (.bin) to Nand  Flash
4、NAND启动  命令b
5、命令9,格式化
6、命令U,下载WinCE镜像
下载完成后,能够启动WinCE系统
关闭电源,再次上电启动,屏幕上显示LOGO图片
串口信息如下:
##### Eboot for TQ2440/SKY2440 #####
#####     www.embedsky.net     #####
Microsoft Windows CE Bootloader for TQ2440/SKY2440 Version 6.0 Built Jun 12 2010
Press [ENTER] to launch image stored on boot media, or [SPACE] to enter boot monitor.
Initiating image launch in 0 seconds.
Launching image from boot media ...
OEMPlatformInit: IMAGE_TYPE_RAMIMAGE
+=OEMVerifyMemory+ dwStartAddr:0x80200000  dwLength:0x4
RAM image 0xa 0x80200003
+=OEMVerifyMemory+ dwStartAddr:0x80201000  dwLength:0x4
RAM image 0xa 0x80201003
ReadData: failed to read sector (0x2d6ea).
ERROR: ReadOSImageFromBootMedia: Failed to read kernel region from partition.
OEMPlatformInit ERROR: Failed to load kernel region into RAM.

请尽快帮忙解答
下面是整个烧录过程的串口调试信息:

*** Warning - bad CRC or NAND, using default environment

##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode !
#####    Boot for Nor Flash 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
...
[q] quit from menu
Enter your selection: 1
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:30000000h,TOTAL:4106]
RECEIVED FILE SIZE:    4106 (4KB/S, 1S)
NAND erase: device 0 offset 0x0, size 0x40000
Erasing at 0x20000 -- 100% complete.
OK
NAND write: device 0 offset 0x0, size 0x1000
Writing data at 0x800 -- 100% complete.
4096 bytes written: OK
#####    Boot for Nor Flash 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
...
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection: 2
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:30000000h,TOTAL:262154]
RECEIVED FILE SIZE:  262154 (256KB/S, 1S)
NAND erase: device 0 offset 0x80000, size 0x80000
Erasing at 0xe0000 -- 100% complete.
OK
NAND write: device 0 offset 0x80000, size 0x40000
Writing data at 0xbf800 -- 100% complete.
262144 bytes written: OK
#####    Boot for Nor Flash 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
...
[n] Enter TFTP download mode menu
[o] Download u-boot to Nor Flash
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection: b
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:30000000h,TOTAL:261130]
RECEIVED FILE SIZE:  261130 (255KB/S, 1S)
NAND erase: device 0 offset 0x100000, size 0x100000
Erasing at 0x1e0000 -- 100% complete.
OK
NAND write: device 0 offset 0x100000, size 0x3fc00
Writing data at 0x13f800 -- 100% complete.
261120 bytes written: OK
?*** Warning - bad CRC or NAND, using default environment

##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode !
#####    Boot for Nor Flash 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
...
[o] Download u-boot to Nor Flash
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection: 1
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:30000000h,TOTAL:4106]
RECEIVED FILE SIZE:    4106 (4KB/S, 1S)
NAND erase: device 0 offset 0x0, size 0x40000
Erasing at 0x20000 -- 100% complete.
OK
NAND write: device 0 offset 0x0, size 0x1000
Writing data at 0x800 -- 100% complete.
4096 bytes written: OK
#####    Boot for Nor Flash 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
...
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection: 2
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:30000000h,TOTAL:262154]
RECEIVED FILE SIZE:  262154 (256KB/S, 1S)
NAND erase: device 0 offset 0x80000, size 0x80000
Erasing at 0xe0000 -- 100% complete.
OK
NAND write: device 0 offset 0x80000, size 0x40000
Writing data at 0xbf800 -- 100% complete.
262144 bytes written: OK
#####    Boot for Nor Flash Main Menu   #####
#####     EmbedSky USB download mode     #####
[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
...
[q] quit from menu
Enter your selection: b
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:30000000h,TOTAL:261130]
RECEIVED FILE SIZE:  261130 (255KB/S, 1S)
NAND erase: device 0 offset 0x100000, size 0x100000
Erasing at 0x1e0000 -- 100% complete.
OK
NAND write: device 0 offset 0x100000, size 0x3fc00
Writing data at 0x13f800 -- 100% complete.
261120 bytes written: OK
#####    Boot for Nor Flash 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
...
[q] quit from menu
Enter your selection: 9


Format TQ2440 Nand Flash: found a bad block (0x87) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x88) - skipping...
... //这种信息很多,块编号一直连续
Format TQ2440 Nand Flash: found a bad block (0x2db) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x7d1) - skipping...
Format TQ2440 Nand Flash: ...erase complete.
WriteMBR: MBR block = 0x10.
BP_FastLowLevelFormat: Done.

Ethernet Boot Loader Configuration:
0) IP address: 192.168.1.6
1) Subnet mask: 255.255.255.0
2) DHCP: Disabled
3) Boot delay: 1 seconds
4) Reset to factory default configuration
5) Startup image: LAUNCH EXISTING
6) Program disk image into SmartMedia card: Enabled
7) Program DM9000 MAC address (10:23:45:67:89:AB)
8) Kernel Debugger: ENABLED
9) Format Boot Media for BinFS
B) Mark Bad Block at Reserved Block
D) Download image now(USE TFTP)
E) Erase Reserved Block
F) Low-level format the Smart Media card
L) LAUNCH existing Boot Media image
R) Read Configuration
U) Download image now(USE USB)
W) Write Configuration Right Now
Enter your selection: u
USB host is connected. Waiting a download.
Addr: 0x30000000 ; Size: 0x1ED2BA5
Read Bin Files StartAddr:0x80200000 ; Length: 0x1F44084
Download BIN file information:
-----------------------------------------------------
[0]: Base Address=0x80200000  Length=0x1f44084
-----------------------------------------------------
+=OEMVerifyMemory+ dwStartAddr:0x80200000  dwLength:0x1f44084
RAM image 0xa 0x82144083
rom_offset=0x0.
ROMHDR at Address 80200044h
+WriteOSImageToBootMedia: g_dwTocEntry =1, ImageStart: 0x80200000, ImageLength: 0x1f44084, LaunchAddr:0x80201000
INFO: OEMLaunch: Found chain extenstion: '' @ 0x80200000
Writing single region/multi-region update, dwBINFSPartLength: 32784516
CreatePartition: Enter CreatePartition for 0x21.
LastLogSector: Last log sector is: 0x5d0ff.
CreatePartition: Start = 0x1100, Num = 0xfb00.
WriteMBR: MBR block = 0x10.
WriteData: Start = 0x0, Length = 0x1f44084.
Updateded TOC!
CreatePartition: Enter CreatePartition for 0xb.
FindFreeSector: FreeSector is: 0x10c00 after processing part 0x21.
CreatePartition: Num sectors set to 0x4c000 to allow for compaction blocks.
CreatePartition: Start = 0x10c00, Num = 0x4c000.
WriteMBR: MBR block = 0x10.
TOC {
dwSignature: 0x434F544E
BootCfg {
  ConfigFlags: 0x2830
  BootDelay: 0x1
  ImageIndex: 1
  IP: 192.168.1.6
  MAC Address: 10:23:45:67:89:AB
  Port: 0.0.0.0
  SubnetMask: 255.255.255.0
}
ID[0] {
  dwVersion: 0x60000
  dwSignature: 0x45424F54
  String: 'eboot.nb0'
  dwImageType: 0x2
  dwTtlSectors: 0x400
  dwLoadAddress: 0x80038000
  dwJumpAddress: 0x80038000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x400
  sgList[0].dwLength: 0x400
}
ID[1] {
  dwVersion: 0x1
  dwSignature: 0x43465348
  String: ''
  dwImageType: 0x2
  dwTtlSectors: 0xFA21
  dwLoadAddress: 0x80200000
  dwJumpAddress: 0x80201000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x2100
  sgList[0].dwLength: 0xFA21
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
waitforconnect
INFO: OEMLaunch: Jumping to Physical Address 0x30201000h (Virtual Address 0x80201000h)...
亚瑟王 发表于 2013-6-9 09:30:12 | 显示全部楼层
亲,根据你提供的信息来看,在nand坏块那个地方显示有很多连续坏块,我认为是你没有格式化Nand Flash引起的,一般情况出现大量的连续坏块都是假坏块,在uboot下载模式下使用命令9格式化一下就好了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-4-19 12:11 , Processed in 1.078125 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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