Hi,
Is there a limit in CE when building a bootloader image?
Currently I have a 128K setting and I want to increase it to 256K.
If the compiled code is over 128K, I will not get a .nb0 file and
my .bin file size is 0. If the compiled code is under 128K, then my .nb0
will be 256K(because of
the ROMSIZE statement is set to 40000).
I don't believe there is a limit, but what could be wrong.
Below is the loader.bib setting(for both):
I'm using 4.2
MEMORY
; Name Start Size Type
; ------ -------- -------- ----
;swc:256K++
; LOADER C0000000 00040000 RAMIMAGE
; RAM C0080000 00050000 RAM
; DRV_GLB C0040000 00001000 RESERVED
; LDR_DNLD C0060000 00020000 RESERVED
; LCD_MEM C00D0000 00028000 RESERVED
;swc:256k--
;swc:128K++
LOADER C0000000 00020000 RAMIMAGE
RAM C0080000 00080000 RAM
DRV_GLB C0020000 00001000 RESERVED
LCD_MEM C0021000 00028000 RESERVED
LDR_DNLD C0060000 00020000 RESERVED
;swc:128k--
CONFIG
COMPRESSION = OFF
KERNELFIXUPS = ON
PROFILE = OFF
ROMFLAGS = 0
ROMOFFSET = 00060000
ROMSTART = C0000000
ROMSIZE = 00020000
;256k ROMSIZE = 00040000
ROMWIDTH = 32
OUTPUT = $(_TARGETPLATROOT)\loader\release\