请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:EVMK2GX 如何为 K2G - ARM 构建 Linux? 从"processor-SDK-Linux-K2G"软件包
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.
如何为 K2G - ARM 构建 Linux? 从"processor-SDK-Linux-K2G"软件包
先决条件:
步骤:
sudo apt-get install diffstat texi2html texinfo subversion chrpath build-essential subversion ccache sed wget cvs coreutils unzip texinfo docbook-utils gawk help2man file g++ bison flex htmldoc chrpath libxext-dev xserver-xorg-dev doxygen socat u-boot-tools git
wget developer.arm.com/.../gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz tar -Jxvf gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz -C $HOME wget developer.arm.com/.../gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz tar -Jxvf gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz -C $HOME cd ~/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin
vi ~/.bashrc export PATH=$HOME/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin:$PATH export PATH=$HOME/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin:$PATH
make clean distclean ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- ls arch/arm/configs/ | grep k2g make tisdk_k2g-evm_defconfig ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -j8 zImage dtbs ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- ls -al ./arch/arm/boot/dts/keystone-k2g-evm.dtb ls -al ./arch/arm/boot/zImage
为上述命令附加了屏幕截图-
第4步:
有关更多信息、请参阅此链接: https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/linux/Overview_Building_the_SDK.html#prerequisites-one-time-setup
谢谢、
Ranjeet Kumar