board: ti: am57xx: Remove "ti/omap/" from name_fit_config
PATCH v2 1/1 board: ti: am57xx: Remove "ti/omap/" from name_fit_config
Commit 649f4a7d3ca7 ("board: ti: am57xx: Set fdtfile from C code instead of findfdt script") prepends "ti/omap/" to the actual name of the fdtfile whereas fit image boot needs exact dtb name. So, remove "ti/omap" from name_fit_config by substituting it with an empty string.
---
logs : https://gist.github.com/anuragdutta731/d7ba9314fa6d7a71bc348911b515615e
Changelog: v2:
1. Removed semicolon from the end of cmd.
Link to v1:
https://lore.kernel.org/all/[email protected]/
board/ti/am57xx/am57xx.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/ti/am57xx/am57xx.env +1 -1
@@ -10,7 +10,7 @@ get_name_kern= else setenv bootfile zImage; fi -get_fit_config=setenv name_fit_config ${fdtfile} +get_fit_config=setexpr name_fit_config gsub "ti/omap/" "" ${fdtfile} console=ttyS2,115200n8 fdtfile=undefined finduuid=part uuid mmc 0:2 uuid
Signature · 1 line
2.34.1
Hi Tom
Please pick this up for v2025.10.
Quoted 33 lines · Anurag Dutta
Commit
649f4a7d3ca7("board: ti: am57xx: Set fdtfile from C code instead of findfdt script") prepends "ti/omap/" to the actual name of the fdtfile whereas fit image boot needs exact dtb name. So, remove "ti/omap" fromname_fit_configby substituting it with an empty string.Fixes 649f4a7d3ca7 ("board: ti: am57xx: Set fdtfile from C code instead of findfdt script")Signed-off-by Anurag Dutta <[email protected]>---
logs : https://gist.github.com/anuragdutta731/d7ba9314fa6d7a71bc348911b515615e
Changelog: v2:
1. Removed semicolon from the end of cmd.Link to v1:
https://lore.kernel.org/all/[email protected]/board/ti/am57xx/am57xx.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)board/ti/am57xx/am57xx.env +1
-1@@ -10,7 +10,7 @@ get_name_kern= else setenv bootfile zImage; fi -get_fit_config=setenv name_fit_config ${fdtfile} +get_fit_config=setexpr name_fit_config gsub "ti/omap/" "" ${fdtfile} console=ttyS2,115200n8 fdtfile=undefined finduuid=part uuid mmc 0:2 uuid
Quoted 25 lines · Anurag Dutta
Commit
649f4a7d3ca7("board: ti: am57xx: Set fdtfile from C code instead of findfdt script") prepends "ti/omap/" to the actual name of the fdtfile whereas fit image boot needs exact dtb name. So, remove "ti/omap" fromname_fit_configby substituting it with an empty string.Fixes 649f4a7d3ca7 ("board: ti: am57xx: Set fdtfile from C code instead of findfdt script")Signed-off-by Anurag Dutta <[email protected]>---
logs : https://gist.github.com/anuragdutta731/d7ba9314fa6d7a71bc348911b515615e
Changelog: v2:
1. Removed semicolon from the end of cmd.Link to v1:
https://lore.kernel.org/all/[email protected]/board/ti/am57xx/am57xx.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)board/ti/am57xx/am57xx.env +0
-0
board/ti/am57xx/am57xx.env get_name_kern= · line 13
Quoted 5 lines
board/ti/am57xx/am57xx.env +1
-1@@ -10,7 +10,7 @@ get_name_kern= else setenv bootfile zImage; fi -get_fit_config=setenv name_fit_config ${fdtfile} +get_fit_config=setexpr name_fit_config gsub "ti/omap/" "" ${fdtfile}
Quoted 3 lines
board/ti/am57xx/am57xx.env +0
-0console=ttyS2,115200n8 fdtfile=undefined finduuid=part uuid mmc 0:2 uuid
Quoted 6 lines · Anurag Dutta
Commit
649f4a7d3ca7("board: ti: am57xx: Set fdtfile from C code instead of findfdt script") prepends "ti/omap/" to the actual name of the fdtfile whereas fit image boot needs exact dtb name. So, remove "ti/omap" fromname_fit_configby substituting it with an empty string.
Applied to u-boot/master, thanks!
[1/1] board: ti: am57xx: Remove "ti/omap/" from name_fit_config
commit: f6d5bda0e32c3d645b9926f6965af8196843c62c
Signature · 1 line
Tom