writing uboot image to SD card fails

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

writing uboot image to SD card fails

460 Views
ronw
Contributor I

I have a LS1088ARDB-PB, ver 1, rev B board. Following instructions included with the development environment, I did:

tftp 0xa0000000 firmware_ls1088ardb_uboot_sdboot.img

then:

mmc write 0xa0000000 8 1252b

But this failed to write the SD card.

Here is the log:

=> tftp 0xa0000000 firmware_ls1088ardb_uboot_sdboot.img
Using DPMAC6@qsgmii device
TFTP from server 169.254.137.197; our IP address is 169.254.137.190
Filename 'firmware_ls1088ardb_uboot_sdboot.img'.
Load address: 0xa0000000
Loading: ################################################################ ################################################################
################################################################
##################
13.1 MiB/s
done
Bytes transferred = 38426013 (24a559d hex)
=> mmc write 0xa0000000 8 1252b

MMC write: dev # 0, block # 8, count 75051 ... 0 blocks written: ERROR
=>

What am I doing wrong?

 

0 Kudos
2 Replies

455 Views
yipingwang
NXP TechSupport
NXP TechSupport

I verified the following commands can be executed successfully on my target board.

=> tftp 0xa0000000 firmware_ls1088ardb_uboot_sdboot.img

=> mmc write 0xa0000000 8 1f000

0 Kudos

453 Views
yipingwang
NXP TechSupport
NXP TechSupport

You also could deploy SD card image in your Linux PC with the following command.

dd if=firmware_ls1088ardb_uboot_sdboot.img of=/dev/sdb bs=512 seek=8

Note: /dev/sdb is device name of SD card.

0 Kudos