Skip to content

Add support for imx8ulp-lpddr4-evk#1102

Merged
ricardosalveti merged 8 commits intofoundriesio:mainfrom
ricardosalveti:8ulp
Apr 16, 2023
Merged

Add support for imx8ulp-lpddr4-evk#1102
ricardosalveti merged 8 commits intofoundriesio:mainfrom
ricardosalveti:8ulp

Conversation

@ricardosalveti
Copy link
Copy Markdown
Member

Add remaining overrides and recipe support for imx8ulp-lpddr4-evk.

Sec support will follow later (after v90).

Relevant changes:
- 5a79149fc08 [FIO internal] imx: add secondary runtime detection support for 8ulp
- d723a24bde9 [FIO internal] imx: spl: imx8ulp: enable spl_mmc_emmc_boot_partition
- ef46a431d2c [FIO internal] imx: add low level code for secondary boot in 8ulp
- 1ff9be0301f [FIO internal] fastboot: fb_fsl: handle secondary boot images for imx8ulp
- e1a4fae427e [FIO toup] ARM: imx8ulp: support env in fat and ext4
- a8c25e31691 Revert "[FIO toup] usb: gadget: ci_udc: introduce board_ci_udc_phy_mode"
- 1dd00da54cc [FIO fromtree] ARM: imx9: support env in fat and ext4
- 4bba3408ca8 Revert "[FIO fromtree] imx8m: drivers/ddr: Change padding of DDR4 and LPDDR4 DMEM firmware"
- af3ce62e601 [FIO internal] common: introduce BOOTFIRMWARE_INFO_STRICT
- 66a9e839d3b [FIO internal] common: introduce bootfirmware info

Signed-off-by: Ricardo Salveti <[email protected]>
Add lmp.cfg config fragment for imx8ulp-lpddr4-evk.

Main difference from others is that we're using the standard imx
container image for SPL + u-boot instead of having u-boot via a normal
fit image.

This was done because there is no advantage in using u-boot fit for
mfgtools since it is already expected for the user to manually sign
imx-boot with the hab/ahab keys when secure boot is enabled.

Signed-off-by: Ricardo Salveti <[email protected]>
@ricardosalveti ricardosalveti requested a review from a team April 16, 2023 16:42
Copy link
Copy Markdown
Contributor

@MrCry0 MrCry0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Add lmp.cfg config fragment for imx8ulp-lpddr4-evk.

FIT signature support enabled for both SPL and u-boot proper / kernel.

Signed-off-by: Ricardo Salveti <[email protected]>
Add flash scripts for bootloader and full_image.

Signed-off-by: Ricardo Salveti <[email protected]>
imx8ulp uses the alternative boot logic flow and supports primary /
secondary stored in emmc boot0 / boot1.

Signed-off-by: Ricardo Salveti <[email protected]>
IMXBOOT_TARGETS requires flash_singleboot_m33 as just singleboot fails
to boot since u-boot requires a m33 sync during boot.

Signed-off-by: Ricardo Salveti <[email protected]>
Overlay address expected to be located at 0x9d000000 (set by ATF and
passed over via boot param).

Signed-off-by: Ricardo Salveti <[email protected]>
Add machine and soc overrides for imx8ulp.

IMX8ULP EVK specifics:
- Using 3.20.0-imx for OP-TEE
- Requires imx-m33-demos for the m33 firmware (can't boot without it)

Signed-off-by: Ricardo Salveti <[email protected]>
@ricardosalveti ricardosalveti merged commit 4138c80 into foundriesio:main Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants