我根据官方文档中“ 创建fw_payload文件”部分在Tools/uboot_its
下运行了mkimage -f visionfive2-uboot-fit-image.its -A riscv -O u-boot -T firmware visionfive2_fw_payload.img
命令,结果如下:
sysadmin@sysadmin-VirtualBox:~/vf2/Tools/uboot_its$ /home/sysadmin/vf2/u-boot/tools/mkimage -f ./visionfive2-uboot-fit-image.its -A riscv -O u-boot -T firmware visionfive2_fw_payload.img
sh: 1: dtc: not found
/home/sysadmin/vf2/u-boot/tools/mkimage: Can't open visionfive2_fw_payload.img.tmp: No such file or directory
uboots_its
中的文件如下:
sysadmin@sysadmin-VirtualBox:~/vf2/Tools/uboot_its$ ll
total 1084
drwxrwxr-x 2 sysadmin sysadmin 4096 11月 13 15:42 ./
drwxrwxr-x 6 sysadmin sysadmin 4096 11月 13 10:23 ../
-rwxrwxr-x 1 sysadmin sysadmin 3013560 11月 13 15:42 fw_payload.bin*
-rw-rw-r-- 1 sysadmin sysadmin 500 11月 13 10:23 visionfive2-uboot-fit-image.its
sysadmin@sysadmin-VirtualBox:~/vf2/Tools/uboot_its$
请问有人遇到过这个问题吗?应当如何解决呢?