diff mbox series

include: env: ti: mmc: Add 'ti' directory prefix for overlays

Message ID 20230915101242.20048-1-r-gunasekaran@ti.com
State Changes Requested
Delegated to: Tom Rini
Headers show
Series include: env: ti: mmc: Add 'ti' directory prefix for overlays | expand

Commit Message

Ravi Gunasekaran Sept. 15, 2023, 10:12 a.m. UTC
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(-)


base-commit: 2fe4b54556ea6271237b35de68dc458bfceab94c

Comments

Nishanth Menon Sept. 15, 2023, 12:42 p.m. UTC | #1
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.
Ravi Gunasekaran Sept. 19, 2023, 4:38 a.m. UTC | #2
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.

>
diff mbox series

Patch

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}