MCUBootloader can't able to build for imxrt1160_evk_cm7 core

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCUBootloader can't able to build for imxrt1160_evk_cm7 core

跳至解决方案
1,223 次查看
vishnusudhankj
Contributor III

I tried the following procedure to build the MCU Bootloader for imxrt1160 EVK for CM7 core.

  1. In the ZEPHYRBASE/bootloader/mcuboot/zephyr/prj.conf file , I included KEY value as CONFIG_BOOT_SIGNATURE_KEY_FILE="root_rsa_2048.pem " (for singing the image)
  2. Now using the "west build -s boot/zephyr -b mimxrt1160_evk_cm7" , I build the MCUBootloader.
    While building , I observed fatal error as ,
    home/vishnusudhan/zephyr-sdk-0.13.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/zephyr_pre0.elf section **rodata' will not fit in region FLASH'**
    /home/vishnusudhan/zephyr-sdk-0.13.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld./ld.bfd: region `FLASH' overflowed by 632 bytes

error_log.png

Kindly provide suggest how to overcome this issue/ any reference doc / steps available to find the solution for this issue?

cc: @kanimozhi_t 

0 项奖励
1 解答
1,181 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I was wondering if you can share the steps of testing, then I'd like to replicate the build error.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

在原帖中查看解决方案

0 项奖励
2 回复数
1,182 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I was wondering if you can share the steps of testing, then I'd like to replicate the build error.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

0 项奖励
1,143 次查看
vishnusudhankj
Contributor III

After updating partition file, can able to solve the issue

0 项奖励