While bringing up the Arria10 SoC FPGA GSRD board, u-boot spl is cyclic restarting with the log:
U-Boot SPL 2019.10 (Jun 19 2020 - 20:13:54 +0000)
FPGA: Checking FPGA configuration setting …
** Unable to read file fit_spl_fpga.itb **
FPGA: Checking FPGA configuration setting …
** Unable to read file fit_spl_fpga.itb **
Trying to boot from MMC1.
================================================
- Flashed the wic image(i.e core-image-minimal-arria10-20200619193725.rootfs.wic) to sdcard and booted the board. boot partition is not having the fit_spl_fpga.itb. That is what above u-boot spl boot log is showing.
Do we need to generate fit_spl_fpga.itb and copy to boot partition or prebuilt fit_spl_fpga.itb also can be copied to boot partition.how to copy fit_spl_fpga.itb to boot partition.
2.The wks file to generate the wic image is the default sdimage-arria10.wks
which has below wks configuration:
part --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 50M
part --source rawcopy --sourceparams=“file=u-boot-with-spl.sfp” --ondisk mmcblk --system-id=a2 --align 4 --fixed-size 10M
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4
Q). how to include fit_spl_fpga.itb, spl_w_dtb-mkpimage.bin, u-boot.imge, zImage, DTB in the above wks configuration to wic image. whether wic image contains all these images.
3.Below Command used to flash the wic image to sdcard:
dd if= core-image-minimal-arria10-20200619193725.rootfs.wic of=/dev/mmcblk0 bs=1M
Q). The above command is not copying fit_spl_fpga.itb to boot section. also, not copying zImage to boot folder in the root partition. Do we need to copy zImage to boot folder of the root partition.
- Followed the procedure mentioned in the below link to generate the wic image:
Q). Yocto build generates rootfs only or combined image which includes all necessary binaries like fit_spl_fpga.itb, spl_w_dtb-mkpimage.bin, u-boot.imge, zImage, DTB.?.