Message ID | 20220323210750.3959-2-reatmon@ti.com |
---|---|
State | Superseded |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | Adding support for am62xx | expand |
> ti-tisdk-makefile: adding uboot r5 config variable for am62xx The patch below does a lot more than what the subject says... And this patchset depends on the corresponding change in meta-ti, which needs some more work. On Wed, Mar 23, 2022 at 04:07:49PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote: > From: Nishanth Menon <nm@ti.com> > > lets add support for the latest of TI SoC. > > Signed-off-by: Nishanth Menon <nm@ti.com> > Signed-off-by: Ryan Eatmon <reatmon@ti.com> > --- > .../packagegroup-arago-tisdk-addons-sdk-host.bb | 4 ++++ > .../packagegroups/packagegroup-arago-tisdk-addons.bb | 1 + > .../ti-tisdk-makefile/Makefile_sysfw-image | 1 + > .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb | 6 ++++++ > 4 files changed, 12 insertions(+) > > diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb > index c44f95ca..062948d0 100644 > --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb > @@ -57,6 +57,10 @@ UTILS_append_am64xx = " \ > pru-icss-src \ > " > > +UTILS_append_am62xx = " \ > + pru-icss-src \ > +" > + > EXTRA_LIBS = "" > > EXTRA_LIBS_append_omap-a15 = " \ > diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb > index 099817c3..094c47a2 100644 > --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb > @@ -65,6 +65,7 @@ UTILS_append_k3 = " mmc-utils \ > " > > UTILS_append_am64xx = " ti-rtos-firmware pru-icss" > +UTILS_append_am62xx = " ti-rtos-firmware pru-icss" > UTILS_append_am65xx = " ti-rtos-firmware pru-icss pru-pwm-fw" > UTILS_append_j7 = " ti-rtos-firmware" > UTILS_append_j7-evm = " pru-icss" > diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image > index aaf1f112..316483df 100644 > --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image > +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image > @@ -12,6 +12,7 @@ SYSFW_SOC_am65xx-evm = am65x > SYSFW_SOC_am65xx-hs-evm = am65x > SYSFW_SOC_am64xx-evm = am64x > SYSFW_SOC_am64xx-hs-evm = am64x > +SYSFW_SOC_am62xx-evm = am62x > SYSFW_SOC_j7-evm = j721e > SYSFW_SOC_j7-hs-evm = j721e > SYSFW_SOC = $(SYSFW_SOC_$(PLATFORM)) > diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb > index 7bda8eed..f0a044f7 100644 > --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb > +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb > @@ -202,6 +202,10 @@ MAKEFILES_append_am64xx = " \ > pru-icss \ > " > > +MAKEFILES_append_am62xx = " \ > + pru-icss \ > +" > + > # Use this to export kernel arch to ARCH > # > # We need to be very careful here. This class will also overwrite UBOOT_ARCH > @@ -239,6 +243,7 @@ PRU_ICSS_INSTALL_TARGET_k2g = "pru-icss_install_k2g" > PRU_ICSS_INSTALL_TARGET_am65xx = "pru-icss_install_am65x" > PRU_ICSS_INSTALL_TARGET_j7 = "pru-icss_install_j721e" > PRU_ICSS_INSTALL_TARGET_am64xx = "pru-icss_install_am64x" > +PRU_ICSS_INSTALL_TARGET_am62xx = "pru-icss_install_am62x" > > # Path to toolchains for the various cores in TI SOCs > # > @@ -363,6 +368,7 @@ K3_UBOOT_MACHINE_R5_j7-evm = "j721e_evm_r5_config" > K3_UBOOT_MACHINE_R5_j7-hs-evm = "j721e_hs_evm_r5_config" > K3_UBOOT_MACHINE_R5_j7200-evm = "j7200_evm_r5_config" > K3_UBOOT_MACHINE_R5_j721s2-evm = "j721s2_evm_r5_config" > +K3_UBOOT_MACHINE_R5_am62xx-evm = "am62xx_evm_r5_config" > > do_install_append_k3() { > cat >> ${D}/Rules.make << __EOF__ > -- > 2.17.1
On 3/24/2022 15:34, Denys Dmytriyenko wrote: >> ti-tisdk-makefile: adding uboot r5 config variable for am62xx > > The patch below does a lot more than what the subject says... > > And this patchset depends on the corresponding change in meta-ti, which needs > some more work. I will clean up the commit message and submit a v3 once we have closed on the meta-ti patches. > > On Wed, Mar 23, 2022 at 04:07:49PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote: >> From: Nishanth Menon <nm@ti.com> >> >> lets add support for the latest of TI SoC. >> >> Signed-off-by: Nishanth Menon <nm@ti.com> >> Signed-off-by: Ryan Eatmon <reatmon@ti.com> >> --- >> .../packagegroup-arago-tisdk-addons-sdk-host.bb | 4 ++++ >> .../packagegroups/packagegroup-arago-tisdk-addons.bb | 1 + >> .../ti-tisdk-makefile/Makefile_sysfw-image | 1 + >> .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb | 6 ++++++ >> 4 files changed, 12 insertions(+) >> >> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb >> index c44f95ca..062948d0 100644 >> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb >> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb >> @@ -57,6 +57,10 @@ UTILS_append_am64xx = " \ >> pru-icss-src \ >> " >> >> +UTILS_append_am62xx = " \ >> + pru-icss-src \ >> +" >> + >> EXTRA_LIBS = "" >> >> EXTRA_LIBS_append_omap-a15 = " \ >> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb >> index 099817c3..094c47a2 100644 >> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb >> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb >> @@ -65,6 +65,7 @@ UTILS_append_k3 = " mmc-utils \ >> " >> >> UTILS_append_am64xx = " ti-rtos-firmware pru-icss" >> +UTILS_append_am62xx = " ti-rtos-firmware pru-icss" >> UTILS_append_am65xx = " ti-rtos-firmware pru-icss pru-pwm-fw" >> UTILS_append_j7 = " ti-rtos-firmware" >> UTILS_append_j7-evm = " pru-icss" >> diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image >> index aaf1f112..316483df 100644 >> --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image >> +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image >> @@ -12,6 +12,7 @@ SYSFW_SOC_am65xx-evm = am65x >> SYSFW_SOC_am65xx-hs-evm = am65x >> SYSFW_SOC_am64xx-evm = am64x >> SYSFW_SOC_am64xx-hs-evm = am64x >> +SYSFW_SOC_am62xx-evm = am62x >> SYSFW_SOC_j7-evm = j721e >> SYSFW_SOC_j7-hs-evm = j721e >> SYSFW_SOC = $(SYSFW_SOC_$(PLATFORM)) >> diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb >> index 7bda8eed..f0a044f7 100644 >> --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb >> +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb >> @@ -202,6 +202,10 @@ MAKEFILES_append_am64xx = " \ >> pru-icss \ >> " >> >> +MAKEFILES_append_am62xx = " \ >> + pru-icss \ >> +" >> + >> # Use this to export kernel arch to ARCH >> # >> # We need to be very careful here. This class will also overwrite UBOOT_ARCH >> @@ -239,6 +243,7 @@ PRU_ICSS_INSTALL_TARGET_k2g = "pru-icss_install_k2g" >> PRU_ICSS_INSTALL_TARGET_am65xx = "pru-icss_install_am65x" >> PRU_ICSS_INSTALL_TARGET_j7 = "pru-icss_install_j721e" >> PRU_ICSS_INSTALL_TARGET_am64xx = "pru-icss_install_am64x" >> +PRU_ICSS_INSTALL_TARGET_am62xx = "pru-icss_install_am62x" >> >> # Path to toolchains for the various cores in TI SOCs >> # >> @@ -363,6 +368,7 @@ K3_UBOOT_MACHINE_R5_j7-evm = "j721e_evm_r5_config" >> K3_UBOOT_MACHINE_R5_j7-hs-evm = "j721e_hs_evm_r5_config" >> K3_UBOOT_MACHINE_R5_j7200-evm = "j7200_evm_r5_config" >> K3_UBOOT_MACHINE_R5_j721s2-evm = "j721s2_evm_r5_config" >> +K3_UBOOT_MACHINE_R5_am62xx-evm = "am62xx_evm_r5_config" >> >> do_install_append_k3() { >> cat >> ${D}/Rules.make << __EOF__ >> -- >> 2.17.1 >
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb index c44f95ca..062948d0 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb @@ -57,6 +57,10 @@ UTILS_append_am64xx = " \ pru-icss-src \ " +UTILS_append_am62xx = " \ + pru-icss-src \ +" + EXTRA_LIBS = "" EXTRA_LIBS_append_omap-a15 = " \ diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb index 099817c3..094c47a2 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb @@ -65,6 +65,7 @@ UTILS_append_k3 = " mmc-utils \ " UTILS_append_am64xx = " ti-rtos-firmware pru-icss" +UTILS_append_am62xx = " ti-rtos-firmware pru-icss" UTILS_append_am65xx = " ti-rtos-firmware pru-icss pru-pwm-fw" UTILS_append_j7 = " ti-rtos-firmware" UTILS_append_j7-evm = " pru-icss" diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image index aaf1f112..316483df 100644 --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_sysfw-image @@ -12,6 +12,7 @@ SYSFW_SOC_am65xx-evm = am65x SYSFW_SOC_am65xx-hs-evm = am65x SYSFW_SOC_am64xx-evm = am64x SYSFW_SOC_am64xx-hs-evm = am64x +SYSFW_SOC_am62xx-evm = am62x SYSFW_SOC_j7-evm = j721e SYSFW_SOC_j7-hs-evm = j721e SYSFW_SOC = $(SYSFW_SOC_$(PLATFORM)) diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb index 7bda8eed..f0a044f7 100644 --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb @@ -202,6 +202,10 @@ MAKEFILES_append_am64xx = " \ pru-icss \ " +MAKEFILES_append_am62xx = " \ + pru-icss \ +" + # Use this to export kernel arch to ARCH # # We need to be very careful here. This class will also overwrite UBOOT_ARCH @@ -239,6 +243,7 @@ PRU_ICSS_INSTALL_TARGET_k2g = "pru-icss_install_k2g" PRU_ICSS_INSTALL_TARGET_am65xx = "pru-icss_install_am65x" PRU_ICSS_INSTALL_TARGET_j7 = "pru-icss_install_j721e" PRU_ICSS_INSTALL_TARGET_am64xx = "pru-icss_install_am64x" +PRU_ICSS_INSTALL_TARGET_am62xx = "pru-icss_install_am62x" # Path to toolchains for the various cores in TI SOCs # @@ -363,6 +368,7 @@ K3_UBOOT_MACHINE_R5_j7-evm = "j721e_evm_r5_config" K3_UBOOT_MACHINE_R5_j7-hs-evm = "j721e_hs_evm_r5_config" K3_UBOOT_MACHINE_R5_j7200-evm = "j7200_evm_r5_config" K3_UBOOT_MACHINE_R5_j721s2-evm = "j721s2_evm_r5_config" +K3_UBOOT_MACHINE_R5_am62xx-evm = "am62xx_evm_r5_config" do_install_append_k3() { cat >> ${D}/Rules.make << __EOF__