主题 : 新手求教啊。。。。wince跟新系统不成功 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 49604
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
贡献值: 0 点
综合积分: 6 分
注册时间: 2011-06-13
最后登录: 2011-06-14
楼主  发表于: 2011-06-13 22:29

 新手求教啊。。。。wince跟新系统不成功

在格式化的时候
##### Erase Nand Menu #####
[1] Nand scrub - really clean NAND erasing bad blocks (UNSAFE)
[2] Nand earse - clean NAND eraseing
[q] Return main Menu
Enter your selection:
然后选了1
Really scrub this NAND flash? <y/N> : y
Erasing at 0x8cc0000 --  55% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0xd980000 --  85% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0xffe0000 -- 100% complete.

不知道是不是这里对后面的有影响呢?

然后接着操作手册的q

#####    Boot for Nor Flash Main Menu   #####
[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot to Nand Flash
[3] Download Linux Kernel to Nand Flash
[5] Download CRAMFS image to Nand Flash
[6] Download YAFFS image to Nand Flash
[7] Download Program (uCOS-II or 2440_Test) to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program (eg: uCOS-II or 2440_Test) to Nand Flash
Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[o] Download u-boot to Nor Flash
[r] Reboot u-boot
[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 0x80000
Erasing at 0x60000 -- 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   #####
[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot to Nand Flash
[3] Download Linux Kernel to Nand Flash
[5] Download CRAMFS image to Nand Flash
[6] Download YAFFS image to Nand Flash
[7] Download Program (uCOS-II or 2440_Test) to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program (eg: uCOS-II or 2440_Test) to Nand Flash
Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[o] Download u-boot to Nor Flash
[r] Reboot u-boot
[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 0xc0000, size 0x80000
Erasing at 0x120000 -- 100% complete.
OK

NAND write: device 0 offset 0xc0000, size 0x40000

Writing data at 0xff800 -- 100% complete.
262144 bytes written: OK

#####    Boot for Nor Flash Main Menu   #####
[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot to Nand Flash
[3] Download Linux Kernel to Nand Flash
[5] Download CRAMFS image to Nand Flash
[6] Download YAFFS image to Nand Flash
[7] Download Program (uCOS-II or 2440_Test) to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program (eg: uCOS-II or 2440_Test) to Nand Flash
Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[o] Download u-boot to Nor Flash
[r] Reboot u-boot
[q] quit from menu
Enter your selection:b
USB host is connected. Waiting a download.

Now, Downloading [ADDRESS:30000000h,TOTAL:153610]
RECEIVED FILE SIZE:  153610 (150KB/S, 1S)

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

NAND write: device 0 offset 0x140000, size 0x25800

Writing data at 0x165000 -- 100% complete.
153600 bytes written: OK

#####    Boot for Nor Flash Main Menu   #####
[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot to Nand Flash
[3] Download Linux Kernel to Nand Flash
[5] Download CRAMFS image to Nand Flash
[6] Download YAFFS image to Nand Flash
[7] Download Program (uCOS-II or 2440_Test) to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program (eg: uCOS-II or 2440_Test) to Nand Flash
Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[o] Download u-boot to Nor Flash
[r] Reboot u-boot
[q] quit from menu
Enter your selection:

然后:把开发板设置为Nand Flash 启动
在超级终端下按住键盘的空格键,重起开发板,出现eboot的下载画面

Initiating image launch in 1 seconds.
Ethernet Boot Loader Configuration:

0) IP address: 192.168.1.230
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 CS8900 MAC address (12:34:56:78:90:AB)
8) Kernel Debugger: ENABLED
9) Format Boot Media for BinFS
E) Erase Reserved Block
B) Mark Bad Block at Reserved Block
F) Low-level format the Smart Media card
D) Download image now
L) LAUNCH existing Boot Media image
R) Read Configuration
U) DOWNLOAD image now(USB)
W) Write Configuration Right Now
A) Erase All Blocks

Enter your selection:B
Reserving Blocks [0x0 - 0x11] ...
...reserve complete.

Ethernet Boot Loader Configuration:

0) IP address: 192.168.1.230
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 CS8900 MAC address (12:34:56:78:90:AB)
8) Kernel Debugger: ENABLED
9) Format Boot Media for BinFS
E) Erase Reserved Block
B) Mark Bad Block at Reserved Block
F) Low-level format the Smart Media card
D) Download image now
L) LAUNCH existing Boot Media image
R) Read Configuration
U) DOWNLOAD image now(USB)
W) Write Configuration Right Now
A) Erase All Blocks

Enter your selection:u

System ready!
Preparing for download...
Please send the Image through USB.
Download BIN file information:
-----------------------------------------------------
[0]: Base Address=0x80200000  Length=0x1e91b48
-----------------------------------------------------
rom_offset=0x0.
ROMHDR at Address 80200044h
Writing single region/multi-region update, dwBINFSPartLength: 32054088
手册说:由于烧写winCE镜像过程中需要格式化nandflash为BinFS格式,这个过程很漫长,大概需要12分钟,请耐心等待。。。。。烧写完成后,系统将自动启动WindowsCE系统。

于是我等啊等,等啊等,实在不行了。。。最后的结果。。。
Updateded TOC!
TOC {
dwSignature: 0x434F544E
BootCfg {
  ConfigFlags: 0x2830
  BootDelay: 0x1
  ImageIndex: 1
  IP: 192.168.1.230
  MAC Address: 12:34:56:78:90:AB
  Port: 0.0.0.0
  SubnetMask: 255.255.255.0
}
ID[0] {
  dwVersion: 0x20004
  dwSignature: 0x45424F54
  String: 'eboot.nb0'
  dwImageType: 0x2
  dwTtlSectors: 0x200
  dwLoadAddress: 0x80038000
  dwJumpAddress: 0x80038000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x600
  sgList[0].dwLength: 0x200
}
ID[1] {
  dwVersion: 0x1
  dwSignature: 0x43465348
  String: ''
  dwImageType: 0x2
  dwTtlSectors: 0xF48E
  dwLoadAddress: 0x80200000
  dwJumpAddress: 0x80201000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x2500
  sgList[0].dwLength: 0xF48E
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
waitforconnect
INFO: OEMLaunch: Jumping to Physical Address 0x30201000h (Virtual Address 0x8020
1000h)..


然后就悲剧了,LCD上面大小不一的白色的一道一道线。。。。系统木有重启,什么都没发生。。。我想吧,继续等,然后等等等。。。很久很久都过去了,最后。。。依然没能进入到系统。。。
级别: 新手上路
UID: 49604
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
贡献值: 0 点
综合积分: 6 分
注册时间: 2011-06-13
最后登录: 2011-06-14
1楼  发表于: 2011-06-14 14:32
来人啊。。。