Add imx8ulp support in swupdate-scripts

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add imx8ulp support in swupdate-scripts

Add imx8ulp support in swupdate-scripts

This knowledge base add imx8ulp swupdate support based on AN13872.

Uboot patch: add_swupdate_support_for_imx8ulp_in_uboot.patch

swupdate-scripts patch: 0001-add-imx8ulp-support-in-swupdate-scripts.patch

Note

You must generate new key referring  5.4.3.3 Generating a key before build.

Zhiming_Liu_0-1726298269688.png

Commands

1. base image build command

 

./assemble_base_image.sh -b imx8ulp -e emmc -d doublecopy -m

 

2. update image build command

 

./swu_update_image_build.sh -e -s ./priv.pem -b imx8ulp -g

 

3. flash command:

 

uuu -b emmc_all .\imx-boot-imx8ulp-lpddr4-evk-sd.bin-flash_singleboot_m33 .\swu_doublecopy_rescue_imx8ulp_emmc_20240914.sdcard

 

 

 

Useful links:

https://sbabic.github.io/swupdate/building-with-yocto.html#automatic-sha256-in-sw-description

https://sbabic.github.io/swupdate/sw-description.html?highlight=hwrevision 

 

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1954610%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAdd%20imx8ulp%20support%20in%20swupdate-scripts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1954610%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThis%20knowledge%20base%20add%20imx8ulp%20swupdate%20support%20based%20on%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DAN13872%26amp%3BisHTMLorPDF%3DHTML%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAN13872%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3EUboot%20patch%3A%20add_swupdate_support_for_imx8ulp_in_uboot.patch%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3Eswupdate-scripts%20patch%3A%200001-add-imx8ulp-support-in-swupdate-scripts.patch%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1315325327%22%20id%3D%22toc-hId-1998818388%22%3ENote%3C%2FH3%3E%0A%3CP%3EYou%20must%20generate%20new%20key%20referring%26nbsp%3B%20%3CSTRONG%3E%3CSPAN%20class%3D%22fontstyle0%22%3E5.4.3.3%20Generating%20a%20key%20%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%20class%3D%22fontstyle0%22%3Ebefore%20build.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Zhiming_Liu_0-1726298269688.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Zhiming_Liu_0-1726298269688.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F299153i89F4D0E15B961621%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Zhiming_Liu_0-1726298269688.png%22%20alt%3D%22Zhiming_Liu_0-1726298269688.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--492129136%22%20id%3D%22toc-hId-191363925%22%3ECommands%3C%2FH3%3E%0A%3CP%3E1.%20base%20image%20build%20command%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E.%2Fassemble_base_image.sh%20-b%20imx8ulp%20-e%20emmc%20-d%20doublecopy%20-m%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CBR%20%2F%3E%0A%3CP%3E2.%20update%20image%20build%20command%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E.%2Fswu_update_image_build.sh%20-e%20-s%20.%2Fpriv.pem%20-b%20imx8ulp%20-g%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CBR%20%2F%3E%0A%3CP%3E3.%20flash%20command%3A%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Euuu%20-b%20emmc_all%20.%5Cimx-boot-imx8ulp-lpddr4-evk-sd.bin-flash_singleboot_m33%20.%5Cswu_doublecopy_rescue_imx8ulp_emmc_20240914.sdcard%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%3EUseful%20links%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsbabic.github.io%2Fswupdate%2Fbuilding-with-yocto.html%23automatic-sha256-in-sw-description%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fsbabic.github.io%2Fswupdate%2Fbuilding-with-yocto.html%23automatic-sha256-in-sw-description%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsbabic.github.io%2Fswupdate%2Fsw-description.html%3Fhighlight%3Dhwrevision%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsbabic.github.io%2Fswupdate%2Fsw-description.html%3Fhighlight%3Dhwrevision%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1954610%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX%208%20Family%20%7C%20i.MX%208QuadMax%20(8QM)%20%7C%208QuadPlus%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX%208M%20%7C%20i.MX%208M%20Mini%20%7C%20i.MX%208M%20Nano%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX8ULP%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELinux%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎09-18-2024 09:53 PM
Updated by: