请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:PROCESSOR-SDK-AM65X 您能否提供构建和刷写 Linux SDK 映像的步骤(使用 SDK 版本基准+ Github 提交)?
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.
您能否提供构建和刷写 Linux SDK 映像的步骤(使用 SDK 版本基准+ Github 提交)?
要在刷写之前构建 ti-linux-kernel 代码、请遵循以下步骤:
chmod +x ./ti-processor-sdk-linux-[platform]-<version>-Linux-x86-Install.bin ./ti-processor-sdk-linux-[platform]-<version>-Linux-x86-Install.bin
cd <path>/ti-processor-sdk-linux-rt-am65xx-evm-"$SDK_VERSION"/bin sudo ./mksdboot.sh --sdk <path>/ti-processor-sdk-linux-rt-am65xx-evm-"$SDK_VERSION"/ --device /dev/sd<x> sync
git clone git.ti.com/.../ti-linux-kernel.git //checkout to required tag git checkout tags/{specify the tag}
//Go to path of downloaded repository cd Downloads/ti-linux-kernel //if building from SDK cd <path of SDK>/board-support/linux-rt...
//sdk path is the path of the downloaded sdk export PATH=<sdk path>/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH //Command to clean kernel make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- distclean //Build defconfig from kernel git repository //for version before 9.0 ti_config_fragments/defconfig_builder.sh -t ti_sdk_arm64_release || ti_config_fragments/defconfig_builder.sh make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- ti_sdk_arm64_rt_release_defconfig //for 9.0 or later versions make ARCH=arm64 CROSS_COMPILE=$V8_CROSS defconfig ti_arm64_prune.config //Build Image make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- Image //Build device tree binaries make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- dtbs //Compiling kernel modules make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- modules //Copying kernal image and device tree binaries to rootfs partition of sd card cd <kernel sources dir> sudo cp arch/arm64/boot/Image /media/rootfs/boot sudo cp arch/arm64/boot/dts/ti/*.dtb /media/rootfs/boot sudo cp arch/arm64/boot/dts/ti/*.dtbo /media/rootfs/boot //Installing kernel modules sudo make ARCH=arm64 INSTALL_MOD_PATH=/media/rootfs modules_install