Hi,
I am attaching the config.bib and image_cfg to increase the NK.bin size on debug mode. Please make the necessary changes and send it across. Thank you.
Regards,
Karthick7610.image_cfg.h
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am attaching the config.bib and image_cfg to increase the NK.bin size on debug mode. Please make the necessary changes and send it across. Thank you.
Regards,
Karthick7610.image_cfg.h
Hi Seetharam, thanks for your note on making the change in image_cfg.h file to increase the size for NK.bin....
Here, I attached the missed config.bib for your reference to modify for the same issue....Please share once got changed.
Regards,
Karthick2476.config.zip
Hi,
There is no changes in config.bib as they are importing image_cfg.h file and using those macros.
Did you try modifying size value that I mentioned?
I think that is enough to build the debug image.
Regards,
Seetharam
It sounds like I should change the XLDR and EBOOT for debug mode then.
Thank you,
Karthick
The previously flashed binaries should be present in NAND.
Regards,
Seetharam
Hi,
So you are able to download the image. You didn't mention if you booted the image.
What happens when you boot the image, whether its booting completely with debug prints ?
Let know these things.
Regards.
Seetharam
Hi Seetharam, thanks for joining again.
I did the changes to increase the memory size to 130MB to hold the NK.bin image in the image_cfg.h file. And removed some of the software components to restrict the image size also. Then, I am able to download the image into the target dive through ethernet....These are works fine. But, after download is complete, then there is no progress afterwards, debugger mode is not activated at all showing half green and yellow color only in the right side bullet box.
To confirm that this error because of the change made in image_cfg.h file, I build the os design in Release mode and enabled the kitl and kernel debugger options, to download the image and establish the kitl connection over transport and debugger support over Debugger options...But it failed as we seen in Debug mode.
Then, I revert back the changes made in image_cfg.h file (to 72MB) and did sysgen command to build system files and verified it works...!! mean I am able to establish the kitl and debugger support.
So finally the rootcause is image_cfg.h file that should be mapped properly.!!! I am working out the changes should be done with careful way by referring AM/DM37x TRM. Also I had seen that if We change directly IMAGE_WINCE_CODE_SIZE to 130MB then it overlapped with IMAGE_WINCE_RAM_CA memory so it's not the way should make the change...The way the file looks is as below.
#define IMAGE_WINCE_CODE_CA 0x88000000 //
#define IMAGE_WINCE_CODE_SIZE 0x047FF000 // CODE 72 MB
#define IMAGE_WINCE_RAM_CA 0x8C7FE000 //
#define IMAGE_WINCE_RAM_SIZE 0x03801000 // RAM 56 MB
#define HEX_VALUE(a) 0x##a
#define IMAGE_WINCE_RAM_DISK_CA_HEX 80002000 //
#define IMAGE_WINCE_RAM_DISK_SIZE_HEX 27FE000 // RAMDISK 40 MB
#define IMAGE_WINCE_RAM_DISK_CA HEX_VALUE(IMAGE_WINCE_RAM_DISK_CA_HEX) //
#define IMAGE_WINCE_RAM_DISK_SIZE HEX_VALUE(IMAGE_WINCE_RAM_DISK_SIZE_HEX) // RAMDISK 48 MB
#define IMAGE_WINCE_DISPLAY_CA 0x82800000 //
#define IMAGE_WINCE_DISPLAY_SIZE 0x01000000 // Display 16 MB
#define IMAGE_WINCE_DISPLAY_720p_CA 0x83800000 //
#define IMAGE_WINCE_DISPLAY_720p_SIZE 0x01000000 // Display 16 MB - extra needed for 720p video playback; should be contiguous with IMAGE_WINCE_DISPLAY_CA
#define IMAGE_CMEM_CA 0x84800000 //CMEM ; this is always needed if DVSDK is enabled
#define IMAGE_CMEM_SIZE 0x01000000 //16 MB
#define IMAGE_DSP_720P_CA 0x85800000 //DSP (2)
#define IMAGE_DSP_720P_SIZE 0x01A00000 //26MB ; extra DSP region if using 720p codecs and SDRAM bank1
#define IMAGE_DSP_CA 0x87200000 //DSP 4456.config.zip
#define IMAGE_DSP_SIZE 0x00E00000 // 14MB ; this is always used if DVSDK is enabled
If you think there would be an error in image_cfg.h file then please make a change in the attached file and post to me back. I don't see any TI guy has supported this. Please help.
Thank you,
Karthick
Hi Seetharam, thank you for your support.
Successfully able to operate the device under debug mode. It will be helpful to note the following;
1. In debug mode OS image size should not exceed 128MB.
2. No need to do changes in config.bib and image_cfg.h files to increase the size of the NK.bin....Just enable the 'Optimize run-time image size and speed' under build options.
3. I am able to customize the BSP and restrict the image size as desired.
Regards,
Karthick