Skip to content

Conversation

@aunsbjerg
Copy link
Contributor

Adds missing Flexspi kconfig support to the board as well as a flash partition table compatible with mcuboot layout.

The flash device in the SoC dts file was missing the correct compatible binding and erase/write-block-size necessary for mcuboot. Futhermore, the device size and label is corrected to reflect the actual onboard chip.

Tested Device Firmware Upgrade over the UDP transport (see #37863 for ethernet support).

Mikkel Jakobsen added 3 commits August 31, 2021 20:19
the config symbol was missing for some reason even though
the soc does have a flexspi peripheral like most other socs
in the family.

Signed-off-by: Mikkel Jakobsen <[email protected]>
add correct binding, fix size to 32MBit, add erase and write
block size to support mcuboot and rename to reflect the actual
flash model.

Signed-off-by: Mikkel Jakobsen <[email protected]>
Adds flash partitions and chosen nodes to the mimxrt1024_evk device tree
to support mcuboot on the internal QSPI flash.

Also adds missing zephyr,itcm chosen node.

Also enables FlexSPI flash driver XIP mode support on this board to
support mcuboot.

Signed-off-by: Mikkel Jakobsen <[email protected]>
@MaureenHelm MaureenHelm added this to the v2.7.0 milestone Sep 2, 2021
@nashif nashif merged commit e12e126 into zephyrproject-rtos:main Sep 3, 2021
@aunsbjerg aunsbjerg deleted the mimxrt1024-mcuboot-support branch September 3, 2021 11:40
@aunsbjerg
Copy link
Contributor Author

Mcuboot must be build with CONFIG_BOOT_MAX_IMG_SECTORS=512 when targetting the mimxrt1024. Have made a PR for upstream mcuboot to add an overlay in line with how it's done for the other imxrt's, see mcu-tools/mcuboot#1130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants