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.
下载了SDK打算学习但根据手册设置编译器及环境却显示:
[linux-devkit]:~/ti-processor-sdk-linux-am335x-evm-06.03.00.106> make CROSS_COMPILE=arm-linux-gnueabihf-disclean
=====================================Building the Linux Kernel DTBs=====================================
make -C /home/nfk/ti-processor-sdk-linux-am335x-evm-06.03.00.106/board-support/linux-4.19.94+gitAUTOINC+be5389fd85-gbe5389fd85 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-disclean tisdk_am335x-evm_defconfigmake[1]: Entering directory '/home/nfk/ti-processor-sdk-linux-am335x-evm-06.03.00.106/board-support/linux-4.19.94+gitAUTOINC+be5389fd85-gbe5389fd85'
/bin/sh: 1: arm-linux-gnueabihf-discleangcc: not found
/bin/sh: 1: arm-linux-gnueabihf-discleangcc: not found YACC scripts/kconfig/zconf.tab.c
/bin/sh: 1: bison: not foundscripts/Makefile.lib:196: recipe for target '
scripts/kconfig/zconf.tab.c' failed
make[2]: *** [scripts/kconfig/zconf.tab.c] Error 127
Makefile:534: recipe for target 'tisdk_am335x-evm_defconfig' failed
make[1]: *** [tisdk_am335x-evm_defconfig] Error 2
make[1]: Leaving directory '/home/nfk/ti-processor-sdk-linux-am335x-evm-06.03.00.106/board-support/linux-4.19.94+gitAUTOINC+be5389fd85-gbe5389fd85'
Makefile:218: recipe for target 'linux-dtbs' failedmake: *** [linux-dtbs] Error 2
[linux-devkit]:~/ti-processor-sdk-linux-am335x-evm-06.03.00.106>
目前已经在profile添加:
export PATH=/home/nfk/ti-processor-sdk-linux-am335x-evm-06.03.00.106/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH
export AECH=arm
export CROSS_COMPILE=arm-linux-gnueabi-
environment也添加了:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games/:/home/nfk/ti-processor-sdk-linux-am335x-evm-06.03.00.106/linux-devkit/sysroots/x86_64-arago-linux/usr/bin"ARCH=armCROSS_COMPILE=arm-linux-gnueabihf-
检查echo PATH显示为:
[linux-devkit]:~/ti-processor-sdk-linux-am335x-evm-06.03.00.106> echo PATH
PATH
请问这个如何进行环境设置,bash.bashrc文件没有修改。
你好,我重装了linux系统后才完成了环境配置,能完成SDK上原有的代码编译。
现在想移植u-boot及linux到自制3354板上。
目前我查看了以下两个文档,但他们中提到的:
The sitara-board-port-linux git tree cloned into a directory
我不知道如何下载使用。
所以想请问你是否还有其他科参考的文档,谢谢。
processors.wiki.ti.com/.../Sitara_Linux_Training:_Linux_Board_Port