iMX8ULP XIP

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

iMX8ULP XIP

1,078 Views
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.

Labels (1)
0 Kudos
Reply
3 Replies

1,032 Views
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 Kudos
Reply

1,022 Views
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?

994 Views
AldoG
NXP TechSupport
NXP TechSupport
Hello,

Yes, you may do so without a problem.

Best regards/Saludos,
Aldo.
0 Kudos
Reply
%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%3EI'm%20haven't%20come%20across%20any%20resources%20for%20flashing%20the%20M33%20on%20the%20iMX8ULP%20to%20execute%20in%20place%20from%20NOR.%3C%2FP%3E%3CP%3EI%20can%20run%20the%20flash_debug.sh%20script%20to%20build%20the%20app%20and%20place%20the%20sections%20based%20on%20the%20flash%20linker%20file.%20My%20assumption%20is%20that%20I%20need%20to%20run%20%60mkimage_imx8%60%20with%20the%20target%20of%20%22flash_dualboot_m33_xip%22%20(memory%20address%20of%20MCU_XIP_ADDR%20aligns%20with%20the%20interrupts%2Ftext%20section%20in%20the%20linker%20file).%20After%20creating%20that%20flash.bin%20(result%20of%20flash_dualboot_m33_xip)%2C%20I'm%20having%20issues%20flashing%20with%20UUU.%20I've%20downloaded%20LF_v6.6.52-2.2.0_images_IMX8ULPEVK%20from%20the%20NXP%20page%20for%20the%20system%2C%20but%20I%20don't%20see%20any%20references%20to%20the%20XIP%20used.%3C%2FP%3E%3CP%3EMy%20end%20goal%20is%20to%20have%20my%20M33%20app%20execute%20in%20place%20from%20NOR%20and%20my%20A35%20app%20be%20in%20eMMC.%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%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EYes%2C%20you%20may%20do%20so%20without%20a%20problem.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2FSaludos%2C%3CBR%20%2F%3EAldo.%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%3EThanks%20for%20the%20reply!%20I%20assume%20after%20running%20that%20uuu%20command%2C%20I%20can%20also%20flash%20the%20A35%20image%20to%20eMMC%20the%20same%20as%20usual%3F%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%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20this%20you%20will%20need%20to%20have%202%20boot%20images%2C%20where%20one%20would%20be%20used%20as%20a%20flashing%20tool%20and%20the%20image%20to%20be%20flashed.%20With%20this%20you%20may%20used%20the%20following%26nbsp%3B%20command%3A%3C%2FP%3E%0A%3CP%3Euuu%20%E2%80%93b%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