Skip to contentSkip to conversation

vpe-vpdma: Package for VPE DMA FW and test app

PATCH In review Chase Maupin 2 participants 4 messages Jan 13, 2014 – Jan 15, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 vpe-vpdma: Package for VPE DMA FW and test app

* This recipe will create the firmware and test application packages.

---
 recipes-bsp/ti/vpe-vpdma_git.bb |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 recipes-bsp/ti/vpe-vpdma_git.bb
recipes-bsp/ti/vpe-vpdma_git.bb new file +29 -0
new file mode 100644
index 0000000..d506791
@@ -0,0 +1,29 @@
+DESCRIPTION = "VPE VPDMA firmware and test program"
+
+DEPENDS += "virtual/kernel"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
+
+COMPATIBLE_MACHINE = "dra7xx-evm"
+
+PV = "1b8"
+PR = "r0"
+
+SRCREV = "24a5487ec13bf560f0e7fb24a9d4747f9f358be2"
+BRANCH ?= "master"
+
+SRC_URI = "git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+# The test application needs additional include headers from the kernel
+EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"'
+
+do_install() {
+    oe_runmake DESTDIR="${D}" install
+}
+
+# Separate the firmware into it's own package.
+PACKAGES =+ "${PN}-fw"
+FILES_${PN}-fw += "${base_libdir}/firmware"
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/3 linux-ti-staging: Add dependency for VPE firmware

* The VPE firmware should only be added for the dra7xx-evm machine type since that is the device with the VPE IP.

---
 conf/machine/include/omap-a15.inc             |    2 +-
 recipes-kernel/linux/linux-ti-staging_3.12.bb |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)
conf/machine/include/omap-a15.inc +1 -1
index 308b2e4..b0a0e74 100644
@@ -4,7 +4,7 @@ require conf/machine/include/soc-family.inc
 require conf/machine/include/tune-cortexa15.inc
 
 # Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r2"
+MACHINE_KERNEL_PR = "r3"
 
 PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
 PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
recipes-kernel/linux/linux-ti-staging_3.12.bb +4 -0
index cb3eabc..7d5439e 100644
@@ -16,6 +16,10 @@ RDEPENDS_kernel-base += "kernel-devicetree"
 RDEPENDS_kernel-base_append_ti33x = " am33x-cm3 am33x-cm3-initscript"
 RDEPENDS_kernel-base_append_ti43x = " am33x-cm3 am33x-cm3-initscript"
 
+# 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"
+
 # Default is to package all dtb files for ti33x devices unless building
 # for the specific beaglebone machine.
 KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb"
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 3/3 Graphics SDK: Add 5.01.00.01 version

In reply to Chase Maupin

* Add the 5.01.00.01 version of the graphics SDK which supports suspend/resume operations for the v3.12 and later kernels.
* Set DEFAULT_PREFERENCE to -1 until this release is made publicly

---
 ...00.00.01.bb => omap3-sgx-modules_5.01.00.01.bb} |   10 ++++++----
 .../rc.pvr                                         |    0
 .../rc_dri.pvr                                     |    0
 ...3_5.00.00.01.bb => libgles-omap3_5.01.00.01.bb} |   10 ++++++----
 4 files changed, 12 insertions(+), 8 deletions(-)
 copy recipes-bsp/powervr-drivers/{omap3-sgx-modules_5.00.00.01.bb => omap3-sgx-modules_5.01.00.01.bb} (88%)
 copy recipes-graphics/libgles/{libgles-omap3-5.00.00.01 => libgles-omap3-5.01.00.01}/rc.pvr (100%)
 copy recipes-graphics/libgles/{libgles-omap3-5.00.00.01 => libgles-omap3-5.01.00.01}/rc_dri.pvr (100%)
 copy recipes-graphics/libgles/{libgles-omap3_5.00.00.01.bb => libgles-omap3_5.01.00.01.bb} (83%)
recipes-bsp/powervr-drivers/omap3-sgx-modules_5.01.00.01.bb renamed from recipes-bsp/powervr-drivers/omap3-sgx-modules_5.00.00.01.bb +6 -4
similarity index 88%
copy from recipes-bsp/powervr-drivers/omap3-sgx-modules_5.00.00.01.bb
copy to recipes-bsp/powervr-drivers/omap3-sgx-modules_5.01.00.01.bb
index e18ce0c..9ffe832 100644
@@ -5,17 +5,19 @@ LIC_FILES_CHKSUM = "file://GPL-COPYING;md5=60422928ba677faaa13d6ab5f5baaa1e"
 TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
 require ../../recipes-ti/includes/ti-eula-unpack.inc
 
-SGXPV = "5_00_00_01"
+SGXPV = "5_01_00_01"
 IMGPV = "1.10.2359475"
 
+DEFAULT_PREFERENCE = "-1"
+
 inherit module
 
 MACHINE_KERNEL_PR_append = "a"
 PR = "${MACHINE_KERNEL_PR}"
 
-BINFILE_HARDFP = "Graphics_SDK_setuplinux_${SGXPV}_alpha_hardfp_minimal_demos.bin"
-MD5SUM_HARDFP = "ae6125d7f8a313ea5c02afded893052d"
-SHA256SUM_HARDFP = "c2782a2f85024741722b936ec9dca66b858ae8561aa71b693f11e12d8c0385e0"
+BINFILE_HARDFP = "Graphics_SDK_setuplinux_hardfp_${SGXPV}.bin"
+MD5SUM_HARDFP = "0ee7d59808330d442a51c0990c2cb30e"
+SHA256SUM_HARDFP = "769daae439677a7a85bbbced14cee4f85b19823e0b99560078d0a864c525c128"
 
 # For now we only have hardfp version
 python __anonymous() {
recipes-graphics/libgles/libgles-omap3-5.01.00.01/rc.pvr renamed from recipes-graphics/libgles/libgles-omap3-5.00.00.01/rc.pvr +0 -0
similarity index 100%
copy from recipes-graphics/libgles/libgles-omap3-5.00.00.01/rc.pvr
copy to recipes-graphics/libgles/libgles-omap3-5.01.00.01/rc.pvr
recipes-graphics/libgles/libgles-omap3-5.01.00.01/rc_dri.pvr renamed from recipes-graphics/libgles/libgles-omap3-5.00.00.01/rc_dri.pvr +0 -0
similarity index 100%
copy from recipes-graphics/libgles/libgles-omap3-5.00.00.01/rc_dri.pvr
copy to recipes-graphics/libgles/libgles-omap3-5.01.00.01/rc_dri.pvr
recipes-graphics/libgles/libgles-omap3_5.01.00.01.bb renamed from recipes-graphics/libgles/libgles-omap3_5.00.00.01.bb +6 -4
similarity index 83%
copy from recipes-graphics/libgles/libgles-omap3_5.00.00.01.bb
copy to recipes-graphics/libgles/libgles-omap3_5.01.00.01.bb
index e48ec63..97ccd54 100644
@@ -13,14 +13,16 @@ BINLOCATION_ti43x = "${S}/gfx_rel_es9.x"
 PLATFORM = "LinuxARMV7"
 PVR_INIT = "pvrsrvctl"
 
-SGXPV = "5_00_00_01"
+SGXPV = "5_01_00_01"
 IMGPV = "1.10.2359475"
 
+DEFAULT_PREFERENCE = "-1"
+
 TI_BIN_UNPK_WDEXT := "/Graphics_SDK_${SGXPV}"
 
-BINFILE_HARDFP = "Graphics_SDK_setuplinux_${SGXPV}_alpha_hardfp_minimal_demos.bin"
-MD5SUM_HARDFP = "ae6125d7f8a313ea5c02afded893052d"
-SHA256SUM_HARDFP = "c2782a2f85024741722b936ec9dca66b858ae8561aa71b693f11e12d8c0385e0"
+BINFILE_HARDFP = "Graphics_SDK_setuplinux_hardfp_${SGXPV}.bin"
+MD5SUM_HARDFP = "0ee7d59808330d442a51c0990c2cb30e"
+SHA256SUM_HARDFP = "769daae439677a7a85bbbced14cee4f85b19823e0b99560078d0a864c525c128"
 
 # For now we only have hardfp version
 python __anonymous() {
Signature · 1 line
1.7.0.4
#3 lore raw
In reply to Chase Maupin
Quoted 18 lines · Chase Maupin

* This recipe will create the firmware and test application packages.

---
 recipes-bsp/ti/vpe-vpdma_git.bb |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 recipes-bsp/ti/vpe-vpdma_git.bb
recipes-bsp/ti/vpe-vpdma_git.bb new file +3 -0
new file mode 100644
index 0000000..d506791
@@ -0,0 +1,29 @@
+DESCRIPTION = "VPE VPDMA firmware and test program"
+
+DEPENDS += "virtual/kernel"

recipes-bsp/ti/vpe-vpdma_git.bb line 13

Quoted 10 lines
recipes-bsp/ti/vpe-vpdma_git.bb new file +10 -0
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
+
+COMPATIBLE_MACHINE = "dra7xx-evm"
+
+PV = "1b8"
+PR = "r0"
+
+SRCREV = "24a5487ec13bf560f0e7fb24a9d4747f9f358be2"

The repo seems to have been rebased and this commit is nowhere to be found, resulting in breakage...

Quoted 24 lines
recipes-bsp/ti/vpe-vpdma_git.bb new file +16 -0
+BRANCH ?= "master"
+
+SRC_URI = "git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+# The test application needs additional include headers from the kernel
+EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"'
+
+do_install() {
+    oe_runmake DESTDIR="${D}" install
+}
+
+# Separate the firmware into it's own package.
+PACKAGES =+ "${PN}-fw"
+FILES_${PN}-fw += "${base_libdir}/firmware"
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti