Hi,
I am using IMXRT1170 board for our application and unable to boot the firmware of my actual application(3MB) from the SBL , but it is working in the Example code (image size is 1MB)
please find the image for working example code
When I flash Actual image with the same signing process , FW is not executing from SBL find the below image for logs
linker file Address (XIP_BOOT_HEADER_ENABLE=0 while executing image form SBL)
if (XIP_BOOT_HEADER_ENABLE == 1) {
define symbol m_interrupts_start = 0x30002000;
define symbol m_interrupts_end = 0x300023FF;
define symbol m_text_start = 0x30002400;
define symbol m_text_end = 0x30FBFFFF;
} else {
define symbol m_interrupts_start = BOOT_FLASH_ACT_APP + 0x400;
define symbol m_interrupts_end = BOOT_FLASH_ACT_APP + 0x400 + 0x3FF;
define symbol m_text_start = BOOT_FLASH_ACT_APP + 0x400 + 0x400;
define symbol m_text_end = BOOT_FLASH_CAND_APP - 0x1000;
}
BOOT_FLASH_ACT_APP=0x30100000 = slot starting address
BOOT_FLASH_CAND_APP=0x30400000= slot ending address
signing command
python sign --key sign-rsa2048-priv.pem --align 4 --version "0.9.2" --header-size 0x400 --pad-header --slot-size 0x300000 --max-sectors 32 IAR_Project.bin sfw092.bin
SBL configurations using Scon tool
Please suggest me do I need to any extra configuration due to Size is 3 MB or else any steps did missed ?
Thanks In Advance
Hi Jing,
Thank you for your response.,
When we have added default linker to the Application, it is working,
we have added SDRAM Address in linker then only I am unable to execute the image from SBL Please find the attached linker for More information,
Example :define exported symbol __STRING_TABLES__ = 0x82000000;//0x82000000; // 2 MB for string tables should be more than enough.
keep { section .strTables };
place at address mem:__STRING_TABLES__ { readwrite section .strTables };
Please let me know what I have missed to enable the SDRAM in my application ASAP.
Thanks in advance