FRDM-IMX95: No Serial Output when Booting from SD Card (Pre-installed eMMC Boot Works Perfectly

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

FRDM-IMX95: No Serial Output when Booting from SD Card (Pre-installed eMMC Boot Works Perfectly

370 Views
Magnus98
Contributor I

Hello NXP Community,

I am mechanical and electrical engineering background, and this is my first time diving deep into complex System-on-Chips (SoCs) and embedded Operating Systems.

For my project, I am using the FRDM-IMX95 development board. My ultimate goal is to run two operating systems in parallel using an IPC (Inter-Process Communication) framework.

The board arrived with a pre-installed Linux image on the internal eMMC. This works flawlessly out of the box, and I get full serial output logs in my terminal monitor program.

Now, I am trying to follow the official Getting Started Guide to flash the standard Linux BSP image onto a microSD card using UUU (Universal Update Utility) on a Windows host machine.

According to the Windows command prompt, the UUU flashing process completes with a "SUCCESS" status. I used the following standard command layout: ".\uuu.exe -b sd_all imx-boot-imx95-15x15-lpddr4x-frdm-sd.bin-flash_all imx-image-full-imx95evk.wic"

The Problem: After successful flashing, I turn off the board and configure the physical boot switches for SD Boot Mode by setting SW1 [1:2] to 11 (ON / ON). When I power the board back on, the serial monitor remains completely blank. There is absolutely no text output or hardware initialization visible.

 

1. Do I have a fundamental misunderstanding of how the boot chain works here? According to the i.MX Linux User's Guide, the .wic image contains all four essential pieces, including the bootloader image (U-Boot). Shouldn't I at least see the initial U-Boot SPL sequence appearing on my serial monitor, since the basic hardware configuration blocks should be read from the card?

 

Any insights, common pitfalls for beginners on this specific FRDM variant, or hidden switch requirements would be highly appreciated!

Best regards

Labels (1)
0 Kudos
Reply
3 Replies

314 Views
Oswalag
NXP TechSupport
NXP TechSupport

Hello, 

I'm testing on my side to share the exact steps for you, I will update soon. 

0 Kudos
Reply

217 Views
Magnus98
Contributor I

Thank you for looking into this and testing it on your end! I appreciate the help and look forward to your update.

0 Kudos
Reply

25 Views
Oswalag
NXP TechSupport
NXP TechSupport

You have the issue because you are trying to flash to the SD card with the uuu tool, it is made to flash the emmc, if you want to flash the sd card you have to perform the following command in a linux host machine. 

$ sudo dd if=<image_name>.wic of=/dev/sdx bs=1M && sync

 

To identify the device node assigned to the SD/MMC card, carry out the following command:


$ cat /proc/partitions
major minor #blocks name
8 0 78125000 sda
8 1 75095811 sda1
8 2 1 sda2
8 5 3028221 sda5
8 32 488386584 sdc
8 33 488386552 sdc1
8 16 3921920 sdb
8 18 3905535 sdb1

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2391680%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFRDM-IMX95%3A%20No%20Serial%20Output%20when%20Booting%20from%20SD%20Card%20(Pre-installed%20eMMC%20Boot%20Works%20Perfectly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2391680%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20NXP%20Community%2C%3C%2FP%3E%3CP%3EI%20am%20mechanical%20and%20electrical%20engineering%20background%2C%20and%20this%20is%20my%20first%20time%20diving%20deep%20into%20complex%20System-on-Chips%20(SoCs)%20and%20embedded%20Operating%20Systems.%3C%2FP%3E%3CP%3EFor%20my%20project%2C%20I%20am%20using%20the%20FRDM-IMX95%20development%20board.%20My%20ultimate%20goal%20is%20to%20run%20two%20operating%20systems%20in%20parallel%20using%20an%20IPC%20(Inter-Process%20Communication)%20framework.%3C%2FP%3E%3CP%3EThe%20board%20arrived%20with%20a%20pre-installed%20Linux%20image%20on%20the%20internal%20eMMC.%20This%20works%20flawlessly%20out%20of%20the%20box%2C%20and%20I%20get%20full%20serial%20output%20logs%20in%20my%20terminal%20monitor%20program.%3C%2FP%3E%3CP%3ENow%2C%20I%20am%20trying%20to%20follow%20the%20official%20%3CI%3EGetting%20Started%20Guide%3C%2FI%3E%20to%20flash%20the%20standard%20Linux%20BSP%20image%20onto%20a%20microSD%20card%20using%20UUU%20(Universal%20Update%20Utility)%20on%20a%20Windows%20host%20machine.%3C%2FP%3E%3CP%3EAccording%20to%20the%20Windows%20command%20prompt%2C%20the%20UUU%20flashing%20process%20completes%20with%20a%20%22SUCCESS%22%20status.%20I%20used%20the%20following%20standard%20command%20layout%3A%20%3CEM%3E%22.%5Cuuu.exe%20-b%20sd_all%20imx-boot-imx95-15x15-lpddr4x-frdm-sd.bin-flash_all%20imx-image-full-imx95evk.wic%22%3C%2FEM%3E%3C%2FP%3E%3CP%3EThe%20Problem%3A%20After%20successful%20flashing%2C%20I%20turn%20off%20the%20board%20and%20configure%20the%20physical%20boot%20switches%20for%20SD%20Boot%20Mode%20by%20setting%20SW1%20%5B1%3A2%5D%20to%2011%20(ON%20%2F%20ON).%20When%20I%20power%20the%20board%20back%20on%2C%20the%20serial%20monitor%20remains%20completely%20blank.%20There%20is%20absolutely%20no%20text%20output%20or%20hardware%20initialization%20visible.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E1.%26nbsp%3BDo%20I%20have%20a%20fundamental%20misunderstanding%20of%20how%20the%20boot%20chain%20works%20here%3F%20According%20to%20the%20%3CI%3Ei.MX%20Linux%20User's%20Guide%3C%2FI%3E%2C%20the%20.wic%20image%20contains%20all%20four%20essential%20pieces%2C%20including%20the%20bootloader%20image%20(U-Boot).%20Shouldn't%20I%20at%20least%20see%20the%20initial%20U-Boot%20SPL%20sequence%20appearing%20on%20my%20serial%20monitor%2C%20since%20the%20basic%20hardware%20configuration%20blocks%20should%20be%20read%20from%20the%20card%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EAny%20insights%2C%20common%20pitfalls%20for%20beginners%20on%20this%20specific%20FRDM%20variant%2C%20or%20hidden%20switch%20requirements%20would%20be%20highly%20appreciated!%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2391680%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EFRDM-Training%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2393417%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FRDM-IMX95%3A%20No%20Serial%20Output%20when%20Booting%20from%20SD%20Card%20(Pre-installed%20eMMC%20Boot%20Works%20Perfectly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2393417%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'm%20testing%20on%20my%20side%20to%20share%20the%20exact%20steps%20for%20you%2C%20I%20will%20update%20soon.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2395724%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FRDM-IMX95%3A%20No%20Serial%20Output%20when%20Booting%20from%20SD%20Card%20(Pre-installed%20eMMC%20Boot%20Works%20Perfectly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2395724%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20looking%20into%20this%20and%20testing%20it%20on%20your%20end!%20I%20appreciate%20the%20help%20and%20look%20forward%20to%20your%20update.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2403440%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FRDM-IMX95%3A%20No%20Serial%20Output%20when%20Booting%20from%20SD%20Card%20(Pre-installed%20eMMC%20Boot%20Works%20Perfectly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2403440%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EYou%20have%20the%20issue%20because%20you%20are%20trying%20to%20flash%20to%20the%20SD%20card%20with%20the%20uuu%20tool%2C%20it%20is%20made%20to%20flash%20the%20emmc%2C%20if%20you%20want%20to%20flash%20the%20sd%20card%20you%20have%20to%20perform%20the%20following%20command%20in%20a%20linux%20host%20machine.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%24%20sudo%20dd%20if%3D%3CIMAGE_NAME%3E.wic%20of%3D%2Fdev%2Fsdx%20bs%3D1M%20%26amp%3B%26amp%3B%20sync%3C%2FIMAGE_NAME%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ETo%20identify%20the%20device%20node%20assigned%20to%20the%20SD%2FMMC%20card%2C%20carry%20out%20the%20following%20command%3A%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%24%20cat%20%2Fproc%2Fpartitions%3CBR%20%2F%3Emajor%20minor%20%23blocks%20name%3CBR%20%2F%3E8%200%2078125000%20sda%3CBR%20%2F%3E8%201%2075095811%20sda1%3CBR%20%2F%3E8%202%201%20sda2%3CBR%20%2F%3E8%205%203028221%20sda5%3CBR%20%2F%3E8%2032%20488386584%20sdc%3CBR%20%2F%3E8%2033%20488386552%20sdc1%3CBR%20%2F%3E8%2016%203921920%20sdb%3CBR%20%2F%3E8%2018%203905535%20sdb1%3C%2FP%3E%3C%2FLINGO-BODY%3E