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.

[FAQ] PROCESSOR-SDK-K2E: Rootfs 映像创建

Part Number: PROCESSOR-SDK-K2E


1. 使用以下命令安装依赖项

  1. “sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386”

2. 配置 Dash

  1. “sudo dpkg-reconfigure dash”,然后选择“No”选项。

3. 安装交叉编译工具链

4. 编译步骤

  1. 从 Git 进行下载:“git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk”。
  2. 将当前目录更改为“tisdk”:“cd tisdk”。
  3. “./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-06.03.00.106-config.txt”。
  4. 将当前目录更改为“build”:“cd build”。
  5. 设置环境变量:“. conf/setenv”
  6. 设置工具链路径
  • “export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf”
  • “export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu”

        7. 最后,提供 bitbake 命令进行编译,“MACHINE=k2e-evm bitbake tisdk-rootfs-image”

  • “k2e-evm”和“k2h-evm”是用于选择适当评估模块的两个选项。

如果还有其他问题,另请参阅以下链接:https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/linux/Overview_Building_the_SDK.html