本帖最后由 upchj 于 2012-5-15 09:27 编辑
今天闲来无事,决定把这个天嵌一直不给解决的问题给弄清楚,决定从头来一遍,过程如下:
1、烧写uboot,用的是最新版(nand和nor 都烧写)
2、烧写 wince6.0 按照教程上的一步一步烧写-------烧写不成功
3、烧写 wince5.0(用论坛下的最新版镜像) ----------烧写不成功
4、为了确定是否硬件出错,重新用开发板自带的光盘 (09年08月)烧写wince5.0,这里需要重新烧写uboot-----------成功,说明硬件没有问题
5、再次重复1.
6、烧写wince6.0 ,过程如下:前面的安装教程,一直到最后,烧写NK镜像时,按照教程 B》9》U -----------烧写不成功 重新烧写NK镜像,使用用命令B》 9》 F》 U----------烧写成功
串口显示如下:
##### 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 1 seconds.
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: DISABLED
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: 9
Enter TQ2440 FastLowLevelFormat [0x10, 0x7ff].
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: DISABLED
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: f
Reserving Blocks [0x0 - 0xf] ...
...reserve complete.
Low-level format Blocks [0x10 - 0x7ff] ...
...erase complete.
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: DISABLED
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: 0x1EB87D5
Read Bin Files StartAddr:0x80200000 ; Length: 0x1F2A088
Download BIN file information:
-----------------------------------------------------
[0]: Base Address=0x80200000 Length=0x1f2a088
-----------------------------------------------------
+=OEMVerifyMemory+ dwStartAddr:0x80200000 dwLength:0x1f2a088
RAM image 0xa 0x8212a087
rom_offset=0x0.
ROMHDR at Address 80200044h
+WriteOSImageToBootMedia: g_dwTocEntry =1, ImageStart: 0x80200000, ImageLength: 0x1f2a088, LaunchAddr:0x80201000
INFO: OEMLaunch: Found chain extenstion: '' @ 0x80200000
Writing single region/multi-region update, dwBINFSPartLength: 32678024
OpenPartition: Invalid MBR. Formatting flash.
Enter TQ2440 FastLowLevelFormat [0x0, 0x7ff].
Format TQ2440 Nand Flash: found a bad block (0x0) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x1) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x2) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x3) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x4) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x5) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x6) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x7) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x8) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x9) - skipping...
Format TQ2440 Nand Flash: found a bad block (0xa) - skipping...
Format TQ2440 Nand Flash: found a bad block (0xb) - skipping...
Format TQ2440 Nand Flash: found a bad block (0xc) - skipping...
Format TQ2440 Nand Flash: found a bad block (0xd) - skipping...
Format TQ2440 Nand Flash: found a bad block (0xe) - skipping...
Format TQ2440 Nand Flash: found a bad block (0xf) - skipping...
Format TQ2440 Nand Flash: ...erase complete.
WriteMBR: MBR block = 0x10.
BP_FastLowLevelFormat: Done.
CreatePartition: Enter CreatePartition for 0x21.
LastLogSector: Last log sector is: 0x7efff.
CreatePartition: Start = 0x1100, Num = 0xfa00.
WriteMBR: MBR block = 0x10.
WriteData: Start = 0x0, Length = 0x1f2a088.
Updateded TOC!
CreatePartition: Enter CreatePartition for 0xb.
FindFreeSector: FreeSector is: 0x10b00 after processing part 0x21.
CreatePartition: Num sectors set to 0x6e000 to allow for compaction blocks.
CreatePartition: Start = 0x10b00, Num = 0x6e000.
WriteMBR: MBR block = 0x10.
TOC {
dwSignature: 0x434F544E
BootCfg {
ConfigFlags: 0x830
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: 0xF951
dwLoadAddress: 0x80200000
dwJumpAddress: 0x80201000
dwStoreOffset: 0x0
sgList[0].dwSector: 0x2100
sgList[0].dwLength: 0xF951
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
waitforconnect
INFO: OEMLaunch: Jumping to Physical Address 0x30201000h (Virtual Address 0x80201000h)...
然后重启,ok,wince6.0出来了
我的第二个板子测试时发现,按照上面的方法还是无法解决烧写NK镜像后不启动的问题,换了一台电脑后,按照上面的方法重新做一遍,OK,问题解决-------烧写时尽量使用品牌机的后面的usb接口,这样电平等等比较稳定,干扰较少。
|