The U-Boot ENV variable containing a list of DTB overlays to be applied
has since changed to 'name_overlays'. Update the AM65x specific ENV
setup script to account for that.

Signed-off-by: Andreas Dannenberg <[email protected]>
---

Sai,
this fixes an issue reported on the E2E [1] actually quite a while ago.
We should try to get this into the upcoming AM65x SDK v8.x build.
Thanks.

[1] 
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1074355/tmdx654idkevm-network-boot-do-not-apply-overlays



 setup-uboot-env-am65x.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup-uboot-env-am65x.sh b/setup-uboot-env-am65x.sh
index b6e043b..049a254 100644
--- a/setup-uboot-env-am65x.sh
+++ b/setup-uboot-env-am65x.sh
@@ -155,7 +155,7 @@ do_expect "\"$prompt\"" "send \"setenv init_net 'run 
args_all args_net; setenv a
 do_expect "\"$prompt\"" "send \"setenv args_net 'setenv bootargs 
console=\${console} \${optargs} rootfstype=nfs root=/dev/nfs rw 
nfsroot=\${serverip}:\${nfs_root},\${nfs_options} ip=dhcp'\"" 
$cwd/setupBoard.minicom
 do_expect "\"$prompt\"" "send \"setenv get_kern_net 'tftp \${loadaddr} 
\${name_kern}'\"" $cwd/setupBoard.minicom
 do_expect "\"$prompt\"" "send \"setenv get_fdt_net 'tftp \${fdtaddr} 
\${name_fdt}'\"" $cwd/setupBoard.minicom
-do_expect "\"$prompt\"" "send \"setenv get_overlay_net 'fdt address 
\${fdtaddr};fdt resize 0x100000;for overlay in \${overlay_files};do;tftp 
\${overlayaddr} \${overlay};fdt apply \${overlayaddr}; done'\"" 
$cwd/setupBoard.minicom
+do_expect "\"$prompt\"" "send \"setenv get_overlay_net 'fdt address 
\${fdtaddr};fdt resize 0x100000;for overlay in \${name_overlays};do;tftp 
\${overlayaddr} \${overlay};fdt apply \${overlayaddr}; done'\"" 
$cwd/setupBoard.minicom
 
 do_expect "\"$prompt\"" "send \"setenv nfs_options 
'nolock,v3,tcp,rsize=4096,wsize=4096'\"" $cwd/setupBoard.minicom
 do_expect "\"$prompt\"" "send \"setenv setup_mmc ''\"" $cwd/setupBoard.minicom
-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14263): 
https://lists.yoctoproject.org/g/meta-arago/message/14263
Mute This Topic: https://lists.yoctoproject.org/mt/97735831/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to