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.

[参考译文] AM67A:如何获取 RT 补丁的相应版本

Guru**** 2652575 points

Other Parts Discussed in Thread: AM67A, AM67

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1585519/am67a-how-to-obtain-the-corresponding-version-of-the-rt-patch

器件型号: AM67A
主题: AM67 中讨论的其他器件

我当前使用的适用于 AM67A 的 Processor SDK Linux 版本是 10.01.00.04。 我根据文档执行了命令“make arch=arm64 cross_compile=“$cross_compile_64" defconfig“ defconfig ti_arm64_prune.config ti_RT.config“、但 linux-RT 未生效。 我想知道如何实现 Linux-RT?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Zhaohang:

    AM67/AM67A SDK 仅支持非 RT Linux。

    https://www.ti.com/tool/PROCESSOR-SDK-AM67

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我知道 AM67/AM67A SDK 仅支持非 RT Linux。 但是、如果我需要使用 RT、是否可以实现该目的?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您可以尝试从 RT 分支构建内核、但我们不提供技术支持、因为 它未在 AM67/AM67A 上验证。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    今后是否有这方面的计划? 如果是、大约将在何时实施?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Bin:

    我看到 RT 内核已在 CICD 上进行测试、应该有 git checkout branch label 命令来基于当前 Linux SDK 应用补丁。

    更新以进行录制: 我想我找到了方法、 在 SDK 安装的内核文件夹下:

    $ git fetch origin 或 git fetch -prune origin

    完成后、显示所有标签、如下所示:

    $git checkout branch_tag

    branch_tag 可以是上层快照的任何一个。 例如、git checkout 11.02.03-RT

    使用以下命令构建 RT 内核:  

    $  make ARCH=arm64 CROSS_COMPILE=aarch64-oe-linux- defconfig ti_arm64_prune.config ti_rt.config
    
    $ make ARCH=arm64 CROSS_COMPILE=aarch64-oe-linux- Image

    或者只是替换 sdk_installation_fold/makerules/Makefile linux 文件中的命令、因为使用简单的 make linux 在 SDK 安装文件夹中构建内核会更加方便

    # Kernel build targets
    linux: linux-dtbs
    	@echo =================================
    	@echo     Building the Linux Kernel
    	@echo =================================
    #	$(MAKE) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm64 CROSS_COMPILE=$(CROSS_COMPILE) defconfig ti_arm64_prune.config
    	$(MAKE) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm64 CROSS_COMPILE=$(CROSS_COMPILE) defconfig ti_arm64_prune.config ti_rt.config
    
    endif

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tony:

    CICD 构建 RT Linux 映像、但它们不通过 RT 性能验证运行、因为没有 RT Linux SDK 版本。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Bin:

    我同意。  RT 内核现在启动, 希望没有额外的问题,将采取 cyclictest。

    root@j722s-evm:/opt/edgeai-gst-apps# uname -a
    Linux j722s-evm 6.12.49-rt10-ti-ga55efe5b7adb #3 SMP PREEMPT_RT Wed Nov 12 14:49:42 CST 2025 aarch64 GNU/Linux
    

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢更新 Tony。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    供后续观看者参考。  

    root@j722s-evm:/home# uname -a
    Linux j722s-evm 6.12.49-rt10-ti-ga55efe5b7adb #3 SMP PREEMPT_RT Wed Nov 12 14:49:42 CST 2025 aarch64 GNU/Linux
    
    root@j722s-evm:/home# stress-ng -c4 --cpu-method=all &
    
    root@j722s-evm:/home# cyclictest -m -Sp98 -i1000 -h200 -l50000000 -q >AM67-sdk11.02-methodall-i1000.txt

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tony:
    我可以在 ti-processor-sdk-linux-edgeai-j722s-evm-10_01_00_04 上完成该操作并编译映像。 但是、由于网络环境问题、我们需要使用 Yocto 在硬盘上创建映像。 因此、我从 SDK 中进行了补丁并将其放置在 Yocto 中。 但现在、我无法编译它。 我们的 Yocto 版本是 10_01_00_04。 我应该如何解决此问题?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    这是你想要的吗?

    https://software-dl.ti.com/cicd-report/linux/index.html?section=snapshot&platform=j722s&snapshot=cicd.scarthgap.202511140456

    Hide the build instructions
    
    To rebuild all of the images that TI builds on a nightly basis, you can perform the following steps:
    
    1. Clone the oe-layersetup git repository:
    $ git clone git.ti.com/.../oe-layersetup.git
    
    $ cd oe-layersetup
    2. Download the oe-layersetup config for this snapshot:
    $ wget software-dl.ti.com/.../oelayer_config_cicd.scarthgap.202511140456.txt
    3. Run oe-layersetup.sh and setup the environment:
    $ ./oe-layertool-setup.sh -f oelayer_config_cicd.scarthgap.202511140456.txt
    
    $ cd build
    
    $ . conf/setenv
    4. Run bitbake:
    $ MACHINE=j722s-evm bitbake -k tisdk-core-bundle tisdk-tiny-image ti-world
    For the RT kernel:
    $ MACHINE=j722s-evm ARAGO_RT_ENABLE=1 bitbake -k tisdk-core-bundle tisdk-tiny-image ti-world
    5. The images will be available in:
    $ ls deploy-ti/images/j722s-evm

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    最初、我的编译命令是“machine="j722s-evm" bitbake“ bitbake -k“ -k tisdk-edgeai-image“是否可以直接执行“mache=j722s-evm arago_rt_enable=1 bitbake -k tisdk-edgeai-image“?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你可以尝试一下、我认为你比我更熟悉 Yocto。 这超出了我的支持范围。