Part Number:SK-TDA4VM
3.2.1.3.2. Cleaning the Kernel Sources
etastc8@etastc8-VirtualBox:~/KernelSourceCode$ make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu-distclean
=====================================
Building the Linux Kernel DTBs
=====================================
make -C /home/etastc8/KernelSourceCode/board-support/linux-5.10.41+gitAUTOINC+4c2eade9f7-g4c2eade9f7 ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu-distclean tisdk_j7-evm_defconfig
make[1]: Entering directory '/home/etastc8/KernelSourceCode/board-support/linux-5.10.41+gitAUTOINC+4c2eade9f7-g4c2eade9f7'
scripts/Kconfig.include:39: compiler 'aarch64-none-linux-gnu-distcleangcc' not found
scripts/kconfig/Makefile:88: recipe for target 'tisdk_j7-evm_defconfig' failed
make[2]: *** [tisdk_j7-evm_defconfig] Error 1
Makefile:603: recipe for target 'tisdk_j7-evm_defconfig' failed
make[1]: *** [tisdk_j7-evm_defconfig] Error 2
make[1]: Leaving directory '/home/etastc8/KernelSourceCode/board-support/linux-5.10.41+gitAUTOINC+4c2eade9f7-g4c2eade9f7'
Makefile:222: recipe for target 'linux-dtbs' failed
make: *** [linux-dtbs] Error 2
Nancy Wang:
liu xiang 说:compiler 'aarch64-none-linux-gnu-distcleangcc' not found
看错误提示找不到编译链,看一下有没有安装?
,
liu xiang:
Part Number:SK-TDA4VM
file:///home/etastc8/ti-processor-sdk-linux-j7-evm-08_00_00_08/docs/linux/Foundational_Components_Kernel_Users_Guide.html
etastc8@etastc8-VirtualBox:~/ti-processor-sdk-linux-j7-evm-08_00_00_08$ export PATH=/home/etastc8/ti-processor-sdk-linux-j7-evm-08_00_00_08/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATHetastc8@etastc8-VirtualBox:~/ti-processor-sdk-linux-j7-evm-08_00_00_08$ make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu-distclean=====================================Building the Linux Kernel DTBs=====================================make -C /home/etastc8/ti-processor-sdk-linux-j7-evm-08_00_00_08/board-support/linux-5.10.41+gitAUTOINC+4c2eade9f7-g4c2eade9f7 ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu-distclean tisdk_j7-evm_defconfigmake[1]: Entering directory '/home/etastc8/ti-processor-sdk-linux-j7-evm-08_00_00_08/board-support/linux-5.10.41+gitAUTOINC+4c2eade9f7-g4c2eade9f7' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/confscripts/Kconfig.include:39: compiler 'aarch64-none-linux-gnu-distcleangcc' not foundscripts/kconfig/Makefile:88: recipe for target 'tisdk_j7-evm_defconfig' failedmake[2]: *** [tisdk_j7-evm_defconfig] Error 1Makefile:603: recipe for target 'tisdk_j7-evm_defconfig' failedmake[1]: *** [tisdk_j7-evm_defconfig] Error 2make[1]: Leaving directory '/home/etastc8/ti-processor-sdk-linux-j7-evm-08_00_00_08/board-support/linux-5.10.41+gitAUTOINC+4c2eade9f7-g4c2eade9f7'Makefile:222: recipe for target 'linux-dtbs' failedmake: *** [linux-dtbs] Error 2etastc8@etastc8-VirtualBox:~/ti-processor-sdk-linux-j7-evm-08_00_00_08$
,
Nancy Wang:
请在该帖中讨论。
,
liu xiang:
file:///home/etastc8/ti-processor-sdk-linux-j7-evm-08_00_00_08/docs/linux/Overview_Top_Level_Makefile.html#top-level-makefile
Compiler toolchain
On the download page, you will find links to the recommended compiler toolchains. Download and extract them into your home directory. Note that you have to download both the toolchains for ARMv8 and ARMv7. Make sure to update your PATH to include the path to toolchain.
where can I to download the toolchains for ARMv8 and ARMv7?
,
Nancy Wang:
已经在该链接中贴出来了。
e2echina.ti.com/…/sk-tda4vm-where-can-i-to-download-the-toolchains-for-armv8-and-armv7