How to load Linux Image into Flash NOR QSPI using custom board based on iMX93

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

How to load Linux Image into Flash NOR QSPI using custom board based on iMX93

Jump to solution
1,313 Views
Bob_NXP_user
Contributor III

Hello everyone,

I'm tryng to flash into my custom iMX93 board with UUU the .wic. I'm using this built-in command:

uuu.exe -b qspi core-image-minimal-imx93-11x11-lpddr4x-evk.rootfs-20250328061745.wic

But it doesn't work.

 

24282b04-4e7a-4dc8-8655-f32a4626ec8b.jpg

The only thing that works is the bootloader. Indeed, when I use the following command:

uuu.exe -b qspi imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot

the bootloader starts, even if I reset the board with the boot mode configuration "FlexSPI Serial NOR", so I think it is correctly flashed into memory.

  1. What am I doing wrong with the .wic download?
  2. What am I supposed to do in order to flash the .wic file into QSPI-flash?
  3. Do I need to change something into the source files of the bootloader or it should be working as it comes from the nxp site?

Thanks in advance,

Best regards,

Bob

 

1 Solution
1,306 Views
saxejeh
Contributor II
0 Kudos
Reply
5 Replies
1,285 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

  • The following command burns boot image into FlexSPI NAND:
uuu -b spi_nand <nand_uuu_fw> <bootloader>
  • To generate boot image for FlexSPI NAND boot on i.MX 93, run the following command:
make SOC=iMX93 flash_singleboot_spinand
  • Note: Two binaries are generated:
    • flash.bin is the boot image burned into the SPI NAND.
    • flash_fw.bin is the NAND UUU FW image used by the UUU tool.

Regards

 

0 Kudos
Reply
1,280 Views
Bob_NXP_user
Contributor III
Hello,
I'm using Flash-NOR QSPI.
0 Kudos
Reply
1,307 Views
saxejeh
Contributor II
0 Kudos
Reply
1,191 Views
Bob_NXP_user
Contributor III
Thanks, it helped me a lot.
Bob
0 Kudos
Reply
1,283 Views
Bob_NXP_user
Contributor III

Hello @saxejeh ,

thank you, I will try it following the patch for imx93 and I'll let you know.

Best regards,

Bob

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2074219%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20load%20Linux%20Image%20into%20Flash%20NOR%20QSPI%20using%20custom%20board%20based%20on%20iMX93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2074219%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20everyone%2C%3C%2FP%3E%3CP%3EI'm%20tryng%20to%20flash%20into%20my%20custom%20iMX93%20board%20with%20UUU%20the%20.wic.%20I'm%20using%20this%20built-in%20command%3A%3C%2FP%3E%3CP%3Euuu.exe%20-b%20qspi%26nbsp%3Bcore-image-minimal-imx93-11x11-lpddr4x-evk.rootfs-20250328061745.wic%3C%2FP%3E%3CP%3EBut%20it%20doesn't%20work.%3C%2FP%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2224282b04-4e7a-4dc8-8655-f32a4626ec8b.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%2224282b04-4e7a-4dc8-8655-f32a4626ec8b.jpg%22%20style%3D%22width%3A%20800px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F331398iFC613BBA97435705%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%2224282b04-4e7a-4dc8-8655-f32a4626ec8b.jpg%22%20alt%3D%2224282b04-4e7a-4dc8-8655-f32a4626ec8b.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20only%20thing%20that%20works%20is%20the%20bootloader.%20Indeed%2C%20when%20I%20use%20the%20following%20command%3A%3C%2FP%3E%3CP%3Euuu.exe%20-b%20qspi%26nbsp%3Bimx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot%3C%2FP%3E%3CP%3Ethe%20bootloader%20starts%2C%20even%20if%20I%20reset%20the%20board%20with%20the%20boot%20mode%20configuration%20%22FlexSPI%20Serial%20NOR%22%2C%20so%20I%20think%20it%20is%20correctly%20flashed%20into%20memory.%3C%2FP%3E%3COL%3E%3CLI%3EWhat%20am%20I%20doing%20wrong%20with%20the%20.wic%20download%3F%3C%2FLI%3E%3CLI%3EWhat%20am%20I%20supposed%20to%20do%20in%20order%20to%20flash%20the%20.wic%20file%20into%20QSPI-flash%3F%3C%2FLI%3E%3CLI%3EDo%20I%20need%20to%20change%20something%20into%20the%20source%20files%20of%20the%20bootloader%20or%20it%20should%20be%20working%20as%20it%20comes%20from%20the%20nxp%20site%3F%3C%2FLI%3E%3C%2FOL%3E%3CP%3EThanks%20in%20advance%2C%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EBob%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2078811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20load%20Linux%20Image%20into%20Flash%20NOR%20QSPI%20using%20custom%20board%20based%20on%20iMX93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2078811%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThanks%2C%20it%20helped%20me%20a%20lot.%3CBR%20%2F%3EBob%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2074319%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20load%20Linux%20Image%20into%20Flash%20NOR%20QSPI%20using%20custom%20board%20based%20on%20iMX93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2074319%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHello%2C%3CBR%20%2F%3EI'm%20using%20Flash-NOR%20QSPI.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2074318%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20load%20Linux%20Image%20into%20Flash%20NOR%20QSPI%20using%20custom%20board%20based%20on%20iMX93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2074318%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F247492%22%20target%3D%22_blank%22%3E%40saxejeh%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3Ethank%20you%2C%20I%20will%20try%20it%20following%20the%20patch%20for%20imx93%20and%20I'll%20let%20you%20know.%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EBob%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2074310%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20load%20Linux%20Image%20into%20Flash%20NOR%20QSPI%20using%20custom%20board%20based%20on%20iMX93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2074310%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20following%20command%20burns%20boot%20image%20into%20FlexSPI%20NAND%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CPRE%3Euuu%20-b%20spi_nand%20%3CNAND_UUU_FW%3E%20%3CBOOTLOADER%3E%3C%2FBOOTLOADER%3E%3C%2FNAND_UUU_FW%3E%3C%2FPRE%3E%0A%3CUL%3E%0A%3CLI%3ETo%20generate%20boot%20image%20for%20FlexSPI%20NAND%20boot%20on%20i.MX%2093%2C%20run%20the%20following%20command%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CPRE%3Emake%20SOC%3DiMX93%20flash_singleboot_spinand%3C%2FPRE%3E%0A%3CUL%20class%3D%22lia-list-style-type-circle%22%3E%0A%3CLI%3ENote%3A%20Two%20binaries%20are%20generated%3A%3CBR%20%2F%3E%E2%80%A2%20flash.bin%20is%20the%20boot%20image%20burned%20into%20the%20SPI%20NAND.%3CBR%20%2F%3E%E2%80%A2%20flash_fw.bin%20is%20the%20NAND%20UUU%20FW%20image%20used%20by%20the%20UUU%20tool.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2074234%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20load%20Linux%20Image%20into%20Flash%20NOR%20QSPI%20using%20custom%20board%20based%20on%20iMX93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2074234%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20followed%20this%20document%20and%20it%20works.%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2Fall-bootloader-device-tree-Linux-kernel-rootfs-in-spi-nor-demo%2Fta-p%2F1663994%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2Fall-bootloader-device-tree-Linux-kernel-rootfs-in-spi-nor-demo%2Fta-p%2F1663994%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E