iMX8ULP XIP

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

iMX8ULP XIP

1,108 次查看
sb_3
Contributor I

I'm haven't come across any resources for flashing the M33 on the iMX8ULP to execute in place from NOR.

I can run the flash_debug.sh script to build the app and place the sections based on the flash linker file. My assumption is that I need to run `mkimage_imx8` with the target of "flash_dualboot_m33_xip" (memory address of MCU_XIP_ADDR aligns with the interrupts/text section in the linker file). After creating that flash.bin (result of flash_dualboot_m33_xip), I'm having issues flashing with UUU. I've downloaded LF_v6.6.52-2.2.0_images_IMX8ULPEVK from the NXP page for the system, but I don't see any references to the XIP used.

My end goal is to have my M33 app execute in place from NOR and my A35 app be in eMMC.

标签 (1)
0 项奖励
回复
3 回复数

1,062 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

For this you will need to have 2 boot images, where one would be used as a flashing tool and the image to be flashed. With this you may used the following  command:

uuu –b qspi flash-singleboot.bin flash-dualboot-m33_xip.bin

Best regards/Saludos,
Aldo.

0 项奖励
回复

1,052 次查看
sb_3
Contributor I
Thanks for the reply! I assume after running that uuu command, I can also flash the A35 image to eMMC the same as usual?

1,024 次查看
AldoG
NXP TechSupport
NXP TechSupport
Hello,

Yes, you may do so without a problem.

Best regards/Saludos,
Aldo.
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2174549%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EiMX8ULP%20XIP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2174549%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E8%BF%98%E6%B2%A1%E6%9C%89%E9%81%87%E5%88%B0%E4%BB%BB%E4%BD%95%E5%8F%AF%E4%BB%A5%E5%9C%A8%20imx8ULP%20%E4%B8%8A%E5%88%B7%E6%96%B0%20M33%20%E4%BB%A5%E4%BD%BF%E5%85%B6%E4%BB%8E%E6%88%96%E9%9D%9E%E5%8E%9F%E5%9C%B0%E6%89%A7%E8%A1%8C%E7%9A%84%E8%B5%84%E6%BA%90%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E5%8F%AF%E4%BB%A5%E8%BF%90%E8%A1%8C%20flash_debug.sh%20%E8%84%9A%E6%9C%AC%E6%9D%A5%E7%89%88%E6%9C%AC%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%EF%BC%8C%E5%B9%B6%E6%A0%B9%E6%8D%AE%20Flash%20%E9%93%BE%E6%8E%A5%E5%99%A8%E6%96%87%E4%BB%B6%E6%94%BE%E7%BD%AE%E5%90%84%E4%B8%AA%E9%83%A8%E5%88%86%E3%80%82%E6%88%91%E7%9A%84%E5%81%87%E8%AE%BE%E6%98%AF%EF%BC%8C%E6%88%91%E9%9C%80%E8%A6%81%E4%BB%A5%22flash_dualboot_m33_xip%22%20%E4%B8%BA%E7%9B%AE%E6%A0%87%E8%BF%90%E8%A1%8C%20%60mkimage_imx8%60%EF%BC%88MCU_XIP_ADDR%20%E7%9A%84%E5%86%85%E5%AD%98%E5%9C%B0%E5%9D%80%E4%B8%8E%E9%93%BE%E6%8E%A5%E5%99%A8%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E4%B8%AD%E6%96%AD%2F%E6%96%87%E6%9C%AC%E9%83%A8%E5%88%86%E5%AF%B9%E9%BD%90%EF%BC%89%E3%80%82%E5%88%9B%E5%BB%BA%20flash.bin%EF%BC%88flash_dualboot_m33_xip%20%E7%9A%84%E7%BB%93%E6%9E%9C%EF%BC%89%E5%90%8E%EF%BC%8C%E6%88%91%E9%81%87%E5%88%B0%E4%BA%86%20UUU%20%E9%97%AA%E5%AD%98%E9%97%AE%E9%A2%98%E3%80%82%E6%88%91%E5%B7%B2%E7%BB%8F%E4%BB%8E%E6%81%A9%E6%99%BA%E6%B5%A6%E7%9A%84%E7%B3%BB%E7%BB%9F%E9%A1%B5%E9%9D%A2%E4%B8%8B%E8%BD%BD%E4%BA%86%20LF_v6.6.52-2.0_images_imx8ULPEVK%EF%BC%8C%E4%BD%86%E6%88%91%E7%9C%8B%E4%B8%8D%E5%88%B0%E4%BB%BB%E4%BD%95%E5%8F%82%E8%80%83%E6%89%80%E4%BD%BF%E7%94%A8%E7%9A%84%20XIP%20%E7%9A%84%E5%86%85%E5%AE%B9%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E7%9A%84%E6%9C%80%E7%BB%88%E7%9B%AE%E6%A0%87%E6%98%AF%E8%AE%A9%E6%88%91%E7%9A%84M33%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E4%BB%8E%E6%88%96%E9%9D%9E%E5%B0%B1%E5%9C%B0%E6%89%A7%E8%A1%8C%EF%BC%8C%E6%88%91%E7%9A%84A35%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E5%9C%A8eMMC%E4%B8%AD%E8%BF%90%E8%A1%8C%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2174549%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX8ULP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2175945%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX8ULP%20XIP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2175945%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%98%AF%E7%9A%84%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E8%BF%99%E6%A0%B7%E5%81%9A%EF%BC%8C%E4%B8%8D%E4%BC%9A%E6%9C%89%E9%97%AE%E9%A2%98%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E8%87%B4%E4%BB%A5%E6%9C%80%E5%B4%87%E9%AB%98%E7%9A%84%E6%95%AC%E6%84%8F%2F%E9%97%AE%E5%80%99%EF%BC%8C%3CBR%20%2F%3EAldo%E3%80%82%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2175328%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX8ULP%20XIP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2175328%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%9B%9E%E5%A4%8D%EF%BC%81%E6%88%91%E6%83%B3%E8%BF%90%E8%A1%8C%20uuu%20%E5%91%BD%E4%BB%A4%E5%90%8E%EF%BC%8C%E6%98%AF%E5%90%A6%E4%B9%9F%E8%83%BD%E5%83%8F%E5%BE%80%E5%B8%B8%E4%B8%80%E6%A0%B7%E5%B0%86%20A35%20%E6%98%A0%E5%83%8F%E9%97%AA%E5%AD%98%E5%88%B0%20eMMC%20%E4%B8%AD%EF%BC%9F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2175259%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX8ULP%20XIP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2175259%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%E4%B8%BA%E6%AD%A4%EF%BC%8C%E4%BD%A0%E9%9C%80%E8%A6%81%E6%9C%89%202%20%E4%B8%AA%E5%90%AF%E5%8A%A8%E6%98%A0%E5%83%8F%EF%BC%8C%E5%85%B6%E4%B8%AD%E4%B8%80%E4%B8%AA%E7%94%A8%E4%BD%9C%E5%88%B7%E6%96%B0%E5%B7%A5%E5%85%B7%EF%BC%8C%E5%8F%A6%E4%B8%80%E4%B8%AA%E9%95%9C%E5%83%8F%E8%A6%81%E5%88%B7%E6%96%B0%E3%80%82%E4%B8%BA%E6%AD%A4%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%E5%91%BD%E4%BB%A4%EF%BC%9A%3C%2FP%3E%0A%3CP%3Euuu%20-b%20qspi%20flash-singleboot.bin%20flash-dualboot-m33_xip.bin%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2FSaludos%2C%3CBR%20%2F%3EAldo.%3C%2FP%3E%3C%2FLINGO-BODY%3E