conf: machine: j721s2: Add DTB and DTBO load address for FIT image
PATCH 1/1 conf: machine: j721s2: Add DTB and DTBO load address for FIT image
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
---
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(+)
conf/machine/j721s2-evm.conf +3 -0
@@ -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"
Signature · 1 line
2.36.1
conf/machine/j721s2-evm.conf
Quoted 25 lines · Sinthu Raja M via lists.yoctoproject.org
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 usingname_overlay. This is not yet tested and will test tomorrow.conf/machine/j721s2-evm.conf | 3 +++ 1 file changed, 3 insertions(+)conf/machine/j721s2-evm.conf +0
-0
Why are we putting these in the -evm level configs? I know we "usually" only build FIT images for the HS platforms, but FIT is valid and works for all device types.
So for all platforms with these defines, we should moved them up into the common machine/include/machine.inc files. Or even better, since these look to be all the same across K3, bubble it up into k3.inc, then you won't need to add this same patch for each new platform.
Andrew
Quoted 21 lines
conf/machine/j721s2-evm.conf +3
-1@@ -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" -=-=-=-=-=-=-=-=-=-=-=-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/3619733
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-