[PATCH] include: env: ti: mmc: Add 'ti' directory prefix for overlays

DTSOs are stored in vendor specific directories in Linux. Add the vendor prefix to the path to load the overlay correctly.
Signed-off-by: Ravi Gunasekaran r-gunasekaran@ti.com --- include/env/ti/mmc.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/env/ti/mmc.env b/include/env/ti/mmc.env index 0256a2d2aa..3e6b0287a3 100644 --- a/include/env/ti/mmc.env +++ b/include/env/ti/mmc.env @@ -70,7 +70,7 @@ get_overlay_mmc= fdt resize 0x100000; for overlay in $name_overlays; do; - load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/${overlay} && + load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/ti/${overlay} && fdt apply ${dtboaddr}; done; get_kern_mmc=load mmc ${bootpart} ${loadaddr}
base-commit: 2fe4b54556ea6271237b35de68dc458bfceab94c

On 15:42-20230915, Ravi Gunasekaran wrote:
DTSOs are stored in vendor specific directories in Linux.
what is dtso? kernel generates dtbo
Add the vendor prefix to the path to load the overlay correctly.
Signed-off-by: Ravi Gunasekaran r-gunasekaran@ti.com
include/env/ti/mmc.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/env/ti/mmc.env b/include/env/ti/mmc.env index 0256a2d2aa..3e6b0287a3 100644 --- a/include/env/ti/mmc.env +++ b/include/env/ti/mmc.env @@ -70,7 +70,7 @@ get_overlay_mmc= fdt resize 0x100000; for overlay in $name_overlays; do;
- load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/${overlay} &&
- load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/ti/${overlay} && fdt apply ${dtboaddr}; done;
get_kern_mmc=load mmc ${bootpart} ${loadaddr}
base-commit: 2fe4b54556ea6271237b35de68dc458bfceab94c
we should move to stdboot and simplify this.

On 9/15/23 6:12 PM, Nishanth Menon wrote:
On 15:42-20230915, Ravi Gunasekaran wrote:
DTSOs are stored in vendor specific directories in Linux.
what is dtso? kernel generates dtbo
I'm sorry, my bad. I will be careful in future.
Add the vendor prefix to the path to load the overlay correctly.
Signed-off-by: Ravi Gunasekaran r-gunasekaran@ti.com
include/env/ti/mmc.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/env/ti/mmc.env b/include/env/ti/mmc.env index 0256a2d2aa..3e6b0287a3 100644 --- a/include/env/ti/mmc.env +++ b/include/env/ti/mmc.env @@ -70,7 +70,7 @@ get_overlay_mmc= fdt resize 0x100000; for overlay in $name_overlays; do;
- load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/${overlay} &&
- load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/ti/${overlay} && fdt apply ${dtboaddr}; done;
get_kern_mmc=load mmc ${bootpart} ${loadaddr}
base-commit: 2fe4b54556ea6271237b35de68dc458bfceab94c
we should move to stdboot and simplify this.
Noted.
participants (2)
-
Nishanth Menon
-
Ravi Gunasekaran