2.3. Migration Guide

Overview

This page covers migration information for applications built on top of the Processor SDK Linux AM62X.

2.3.1. Processor SDK Linux AM62X 10.xx Releases

2.3.1.1. Processor SDK 10.00.07.04

  • This is the first release on the 2024 LTS stream 6.6 kernel, 2024.04 U-Boot and Yocto Scarthgap/5.0

  • ATF 2.10+

  • OPTEE 4.2.0

  • Yocto Scarthgap/5.0

  • Platforms Supported : AM62x (HS-FS, HS-SE) : SK-AM62 , SK-AM62B , SK-AM62B-P1

  • Platforms Supported : AM62x LP (HS-FS, HS-SE) : SK-AM62-LP

  • Platforms Supported : AM62SIP (HS-FS, HS-SE) : SK-AM62-SIP

  • Platforms Supported : BeaglePlay (GP) : BeaglePlay

Note

  • For U-Boot builds, k3-image-gen and core-secdev-k3 are no longer needed as binman is used instead. Please refer to U-Boot build instructions for the updated steps.

  • For Linux builds, generic defconfig is used instead of custom fragments. Please refer to linux users guide for build instructions.

2.3.1.2. AM62 SD UHS Speed modes Enable

In 08.03 release, SD card enumeration failures were observed on a few U1 class of SD cards. These include but not limited to,

  1. Microcenter U1 class cards

  2. Kingston U1 class cards

  3. HP U1 class cards

A conservative approach was taken to disable UHS modes by default, and support wide range of SD cards. However if required they can be enabled by using the following steps,

  • Yocto build Flow

    1. Revert the following commits, from meta-processor-sdk layer

    2. Cleaning up U-Boot and Kernel repos

      $MACHINE=am62x-evm bitbake -f linux-ti-staging-c do_cleansstate
      $MACHINE=am62x-evm bitbake -f u-boot-ti-staging -c do_cleansstate
      
    3. Rebuild the wic image

      $MACHINE=am62x-evm bitbake -f tisdk-default-image
      
  • Building from source tree

    Run the following commands in respective src tree directories to revert UHS disable patches.

    1. <SDK_INSTALL_PATH>/board-support/linux-5.10.109+gitAUTOINC+9e58028f94-g9e58028f94

      patch -p1 -R < patches/0001-arm64-dts-ti-k3-am62-main-Disable-UHS-speed-modes-on.patch
      
    2. <SDK_INSTALL_PATH>/board-support/u-boot-2021.01+gitAUTOINC+74fc69c889-g74fc69c889

      patch -p1 -R < patches/0001-Revert-arm-dts-k3-am625-sk-u-boot-Add-u-boot-tag-to-.patch
      patch -p1 -R < patches/0002-Revert-configs-am62x_evm_a53_defconfig-Enable-config.patch
      
    3. Recompile dtb

      make linux-dtbs
      
    4. Recompile the kernel Image

      make linux
      
    5. Recompile the bootloaders

      make u-boot
      

2.3.1.3. PLL Programing Sequence Update To Avoid PLL Instability

In 10.00 SDK release, PLL programing sequence has been updated to follow the correct programing sequence to avoid PLL instability. The PLL programing sequence has been updated in following components of the SDK.

  1. TIFS firmware (ti-linux firmware repo)

  2. DM R5 firmware (ti-linux-firmware repo)

  3. R5 SPL (u-boot repo)

SDK 10.0 has all the updated components by default.

Below section provides information on how to pick up these updates for last two major SDK releases - SDK 08.06 and SDK 09.02.

2.3.1.3.1. SDK 08.06.00.42

Linux SDK 08.06 was the last SDK release with LTS Kernel version 5.10 and u-boot version 2021.x. To pick up the PLL updates on top of this SDK, pick the components listed below when building the u-boot binaries.

Refer to SDK 08.06 u-boot build instructions for more information on building u-boot binaries.

2.3.1.3.2. SDK 09.02.01.10

Linux SDK 09.02 was the last SDK release with LTS Kernel version 6.1 and u-boot version 2024.x. To pick up the PLL updates on top of this SDK, pick the components listed below when building the u-boot binaries.

  1. TIFS and DM Firmware

  2. U-boot patches for SPL

Refer to SDK 09.02 u-boot build instructions for more information on building u-boot binaries.