Follow these steps to update the DPAA2 MC firmware, DPC, and DPL images on the SD card.
Clone the qoriq-mc-binary repository.
The prebuilt MC firmware image, mc_10.10.0_ls1088a_20180814.itb, is available at qoriq-mc-binary/ls1088a/.
Note that the exact name of the MC firmware image may vary depending on the release version used.
Clone the mc-utils repository and compile the DPC and DPL images.
The compiled dpc.0x1D-0x0D.dtb and dpl-eth.0x1D_0x0D.dtb images are available at /mc-utils/config/ls1088a/RDB/.
Note that the exact name of the DPL and DPC images may vary depending on the release version used.
Image | SD card start block number |
---|---|
DPAA2 MC firmware | 0x05000 = 20480 |
DPAA2 DPL | 0x06800 = 26624 |
DPAA2 DPC | 0x07000 = 28672 |
Refer the Layerscape Software Development Kit <version> Documentation for complete listing of the SD card start block numbers for all LSDK firmware images.
$ sudo dd if=mc_10.10.0_ls1088a_20180814.itb of=/dev/sdX bs=512 seek=20480 conv=fsync
$ sudo dd if=dpl-eth.0x1D_0x0D.dtb of=/dev/sdX bs=512 seek=26624 conv=fsync
$ sudo dd if=dpc.0x1D-0x0D.dtb of=/dev/sdX bs=512 seek=28672 conv=fsync
Use the command cat /proc/partitions to see a list of devices and their sizes to make sure that the correct device names have been chosen.
The SDHC storage drive in the Linux PC is detected as /dev/sdX, where X is a letter such as a, b, c. Make sure to choose the correct device name, because data on this device will be replaced.
If your Linux host machine supports read/write SDHC card directly without an extra SDHC card reader device, the device name of SDHC card is typically mmcblk0.
If U-Boot does not find LSDK on the SD card, it will boot TinyDistro from lsdk_linux_arm64_ tiny.itb stored on the SD card.