doc about encrypted_xip_platform_*.c (in mcuboot)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

doc about encrypted_xip_platform_*.c (in mcuboot)

462 次查看
mastupristi
Senior Contributor I

Hello,

In the mcuboot sources, it is possible to find a bunch of files provided by NXP to deal with encrypted xip: SDK_25_06_00_EVK-MIMXRT1020/middleware/mcuboot_opensource/boot/nxp_mcux_sdk/encrypted_xip/

In my projects, I use RT117x, RT105x, and RT102x, so I deal with BEE and OTFAD peripherals.

I searched for documentation and examples for these files, for example here https://mcuxpresso.nxp.com/mcuxsdk/latest/html/middleware/mcuboot_opensource/README.html# but I didn't find what I was looking for.

I need to know:

  • features
  • usage examples
  • API reference

My use case is as follows:

boot_images.png

  • Image 0 is a second stage bootloader. It implement the USB host mass storage stack, which is the only way to update the device.
  • Image 1 is the actual application.

I believe that both images need to be encrypted, but I am not certain.

Can you tell me where to find a reference design that uses these sources?

Furthermore, having two images, I need mcuboot 2.2.0 (2.1.0 does not work with multiple images).
Version 2.1.0 is integrated into the last SDK, as indicated here:

mastupristi_0-1754315658319.png

best regards

Max

 

 

0 项奖励
回复
1 回复

281 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @mastupristi 

I am sorry for the delayed response. 

As an alternative solution, at this moment , we  have our SBL, which is based on the MCUboot, enabling encrypted XIP. However it is based on an older version of the MCUBoot. 

I have been checking internally, and I the SDK team said that the SDK now integrates latest version of the MCUboot. 

Basically you want to have addittional information covering : 

  • features
  • usage examples
  • API reference

but for encrypted application correct? Can we say that an example about using on-chip OTFAD in conjunction with MCUBoot  could work at this moment for you? 

Diego

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2146231%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%85%B3%E4%BA%8E%20encrypted_xip_platform_*.c%EF%BC%88%E5%9C%A8%20mcuboot%20%E4%B8%AD%EF%BC%89%E7%9A%84%E6%96%87%E6%A1%A3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2146231%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%9C%A8%20mcuboot%20%E6%BA%90%E4%BB%A3%E7%A0%81%E4%B8%AD%EF%BC%8C%E5%8F%AF%E4%BB%A5%E6%89%BE%E5%88%B0%E6%81%A9%E6%99%BA%E6%B5%A6%E6%8F%90%E4%BE%9B%E7%9A%84%E8%AE%B8%E5%A4%9A%E6%96%87%E4%BB%B6%E6%9D%A5%E5%A4%84%E7%90%86%E5%8A%A0%E5%AF%86%20xip%EF%BC%9Asdk_25_06_00_evk-mimxrt1020%2F%E4%B8%AD%E9%97%B4%E4%BB%B6%2Fmcuboot_opensource%2F%E5%90%AF%E5%8A%A8%2Fnxp_mcux_SDK%2FEncrypted_XIP%2F%3C%2FP%3E%3CP%3E%E5%9C%A8%E6%88%91%E7%9A%84%E9%A1%B9%E7%9B%AE%E4%B8%AD%EF%BC%8C%E6%88%91%E4%BD%BF%E7%94%A8%20RT117x%E3%80%81RT105x%20%E5%92%8C%20RT102x%EF%BC%8C%E5%9B%A0%E6%AD%A4%E8%A6%81%E5%A4%84%E7%90%86%20BEE%20%E5%92%8C%20OTFAD%20%E5%A4%96%E8%AE%BE%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E6%90%9C%E7%B4%A2%E4%BA%86%E8%BF%99%E4%BA%9B%E6%96%87%E4%BB%B6%E7%9A%84%E6%96%87%E6%A1%A3%E5%92%8C%E7%A4%BA%E4%BE%8B%EF%BC%8C%E4%BE%8B%E5%A6%82%3CA%20href%3D%22https%3A%2F%2Fmcuxpresso.nxp.com%2Fmcuxsdk%2Flatest%2Fhtml%2Fmiddleware%2Fmcuboot_opensource%2FREADME.html%23%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmcuxpresso.nxp.com%2Fmcuxsdk%2Flatest%2Fhtml%2Fmiddleware%2Fmcuboot_opensource%2FREADME.html%23%3C%2FA%3E%EF%BC%8C%E4%BD%86%E6%B2%A1%E6%9C%89%E6%89%BE%E5%88%B0%E6%88%91%E8%A6%81%E6%89%BE%E7%9A%84%E4%B8%9C%E8%A5%BF%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E9%9C%80%E8%A6%81%E7%9F%A5%E9%81%93%3C%2FP%3E%3CUL%3E%3CLI%3E%E7%89%B9%E6%80%A7%3C%2FLI%3E%3CLI%3E%E7%94%A8%E6%B3%95%E7%A4%BA%E4%BE%8B%3C%2FLI%3E%3CLI%3EAPI%20%E5%8F%82%E8%80%83%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%E6%88%91%E7%9A%84%E4%BD%BF%E7%94%A8%E6%A1%88%E4%BE%8B%E5%A6%82%E4%B8%8B%EF%BC%9A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22boot_images.png%22%20style%3D%22width%3A%20244px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22boot_images.png%22%20style%3D%22width%3A%20244px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350821i804091F4CD4C1FF8%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22boot_images.png%22%20alt%3D%22boot_images.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%E5%9B%BE%E5%83%8F%200%20%E6%98%AF%E7%AC%AC%E4%BA%8C%E9%98%B6%E6%AE%B5%E5%BC%95%E5%AF%BC%E5%8A%A0%E8%BD%BD%E7%A8%8B%E5%BA%8F%E3%80%82%E5%AE%83%E5%AE%9E%E7%8E%B0%E4%BA%86%20USB%20%E4%B8%B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6%9C%80%E5%90%8E%E4%B8%80%E4%B8%AA%20SDK%20%E4%B8%AD%EF%BC%9A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-mcuxpresso%2Fmcuboot%2Ftree%2Fd01a792dce6e332b4b5df02b980c3c6d5505f2e9%3Ftab%3Dreadme-ov-file%23mcuboot%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mastupristi_0-1754315658319.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mastupristi_0-1754315658319.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350823i1B96786C9B1489A6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mastupristi_0-1754315658319.png%22%20alt%3D%22mastupristi_0-1754315658319.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%3CP%3E%E9%A1%BA%E7%A5%9D%E5%95%86%E7%A5%BA%EF%BC%81%3C%2FP%3E%3CP%3E%E6%9C%80%E5%A4%A7%E5%80%BC%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2166167%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20doc%20about%20encrypted_xip_platform_*.c%20(in%20mcuboot)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2166167%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F124967%22%20target%3D%22_blank%22%3E%40mastupristi%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E5%BE%88%E6%8A%B1%E6%AD%89%E5%BB%B6%E8%BF%9F%E5%9B%9E%E5%A4%8D%E3%80%82%20%3C%2FP%3E%0A%3CP%3E%E4%BD%9C%E4%B8%BA%E6%9B%BF%E4%BB%A3%E6%96%B9%E6%A1%88%EF%BC%8C%E7%9B%AE%E5%89%8D%E6%88%91%E4%BB%AC%E6%9C%89%E5%9F%BA%E4%BA%8E%20MCUboot%20%E7%9A%84%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-mcuxpresso%2Fsbl%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ESBL%3C%2FA%3E%EF%BC%8C%E5%8F%AF%E4%BB%A5%E5%AE%9E%E7%8E%B0%E5%8A%A0%E5%AF%86%20XIP%E3%80%82%E4%B8%8D%E8%BF%87%EF%BC%8C%E5%AE%83%E6%98%AF%E5%9F%BA%E4%BA%8E%E6%97%A7%E7%89%88%E6%9C%AC%E7%9A%84%20MCUBoot%E3%80%82%20%3C%2FP%3E%0A%3CP%3E%E6%88%91%E4%B8%80%E7%9B%B4%E5%9C%A8%E5%86%85%E9%83%A8%E6%A3%80%E6%9F%A5%EF%BC%8C%E6%88%91%E7%9A%84%20SDK%20%E5%9B%A2%E9%98%9F%E8%AF%B4%20SDK%20%E7%8E%B0%E5%9C%A8%E5%86%85%E7%BD%AE%E4%BA%86%E6%9C%80%E6%96%B0%E7%89%88%E6%9C%AC%E7%9A%84%20MCUboot%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%9F%BA%E6%9C%AC%E4%B8%8A%EF%BC%8C%E6%82%A8%E5%B8%8C%E6%9C%9B%E8%8E%B7%E5%BE%97%E7%9A%84%E9%99%84%E5%8A%A0%E4%BF%A1%E6%81%AF%E5%8C%85%E6%8B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