Facing issue while flashing Uboot for imx8dx custom board(sd) using UUU

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

Facing issue while flashing Uboot for imx8dx custom board(sd) using UUU

622 Views
afridi20
Contributor III

Getting write protected issue while flashing using UUU with command sudo uuu -b sd imx-boot


Kindly suggest on this. Thank you in advance.

Error log:

Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for mfg+-----------------------------+
, using default environment

Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_;
Hit any key to stop autoboot: 0

## Checking Image at 83100000 ...
Unknown image format!
Run fastboot ...
auto usb 1
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
Detect USB boot. Will enter fastboot mode!
switch to partitions #0, OK
mmc1 is current device
Detect USB boot. Will enter fastboot mode!
Starting download of 3402752 bytes
.........................
downloading of 3402752 bytes finished
writing to partition 'bootloader'
Initializing 'bootloader'
switch to partitions #0, OK
mmc1 is current device
Writing 'bootloader'

MMC write: dev # 1, block # 64, count 6646 ...
The SD card is locked. Can not write to a locked card.

mmc write failed
0 blocks written: ERROR
Writing 'bootloader' FAILED!

 

0 Kudos
3 Replies

615 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sulaiman

 

from log: "The SD card is locked"  one can check lock switch on SD card.

In general recommended to try brand new SD/eMMC device and use latest

BSP and uuu tool :   https://github.com/NXPmicro/mfgtools/releases/tag/uuu_1.4.139

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 Kudos

606 Views
afridi20
Contributor III

Thank for you the reply @igorpadykov . But we are using micro sd card without write protect. Please help on this issue.

0 Kudos