The instruction provided in the ls1043 run dpdk l2fwd sample error is fully correct.
Possible variant of the fsl-ls1046a-rdb-usdpaa.dtb insertion into the SD card firmware image is as follows:
Override dtb used with the usdpaa one
# cd /boot
# mv ./fsl-ls1046a-rdb-sdk.dtb ./fsl-ls1046a-rdb-sdk.dtb.sav
# ln -s fsl-ls1046a-rdb-usdpaa.dtb fsl-ls1046a-rdb-sdk.dtb
Thank you !
I have checked latest LSDK (1909), it makes SD image like a charm!
Moreover, U-BOOT checks /boot partition and finds ls1046ardb_boot.scr file there and evaluates it's contents!
According to this file it's enough to set following U-BOOT variables:
Following is the contents of /boot/ls1046ardb_boot.scr that is loaded by U-BOOT:
setenv secureboot_validate 'load $devtype $devnum:$devpart_boot $kernelheader_addr_r /secboot_hdrs/ls1046ardb/hdr_linux.out; \
load $devtype $devnum:$devpart_boot $fdtheader_addr_r /secboot_hdrs/ls1046ardb/hdr_dtb.out; \
esbc_validate $kernelhe ader_addr_r; esbc_validate $fdtheader_addr_r'
env exists dtb || setenv dtb fsl-ls1046a-rdb-sdk.dtb; \
env exists kernel_image || setenv kernel_image Image; \
env exists devpart_boot || setenv devpart_boot 2; \
env exists devpart_root || setenv devpart_root 4; \
part uuid $devtype $devnum:$devpart_root partuuidr; \
setenv bootargs console=ttyS0,115200 earlycon=uart8250,mmio,0x21c 0500 root=PARTUUID=$partuuidr rw rootwait $othbootargs; \
load $devtype $devnum:$devpart_boot $kernel_addr_r $kernel_image; \
load $devtype $devnum:$devpart_boot $fdt_addr_r $dtb; \
env exists secureboot && echo validating secureboot && run secureboot_validate;\
booti $kernel_addr_r - $fdt_addr_r