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?
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
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.