public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] include: env: ti: mmc: Add 'ti' directory prefix for overlays
@ 2023-09-15 10:12 Ravi Gunasekaran
  2023-09-15 12:42 ` Nishanth Menon
  0 siblings, 1 reply; 3+ messages in thread
From: Ravi Gunasekaran @ 2023-09-15 10:12 UTC (permalink / raw)
  To: vigneshr, nm, afd; +Cc: u-boot, r-gunasekaran

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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] include: env: ti: mmc: Add 'ti' directory prefix for overlays
  2023-09-15 10:12 [PATCH] include: env: ti: mmc: Add 'ti' directory prefix for overlays Ravi Gunasekaran
@ 2023-09-15 12:42 ` Nishanth Menon
  2023-09-19  4:38   ` Ravi Gunasekaran
  0 siblings, 1 reply; 3+ messages in thread
From: Nishanth Menon @ 2023-09-15 12:42 UTC (permalink / raw)
  To: Ravi Gunasekaran; +Cc: vigneshr, afd, u-boot

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.

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] include: env: ti: mmc: Add 'ti' directory prefix for overlays
  2023-09-15 12:42 ` Nishanth Menon
@ 2023-09-19  4:38   ` Ravi Gunasekaran
  0 siblings, 0 replies; 3+ messages in thread
From: Ravi Gunasekaran @ 2023-09-19  4:38 UTC (permalink / raw)
  To: Nishanth Menon; +Cc: vigneshr, afd, u-boot



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.

> 

-- 
Regards,
Ravi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-19  4:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-15 10:12 [PATCH] include: env: ti: mmc: Add 'ti' directory prefix for overlays Ravi Gunasekaran
2023-09-15 12:42 ` Nishanth Menon
2023-09-19  4:38   ` Ravi Gunasekaran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox