U-Boot: am62ax.env needs a fix while loading overlays

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • Linux Core SDK
    • LCPD-44027
    • 11.00
    • 11.01
    • Hide
      am62axx_sk-fs
      am62axx_sk-se
      Show
      am62axx_sk-fs am62axx_sk-se

      get_overlay_mmc variable has the following logic which is responsible to load overlays,

      load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay} 

       

      The above logic should have be corrected to add dtb prefix as well in order to make the overlay applying logic in UEnv.txt via name_overlays consistent across all k3 platforms,

      load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/${overlay} 

      so that uEnv.txt can use to apply overlays with `name_overlays=ti/<overlay>.dtbo` instead of  `name_overlays=dtb/ti/<overlay>.dtbo` (which isn't consistent across other platforms)

      While doing this ensure that https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/board/ti?h=ti-u-boot-2025.01&id=299d86af00f2a64e962ffcd45bd36dca1ed45649 commit is fixed as well to below,

      name_overlays=ti/k3-am62a7-sk-edgeai.dtbo 

       

      Note - This issue gets inherited from upstream u-boot which seems to be missing that `dtb` prefix in path - https://github.com/u-boot/u-boot/blob/master/board/ti/am62ax/am62ax.env#L26   

      Fix details:
      https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2025.01-next&id=841b73ec9459f054567503ffbed3b3c5a04247ea

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-5863 - U-Boot: am62ax.env needs a fix whil...
                SYNCHRONIZED
                • Last Sync Date: