From: Sinthu Raja <[email protected]>

Now the J721S2 defconfig is merged for both GP and HS-FS devices, the
HS-FS devices use FIT image to load the kernel and DTB. However, the
DTB/DTBOs are added to the FIT image, but the load address is not added
in the image section of each DTB/DTBOs. This load address is calculated
based on the LOADADDRESS macros in kernel-fitmage class.

Therefore add the DTB/DTBOs load address and offset macros in J721S2 conf.
This conf is common to both GP and HS-FS devices

Signed-off-by: Sinthu Raja <[email protected]>
---

Hi All,
This patch resolves the overlay loading issue using name_overlay. This
is not yet tested and will test tomorrow. 

 conf/machine/j721s2-evm.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/conf/machine/j721s2-evm.conf b/conf/machine/j721s2-evm.conf
index f1127ed5..2db6c087 100644
--- a/conf/machine/j721s2-evm.conf
+++ b/conf/machine/j721s2-evm.conf
@@ -40,6 +40,9 @@ KERNEL_DEVICETREE = " \
 "
 
 UBOOT_MACHINE = "j721s2_evm_a72_defconfig"
+UBOOT_DTB_LOADADDRESS =  "0x83000000"
+UBOOT_DTBO_LOADADDRESS = "0x83080000"
+UBOOT_DTBO_OFFSET =      "0x00010000"
 
 do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
 do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
-- 
2.36.1

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

Reply via email to