This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDS64GPEVM: U-boot编译

Part Number: TMDS64GPEVM


我按照这个页面来编译U-BOOT 的:  https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/latest/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html#getting-the-u-boot-source-code

问题1: git clone 下来的 ti-linux-firmware 里面没有 ti-sysfw 文件夹,需要的文件我再 prebuilt-images 文件夹里面找到了,为什么没有了,这个页面的教程过时了吗?

问题2:编译报错,我是在红框所示的这一步时报错的

报错信息如下:

make[1]: Entering directory '/opt/ti-processor-sdk-linux-am64xx-evm-08.02.00.23/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8/out/a53'
  GEN     ./Makefile
scripts/kconfig/conf  --syncconfig Kconfig
  CFG     u-boot.cfg
  GEN     include/autoconf.mk
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  GEN     spl/include/autoconf.mk
===================== WARNING ======================
This board uses CONFIG_SPL_FIT_GENERATOR. Please migrate
to binman instead, to avoid the proliferation of
arch-specific scripts with no tests.
====================================================
  CFGCHK  u-boot.cfg
  Using /opt/ti-processor-sdk-linux-am64xx-evm-08.02.00.23/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8 as source for U-Boot
  GEN     ./Makefile
  UPD     include/generated/timestamp_autogenerated.h
rm -f scripts/dtc/pylibfdt/_libfdt*.so
  PYMOD   scripts/dtc/pylibfdt/_libfdt.so
/opt/ti-processor-sdk-linux-am64xx-evm-08.02.00.23/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8/scripts/dtc/pylibfdt/setup.py:21: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.core import setup, Extension
  HOSTCC  tools/mkenvimage.o
  HOSTLD  tools/mkenvimage
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  HOSTCC  tools/dumpimage.o
  HOSTLD  tools/dumpimage
  HOSTCC  tools/mkimage.o
  HOSTLD  tools/mkimage
  CC      arch/arm/cpu/armv8/fwcall.o
as: unrecognized option '-EL'
make[2]: *** [/opt/ti-processor-sdk-linux-am64xx-evm-08.02.00.23/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8/scripts/Makefile.build:266: arch/arm/cpu/armv8/fwcall.o] Error 2
make[1]: *** [/opt/ti-processor-sdk-linux-am64xx-evm-08.02.00.23/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8/Makefile:1789: arch/arm/cpu/armv8] Error 2
make[1]: Leaving directory '/opt/ti-processor-sdk-linux-am64xx-evm-08.02.00.23/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8/out/a53'
make: *** [Makefile:167: sub-make] Error 2

请问这个报错要怎么解决呀?