WinCE BIN image type unknow 与 !OEMVERIFYMEMORY: Invalid image 解决办法

方法1.

        去掉某些组件,如中文字库,从而使OS的映象文件减小.

方法2.

       (1)修改config.bib,修改实例如下:

           修改之前:

               IF IMGMULTIXIP
              #define CHAIN_ADDRESS 803FF000
              #define CHAIN_LENGTH 00001000

               TINYNK 80200000 00200000 RAMIMAGE
               NK 80400000 02800000 NANDIMAGE
              ; NK  80900000 02000000 NANDIMAGE
               CHAIN  $(CHAIN_ADDRESS) $(CHAIN_LENGTH) RESERVED
               
               RAM  80400000 03C00000 RAM
               
               FLASH               92000000  00100000  RESERVED
              ENDIF

          修改之后:

                IF IMGMULTIXIP
                #define CHAIN_ADDRESS 805FF000
                #define CHAIN_LENGTH 00001000

                 TINYNK 80200000 00400000 RAMIMAGE
                 NK 80600000 02800000 NANDIMAGE
                ; NK  80900000 02000000 NANDIMAGE
                 CHAIN  $(CHAIN_ADDRESS) $(CHAIN_LENGTH) RESERVED
                 
                 RAM  80600000 03A00000 RAM
                 
                 FLASH               92000000  00100000  RESERVED
                ENDIF

           (2)加大Bootloader的loader.h中的ROM_RAMIMAGE_SIZE

               修改之前:

                     #define ROM_RAMIMAGE_SIZE           0x02400000  //36MB

               修改之后:

                      #define ROM_RAMIMAGE_SIZE           0x02800000  //40MB

          本文中所述的方法是以本人的项目为例,其它项目中的具体数据可能所所不同

上一篇:noi.ac #227 random


下一篇:金三银四Java面试涨薪手册(嵩山版)崭新出炉!227页1000+题50w+字解析!