Skip to content

MX8 secondary boot support#448

Merged
igoropaniuk merged 6 commits intofoundriesio:masterfrom
igoropaniuk:mx8_secondary_boot
Oct 29, 2021
Merged

MX8 secondary boot support#448
igoropaniuk merged 6 commits intofoundriesio:masterfrom
igoropaniuk:mx8_secondary_boot

Conversation

@igoropaniuk
Copy link
Copy Markdown
Contributor

No description provided.

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

# iMX8QM
SOTA_CLIENT_FEATURES_append_mx8qm = " ubootenv"
IMAGE_BOOT_FILES_mx8qm = "imx-boot u-boot.itb hdmitxfw.bin ${KERNEL_IMAGETYPE} ${@make_dtb_boot_files(d)} boot.scr uEnv.txt"
IMAGE_BOOT_FILES_sota_mx8qm = "imx-boot u-boot.itb boot.itb"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@ricardosalveti I think I will drop this line, as this will break Apalis iMX8 without according change in CONFIG_BOOTCOMMAND for this board

Lets deploy boot.itb till we completely switch for all iMX8QM targets

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yup, sounds good.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

Copy link
Copy Markdown
Member

@ricardosalveti ricardosalveti left a comment

Choose a reason for hiding this comment

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

LGTM, assuming you will drop the change you suggested in your comment.

Copy link
Copy Markdown
Contributor

@mike-scott mike-scott left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@Tim-Anderson Tim-Anderson left a comment

Choose a reason for hiding this comment

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

LGTM

Relevant changes:
- 72aaf14007 [FIO internal] imx: detect boot0/boot1 partition to boot in runtime
- 0639e03697 [FIO internal] fastboot: fb_fsl: handle secondary boot images for imx8
- 4cd1d54a9d [FIO internal] imx: runtime image offset detection for imx8
- 525befa87c [FIO internal] imx: secondary_boot: enable support for mx8

Signed-off-by: Igor Opaniuk <[email protected]>
Add support of secondary boot for iMX8QM-MEK.

Signed-off-by: Igor Opaniuk <[email protected]>
Add support of secondary boot for iMX8QM.

Signed-off-by: Igor Opaniuk <[email protected]>
Include boot image into rootfs for boot firmware update functionality.

Signed-off-by: Igor Opaniuk <[email protected]>
Deploy boot cmd script to U-Boot FIT image.

Signed-off-by: Igor Opaniuk <[email protected]>
Flash secondary boot images on iMX8QM-MEK.

Signed-off-by: Igor Opaniuk <[email protected]>
@igoropaniuk igoropaniuk merged commit e3eac53 into foundriesio:master Oct 29, 2021
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.

6 participants