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.

TMDX654IDKEVM: TI Linux CI/CD: How to build RT Linux image?

Part Number: TMDX654IDKEVM

TI Linux CI/CD has instructions how to build images here:

https://software-dl.ti.com/cicd-report/linux/index.html?section=snapshot&platform=am65xx&snapshot=cicd.kirkstone.202402291453

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 https://git.ti.com/git/arago-project/oe-layersetup.git

$ cd oe-layersetup
2. Download the oe-layersetup config for this snapshot:
$ wget https://software-dl.ti.com/cicd-report/linux/data/am65xx/cicd.kirkstone.202402291453/oelayer_config_cicd.kirkstone.202402291453.txt
3. Run oe-layersetup.sh and setup the environment:
$ ./oe-layertool-setup.sh -f oelayer_config_cicd.kirkstone.202402291453.txt

$ cd build

$ . conf/setenv
4. Run bitbake:
$ MACHINE=am65xx-evm bitbake -k tisdk-core-bundle tisdk-tiny-image ti-world
5. The images will be available in:
$ ls deploy-ti/images/am65xx-evm

But these instructions only build normal Linux images.

How can I build the RT-Linux images?

  • But these instructions only build normal Linux images.

    How can I build the RT-Linux images?

    As per https://software-dl.ti.com/processor-sdk-linux/esd/AM65X/09_01_00_01/exports/docs/linux/Overview_Building_the_SDK.html#build-options this is usually done like this:

    Also, as for...

    $ MACHINE=am65xx-evm bitbake -k tisdk-core-bundle tisdk-tiny-image ti-world

    ...this may generate a bunch of extra stuff you likely don't care about. I'd recommend sticking to the tisdk-default-image target, or any of the other more tailored targets listed during oe-layertool-setup:

    $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-09.01.00-am65xx-config.txt -b am65xx-evm
    <...snip...>
    From meta-arago[recommended]:
        tisdk-jailhouse-image: No Summary available
        tisdk-base-image:  Arago TI SDK base image with test tools
        tisdk-core-bundle:  Installer package for TI SDK - NOT for direct use on target
        tisdk-bootstrap-base-image:  Arago TI SDK bootstrap base image for initramfs
        tisdk-thinlinux-image:  Arago TI SDK Thin Linux image
        tisdk-tiny-initramfs:  Arago TI SDK super minimal base image for initramfs
        tisdk-default-image:  Arago TI SDK full filesystem image
        tisdk-bootstrap-image:  Arago TI SDK bootstrap image usable for board bringup
        tisdk-tiny-image:  Arago TI SDK super minimal base image for initramfs

    Regards, Andreas

  • I have added the RT build instructions to the CICD report page.

  • Thanks Ryan. Also how about updating the page to show a more sensible build target? I don't really like customers being pointed to building 'tisdk-core-bundle'...  It does more harm than good.

    Regards, Andreas