Q: How can I increase the VxWorks image size in flash?
You'll need to change two files: The config.h in the BSP and the adsload.hwt file:
ADSLOAD.HWT In adsload.hwt, change the amount of flash set aside for the image. The following example changes the amount of flash from 4MB to 7MB:
from:
; Operating System settings 0x00B00240 0x000000BE ; system is running VxWorks 0xA110C401 0x00400000 ; flash memory set aside for VXWORKS.BIN (0x00400000 4MB)
to:
; Operating System settings 0x00B00240 0x000000BE ; system is running VxWorks 0xA110C401 0x00700000 ; flash memory set aside for VXWORKS.BIN (0x00700000 7MB)
Config.h Update config.h in the BSP with the target size of the image. You can use any value for ROM_SIZE smaller than ([flash installed] - 1MB(ADS config files) - 256KB(NVRAM Space)). Again, the example below sets up the image size to be up to 7MB in size.
/* Attention VxWorks Customers !!!!! Only you need to set BUILD_BOOTROM_BIN_FIILE as TRUE when you build VxWorks Bootrom (Bootrom.bin) Once you build VxWorks Bootrom, You need to set BUILD_BOOTROM_BIN_FIILE as FALSE