dra7xx: create DRA7xx include file for new SOC Family
PATCH 1/4 dra7xx: create DRA7xx include file for new SOC Family
* Create the dra7xx.inc file which inherits the omap-a15.inc file and then adds the dra7xx as another valid SOC_FAMILY setting.
* The addition of the dra7xx SOC_FAMILY is done while still keeping access to the omap-a15 family. What this means is that omap-a15 can apply to omap5-evm, dra7xx-evm, and am57xx-evm. Then the dra7xx family can be used to differentiate between omap5 and dra7xx based devices.
--- conf/machine/include/dra7xx.inc | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 conf/machine/include/dra7xx.inc
conf/machine/include/dra7xx.inc new file +2 -0
@@ -0,0 +1,2 @@ +require conf/machine/include/omap-a15.inc +SOC_FAMILY_append = ":dra7xx"
Signature · 1 line
1.7.9.5
PATCH 2/4 am57xx-evm: Add the AM57xx machine type
* Add the AM57xx machine type which is used to differentiate between the AM57xx and the DRA7xx which are derivative devices with different HW platforms and SoC capabilities.
---
conf/machine/{dra7xx-evm.conf => am57xx-evm.conf} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
copy conf/machine/{dra7xx-evm.conf => am57xx-evm.conf} (96%)conf/machine/am57xx-evm.conf renamed from conf/machine/dra7xx-evm.conf +1 -1
@@ -2,7 +2,7 @@ #@NAME: DRA7xx EVM #@DESCRIPTION: Machine configuration for the TI DRA7xx EVM -require conf/machine/include/omap-a15.inc +require conf/machine/include/dra7xx.inc IMAGE_FSTYPES += "ubi tar.gz"
Signature · 1 line
1.7.9.5
Re: [PATCH 2/4] am57xx-evm: Add the AM57xx machine type
Quoted 39 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Maupin, Chase
Sent: Tuesday, July 01, 2014 8:36 AM
To: [email protected]
Subject: [meta-ti] [PATCH 2/4] am57xx-evm: Add the AM57xx machine type* Add the AM57xx machine type which is used to differentiate between the AM57xx and the DRA7xx which are derivative devices with different HW platforms and SoC capabilities.
Signed-off-by Chase Maupin <[email protected]>--- conf/machine/{dra7xx-evm.conf => am57xx-evm.conf} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) copy conf/machine/{dra7xx-evm.conf => am57xx-evm.conf} (96%)
conf/machine/am57xx-evm.conf renamed from conf/machine/dra7xx-evm.conf +0
-0
conf/machine/am57xx-evm.confindex 14253cf..7069b44 100644conf/machine/am57xx-evm.conf renamed from conf/machine/dra7xx-evm.conf +1
-2@@ -2,7 +2,7 @@ #@NAME: DRA7xx EVM #@DESCRIPTION: Machine configuration for the TI DRA7xx EVM -require conf/machine/include/omap-a15.inc +require conf/machine/include/dra7xx.inc IMAGE_FSTYPES += "ubi tar.gz" --1.7.9.5
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
PATCH 3/4 dra7xx-evm: Use dra7xx include
In reply to Chase Maupin* Update the include file used to the dra7xx.inc file which brings access to the dra7xx SOC_FAMILY
--- conf/machine/dra7xx-evm.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/dra7xx-evm.conf +1 -1
@@ -2,7 +2,7 @@ #@NAME: DRA7xx EVM #@DESCRIPTION: Machine configuration for the TI DRA7xx EVM -require conf/machine/include/omap-a15.inc +require conf/machine/include/dra7xx.inc IMAGE_FSTYPES += "ubi tar.gz"
Signature · 1 line
1.7.9.5
Re: [PATCH 3/4] dra7xx-evm: Use dra7xx include
Quoted 36 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Maupin, Chase
Sent: Tuesday, July 01, 2014 8:36 AM
To: [email protected]
Subject: [meta-ti] [PATCH 3/4] dra7xx-evm: Use dra7xx include* Update the include file used to the dra7xx.inc file which brings access to the dra7xx
SOC_FAMILYSigned-off-by Chase Maupin <[email protected]>--- conf/machine/dra7xx-evm.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)conf/machine/dra7xx-evm.conf +1
-2@@ -2,7 +2,7 @@ #@NAME: DRA7xx EVM #@DESCRIPTION: Machine configuration for the TI DRA7xx EVM -require conf/machine/include/omap-a15.inc +require conf/machine/include/dra7xx.inc IMAGE_FSTYPES += "ubi tar.gz" --1.7.9.5
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
PATCH 4/4 Update dra7xx-evm settings to use dra7xx SOC_FAMILY
In reply to Chase Maupin* Update to use the dra7xx SOC_FAMILY instead of the specific dra7xx-evm machine type.
--- recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb | 20 +++++++++++++++++--- recipes-bsp/vpe-vpdma/vpe-vpdma_git.bb | 2 +- recipes-kernel/linux/linux-ti-staging_3.12.bb | 4 ++-- recipes-kernel/linux/linux-ti-staging_3.14.bb | 4 ++-- recipes-ti/ipc/ti-ipc.inc | 4 ++-- 5 files changed, 24 insertions(+), 10 deletions(-)
recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb +17 -3
@@ -1,13 +1,27 @@ +python __anonymous() { + features = bb.data.getVar("MACHINE_FEATURES", d, 1) + if not features: + return + if "mmip" not in features: + raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES') +} + DESCRIPTION = "Firmware for IPU " LICENSE = "TI-TSPA" -LIC_FILES_CHKSUM_dra7xx-evm = "file://MMIP-${PV}-Manifest.doc;md5=64ca6f9d7e5243b8a4084eb918a543bc" +LIC_FILES_CHKSUM_dra7xx = "file://MMIP-${PV}-Manifest.doc;md5=64ca6f9d7e5243b8a4084eb918a543bc" LIC_FILES_CHKSUM_omap5-evm = "file://MMIP-${PV}-Manifest.doc;md5=39a593dd8fc2a9654c74f679ed329c45" COMPATIBLE_MACHINE = "omap-a15" PACKAGE_ARCH = "${MACHINE_ARCH}" -SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${MACHINE}-3.00.04.02.tar.gz;protocol=http;name=${MACHINE}" +# Need to set the PLATFORM variable since now multiple MACHINEs are sharing +# a common named tarball +PLATFORM = "UNKNOWN" +PLATFORM_dra7xx = "dra7xx-evm" +PLATFORM_omap5-evm = "omap5-evm" + +SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${PLATFORM}-3.00.04.02.tar.gz;protocol=http;name=${PLATFORM}" # DRA7xx checksums SRC_URI[dra7xx-evm.md5sum] = "da04c03b0fd57901e8283afa80f81379"
@@ -19,7 +33,7 @@ SRC_URI[omap5-evm.sha256sum] = "2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645da S = "${WORKDIR}/ipumm-${MACHINE}-${PV}" -TARGET_dra7xx-evm = "dra7-ipu2-fw.xem4" +TARGET_dra7xx = "dra7-ipu2-fw.xem4" TARGET_omap5-evm = "ducati-m3-core0.xem3" do_install() {
recipes-bsp/vpe-vpdma/vpe-vpdma_git.bb +1 -1
@@ -5,7 +5,7 @@ DEPENDS += "virtual/kernel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa" -COMPATIBLE_MACHINE = "dra7xx-evm" +COMPATIBLE_MACHINE = "dra7xx" PV = "1b8" PR = "r1"
recipes-kernel/linux/linux-ti-staging_3.12.bb +2 -2
@@ -21,7 +21,7 @@ RDEPENDS_kernel-base_append_ti43x = " am33x-cm3" # Add a run-time dependency for the VPE VPDMA firmware to be installed # on the target file system. -RDEPENDS_kernel-base_append_dra7xx-evm = " vpe-vpdma-fw" +RDEPENDS_kernel-base_append_dra7xx = " vpe-vpdma-fw" # Default is to package all dtb files for ti33x devices unless building # for the specific beaglebone machine.
@@ -29,7 +29,7 @@ KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335 KERNEL_DEVICETREE_ti43x = "am43x-epos-evm.dtb am437x-gp-evm.dtb" KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb" KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb" -KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb" +KERNEL_DEVICETREE_dra7xx = "dra7-evm.dtb" KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
recipes-kernel/linux/linux-ti-staging_3.14.bb +2 -2
@@ -23,7 +23,7 @@ RDEPENDS_kernel-base_append_ti43x = " am33x-cm3" # Add a run-time dependency for the VPE VPDMA firmware to be installed # on the target file system. -RDEPENDS_kernel-base_append_dra7xx-evm = " vpe-vpdma-fw" +RDEPENDS_kernel-base_append_dra7xx = " vpe-vpdma-fw" # Default is to package all dtb files for ti33x devices unless building # for the specific beaglebone machine.
@@ -31,7 +31,7 @@ KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335 KERNEL_DEVICETREE_ti43x = "am43x-epos-evm.dtb am437x-gp-evm.dtb" KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb" KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb" -KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb" +KERNEL_DEVICETREE_dra7xx = "dra7-evm.dtb" KERNEL_DEVICETREE_omap3 = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb" KERNEL_DEVICETREE_am3517-evm = "am3517-evm.dtb" KERNEL_DEVICETREE_am37x-evm = "omap3-evm-37xx.dtb"
recipes-ti/ipc/ti-ipc.inc +2 -2
@@ -12,12 +12,12 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" PLATFORM = "UNKNOWN" PLATFORM_omap5-evm = "OMAP54XX" -PLATFORM_dra7xx-evm = "DRA7XX" +PLATFORM_dra7xx = "DRA7XX" PLATFORM_keystone = "TCI6638" DAEMON = "UNKNOWN" DAEMON_omap5-evm = "lad_omap54xx_smp" -DAEMON_dra7xx-evm = "lad_dra7xx" +DAEMON_dra7xx = "lad_dra7xx" DAEMON_keystone = "lad_tci6638" inherit autotools pkgconfig update-rc.d
Signature · 1 line
1.7.9.5
Re: [PATCH 4/4] Update dra7xx-evm settings to use dra7xx SOC_FAMILY
Quoted 167 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Maupin, Chase
Sent: Tuesday, July 01, 2014 8:36 AM
To: [email protected]
Subject: [meta-ti] [PATCH 4/4] Update dra7xx-evm settings to use dra7xxSOC_FAMILY* Update to use the dra7xx
SOC_FAMILYinstead of the specific dra7xx-evm machine type.Signed-off-by Chase Maupin <[email protected]>--- recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb | 20 +++++++++++++++++--(quoted diff) +0
-1- recipes-bsp/vpe-vpdma/vpe-vpdma_git.bb | 2 +- recipes-kernel/linux/linux-ti-staging_3.12.bb | 4 ++-- recipes-kernel/linux/linux-ti-staging_3.14.bb | 4 ++-- recipes-ti/ipc/ti-ipc.inc | 4 ++-- 5 files changed, 24 insertions(+), 10 deletions(-)recipes- renamed from recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb +0
-0bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb
index c3017fe..7f67c39 100644recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb +8
-1@@ -1,13 +1,27 @@ +python __anonymous() { + features = bb.data.getVar("MACHINE_FEATURES", d, 1) + if not features: + return + if "mmip" not in features: + raise bb.parse.SkipPackage('ipumm-fw does not apply to systems +without the "mmip" flag in MACHINE_FEATURES') } + DESCRIPTION = "Firmware for IPU " LICENSE = "TI-TSPA" -LIC_FILES_CHKSUM_dra7xx-evm = "file://MMIP-${PV}-Manifest.doc;md5=64ca6f9d7e5243b8a4084eb918a543bc" +LIC_FILES_CHKSUM_dra7xx = "file://MMIP-${PV}- Manifest.doc;md5=64ca6f9d7e5243b8a4084eb918a543bc"
LIC_FILES_CHKSUM_omap5-evm = "file://MMIP-${PV}-
Manifest.doc;md5=39a593dd8fc2a9654c74f679ed329c45"
COMPATIBLE_MACHINE= "omap-a15"
PACKAGE_ARCH= "${MACHINE_ARCH}"-SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/ex ports/ipumm-${MACHINE}- 3.00.04.02.tar.gz;protocol=http;name=${MACHINE}"
recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb +6
-0+# Need to set the PLATFORM variable since now multiple MACHINEs are +sharing # a common named tarball PLATFORM = "UNKNOWN" +PLATFORM_dra7xx = "dra7xx-evm" +PLATFORM_omap5-evm = "omap5-evm" + +SRC_URI ="http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/ex ports/ipumm-${PLATFORM}- 3.00.04.02.tar.gz;protocol=http;name=${PLATFORM}"
# DRA7xx checksums
SRC_URI[dra7xx-evm.md5sum] = "da04c03b0fd57901e8283afa80f81379"recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb +0
-0@@ -19,7 +33,7 @@ SRC_URI[omap5-evm.sha256sum] ="
2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645daS = "${WORKDIR}/ipumm-${MACHINE}-${PV}"
recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb +1
-1-TARGET_dra7xx-evm = "dra7-ipu2-fw.xem4" +TARGET_dra7xx = "dra7-ipu2-fw.xem4" TARGET_omap5-evm = "ducati-m3-core0.xem3" do_install() {recipes-bsp/vpe- renamed from recipes-bsp/vpe-vpdma/vpe-vpdma_git.bb +0
-0vpdma/vpe-vpdma_git.bb
index fb3012a..14f059b 100644recipes-bsp/vpe-vpdma/vpe-vpdma_git.bb +0
-0@@ -5,7 +5,7 @@ DEPENDS += "virtual/kernel" LICENSE = "BSD" LIC_FILES_CHKSUM ="file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
recipes-bsp/vpe-vpdma/vpe-vpdma_git.bb +1
-1-COMPATIBLE_MACHINE = "dra7xx-evm" +COMPATIBLE_MACHINE = "dra7xx" PV = "1b8" PR = "r1"recipes- renamed from recipes-kernel/linux/linux-ti-staging_3.12.bb +0
-0
kernel/linux/linux-ti-staging_3.12.bb
index 90dab23..e288a6d 100644recipes-kernel/linux/linux-ti-staging_3.12.bb +0
-0@@ -21,7 +21,7 @@ RDEPENDS_kernel-base_append_ti43x = " am33x-cm3" # Add a run-time dependency for the VPE VPDMA firmware to be installed #on the target file system.
recipes-kernel/linux/linux-ti-staging_3.12.bb +1
-1-RDEPENDS_kernel-base_append_dra7xx-evm = " vpe-vpdma-fw" +RDEPENDS_kernel-base_append_dra7xx = " vpe-vpdma-fw" # Default is to package all dtb files for ti33x devices unless building # for thespecific beaglebone machine.
recipes-kernel/linux/linux-ti-staging_3.12.bb +0
-0@@ -29,7 +29,7 @@ KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335
KERNEL_DEVICETREE_ti43x= "am43x- epos-evm.dtb am437x-gp-evm.dtb"
KERNEL_DEVICETREE_beaglebone= "am335x-bone.dtb am335x-
boneblack.dtb"
KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb"recipes-kernel/linux/linux-ti-staging_3.12.bb +1
-1-KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb" +KERNEL_DEVICETREE_dra7xx = "dra7-evm.dtb" KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"recipes- renamed from recipes-kernel/linux/linux-ti-staging_3.14.bb +0
-0
kernel/linux/linux-ti-staging_3.14.bb
index 5c8022b..8c12bad 100644recipes-kernel/linux/linux-ti-staging_3.14.bb +0
-0@@ -23,7 +23,7 @@ RDEPENDS_kernel-base_append_ti43x = " am33x-cm3" # Add a run-time dependency for the VPE VPDMA firmware to be installed #on the target file system.
recipes-kernel/linux/linux-ti-staging_3.14.bb +1
-1-RDEPENDS_kernel-base_append_dra7xx-evm = " vpe-vpdma-fw" +RDEPENDS_kernel-base_append_dra7xx = " vpe-vpdma-fw" # Default is to package all dtb files for ti33x devices unless building # for thespecific beaglebone machine.
recipes-kernel/linux/linux-ti-staging_3.14.bb +0
-0@@ -31,7 +31,7 @@ KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335
KERNEL_DEVICETREE_ti43x= "am43x- epos-evm.dtb am437x-gp-evm.dtb"
KERNEL_DEVICETREE_beaglebone= "am335x-bone.dtb am335x-
boneblack.dtb"
KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb"recipes-kernel/linux/linux-ti-staging_3.14.bb +1
-1-KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb" +KERNEL_DEVICETREE_dra7xx = "dra7-evm.dtb" KERNEL_DEVICETREE_omap3 = "omap3-beagle.dtb omap3-beagle-xm.dtbomap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb"
KERNEL_DEVICETREE_am3517-evm = "am3517-evm.dtb" KERNEL_DEVICETREE_am37x-evm = "omap3-evm-37xx.dtb"recipes-ti/ipc/ti-ipc.inc index renamed from recipes-ti/ipc/ti-ipc.inc +0
-0ee9feff..860f55f 100644
recipes-ti/ipc/ti-ipc.inc +2
-3@@ -12,12 +12,12 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" PLATFORM = "UNKNOWN" PLATFORM_omap5-evm = "OMAP54XX" -PLATFORM_dra7xx-evm = "DRA7XX" +PLATFORM_dra7xx = "DRA7XX" PLATFORM_keystone = "TCI6638" DAEMON = "UNKNOWN" DAEMON_omap5-evm = "lad_omap54xx_smp" -DAEMON_dra7xx-evm = "lad_dra7xx" +DAEMON_dra7xx = "lad_dra7xx" DAEMON_keystone = "lad_tci6638" inherit autotools pkgconfig update-rc.d --1.7.9.5
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 38 lines
-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Maupin, Chase
Sent: Tuesday, July 01, 2014 8:36 AM
To: [email protected]
Subject: [meta-ti] [PATCH 1/4] dra7xx: create DRA7xx include file for new SOC Family* Create the dra7xx.inc file which inherits the omap-a15.inc file and then adds the dra7xx as another valid
SOC_FAMILYsetting.
* The addition of the dra7xxSOC_FAMILYis done while still keeping access to the omap-a15 family. What this means is that omap-a15 can apply to omap5-evm, dra7xx-evm, and am57xx-evm. Then the dra7xx family can be used to differentiate between omap5 and dra7xx based devices.Signed-off-by Chase Maupin <[email protected]>--- conf/machine/include/dra7xx.inc | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 conf/machine/include/dra7xx.inc(quoted diff) +0
-0b/conf/machine/include/dra7xx.inc new file mode 100644 index 0000000..fd0ecfe
conf/machine/include/dra7xx.inc new file +1
-0@@ -0,0 +1,2 @@ +require conf/machine/include/omap-a15.inc SOC_FAMILY_append =":dra7xx"
--
1.7.9.5--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti