Skip to contentSkip to conversation

ti-pru-sw-app-loader: Port ti-pru-sw-app-loader from Arago

PATCH In review [email protected] 2 participants 21 messages Feb 17, 2013 – Feb 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/20 ti-pru-sw-app-loader: Port ti-pru-sw-app-loader from Arago

From: Franklin S. Cooper Jr <[email protected]>

* Add PRU sw application loader recipe for the omapl138 machines

* This recipe builds the PRU application loader that is used to load a binary to the PRU's memory and manage the code executed in the PRU from the user space.

---
 .../ti-pru-sw-app-loader_1.00.00.bb                |   25 ++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/ti-pru-sw-app-loader/ti-pru-sw-app-loader_1.00.00.bb
meta-arago-extras/recipes-core/ti-pru-sw-app-loader/ti-pru-sw-app-loader_1.00.00.bb new file +25 -0
new file mode 100644
index 0000000..59e7562
@@ -0,0 +1,25 @@
+DESCRIPTION = "PRU sw application loader"
+HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://interface/prussdrv.c;beginline=1;endline=47;md5=6012fea45c1fbced663277bc90d2163a"
+
+RRECOMMENDS_${PN} = "kernel-module-uio-pru"
+PR = "r0+svnr${SRCPV}"
+
+COMPATIBLE_MACHINE = "omapl138"
+
+SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;protocol=https;user=anonymous;pswd=''"
+
+SRCREV = "33"
+S = "${WORKDIR}/trunk/app_loader"
+
+do_compile () {
+        make -C ${S}/interface CCTOOL_PREFIX=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}
+}
+
+do_install () {
+        install -d ${D}${libdir}
+        install -d ${D}${includedir}
+        install -m 0644 ${S}/include/* ${D}${includedir}
+        install -m 0644 ${S}/lib/* ${D}${libdir}
+}
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/20 ti-pru-sw-edma-library: Port recipe from Arago

From: Franklin S. Cooper Jr <[email protected]>

* Add PRU sw edma library recipe from Arago
* This recipe builds and stages the edma user space libraries for use by the PRU software.

---
 .../ti-pru-sw-edma-library_1.00.00.bb              |   29 ++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/ti-pru-sw-edma-library/ti-pru-sw-edma-library_1.00.00.bb
meta-arago-extras/recipes-core/ti-pru-sw-edma-library/ti-pru-sw-edma-library_1.00.00.bb new file +29 -0
new file mode 100644
index 0000000..613962e
@@ -0,0 +1,29 @@
+DESCRIPTION = "eDMA library for use by PRU sw example applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://edma.c;beginline=1;endline=46;md5=f6bde95a8e2277050e36b257ca9214a6"
+
+DEPENDS += "virtual/kernel"
+
+RDEPENDS_${PN} += "ti-pru-sw-edma-driver"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "omapl138"
+
+MACHINE_KERNEL_PR_append = "a+svnr${SRCPV}"
+PR = "${MACHINE_KERNEL_PR}"
+
+SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;protocol=https;user=anonymous;pswd=''"
+
+SRCREV = "33"
+S = "${WORKDIR}/trunk/peripheral_lib/edma_driver/interface"
+
+do_compile () {
+	oe_runmake KERNEL_DIR="${STAGING_KERNEL_DIR}" CCTOOL_PREFIX=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}
+}
+
+do_install () {
+	install -d ${D}/${libdir}
+	install -m 0755 ${S}/../lib/libedmautils.a ${D}/${libdir}/
+}
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 3/20 ti-pru-sw-examples: Port PRU SW example from Arago

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* Add PRU SW example recipe
* Ti-pru-sw-example recipe builds examples that demonstrate the use of the am180x-evm PRU.

---
 .../ti-pru-sw-examples_1.00.00.bb                  |   30 ++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/ti-pru-sw-examples/ti-pru-sw-examples_1.00.00.bb
meta-arago-extras/recipes-core/ti-pru-sw-examples/ti-pru-sw-examples_1.00.00.bb new file +30 -0
new file mode 100644
index 0000000..ee62d89
@@ -0,0 +1,30 @@
+DESCRIPTION = "PRU sw example applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=c4fd8ee7443c1b2b6238b4b5df796481"
+DEPENDS = "ti-pru-sw-app-loader ti-pru-sw-edma-library"
+RDEPENDS_${PN} = "ti-pru-sw-edma-driver"
+PR = "r0+svnr${SRCPV}"
+
+COMPATIBLE_MACHINE = "am180x-evm"
+
+SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;protocol=https;user=anonymous;pswd=''"
+
+SRCREV = "33"
+S = "${WORKDIR}/trunk"
+
+do_compile () {
+        make -C ${S}/example_apps \
+          CCTOOLS="${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"\
+          BINDIR_APPLICATIONS="${S}/example_apps/bin" \
+          BINDIR_FW="${S}/example_apps/bin" \
+          UTILS_DIR="${S}/utils"
+}
+
+do_install () {
+        install -d ${D}/usr/share/ti/ti-pru-eg/
+        install -m 0755 ${S}/example_apps/bin/* ${D}/usr/share/ti/ti-pru-eg/
+}
+
+FILES_${PN} += "${datadir}/ti/ti-pru-eg/*"
+FILES_${PN}-dbg += "${datadir}/ti/ti-pru-eg/.debug/*"
Signature · 1 line
1.7.0.4
#3 lore raw

PATCH 4/20 packagegroup-arago-tisdk-matrix: Add PRU Matrix demos for am180x-evm

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

---
 .../packagegroup-arago-tisdk-matrix.bb             |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb +2 -1
index 4c41265..e94c72b 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to include Matrix v2"
 LICENSE = "MIT"
-PR = "r9"
+PR = "r10"
 
 inherit packagegroup
 
@@ -96,6 +96,7 @@ MATRIX_APPS_append_am180x-evm = "   \
     matrix-gui-bluetooth-demos      \
     matrix-gui-wifi-direct-demo     \
     matrix-gui-wifi-battleship-demo \
+    matrix-gui-pru-demos            \
 "
 
 RDEPENDS_${PN} = "        \
Signature · 1 line
1.7.0.4
#4 lore raw

PATCH 5/20 arago-source-ipk: Enable CREATE_SRCIPK for linux-omapl138-psp recipe

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

---
 .../conf/distro/arago-source-ipk.conf              |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
meta-arago-distro/conf/distro/arago-source-ipk.conf +4 -0
index d23e564..bc5ff59 100644
@@ -112,6 +112,10 @@ SRCIPK_INSTALL_DIR_pn-x-load = "board-support/x-load-${XVER}-psp${PSPREL}"
 SRCIPK_INSTALL_DIR_pn-x-load_beagleboard = "board-support/${P}"
 SRCIPK_PACKAGE_ARCH_pn-x-load = "${MACHINE_ARCH}"
 
+CREATE_SRCIPK_pn-linux-omapl138-psp = "1"
+SRCIPK_INSTALL_DIR_pn-linux-omapl138-psp = "board-support/linux-${KVER}-psp${PSPREL}"
+SRCIPK_PACKAGE_ARCH_pn-linux-omapl138-psp = "${MACHINE_ARCH}"
+
 CREATE_SRCIPK_pn-linux-omap3 = "1"
 SRCIPK_INSTALL_DIR_pn-linux-omap3 = "board-support/linux-${KVER}-psp${PSPREL}"
 SRCIPK_PACKAGE_ARCH_pn-linux-omap3 = "${MACHINE_ARCH}"
Signature · 1 line
1.7.0.4
#5 lore raw

PATCH 6/20 linux-omapl138-psp_2.6.37: Add sourceipk variables

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* Set variables for sourceipk
* Add empty file to disable multikernel stuff

---
 .../linux/linux-omapl138-psp_2.6.37.bbappend       |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-omapl138-psp-2.6.37/am180x-evm/configs/empty
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-omapl138-psp_2.6.37.bbappend
meta-arago-distro/recipes-kernel/linux/linux-omapl138-psp-2.6.37/am180x-evm/configs/empty new file +0 -0
new file mode 100644
index 0000000..e69de29
meta-arago-distro/recipes-kernel/linux/linux-omapl138-psp_2.6.37.bbappend new file +10 -0
new file mode 100644
index 0000000..e8b0606
@@ -0,0 +1,10 @@
+MACHINE_KERNEL_PR_append = "-arago0"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
+
+# KVER is used by arago-source-ipk.conf
+KVER = "2.6.37"
+PSPREL = "03.21.00.04.sdk"
+
+require copy-defconfig.inc
+require setup-defconfig.inc
Signature · 1 line
1.7.0.4
#6 lore raw

PATCH 7/20 arago.conf: Use SDK supported kernel for am180x-evm

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

---
 meta-arago-distro/conf/distro/arago.conf |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
meta-arago-distro/conf/distro/arago.conf +4 -0
index aa08fe0..031dee4 100644
@@ -61,6 +61,10 @@ PREFERRED_VERSION_virtual/kernel_am335x-evm = "3.2.0-psp05.06.00.00"
 # Use the SDK supported u-boot version
 PREFERRED_VERSION_u-boot_am335x-evm = "2012.10-psp05.06.00.00"
 
+PREFERRED_VERSION_linux-omapl138-psp_am180x-evm = "2.6.37"
+PREFERRED_PROVIDER_virtual/kernel_am180x-evm = "linux-omapl138-psp"
+
+
 # Pin down udev version from oe-core, as meta-oe pulls in newer systemd-enhanced version
 PREFERRED_VERSION_udev = "164"
 PREFERRED_PROVIDER_udev = "udev"
Signature · 1 line
1.7.0.4
#7 lore raw

PATCH 8/20 arago.conf: Use SDK support u-boot for am180x-evm

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

---
 meta-arago-distro/conf/distro/arago.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta-arago-distro/conf/distro/arago.conf +1 -0
index 031dee4..22c8a0e 100644
@@ -63,6 +63,7 @@ PREFERRED_VERSION_u-boot_am335x-evm = "2012.10-psp05.06.00.00"
 
 PREFERRED_VERSION_linux-omapl138-psp_am180x-evm = "2.6.37"
 PREFERRED_PROVIDER_virtual/kernel_am180x-evm = "linux-omapl138-psp"
+PREFERRED_VERSION_u-boot_am180x-evm = "2010.12-psp03.21.00.04.sdk"
 
 
 # Pin down udev version from oe-core, as meta-oe pulls in newer systemd-enhanced version
Signature · 1 line
1.7.0.4
#8 lore raw

PATCH 9/20 arago.conf: Set machines to use linux-libc-headers version 2.6.37.2

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* Set machines to use linux-libc-headers version 2.6.37.2 if they are using an older kernel.

---
 meta-arago-distro/conf/distro/arago.conf |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
meta-arago-distro/conf/distro/arago.conf +3 -0
index 22c8a0e..0a1c2a4 100644
@@ -65,6 +65,9 @@ PREFERRED_VERSION_linux-omapl138-psp_am180x-evm = "2.6.37"
 PREFERRED_PROVIDER_virtual/kernel_am180x-evm = "linux-omapl138-psp"
 PREFERRED_VERSION_u-boot_am180x-evm = "2010.12-psp03.21.00.04.sdk"
 
+PREFERRED_VERSION_linux-libc-headers_am180x-evm = "2.6.37.2"
+PREFERRED_VERSION_linux-libc-headers_am37x-evm = "2.6.37.2"
+PREFERRED_VERSION_linux-libc-headers_am3517-evm = "2.6.37.2"
 
 # Pin down udev version from oe-core, as meta-oe pulls in newer systemd-enhanced version
 PREFERRED_VERSION_udev = "164"
Signature · 1 line
1.7.0.4
#9 lore raw

PATCH 10/20 matrix-gui-apps-git.inc: Add additional Graphics demos

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* Pull in new images, .desktops and scripts for the new Graphics demos provided by the Graphics minimal sdk.

---
 .../recipes-core/matrix/matrix-gui-apps-git.inc    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc +2 -2
index 823f0e7..f4d480e 100644
@@ -4,9 +4,9 @@ LICENSE_CHECKSUM = "LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
 LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}"
 
 SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=${BRANCH}"
-SRCREV = "4a5a56fff71ff83880204eac43514f686e251de6"
+SRCREV = "6a76c32dd0764825c4f4c8259d09299e8a15ea5e"
 BRANCH = "master"
-INC_PR = "r10"
+INC_PR = "r11"
 
 # Pull in the base package for installing matrix applications
 require matrix-gui-apps.inc
Signature · 1 line
1.7.0.4
#10 lore raw

PATCH 11/20 matrix-gui-3d-demos: Split out Graphics demos

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* Create separate packages to allow each demo to be pulled in individually.

---
 .../recipes-core/matrix/matrix-gui-3d-demos_2.0.bb |   40 ++++++++++++++++++-
 1 files changed, 37 insertions(+), 3 deletions(-)
meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb +37 -3
index d40e0d6..e1c3023 100644
@@ -4,7 +4,7 @@ LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 S = "${WORKDIR}/git/3d_apps"
 
@@ -15,6 +15,40 @@ S = "${WORKDIR}/git/3d_apps"
 #       to the matrix-gui-submenus-3d dependency.  So if matrix v2 moves
 #       into the same layer as libgles this may be acceptable, or perhaps
 #       we can use an RRECOMMENDS instead.
-RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-3d libgles-omap3-rawdemos"
 
-FILES_${PN} += "${MATRIX_BASE_DIR}/*"
+PACKAGES = "matrix-3d-demo-chameleon \
+            matrix-3d-demo-coverflow \
+            matrix-3d-demo-film      \
+            matrix-3d-demo-lantern   \
+            matrix-3d-demo-skull     \
+            matrix-3d-demo-shaders   \
+            matrix-3d-demo-vase      \
+"
+
+3D_DEMOS_RDEPENDS = "matrix-gui-apps-images matrix-gui-submenus-3d libgles-omap3-rawdemos"
+
+RDEPENDS_matrix-3d-demo-chameleon = "${3D_DEMOS_RDEPENDS}"
+RDEPENDS_matrix-3d-demo-coverflow = "${3D_DEMOS_RDEPENDS}"
+RDEPENDS_matrix-3d-demo-film      = "${3D_DEMOS_RDEPENDS}"
+RDEPENDS_matrix-3d-demo-lantern   = "${3D_DEMOS_RDEPENDS}"
+RDEPENDS_matrix-3d-demo-skull     = "${3D_DEMOS_RDEPENDS}"
+RDEPENDS_matrix-3d-demo-shaders   = "${3D_DEMOS_RDEPENDS}"
+RDEPENDS_matrix-3d-demo-vase      = "${3D_DEMOS_RDEPENDS}"
+
+# Split the matrix files by 3d demos
+FILES_matrix-3d-demo-chameleon = "${MATRIX_APP_DIR}/3d_chameleon/*"
+FILES_matrix-3d-demo-coverflow = "${MATRIX_APP_DIR}/3d_coverflow/*"
+FILES_matrix-3d-demo-film      = "${MATRIX_APP_DIR}/3d_film/*"
+FILES_matrix-3d-demo-lantern   = "${MATRIX_APP_DIR}/3d_lantern/*"
+FILES_matrix-3d-demo-skull     = "${MATRIX_APP_DIR}/3d_skull/*"
+FILES_matrix-3d-demo-shaders   = "${MATRIX_APP_DIR}/3d_shaders/*"
+FILES_matrix-3d-demo-vase      = "${MATRIX_APP_DIR}/3d_vase/*"
+
+# Split the ${bindir} files by 3d demos
+FILES_matrix-3d-demo-chameleon += "${bindir}/runOGLES2ChameleonMan.sh"
+FILES_matrix-3d-demo-coverflow += "${bindir}/runOGLES2Coverflow.sh"
+FILES_matrix-3d-demo-film      += "${bindir}/runOGLESFilmTV.sh"
+FILES_matrix-3d-demo-lantern   += "${bindir}/runOGLES2MagicLantern.sh"
+FILES_matrix-3d-demo-skull     += "${bindir}/runOGLESEvilSkull.sh"
+FILES_matrix-3d-demo-shaders   += "${bindir}/runOGLES2Shaders.sh"
+FILES_matrix-3d-demo-vase      += "${bindir}/runOGLESVase.sh"
Signature · 1 line
1.7.0.4
#11 lore raw

PATCH 12/20 packagegroup-arago-tisdk-matrix: Select Graphics demos to use

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* Now that the SDK is only using a select set of Graphics demos we need to pull in individually the demos we want to use.

---
 .../packagegroup-arago-tisdk-matrix.bb             |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb +9 -3
index e94c72b..637ec5b 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to include Matrix v2"
 LICENSE = "MIT"
-PR = "r10"
+PR = "r11"
 
 inherit packagegroup
 
@@ -36,13 +36,19 @@ MATRIX_QT_APPS_keystone = ""
 MATRIX_APPS = ""
 
 MATRIX_APPS_append_omap3 = "        \
-    matrix-gui-3d-demos             \
+    matrix-3d-demo-chameleon        \
+    matrix-3d-demo-film             \
+    matrix-3d-demo-lantern          \
+    matrix-3d-demo-skull            \
     matrix-gui-multimedia-demos     \
 "
 
 MATRIX_APPS_append_ti33x = "        \
     matrix-gui-ethernet-demos       \
-    matrix-gui-3d-demos             \
+    matrix-3d-demo-chameleon        \
+    matrix-3d-demo-film             \
+    matrix-3d-demo-lantern          \
+    matrix-3d-demo-skull            \
     matrix-gui-multimedia-demos     \
                                     \
     matrix-gui-clocks-275mhz        \
Signature · 1 line
1.7.0.4
#12 lore raw

PATCH 13/20 arm-benchmarks: Move makefiles into ARCH directory

In reply to [email protected]

From: Jeff Lance <[email protected]>

* Moving makefile into Architecture directory making it possible to install only one ARCH on a target system.

---
 .../arm-benchmarks/arm-benchmarks_1.3.bb           |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb +4 -5
index b19c1ed..0e4ae85 100644
@@ -4,25 +4,24 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=7aefb5e1cffc7b6a3ef18b803f957922"
 SECTION = "system"
 
-PR = "r3"
+PR = "r4"
 
 BRANCH ?= "master"
-SRCREV = "e9fbf7990e93d97e7471e509626969d244cca214"
+SRCREV = "f78411fbd9cb81c36c7067a74fd415ce7ce45dc4"
 
 SRC_URI = "git://gitorious.org/arm_benchmarks/arm_benchmarks.git;protocol=git;branch=${BRANCH}"
 
 S = "${WORKDIR}/git"
 
 PLATFORM_ARCH = "${ARMPKGARCH}"
-# Use ARCH format expected by the makefile
 PLATFORM_ARCH_omapl138 = "armv5te"
 
 do_compile() {
 	export CROSS_COMPILE=${TARGET_PREFIX}
 	# build the release version
-	make ARCH=${PLATFORM_ARCH} release
+	oe_runmake -C ${PLATFORM_ARCH} release
 }
 
 do_install() {
-	make ARCH=${PLATFORM_ARCH} DESTDIR=${D} install
+	oe_runmake -C ${PLATFORM_ARCH} DESTDIR=${D} install
 }
Signature · 1 line
1.7.0.4
#13 lore raw

PATCH 14/20 arm-benchmarks: Package sources for the right architecture.

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* Instead of packaging the sources for armv5te and armv7a package the sources depending on the device.

---
 .../arm-benchmarks/arm-benchmarks_1.3.bbappend     |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bbappend
meta-arago-distro/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bbappend new file +3 -0
new file mode 100644
index 0000000..bdd9124
@@ -0,0 +1,3 @@
+PR_append = "-arago0"
+
+SRCIPK_SRC_DIR = "${S}/${PLATFORM_ARCH}"
Signature · 1 line
1.7.0.4
#14 lore raw

PATCH 15/20 arm-benchmarks: Update Rules.make relative path

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* Pull in the change that updates the Rule.make relative path within the Makefiles.
* Since the sources are packaged up differently the files have been moved.

---
 .../arm-benchmarks/arm-benchmarks_1.3.bb           |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb +2 -2
index 0e4ae85..af677d1 100644
@@ -4,10 +4,10 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=7aefb5e1cffc7b6a3ef18b803f957922"
 SECTION = "system"
 
-PR = "r4"
+PR = "r5"
 
 BRANCH ?= "master"
-SRCREV = "f78411fbd9cb81c36c7067a74fd415ce7ce45dc4"
+SRCREV = "9b7b4fbde8fcf796a23da2a464dbf934e550f6c9"
 
 SRC_URI = "git://gitorious.org/arm_benchmarks/arm_benchmarks.git;protocol=git;branch=${BRANCH}"
 
Signature · 1 line
1.7.0.4
#15 lore raw

PATCH 16/20 meta-toolchain-arago: Create shell stub for gdb

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* PYTHONHOME and PYTHONPATH variable causes various problems in the environment-setup file.
* Since it is only needed by gdb resurrect the shell stub concept and place those environment variables in there for gdb.

---
 .../recipes-core/meta/meta-toolchain-arago.bb      |   22 +++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)
meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb +21 -1
index 863e0ef..e683f9a 100644
@@ -5,7 +5,7 @@ TOOLCHAIN_CLEANUP_PACKAGES ?= ""
 
 require recipes-core/meta/meta-toolchain.bb
 
-PR = "r19"
+PR = "r20"
 
 SDKTARGETSYSROOT = "${SDKPATH}/${ARAGO_TARGET_SYS}"
 
@@ -57,12 +57,32 @@ toolchain_create_sdk_env_script () {
 	echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
 }
 
+create_shell_stub () {
+	i=$1
+	mv $i $i.real
+	printf "#!/bin/sh\nif [ -n \x22\x24BASH_SOURCE\x22 ]; then\n" > $i
+	printf "\tfilename\x3D\x60echo \x24\x7BBASH_SOURCE\x23\x23\x2A\x2F\x7D\x60\n" >> $i
+	printf "\tdirname\x3D\x24\x7BBASH_SOURCE\x2F\x25\x24filename\x2F\x7D\n" >> $i
+	printf "\t\x2E \x24dirname\x2E\x2E\x2Fenvironment-setup\n" >> $i
+	printf "fi\n" >> $i
+
+	if [ "$2" == "yes" ]; then
+		echo 'export PYTHONHOME=$SDK_PATH' >> $i
+		echo 'export PYTHONPATH=lib/python2.7' >> $i
+	fi
+	printf "LD_LIBRARY_PATH=\x24SDK_PATH/lib:\x24LD_LIBRARY_PATH \x24SDK_PATH/lib/ld-linux.so.2 \x24SDK_PATH/bin/$i.real \x24\x2a\n" >> $i
+	chmod +x $i
+}
+
 populate_sdk_ipk_append () {
 	# Remove broken .la files
 	for i in `find ${SDK_OUTPUT}/${SDKPATH} -name \*.la`; do
 		rm -f $i
 	done
 
+	cd ${SDK_OUTPUT}/${SDKPATH}/bin
+	${@base_conditional('PREFERRED_PROVIDER_gdb-cross-canadian-arm', 'external-arago-sdk-toolchain', '', 'create_shell_stub ${TARGET_PREFIX}gdb yes', d)}
+
 	cleanup_toolchain_packages
 
 	mkdir -p "${SDK_OUTPUT}/${SDKPATHNATIVE}${prefix_nativesdk}/lib/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}"
Signature · 1 line
1.7.0.4
#16 lore raw

PATCH 17/20 nativesdk-packagegroup-arago-sdk-host: Fix No module named distutils

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* Fix "ImportError: No module named distutils" error by adding missing package.

---
 .../nativesdk-packagegroup-arago-sdk-host.bb       |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-sdk-host.bb +2 -1
index a6c89fd..1db12aa 100644
@@ -1,5 +1,5 @@
 DESCRIPTION = "Host packages for a standalone Arago SDK or external toolchain"
-PR = "r3"
+PR = "r4"
 LICENSE = "MIT"
 
 inherit nativesdk packagegroup
@@ -8,4 +8,5 @@ RDEPENDS_${PN} = "\
     nativesdk-pkgconfig \
     nativesdk-opkg \
     nativesdk-libtool \
+    nativesdk-python-distutils \
     "
Signature · 1 line
1.7.0.4
#17 lore raw

PATCH 18/20 libav: Remove AC3 and DTS

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* Remove additional references to software that might have patent or license issues surrounding it.

---
 .../recipes-multimedia/libav/libav_0.8.3.bbappend  |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
meta-arago-distro/recipes-multimedia/libav/libav_0.8.3.bbappend +13 -1
index 525b546..f33cc54 100644
@@ -1,4 +1,4 @@
-PR_append = "-arago0"
+PR_append = "-arago1"
 
 # Disable features that have potential commercial licensing restrictions
 EXTRA_OECONF += "\
@@ -22,4 +22,16 @@ EXTRA_OECONF += "\
     --disable-muxer=mpeg2svcd \
     --disable-muxer=mpeg2video \
     --disable-muxer=mpeg2vob \
+                            \
+    --disable-encoder=ac3_fixed \
+    --disable-encoder=ac3 \
+    --disable-decoder=ac3 \
+    --disable-decoder=eac3 \
+    --disable-demuxer=ac3 \
+    --disable-demuxer=eac3 \
+    --disable-demuxer=dts \
+    --disable-muxer=ac3 \
+    --disable-muxer=eac3 \
+    --disable-muxer=dts \
+    --disable-parser=ac3 \
 "
Signature · 1 line
1.7.0.4
#18 lore raw

PATCH 19/20 pinmux-utility: Add new Pinmux Utility

In reply to [email protected]

From: Michael Tadyshak <[email protected]>

* Add new Pinmux Utility that adds am335x silicon 2.1 support
* Remove external license file since the zip file now contains one

---
 .../pinmux-utility/pinmux-utility_2.4.1.0.bb       |   34 --------------------
 .../pinmux-utility/pinmux-utility_2.5.2.0.bb       |   24 ++++++++++++++
 2 files changed, 24 insertions(+), 34 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2.4.1.0.bb
 create mode 100644 meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2.5.2.0.bb
meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2.4.1.0.bb deleted +0 -34
deleted file mode 100644
index c34f9fd..0000000
@@ -1,34 +0,0 @@
-DESCRIPTION = "Texas Instruments Pinmux Utility"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2b328fcf0477d688d8b85f7310f9e6b9"
-COMPATIBLE_MACHINE = "am335x-evm|am37x-evm|am3517-evm|beagleboard"
-
-PR = "r0"
-
-SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/850/5562/PinMuxUtility_v2_04_01_00.zip;name=base;subdir=${P}"
-
-# Temporarily add LICENSE file here since zip files don't contain any license information. This file was grabbed
-# from the License Agreement screen when installing this application.
-SRC_URI += "file://LICENSE"
-
-SRC_URI[base.md5sum] = "f65ec03bbbb9e14126ac8ce2795acede"
-SRC_URI[base.sha256sum] = "a95fe1b436419bf97bfdcc0b7ce95e497558ad81190d95dc0869ef9fc794094c"
-
-S = "${WORKDIR}/${P}"
-
-do_unpack_extra() {
-    mv ${WORKDIR}/LICENSE ${WORKDIR}/${P}
-}
-
-addtask unpack_extra after do_unpack before do_patch
-
-installdir = "host-tools/pinmux_utils/windows"
-
-do_install() {
-    install -d ${D}/${installdir}
-    install ${S}/Pin_Mux_Utility.msi ${D}/${installdir}
-    install ${S}/setup.exe ${D}/${installdir}
-    install ${S}/Release_Notes.txt ${D}/${installdir}
-}
-
-FILES_${PN} += "${installdir}/*"
meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2.5.2.0.bb new file +24 -0
new file mode 100644
index 0000000..51c6571
@@ -0,0 +1,24 @@
+DESCRIPTION = "Texas Instruments Pinmux Utility"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d69a4aafe4f7b66d5f9c60d6875ebd52"
+COMPATIBLE_MACHINE = "am335x-evm|am37x-evm|am3517-evm|beagleboard"
+
+PR = "r0"
+
+SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/1019/6393/PinMuxUtility_v2_05_02_00.zip;name=base;subdir=${P}"
+
+SRC_URI[base.md5sum] = "5a5cb5e9a5361fcb244a4b685872fe6b"
+SRC_URI[base.sha256sum] = "93b8dfd726dd614aad9c2b0bb9ffc0abbd47e1c2900c3f411be7433c6d04fd2a"
+
+S = "${WORKDIR}/${P}"
+
+installdir = "host-tools/pinmux_utils/windows"
+
+do_install() {
+    install -d ${D}/${installdir}
+    install ${S}/Pin_Mux_Utility.msi ${D}/${installdir}
+    install ${S}/setup.exe ${D}/${installdir}
+    install ${S}/Release_Notes.txt ${D}/${installdir}
+}
+
+FILES_${PN} += "${installdir}/*"
Signature · 1 line
1.7.0.4
#19 lore raw

Re: [PATCH 19/20] pinmux-utility: Add new Pinmux Utility

FYI although the recipes are similar using -M95% still didn't allow git to detect that this is a simple rename with some other minor tweaks.

Quoted 109 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Sunday, February 17, 2013 4:53 PM
To: [email protected]
Cc: Tadyshak, Michael; Cooper Jr., Franklin
Subject: [PATCH 19/20] pinmux-utility: Add new Pinmux Utility

From: Michael Tadyshak <[email protected]>

* Add new Pinmux Utility that adds am335x silicon 2.1 support
* Remove external license file since the zip file now contains one

---
 .../pinmux-utility/pinmux-utility_2.4.1.0.bb       |   34 --------------------
 .../pinmux-utility/pinmux-utility_2.5.2.0.bb       |   24 ++++++++++++++
 2 files changed, 24 insertions(+), 34 deletions(-)  delete mode 100644 meta-
arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2.4.1.0.bb
 create mode 100644 meta-arago-extras/recipes-devtools/pinmux-

utility/pinmux-utility_2.5.2.0.bb

(quoted diff) +0 -0

utility_2.4.1.0.bb b/meta-arago-extras/recipes-devtools/pinmux-utility/pinmux- utility_2.4.1.0.bb
deleted file mode 100644
index c34f9fd..0000000
--- a/meta-arago-extras/recipes-devtools/pinmux-utility/pinmux- utility_2.4.1.0.bb
+++ /dev/null

meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2.4.1.0.bb deleted +0 -3
@@ -1,34 +0,0 @@
-DESCRIPTION = "Texas Instruments Pinmux Utility"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM =

"file://LICENSE;md5=2b328fcf0477d688d8b85f7310f9e6b9" -COMPATIBLE_MACHINE = "am335x-evm|am37x-evm|am3517- evm|beagleboard"

meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2.4.1.0.bb deleted +0 -4
-
-PR = "r0"
-
-SRC_URI =

"https://gforge.ti.com/gf/download/frsrelease/850/5562/PinMuxUtility_v2_04_ 01_00.zip;name=base;subdir=${P}"

(quoted diff) +0 -2
-
-# Temporarily add LICENSE file here since zip files don't contain any license

information. This file was grabbed -# from the License Agreement screen when installing this application.

meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2.4.1.0.bb deleted +0 -4
-SRC_URI += "file://LICENSE"
-
-SRC_URI[base.md5sum] = "f65ec03bbbb9e14126ac8ce2795acede"
-SRC_URI[base.sha256sum] =

"a95fe1b436419bf97bfdcc0b7ce95e497558ad81190d95dc0869ef9fc794094c"

meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2.4.1.0.bb deleted +0 -19
-
-S = "${WORKDIR}/${P}"
-
-do_unpack_extra() {
-    mv ${WORKDIR}/LICENSE ${WORKDIR}/${P}
-}
-
-addtask unpack_extra after do_unpack before do_patch
-
-installdir = "host-tools/pinmux_utils/windows"
-
-do_install() {
-    install -d ${D}/${installdir}
-    install ${S}/Pin_Mux_Utility.msi ${D}/${installdir}
-    install ${S}/setup.exe ${D}/${installdir}
-    install ${S}/Release_Notes.txt ${D}/${installdir}
-}
-
-FILES_${PN} += "${installdir}/*"
(quoted diff) +0 -0

utility_2.5.2.0.bb b/meta-arago-extras/recipes-devtools/pinmux-utility/pinmux- utility_2.5.2.0.bb
new file mode 100644
index 0000000..51c6571

meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2 new file +4 -0
+++ .5.2.0.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Texas Instruments Pinmux Utility"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=d69a4aafe4f7b66d5f9c60d6875ebd52" +COMPATIBLE_MACHINE = "am335x-evm|am37x-evm|am3517- evm|beagleboard"

meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2 new file +4 -0
+
+PR = "r0"
+
+SRC_URI =

"https://gforge.ti.com/gf/download/frsrelease/1019/6393/PinMuxUtility_v2_05 _02_00.zip;name=base;subdir=${P}"

meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2 new file +3 -0
+
+SRC_URI[base.md5sum] = "5a5cb5e9a5361fcb244a4b685872fe6b"
+SRC_URI[base.sha256sum] =

"93b8dfd726dd614aad9c2b0bb9ffc0abbd47e1c2900c3f411be7433c6d04fd2a"

meta-arago-extras/recipes-devtools/pinmux-utility/pinmux-utility_2 new file +12 -1
+
+S = "${WORKDIR}/${P}"
+
+installdir = "host-tools/pinmux_utils/windows"
+
+do_install() {
+    install -d ${D}/${installdir}
+    install ${S}/Pin_Mux_Utility.msi ${D}/${installdir}
+    install ${S}/setup.exe ${D}/${installdir}
+    install ${S}/Release_Notes.txt ${D}/${installdir} }
+
+FILES_${PN} += "${installdir}/*"
--

1.7.0.4

#20 lore raw

PATCH 20/20 linux-am335x: "Add Remove check for GP-nly device type in RNG driver" patch

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

---
 ...emove-check-for-GP-only-device-type-in-RN.patch |   29 ++++++++++++++++++++
 .../linux/linux-am335x_3.2.0-psp05.06.00.00.bb     |    3 +-
 2 files changed, 31 insertions(+), 1 deletions(-)
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-omap4-rng-Remove-check-for-GP-only-device-type-in-RN.patch
meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-omap4-rng-Remove-check-for-GP-only-device-type-in-RN.patch new file +29 -0
new file mode 100644
index 0000000..de2d841
@@ -0,0 +1,29 @@
+From 13d5d52eda239b752b249b0f1b3b01b93a890b55 Mon Sep 17 00:00:00 2001
+From: Joel A Fernandes <[email protected]>
+Date: Wed, 13 Feb 2013 15:37:15 -0600
+Subject: [PATCH] omap4-rng: Remove check for GP-only device type in RNG driver
+
+HS devices can support RNG due to recent changes in firewall settings on L4.
+The patch enables RNG support on HS device.
+
+Signed-off-by: Joel A Fernandes <[email protected]>
+---
+ drivers/char/hw_random/omap4-rng.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/char/hw_random/omap4-rng.c b/drivers/char/hw_random/omap4-rng.c
+index 523ec63..9c3b87a 100644
+--- a/drivers/char/hw_random/omap4-rng.c
++++ b/drivers/char/hw_random/omap4-rng.c
+@@ -285,7 +285,7 @@ static struct platform_driver omap4_rng_driver = {
+ 
+ static int __init omap4_rng_init(void)
+ {
+-	if (!cpu_is_am33xx()  || omap_type() != OMAP2_DEVICE_TYPE_GP)
++	if (!cpu_is_am33xx())
+ 		return -ENODEV;
+ 
+ 	return platform_driver_register(&omap4_rng_driver);
+-- 
+1.7.4.1
+
meta-arago-distro/recipes-kernel/linux/linux-am335x_3.2.0-psp05.06.00.00.bb +2 -1
index 5e41d1b..e487f43 100644
@@ -25,7 +25,7 @@ DEPENDS += "am33x-cm3"
 KERNEL_IMAGETYPE = "uImage"
 
 # The main PR is now using MACHINE_KERNEL_PR, for ti33x see conf/machine/include/ti33x.inc
-MACHINE_KERNEL_PR_append = "g+gitr${SRCPV}"
+MACHINE_KERNEL_PR_append = "h+gitr${SRCPV}"
 
 BRANCH = "v3.2-staging"
 
@@ -72,6 +72,7 @@ PATCHES += "file://0001-am33x-Add-memory-addresses-for-crypto-modules.patch \
                 file://0008-crypto-omap4-aes-Don-t-use-hardcoded-base-address.patch \
                 file://0009-ARM-AM33xx-hwmod-Convert-RNG-device-data-to-hwmod.patch \
                 file://0010-hwrng-omap4-rng-Convert-to-use-pm_runtime-API.patch \
+                file://0001-omap4-rng-Remove-check-for-GP-only-device-type-in-RN.patch \
                "
 
 # Add SmartReflex support early driver patches while working to get the driver
Signature · 1 line
1.7.0.4