2316631_en-US

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

2316631_en-US

2316631_en-US

zephyr build for XIP in NOR Flash on Flexspi of RT1160

Hi, I am trying to build a zephyr image for a custom RT1160 board that uses a different QSPI NOR flash than the one used in the evk. I am using the primary group of Flexspi1 and I used the MCUXpresso config tool to generate the pinctrl and pinmux for the firmware. However, when I tried to build the image, it keeps failing on the linker script stage as it keeps targeting the onchip memory space instead of the external flash.

Do I need define a new linker script in zephyr project so the build system can target the external memory space? Are there any tutorial or application documents that provide the guide to develop the XIP zephyr firmware for imxrt? 

Re: zephyr build for XIP in NOR Flash on Flexspi of RT1160

Hi @TomC818 ,

Thanks for your interest in NXP MIMXRT series!

The default Zephyr examples for the CM7 on the RT1160 should all support XIP. You can locate this KConfig CONFIG_BOOT_FLEXSPI_NOR in the successfully compiled .config file.

If your goal is simply to modify Flash, these two links will be helpful:
1. https://github.com/zephyrproject-rtos/zephyr/discussions/83607
2. https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/nxp/mimxrt1160_evk/CMakeLists.txt

Additionally, if memory relocation is required, you can refer to this AN.


Best regards,
Gavin

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎02-12-2026 02:30 AM
更新者: