本人想在Zynq MPSoC zcu102上移植OP-TEE,按照OP-TEE官方文档(Zynq MPSoC — OP-TEE documentation documentation (optee.readthedocs.io))进行操作,但在执行最后一步make PLATFORM=zynqmp-zcu102 all后并没有生成BOOT.bin和zynqmp-zcu102.ub文件。根据下面的Note提示,如果没有先放好两个zcu102的firmware images,那么不会生成这两个文件。我在xilinx的官网上也找到了对应的firmware images,但不知道要将这两个文件放在什么位置,才能正确make后生成对应的BOOT.bin和zynqmp-zcu102.ub文件。这两个文件我也尝试在多个位置进行放置(根据makefile文件的提升),但最后并没有生成对应的BOOT.bin和zynqmp-zcu102.ub
如果有人知道如何解决这个问题,或者提出一些可能的解决方向,本人万分感谢!!!
You will find a more relevant audience at the Zynq forum. Also, I see that they have a Chinese language forum:
https://support.xilinx.com/s/topic/0TO2E000000YOAaWAO/%E8%87%AA%E9%80%82%E5%BA%94-socfpga%E6%9E%B6%E6%9E%84%E5%92%8C%E6%9D%BF%E5%8D%A1
Thank you very much for your reply
According to OP-TEE https://github.com/OP-TEE/build/blob/master/zynqmp.mk
The following two path seems like where to put the .bif and .its files
bootimage: bootgen firmware tfa optee-os u-boot $(BOOTGEN_PATH)/bootgen -arch zynqmp -image zynqmp/bootImage-${PLATFORM}.bif -w -o zynqmp/BOOT.bin
fitimage: linux dtbo buildroot ${U-BOOT_PATH}/tools/mkimage -f zynqmp/fitImage-${PLATFORM}.its zynqmp/${PLATFORM}.ub
Thanks, I have successfully solved the problem before. In fact, the command to generate BOOT.bin file and xx.ub file in Makefile was not executed.