|
WINCE下载问题(NK.BIN > 32M)
[复制链接]
定制OS,同时我增加了中文字体支持,
但编译出来的NK.bin超过32M(我已经设置了IMGRAM64=1),
NK.bk0有80M左右,但用DWN下载的时候,总是报错,
错误如下:
Download BIN file information:
-----------------------------------------------------
[0]: Base Address=0x80100000 Length=0x2035EAC
-----------------------------------------------------
dwStartAddr:0x80100000, dwLength:0x2035eac
OEMVerifyMemory: RAM image
rom_offset=0x0.
ImageStart = 0x80100000, ImageLength = 0x2035EAC, LaunchAddr = 0x80101000
Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x80100000 Length=0x2035EAC Name="" Target=RAM
ROMHDR at Address 80100044h
+WriteOSImageToBootMedia: g_dwTocEntry =1, ImageStart: 0x80100000, ImageLength: 0x2035eac, LaunchAddr:0x80101000
[204] Module Name: nk.exe
INFO: WriteOSImageToBootMedia: [0] RegionStart:0x80100000, RegionLength:0x2035EAC, pExt:0x80101790
INFO: WriteOSImageToBootMedia: [0] Found chain extension: '' @ 0x80100000
Writing single region/multi-region update, dwBINFSPartLength: 33775276
IsValidMBR: MBR sector = 0x600
GetPartitionTableIndex: ++
GetPartitionTableIndex: pPartEntry->Part_FileSystem : 0x21
OpenPartition: Partition Exists=0x1 for part 0x21.
BIN Region Number : 0
BP_SetDataPointer at 0x0
WriteData: Start = 0x0, Length = 0x2035eac.
WriteData: writing sector number = 0x101af.
WriteData: partition total sector number = 0xd932.
WriteData: trying to write past end of partition.
ERROR: StoreImageToBootMedia: Failed to write region to BINFS partition (start=0x80100000, length=0x2035EAC).
ERROR: OEMLaunch: Failed to store image to Smart Media.
ERROR: OEMLaunch: Halting...
SpinForever...
似乎是我写入的sector数目是 0x101af,但sector的最大数是 0xd932
我不知道在那里修改这些。或则究竟要如何才能下载超过32M大小的BIN文件?
我选择下载的参数如下:
Ethernet Boot Loader Configuration:
Ethernet Boot Loader Configuration:
----------- Connectivity Settings ------------
0) IP address : [169.254.1.101]
1) Subnet mask : [255.255.255.0]
2) DHCP : [*Enabled]
3) Program CS8900 MAC address : [00:11:22:33:44:55]
--------- Boot Configuration Section ---------
4) Reset to factory default configuration
5) Startup Action after Boot delay : [*Download New image]
6) Boot delay: 5 seconds
R) Read Configuration(TOC)
W) Write Configuration Data(TOC) Right Now
------- Kernel Booting Option Section --------
K) KITL Configuration : [*Enabled]
I) KITL Connection Mode : [*Interrupt]
C) Force Clean Boot Option : [*True]
H) Hive Clean on Boot-time : [*False]
P) Format Partition on Boot-time: [*False]
------------- NAND Flash Section -------------
A) Erase All Blocks
E) Erase Reserved Block(Stepldr+Eboot)
F) Format Boot Media for BINFS with BadBlock Marking to Reserved Block
N) Nand Information and Dump NAND Flash
--------- Download and Launch Section --------
S) Switch Boot Device : [USB_DNW]
{ Options : *Ethernet, USB_Serial, USB_RNDIS, USB_DNW }
T) Download Target: [Write to NAND Storage]
D) Download or Program image(OS image will be launched)
L) LAUNCH existing Boot Media image
Enter your selection:
然后我选择D,开始USB下载。但总是不成功,各位大侠,请帮忙看看
|
|