Hi @yipingwang
1. I follow your command to flash image to sd card, plug in sd card to EVB board, but cannot boot successful as below:
NOTICE: BL2: v1.5(release):nsc1.1_nsa.004_2021071201_NSC-NSA-9-gaa4e338ee-dirty
NOTICE: BL2: Built : 04:26:56, Sep 8 2021
NOTICE: INITIALIZING SEC
NOTICE: UDIMM 18ADF2G72AZ-3G2E1
NOTICE: Verifying RSA
NOTICE: Verifying hash
NOTICE: Verifying RSA
NOTICE: Verifying hash
NOTICE: Verifying RSA
NOTICE: Verifying hash
NOTICE: Verifying RSA
NOTICE: Verifying hash
NOTICE: DDR4 UDIMM with 2-rank 64-bit bus (x8)
NOTICE: 32 GB DDR4, 64-bit, CL=22, ECC on, 256B, CS0+CS1
NOTICE: Verifying RSA
NOTICE: Verifying hash
NOTICE: Verifying RSA
NOTICE: Verifying hash
NOTICE: Verifying RSA
NOTICE: Verifying hash
ERROR: BL2: Failed to load image (-80)
Authentication failure
2. The SD card partition I use fdisk format as below:
Disk /dev/sdc: 29.1 GiB, 31293702144 bytes, 61120512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbf896a7d
Device Boot Start End Sectors Size Id Type
/dev/sdc1 2048 2099199 2097152 1G 6 FAT16
/dev/sdc2 2099200 6293503 4194304 2G 83 Linux
3.And I run below command:
$ sudo mkfs.vfat /dev/sdc1
$ sudo mkfs.ext2 /dev/sdc2
$ sudo dd if=./atf/bl2_sd.pbl of=/dev/sdc bs=512 seek=8
209+1 records in
209+1 records out
107265 bytes (107 kB, 105 KiB) copied, 0.0712491 s, 1.5 MB/s
$ sudo dd if=./atf/fip_uboot.bin of=/dev/sdc bs=512 seek=2048
1598+1 records in
1598+1 records out
818391 bytes (818 kB, 799 KiB) copied, 0.19099 s, 4.3 MB/s
$ sudo dd if=./mc_app/mc_10.20.4_lx2160a.itb of=/dev/sdc bs=512 seek=20480
2133+1 records in
2133+1 records out
1092272 bytes (1.1 MB, 1.0 MiB) copied, 0.350616 s, 3.1 MB/s
$ sudo dd if=mc-utils/dpl-eth.19.dtb of=/dev/sdc bs=512 seek=26624
8+1 records in
8+1 records out
4583 bytes (4.6 kB, 4.5 KiB) copied, 0.00849373 s, 540 kB/s
$ sudo dd if=./mc-utils/dpc-usxgmii.dtb of=/dev/sdc bs=512 seek=28672
1+1 records in
1+1 records out
736 bytes copied, 0.00504512 s, 146 kB/s
# mkdir /temp
# mount /dev/sdc2 /temp
# cd /temp
# cp fsl-image-networking-lx2160ardb.tar.gz .
# tar -xzvf fsl-image-networking-lx2160ardb.tar.gz
# rm fsl-image-networking-lx2160ardb.tar.gz
# cp Image boot
# cp fsl-lx2160a-rdb-lx2160ardb-rev2.dtb boot
Any step I miss to run?
Thanks.
Jack