Unable to excute Firmware from SBL(Secondary Secure Bootloader) in IMXRT1170 board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unable to excute Firmware from SBL(Secondary Secure Bootloader) in IMXRT1170 board

1,786件の閲覧回数
Nagaveni
Contributor II

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

Nagaveni_0-1694578901166.png

When I flash Actual image with the same signing process , FW is not executing from SBL find the below image for logs

Nagaveni_1-1694579110037.png

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

Nagaveni_2-1694579722796.png

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

 

0 件の賞賛
返信
4 返答(返信)

1,641件の閲覧回数
Nagaveni
Contributor II

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

0 件の賞賛
返信

1,693件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @Nagaveni ,

I enlarge the sfw project to more than 1M. It works fine. I keep the link file as default. Here  is my settings.

SBL

jingpan_0-1695201557207.png

jingpan_1-1695201578865.png

SFW

jingpan_2-1695201655890.png

 

Regards,

Jing

 

 

 

0 件の賞賛
返信

1,732件の閲覧回数
Nagaveni
Contributor II

Addon to the query I have attached my actual application linker please find it and reply ASAP

 

Thanks In Advance

0 件の賞賛
返信

1,692件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @Nagaveni ,

In this link file, you link the project base to 0x300000000, not 0x30100000.

 

Regards,

Jing

0 件の賞賛
返信