Trying to BOOTME a Windows CE image destined for FLASH results in the following error:
Sent BOOTME
Got a response from a host ip: 10.0.3.174 port: 2019
Connecting to Platform Builder
Error, image doesn't fit in FLASH
BOOTME: error loading
LOCE_RELOCATE_FROM_FLASH = 1 is set via PB Platform->Settings.
The NK.BIN is over 15MB and I suspect that the default lha404_11_config_bib.h files do not support this. I had to modify the RAM section to load NK.BIN into RAM (without setting as above) as follows:
#define RAM_BUILD_RAM_START 0x81080000
#define RAM_BUILD_RAM_SIZE 0x00C00000
#define RAM_BUILD_IMAGE_START 0x800E0000
#define RAM_BUILD_IMAGE_SIZE 0x00F80000
Do any of the FLASH settings need to be modified?
#define FLA_BUILD_RAM_START 0x82400000
#define FLA_BUILD_RAM_SIZE 0x01800000
#define FLA_BUILD_IMAGE_START 0x80200000
#define FLA_BUILD_IMAGE_SIZE 0x01E00000
Here is the bottom output from the PB MakeImage:
Writing C:\Temp\lpd404\RelDir\LoCE_ARMV4I_Release\NK.bin
Table of contents 80ffd770 00001a1c ( 6684)
Writing ROM signature and TOC pointer at 800e0040
Kernel data copy section 80679d60 00000050 ( 80)
ROM Header 80ffd71c 00000054 ( 84)
First DLL code Address: 02f30000
Last DLL code Address: 04000000
First DLL Address: 01ee01ee
Last DLL Address: 02000000
Physical Start Address: 800e0000
Physical End Address: 80fff18c
Start RAM: 81080000
Start of free RAM: 810ad000
End of RAM: 81c80000
Number of Modules: 138
Number of Copy Sections: 5
Copy Section Offset: 80679d60
FileSys 4K Chunks/Mbyte: 128 <2Mbyte 128 2-4Mbyte 0 4-6Mbyte 0 >6Mbyte
CPU Type: 01c2h
Miscellaneous Flags: 0002h
Extensions Pointer: 800e16c4
Total ROM size: 00f1f18c ( 15856012)
Starting ip: 800e1000
Raw files size: 002027a3
Compressed files size: 00191c2a
Compacting bin file...
Any explicit solutions, including mods to the bib file above, are appreciated!
|