how to select MMC slot number to fuse uboot with i.mx6qp with uuu?

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

how to select MMC slot number to fuse uboot with i.mx6qp with uuu?

173 Views
gufengzi
Contributor III

'no mmc device at slot 0' printed out, when I use uuu to fuse uboot image to emmc.

the log shows uuu tried to fuse uboot to mmc slot 0.

but on my board, the eMMC is connected to i.mx6qp SD4.

could you tell me how to select SD4 to fuse uboot image with uuu?

[on windows with PC]

PS D:\i.MX6\uuu_1.5.125> .\uuu.exe -b emmc .\u-boot-dtb.imx
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.125-0-gaeb3490

Success 0 Failure 1


1:3 3/ 7 [ ] FB: ucmd mmc dev ${emmc_dev}


PS D:\i.MX6\uuu_1.5.125>

[ log from i.mx6qp uart]

U-Boot 2023.04-lf_v2023.04+g1e5b6c6bf2 (Mar 15 2024 - 13:16:25 +0800)

CPU: i.MX6QP rev1.1 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 34C
Reset cause: POR
Model: i.MX6 Quad Plus SABRE Smart Device Board
DRAM: 2 GiB
Core: 91 devices, 23 uclasses, devicetree: separate
MMC: FSL_SDHC: 1, FSL_SDHC: 2, FSL_SDHC: 3
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
RNG self test passed
SEC0: RNG instantiated
flash target is MMC:3
Net: Could not get PHY for FEC0: addr 1
Could not get PHY for FEC0: addr 1
No ethernet found.

Fastboot: Normal
Boot from USB for uuu
Hit any key to stop autoboot: 0
MMC Device 0 not found
no mmc device at slot 0

 

0 Kudos
1 Reply

136 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

You could create a custom script (based on auto and on this post), when ucmd is invoked I think it'll work with your board since your u-boot has the mmc dev set to 3 already. That'd be seamless, then.

FB[-t 20000]: ucmd fatwrite mmc ${emmc_dev}:1 ${fastboot_buffer} hello_world_test.bin

Regards

0 Kudos