阅读:2188回复:1
nt.bin超过32M,eboot不能正常下载启动的问题
我用的是smdk6400的开发板,内存128mbyte,flash6
4mbyte,wince6.0 当然选择的组件比较多时生成的nk.bin会超过 32mbyte,eboot不能下载。 修改了以下几个地方: 编译的时候IMGRAM64选项是选中的 我的config.bib文件修改如下: IF WINCEDEBUG = retail #define NKNAME NK #define NKSTART 80100000 #define NKLEN 04000000 ; 41 MB #define RAMNAME RAM #define RAMSTART 82A00000 #define RAMLEN 01f00000 ; 70 MB ELSE #define NKNAME NK #define NKSTART 80100000 #define NKLEN 03700000 ; 55 MB #define RAMNAME RAM #define RAMSTART 83800000 #define RAMLEN 03800000 ; 56 MB ENDIF image_cfg.h文件修改的部分如下: #define EBOOT_FILE_CACHE_OFFSET (0x00100000) #define EBOOT_FILE_CACHE_PA_START (DRAM_BASE_PA_START+EBOOT_FILE_CACHE_OFFSET) #define EBOOT_FILE_CACHE_CA_START (DRAM_BASE_CA_START+EBOOT_FILE_CACHE_OFFSET) #define EBOOT_FILE_CACHE_UA_START (DRAM_BASE_UA_START+EBOOT_FILE_CACHE_OFFSET) #define EBOOT_FILE_CACHE_SIZE (0x03000000) #define EBOOT_USB_BUFFER_OFFSET (0x03100000) #define EBOOT_USB_BUFFER_PA_START (DRAM_BASE_PA_START+EBOOT_USB_BUFFER_OFFSET) #define EBOOT_USB_BUFFER_CA_START (DRAM_BASE_CA_START+EBOOT_USB_BUFFER_OFFSET) #define EBOOT_USB_BUFFER_UA_START (DRAM_BASE_UA_START+EBOOT_USB_BUFFER_OFFSET) #define EBOOT_USB_BUFFER_SIZE (0x03000000) //------------------------------------------------------------------------------ // NK Area #define IMAGE_NK_OFFSET (0x00100000) #define IMAGE_NK_PA_START (DRAM_BASE_PA_START+IMAGE_NK_OFFSET) #define IMAGE_NK_CA_START (DRAM_BASE_CA_START+IMAGE_NK_OFFSET) #define IMAGE_NK_UA_START (DRAM_BASE_UA_START+IMAGE_NK_OFFSET) #define IMAGE_NK_SIZE (0x4000000) image_cfg.inc文件修改部分如下: EBOOT_FILE_CACHE_OFFSET EQU (0x00100000) EBOOT_FILE_CACHE_PA_START EQU (DRAM_BASE_PA_START+EBOOT_FILE_CACHE_OFFSET) EBOOT_FILE_CACHE_CA_START EQU (DRAM_BASE_CA_START+EBOOT_FILE_CACHE_OFFSET) EBOOT_FILE_CACHE_UA_START EQU (DRAM_BASE_UA_START+EBOOT_FILE_CACHE_OFFSET) EBOOT_FILE_CACHE_SIZE EQU (0x03000000) EBOOT_USB_BUFFER_OFFSET EQU (0x03100000) EBOOT_USB_BUFFER_PA_START EQU (DRAM_BASE_PA_START+EBOOT_USB_BUFFER_OFFSET) EBOOT_USB_BUFFER_CA_START EQU (DRAM_BASE_CA_START+EBOOT_USB_BUFFER_OFFSET) EBOOT_USB_BUFFER_UA_START EQU (DRAM_BASE_UA_START+EBOOT_USB_BUFFER_OFFSET) EBOOT_USB_BUFFER_SIZE EQU (0x03000000) ;//------------------------------------------------------------------------------ ;// NK Area IMAGE_NK_OFFSET EQU (0x00100000) IMAGE_NK_PA_START EQU (DRAM_BASE_PA_START+IMAGE_NK_OFFSET) IMAGE_NK_CA_START EQU (DRAM_BASE_CA_START+IMAGE_NK_OFFSET) IMAGE_NK_UA_START EQU (DRAM_BASE_UA_START+IMAGE_NK_OFFSET) IMAGE_NK_SIZE EQU (0x04000000) eboot.bib文件修改如下: FLSCACHE 80100000 03000000 RESERVED USB_BUF 83100000 03000000 RESERVED 每次下载到如下如下位置就不动了,死掉了,不知是什么原因, 不知道大家的nk.bin超过32m以后是怎么处理的。 |
|
沙发#
发布于:2008-07-21 15:00
看看eboot下载程序那部分的缓冲地址
|
|