-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kconfig: Linked code into external SEMC-controlled memory without boot header #53867
Comments
@danieldegrasse, I can make a PR if you can confirm that my assumptions above are correct. |
Hi @MikhailSiomin, Sorry for the late response. Currently, |
@danieldegrasse, I used a custom bootloader on 2.7 Zephyr that linked into semc and it worked. But faced the above problem when switching to Zephyr version 3.2. I will check what the changes affect and prepare a PR. |
@MikhailSiomin, great- thank you for taking this on! |
Allow to include boot header for code linked into not only FlexSPI controlled memory. Fixes zephyrproject-rtos#53867 Signed-off-by: Mikhail Siomin <victorovich.01@mail.ru>
Allow to include boot header for code linked into not only FlexSPI controlled memory. Fixes #53867 Signed-off-by: Mikhail Siomin <victorovich.01@mail.ru>
Allow to include boot header for code linked into not only FlexSPI controlled memory. Fixes zephyrproject-rtos#53867 Signed-off-by: Mikhail Siomin <victorovich.01@mail.ru>
It is not clear to me why the following check for CODE_FLEXSPI and CODE_FLEXSPI2 configs was added at NXP_IMX_RT_BOOT_HEADER config (at PR #41579). Since the boot ROM cannot copy and then run code linked into non-FlexSPI controlled memory.
zephyr/soc/arm/nxp_imx/rt/Kconfig.soc
Lines 652 to 657 in 426c9cb
It is also unclear to me why there was no imply for CODE_SEMC (in PR #22864), CODE_ITCM and other CODE_LOCATION.
zephyr/soc/arm/nxp_imx/rt/Kconfig.soc
Lines 710 to 711 in 426c9cb
I think these checks should be removed and imply for CODE_SEMC, CODE_ITCM, CODE_SRAM0, CODE_OCRAM added.
zephyr/soc/arm/nxp_imx/rt/Kconfig.soc
:The text was updated successfully, but these errors were encountered: