I am trying to port u-boot from origin/maaxboard_lf-5.15.71-2.2.0' to Android 13. So I am comparing all the files here and in the uboot-imx for imx8mq-evk board and if something is missing or different, creating a new file considering maaxboard configs in here.
currently, I have this error:
==================================================== /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-ld.bfd: lib/avb/fsl/fsl_avbkey.o: in function `rpmb_read': /home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/lib/avb/fsl/fsl_avbkey.c:314: undefined reference to `blob_decap' /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-ld.bfd: /home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/lib/avb/fsl/fsl_avbkey.c:319: undefined reference to `derive_blob_kek' /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-ld.bfd: lib/avb/fsl/fsl_avbkey.o: in function `rpmb_write': /home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/lib/avb/fsl/fsl_avbkey.c:423: undefined reference to `blob_decap' /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-ld.bfd: /home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/lib/avb/fsl/fsl_avbkey.c:428: undefined reference to `derive_blob_kek' make[3]: *** [/home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/scripts/Makefile.spl:510: spl/u-boot-spl] Error 1 make[2]: *** [/home/ubuhdd/android_build/vendor/nxp-opensource/uboot-imx/Makefile:2097: spl/u-boot-spl] Error 2 make[1]: *** [Makefile:177: sub-make] Error 2 make: *** [/home/ubuhdd/android_build/device/nxp/common/build/uboot.mk:132: /home/ubuhdd/android_build/out/target/product/maaxboard/u-boot.imx] Error 1 make: Leaving directory '/home/ubuhdd/android_build'
I came across something similar issue on the community.nxp but there is no answer to it: https://community.nxp.com/t5/i-MX-Processors/Porting-u-boot-from-yocto-to-Android/m-p/1537154#M196335
So how can I fix this issue and shed some light on it?
Thank you!