Skip to contentSkip to conversation

arago-source-ipk.conf: Adjust sourceipk for omap3 kernels

PATCH In review [email protected] 2 participants 12 messages Mar 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/10 arago-source-ipk.conf: Adjust sourceipk for omap3 kernels

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

* The kernel recipe for am3517 and am37x have been renamed to reflect the recipe name already in meta-ti.
* Tweak the sourceipk value to address this change.

---
 .../conf/distro/arago-source-ipk.conf              |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
meta-arago-distro/conf/distro/arago-source-ipk.conf +3 -3
index bc5ff59..88cd21d 100644
@@ -116,9 +116,9 @@ 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}"
+CREATE_SRCIPK_pn-linux-omap-psp = "1"
+SRCIPK_INSTALL_DIR_pn-linux-omap-psp = "board-support/linux-${KVER}-psp${PSPREL}"
+SRCIPK_PACKAGE_ARCH_pn-linux-omap-psp = "${MACHINE_ARCH}"
 
 CREATE_SRCIPK_pn-linux-am335x = "1"
 SRCIPK_INSTALL_DIR_pn-linux-am335x = "board-support/linux-${KVER}"
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/10 linux-omap-psp_2.6.37: Add Arago specific appends

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

* Set variables used by sourceipk.
* Add include files to determine which configs to use.

---
 .../linux/linux-omap-psp_2.6.37.bbappend           |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-omap-psp_2.6.37.bbappend
meta-arago-distro/recipes-kernel/linux/linux-omap-psp_2.6.37.bbappend new file +8 -0
new file mode 100644
index 0000000..c4daac1
@@ -0,0 +1,8 @@
+MACHINE_KERNEL_PR_append = "-arago0"
+
+# KVER is used by arago-source-ipk.conf
+KVER = "2.6.37"
+PSPREL = "04.02.00.07"
+
+require copy-defconfig.inc
+require setup-defconfig.inc
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 3/10 u-boot_2010.12-psp03.21.00.04.sdk: Set sourceipk variables

In reply to [email protected]

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

---
 .../u-boot_2010.12-psp03.21.00.04.sdk.bbappend     |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-bsp/u-boot/u-boot_2010.12-psp03.21.00.04.sdk.bbappend
meta-arago-distro/recipes-bsp/u-boot/u-boot_2010.12-psp03.21.00.04.sdk.bbappend new file +5 -0
new file mode 100644
index 0000000..06a69a0
@@ -0,0 +1,5 @@
+PR_append = "-arago0"
+
+# PSPREL and UVER are used by arago-source-ipk.conf
+UVER = "2010.12"
+PSPREL = "03.21.00.04.sdk"
Signature · 1 line
1.7.0.4
#3 lore raw

PATCH 4/10 u-boot_2012.04.01: Set variables for sourceipk

In reply to [email protected]

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

---
 .../recipes-bsp/u-boot/u-boot_2012.04.01.bbappend  |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-bsp/u-boot/u-boot_2012.04.01.bbappend
meta-arago-distro/recipes-bsp/u-boot/u-boot_2012.04.01.bbappend new file +4 -0
new file mode 100644
index 0000000..580d8dc
@@ -0,0 +1,4 @@
+PR_append = "-arago0"
+
+UVER = "2012.04.01"
+PSPREL = "mainline"
Signature · 1 line
1.7.0.4
#4 lore raw

PATCH 5/10 linux_3.3.7: Set sourceipk variables

In reply to [email protected]

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

---
 .../recipes-kernel/linux/linux_3.3.7.bbappend      |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux_3.3.7.bbappend
meta-arago-distro/recipes-kernel/linux/linux_3.3.7.bbappend new file +4 -0
new file mode 100644
index 0000000..6e1c92c
@@ -0,0 +1,4 @@
+PR_append = "-arago0"
+
+require copy-defconfig.inc
+require setup-defconfig.inc
Signature · 1 line
1.7.0.4
#5 lore raw

PATCH 6/10 arago.conf: Set PREFERRED_PROVIDER and VERSION for omap3 devices

In reply to [email protected]

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

* Set kernel PREFERRED_PROVIDER and PREFERRED_VERSION for omap3 devices.
* Set u-boot PREFERRED_VERSION for omap3 devices.

---
 meta-arago-distro/conf/distro/arago.conf |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
meta-arago-distro/conf/distro/arago.conf +12 -0
index 6fa5401..17bb85b 100644
@@ -60,6 +60,18 @@ 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_PROVIDER_virtual/kernel_am37x-evm = "linux-omap-psp"
+PREFERRED_VERSION_linux-omap-psp_am37x-evm = "2.6.37"
+PREFERRED_VERSION_u-boot_am37x-evm = "2012.04.01"
+
+PREFERRED_PROVIDER_virtual/kernel_am3517-evm = "linux-omap-psp"
+PREFERRED_VERSION_linux-omap-psp_am3517-evm = "2.6.37"
+PREFERRED_VERSION_u-boot_am3517-evm = "2011.09-psp04.06.00.08"
+
+PREFERRED_PROVIDER_virtual/kernel_beagleboard = "linux"
+PREFERRED_VERSION_linux_beagleboard = "3.3.7"
+PREFERRED_VERSION_u-boot_beagleboard = "2012.04.01"
+
 # 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
#6 lore raw

PATCH 7/10 arago.conf: Don't pull in xloader recipe

In reply to [email protected]

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

* Xloader recipe is no longer needed. Avoid pulling this recipe in.

---
 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 17bb85b..575e89a 100644
@@ -72,6 +72,9 @@ PREFERRED_PROVIDER_virtual/kernel_beagleboard = "linux"
 PREFERRED_VERSION_linux_beagleboard = "3.3.7"
 PREFERRED_VERSION_u-boot_beagleboard = "2012.04.01"
 
+# Don't pull in xloader since we don't use it
+EXTRA_IMAGEDEPENDS_omap3 := "${@'${EXTRA_IMAGEDEPENDS}'.replace('x-load','')}"
+
 # 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
#8 lore raw

PATCH 8/10 arago.conf: Enable white list gst-ffmpeg

In reply to [email protected]

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

* Gst-ffmpeg is flagged as having a commercial license.
* For an Arago SDK mp3, and dolby related libraries can't be enabled by default unless special procedures are followed.
* Since we disable these troublesome pieces of software shipping gst-ffmpeg shouldn't be a problem as long as we continue to disable any software that legal tells us is problematic.

---
 meta-arago-distro/conf/distro/arago.conf |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
meta-arago-distro/conf/distro/arago.conf +6 -0
index 575e89a..295c34c 100644
@@ -110,3 +110,9 @@ require arago-source-ipk.conf
 # do not attempt to enable features that have potential commercial
 # licensing issues.
 ENTERPRISE_DISTRO = "1"
+
+# oe-core uses external libav instead of internal libav for gst-ffmpeg. We
+# disable by default the codecs in libav that causes issues with shipping an
+# Arago based SDK. No need to prevent gst-ffmpeg from being used since we
+# disable troublesome software.
+LICENSE_FLAGS_WHITELIST = "commercial_gst-ffmpeg"
Signature · 1 line
1.7.0.4
#9 lore raw

PATCH 9/10 arago-source-ipk.conf: Remove linux-stable and use linux

In reply to [email protected]

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

* The linux stable recipe from oe-classic is now simply linux.
* Tweak arago-source-ipk.conf to reflect that change.

---
 .../conf/distro/arago-source-ipk.conf              |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
meta-arago-distro/conf/distro/arago-source-ipk.conf +1 -5
index 88cd21d..25a5d55 100644
@@ -129,13 +129,9 @@ SRCIPK_INSTALL_DIR_pn-linux-omap = "board-support/linux-${PV}-${PR}"
 SRCIPK_PACKAGE_ARCH_pn-linux-omap = "${MACHINE_ARCH}"
 
 CREATE_SRCIPK_pn-linux = "1"
-SRCIPK_INSTALL_DIR_pn-linux = "board-support/linux-${PV}-${PR}"
+SRCIPK_INSTALL_DIR_pn-linux = "board-support/linux-${PV}"
 SRCIPK_PACKAGE_ARCH_pn-linux = "${MACHINE_ARCH}"
 
-CREATE_SRCIPK_pn-linux-stable = "1"
-SRCIPK_INSTALL_DIR_pn-linux-stable = "board-support/linux-${PV}-${PR}"
-SRCIPK_PACKAGE_ARCH_pn-linux-stable = "${MACHINE_ARCH}"
-
 CREATE_SRCIPK_pn-linux-omap4 = "1"
 SRCIPK_INSTALL_DIR_pn-linux-omap4 = "board-support/linux-${PV}"
 SRCIPK_PACKAGE_ARCH_pn-linux-omap4 = "${MACHINE_ARCH}"
Signature · 1 line
1.7.0.4
#10 lore raw

PATCH 10/10 package-group-arago-gst: Add back gst-ffmpeg

In reply to [email protected]

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

* Adding back gst-ffmpeg since we disable libraries with known licensing and patent issues in libav.
* Also add gst-ffmpeg-dev packages to SDK.

---
 .../packagegroup-arago-gst-sdk-target.bb           |    3 ++-
 .../packagegroups/packagegroup-arago-gst.bb        |    5 ++---
 2 files changed, 4 insertions(+), 4 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb +2 -1
index 461a238..bed3e18 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to build and install header and libs in sdk"
 LICENSE = "MIT"
-PR = "r4"
+PR = "r5"
 
 inherit packagegroup
 
@@ -9,4 +9,5 @@ RDEPENDS_${PN} = "\
     gst-plugins-base-dev \
     gst-plugins-good-dev \
     gst-plugins-bad-dev \
+    gst-ffmpeg-dev \
 "
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +2 -3
index e538649..82265a1 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to add gstreamer and gstreamer plugins"
 LICENSE = "MIT"
-PR = "r5"
+PR = "r6"
 
 inherit packagegroup
 
@@ -16,6 +16,5 @@ GSTREAMER = " \
 
 RDEPENDS_${PN} = "\
     ${GSTREAMER} \
+    gst-ffmpeg \
     "
-
-#    gst-ffmpeg
Signature · 1 line
1.7.0.4
#11 lore raw
In reply to [email protected]
Quoted 5 lines · On Mon, Mar 04, 2013 at 02:01:20PM -0600, [email protected] wrote:

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

* The kernel recipe for am3517 and am37x have been renamed to reflect the recipe name already in meta-ti.
* Tweak the sourceipk value to address this change.

Heh, it broke for me over the weekend and I had it in my tree already. But I can push your fix, no problem...

Quoted 29 lines
---
 .../conf/distro/arago-source-ipk.conf              |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
meta-arago-distro/conf/distro/arago-source-ipk.conf +3 -3
index bc5ff59..88cd21d 100644
@@ -116,9 +116,9 @@ 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}"
+CREATE_SRCIPK_pn-linux-omap-psp = "1"
+SRCIPK_INSTALL_DIR_pn-linux-omap-psp = "board-support/linux-${KVER}-psp${PSPREL}"
+SRCIPK_PACKAGE_ARCH_pn-linux-omap-psp = "${MACHINE_ARCH}"
 
 CREATE_SRCIPK_pn-linux-am335x = "1"
 SRCIPK_INSTALL_DIR_pn-linux-am335x = "board-support/linux-${KVER}"
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#7 lore raw

Re: [PATCH 07/10] arago.conf: Don't pull in xloader recipe

In reply to [email protected]
Quoted 3 lines · On Mon, Mar 04, 2013 at 02:01:26PM -0600, [email protected] wrote:

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

* Xloader recipe is no longer needed. Avoid pulling this recipe in.

This is in my meta-ti cleanup I'm working on.

Quoted 26 lines
---
 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 17bb85b..575e89a 100644
@@ -72,6 +72,9 @@ PREFERRED_PROVIDER_virtual/kernel_beagleboard = "linux"
 PREFERRED_VERSION_linux_beagleboard = "3.3.7"
 PREFERRED_VERSION_u-boot_beagleboard = "2012.04.01"
 
+# Don't pull in xloader since we don't use it
+EXTRA_IMAGEDEPENDS_omap3 := "${@'${EXTRA_IMAGEDEPENDS}'.replace('x-load','')}"
+
 # 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 · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago