Skip to contentSkip to conversation

libjpeg-turbo: Mimic RPROVIDES fix from meta-oe master

PATCH In review Franklin S. Cooper Jr 3 participants 43 messages Nov 5, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 3/42 libjpeg-turbo: Mimic RPROVIDES fix from meta-oe master

* Add the changes incorporated by the patch
"libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg" currently applied to meta-oe master.
* When the above patch is applied to the denzil branch then this commit can be reverted.

---
 .../recipes-core/jpeg/libjpeg-turbo_svn.bbappend   |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/jpeg/libjpeg-turbo_svn.bbappend
meta-arago-extras/recipes-core/jpeg/libjpeg-turbo_svn.bbappend new file +9 -0
new file mode 100644
index 0000000..08c085d
@@ -0,0 +1,9 @@
+PRINC := "${@int(PRINC) + 1}"
+
+# Temporarily add this append which incorporates the changes of meta-oe master 
+# patch "libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg"
+# commit id 662fd013adcbee8c59f4f475a11911c3267eae90.
+
+RPROVIDES_${PN}  += "jpeg"
+RREPLACES_${PN}  += "jpeg"
+RCONFLICTS_${PN} += "jpeg"
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 4/42 libjpeg-turbo: Fix jpeg-tools error

* Recipes that depended on jpeg-tools were failing when the PREFERRED_PROVIDER was set to libjpeg-turbo.
* Add RPROVIDES to fix this issue.

---
 .../recipes-core/jpeg/libjpeg-turbo_svn.bbappend   |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
meta-arago-extras/recipes-core/jpeg/libjpeg-turbo_svn.bbappend +8 -1
index 08c085d..65a34f0 100644
@@ -1,4 +1,4 @@
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
 
 # Temporarily add this append which incorporates the changes of meta-oe master 
 # patch "libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg"
@@ -7,3 +7,10 @@ PRINC := "${@int(PRINC) + 1}"
 RPROVIDES_${PN}  += "jpeg"
 RREPLACES_${PN}  += "jpeg"
 RCONFLICTS_${PN} += "jpeg"
+
+# Patch to incorporate the below changes will be sent to meta-oe master and
+# maintenance branch. When this fix is in the maintenance branch then the
+# below changes can be removed.
+RPROVIDES_jpeg-tools  += "libjpeg-tools"
+RREPLACES_jpeg-tools  += "libjpeg-tools"
+RCONFLICTS_jpeg-tools += "libjpeg-tools"
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 5/42 tisdk-image: class for making TI SDK images

In reply to Franklin S. Cooper Jr

From: Chase Maupin <[email protected]>

* This class handles packaging the following pieces into a single tarball to be installed by InstallJammer as the TI SDK:
* source components using the sourceipk functionality
* target file systems
* cross compile toolchain
* TI style software manifest
* Additional features/files that are not controlled via recipes can be pulled in optionally using the value set for EXTRA_TISDK_FILES. These files are placed in the SDK according to the directory structure defined in the EXTRA_TISDK_FILES directory.
* This class is intended to make building TI SDKs simpler and more consistent across teams.

---
 meta-arago-distro/classes/tisdk-image.bbclass |  585 +++++++++++++++++++++++++
 1 files changed, 585 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/classes/tisdk-image.bbclass
meta-arago-distro/classes/tisdk-image.bbclass new file +585 -0
new file mode 100644
index 0000000..368a650
@@ -0,0 +1,585 @@
+inherit rootfs_ipk
+inherit image_types
+
+# This defines the list of features that we want to include in the SDK
+# image.  The list of packages this will be installed for each features
+# is controlled with the PACKAGE_GROUP_<feature> settings below.
+IMAGE_FEATURES ?= ""
+IMAGE_FEATURES[type] = "list"
+
+# Always add the sdk_base feature
+IMAGE_FEATURES_prepend = "sdk_base package-management"
+
+# Define our always included sdk package group as the IMAGE_INSTALL settings
+# like you would expect.
+PACKAGE_GROUP_sdk_base = "${IMAGE_INSTALL}"
+
+# Create the list of packages to be installed
+PACKAGE_INSTALL = "${@' '.join(oe.packagegroup.required_packages('${IMAGE_FEATURES}'.split(), d))}"
+
+RDEPENDS += "${@' '.join(oe.packagegroup.active_packages('${IMAGE_FEATURES}'.split(), d))}"
+
+# "export IMAGE_BASENAME" not supported at this time
+IMAGE_BASENAME[export] = "1"
+
+# SDK images are unique to a machine
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+# List of target side images to be built and packaged.  By default take
+# the base image but this can be modified if desired to package
+# additional images.
+TARGET_IMAGES ?= "arago-base-tisdk-image"
+
+# path to install the meta-toolchain package in the SDK
+TISDK_TOOLCHAIN_PATH ?= "linux-devkit"
+
+# meta toolchain recipe to build and package as part of the tisdk image
+TISDK_TOOLCHAIN ?= "meta-toolchain-arago"
+
+# List of the type of target file system images we want to include
+TARGET_IMAGE_TYPES ?= "tar.bz2 ubi"
+
+# If EXTRA_TISDK_FILES points to a valid directory then all the contents
+# of that directory will be added to the SDK using the same directory
+# structure found inside of the EXTRA_TISDK_FILES directory.
+# This can be set in the recipe or from the command line as long as
+# the variable is in the BB_ENV_EXTRAWHITE list.
+EXTRA_TISDK_FILES ?= ""
+
+# Manifest file location which will be created as part of the image build
+# process.
+# This manifest follows the TI manifest format requirements which is why
+# it differs from some of the default manifest code in oe-core.
+SW_MANIFEST_FILE ?= "${IMAGE_ROOTFS}/docs/software_manifest.htm"
+
+# helper function for generating a set of strings based on a list.  Taken
+# from the image.bbclass.
+def string_set(iterable):
+    return ' '.join(set(iterable))
+
+# Add a dependency for the do_rootfs function that will force us to build
+# the TARGET_IMAGES first so that they will be available for packaging.
+do_sdk_image[depends] += "${@string_set('%s:do_rootfs' % pn for pn in (d.getVar("TARGET_IMAGES", True) or "").split())}"
+
+# Add a dependency for the do_populate_sdk function of the TIDSK_TOOLCHAIN
+# variable which will force us to build the toolchain first so that it will be
+# available for packaging
+do_sdk_image[depends] += "${@string_set('%s:do_populate_sdk' % pn for pn in (d.getVar("TISDK_TOOLCHAIN", True) or "").split())}"
+
+do_sdk_image[nostamp] = "1"
+do_sdk_image[lockfiles] += "${IMAGE_ROOTFS}.lock"
+do_sdk_image[cleandirs] += "${S}"
+
+# Call the cleanup_host_packes to remove packages that should be removed from
+# the host for various reasons.  This may include licensing issues as well.
+OPKG_POSTPROCESS_COMMANDS = "cleanup_host_packages; cleanup_toolchain_packages; "
+
+# List of packages to remove from the SDK host package set
+HOST_CLEANUP_PACKAGES ?= ""
+
+# List of packages to remove from the SDK toolchain package set
+TOOLCHAIN_CLEANUP_PACKAGES ?= ""
+
+# Remove any packages that may have been pulled in by other package installs
+# that are not desired.  This should be used with caution.
+cleanup_host_packages() {
+    if [ "${HOST_CLEANUP_PACKAGES}" != "" ]
+    then
+        opkg-cl ${IPKG_ARGS} --force-depends remove ${HOST_CLEANUP_PACKAGES}
+    fi
+}
+
+# Remove undesired packages that may be pulled into the toolchain by -dev
+# package dependencies.  This is usually GPLv3 components.
+cleanup_toolchain_packages() {
+    if [ "${TOOLCHAIN_CLEANUP_PACKAGES}" != "" ]
+    then
+        # Make sure the TISDK_TOOLCHAIN_PATH is valid
+        if [ ! -d ${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH} ]
+        then
+            echo "Could not find the TISDK_TOOLCHAIN_PATH (${TISDK_TOOLCHAIN_PATH})"
+            return 1
+        fi
+
+        # Clean up the native side of the toolchain
+        opkg_dir="${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH}"
+        opkg_conf="${opkg_dir}/etc/opkg-sdk.conf"
+        opkg-cl -o $opkg_dir -f $opkg_conf --force-depends remove ${TOOLCHAIN_CLEANUP_PACKAGES}
+
+        # Clean up the target side of the toolchain
+        opkg_dir="${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH}/arm-arago-linux-gnueabi"
+        opkg_conf="${opkg_dir}/etc/opkg.conf"
+        opkg-cl -o $opkg_dir -f $opkg_conf --force-depends remove ${TOOLCHAIN_CLEANUP_PACKAGES}
+    fi
+}
+
+# Copy log_check from image.bbclass since the rootfs_ipk_do_rootfs function
+# uses it, but we are not inheriting the full image class.
+log_check() {
+	for target in $*
+	do
+		lf_path="${WORKDIR}/temp/log.do_$target.${PID}"
+		
+		echo "log_check: Using $lf_path as logfile"
+		
+		if test -e "$lf_path"
+		then
+			${IMAGE_PKGTYPE}_log_check $target $lf_path
+		else
+			echo "Cannot find logfile [$lf_path]"
+		fi
+		echo "Logfile is clean"
+	done
+}
+
+# Generate the header for a TI style software manifest
+sw_manifest_header() {
+echo "
+<HTML>
+<HEAD>
+<TITLE>
+${MACHINE} TISDK ${SDK_VERSION} Installation Summary 
+</TITLE>
+</HEAD>
+<BODY>
+<h1><CENTER> ${MACHINE} TISDK ${SDK_VERSION} Software Manifest </CENTER></h1>
+<h2><CENTER> `date +"%B %d, %Y"` </CENTER></h2>
+<h2><b><u>Legend (explanation of the fields in the Manifest Table below)</u></b></h2>
+<table border=1 width=45%>
+<tr>
+    <td>Software Name</td>
+    <td>The name of the application or files</td>
+</tr>
+<tr>
+    <td>Version</td>
+    <td>Version of the application or files</td>
+</tr>
+<tr>
+    <td>License Type</td>
+    <td>Type of license(s) under which TI will be providing software to the licensee (e.g. BSD, GPLv2, TI TSPA License, TI Commercial License).  See Open Source Reference License Disclaimer in the Disclaimers Section.</td>
+</tr>
+<tr>
+    <td>Location</td>
+    <td>The directory name and path on the media (or in an archive) where the Package is located.</td>
+</tr>
+<tr>
+    <td>Delivered As</td>
+    <td>This field will either be &ldquo;Source&rdquo;, &ldquo;Binary&rdquo; or &ldquo;Source and Binary&ldquo; and is the form the content of the Package is delivered in.  If the Package is delivered in an archive format, this field applies to the contents of the archive. If the word Limited is used with Source, as in &ldquo;Limited Source&rdquo; or &ldquo;Limited Source and Binary&rdquo; then only portions of the Source for the application are provided.</td>
+</tr>
+<tr>
+    <td>Modified by TI</td>
+    <td>This field will either be &ldquo;Yes&rdquo; or &ldquo;No&rdquo;. A &ldquo;Yes&rdquo; means TI had made changes to the Software. A &ldquo;No&rdquo; means TI has not made any changes.  NOTE: This field is not applicable for Software &ldquo;Obtained from&rdquo; TI.</td>
+</tr>
+<tr>
+    <td>Obtained from</td>
+    <td>This field specifies from where or from whom TI obtained the Software. It may be a URL to an Open Source site, a 3rd party companylicensor, or TI (if TI developed the software). If this field contains a link to an Open Source software, the date it was downloaded is also recorded.  See Links Disclaimer in the Disclaimers Section.</td>
+</tr>
+</table>
+
+
+<h2><b>DISCLAIMERS</b></h2>
+<h2><u>Export Control Classification Number (ECCN)</u></h2>
+<p>
+Any use of ECCNs listed in the Manifest is at the user's risk and without recourse to TI.  Your company, as the exporter of record, is responsible for determining the correct classification of any item at the time of export.  Any export classification by TI of Software is for TI's internal use only and shall not be construed as a representation or warranty regarding the proper export classification for such Software or whether an export license or other documentation is required for exporting such Software.
+</p>
+
+<h2><u>Links in the Manifest</u></h2>
+<p>
+Any links appearing on this Manifest (for example in the &ldquo;Obtained from&rdquo field) were verified at the time the Manifest was created.  TI makes no guarantee that any listed links will remain active in the future.
+</p>
+
+<h2><u>Open Source License References</u></h2>
+<p>
+Your company is responsible for confirming the applicable license terms for any open source Software listed in this Manifest that was not &ldquo;Obtained from&rdquo TI.  Any open source license specified in this Manifest for Sotware that was not &ldquo;Obtained from&rdquo TI is for TI's internal use only and shall not be construed as a representation of warranty regarding the proper open source license terms for such Software.
+</p>
+
+<h2><b>Export Information</b></h2>
+<p>
+ECCN for Software included in this release: 5D002
+</p>
+
+<p>
+ECCN for Technology (e.g., user documentation, specifications) included in this release: 5D002
+</p>
+
+<h2><b>Manifest</b></h2>
+<p>
+See Legend above for a description of the columns and possible values.
+</p>
+" > ${SW_MANIFEST_FILE}
+}
+
+sw_manifest_footer() {
+echo "
+<h2>Credits</h2>
+
+<h2>Licenses</h2>
+<p>Licenses can be found in the \"docs/licenses\" directory of the SDK install directory</p>
+
+<h2><u><b>GCC RUNTIME LIBRARY EXCEPTION</b></u></h2>
+<p>Version 3.1, 31 March 2009</p>
+
+<p>Copyright © 2009 Free Software Foundation, Inc. <a href=\"http://fsf.org/\">http://fsf.org/</a></p>
+
+<p>Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.</p>
+
+<p>This GCC Runtime Library Exception ("Exception") is an additional permission under section 7 of the GNU General Public License, version 3 ("GPLv3"). It applies to a given file (the "Runtime Library") that bears a notice placed by the copyright holder of the file stating that the file is governed by GPLv3 along with this Exception.</p>
+
+<p>When you use GCC to compile a program, GCC may combine portions of certain GCC header files and runtime libraries with the compiled program. The purpose of this Exception is to allow compilation of non-GPL (including proprietary) programs to use, in this way, the header files and runtime libraries covered by this Exception.</p>
+
+<h3><b>0. Definitions.</b></h3>
+<p>A file is an "Independent Module" if it either requires the Runtime Library for execution after a Compilation Process, or makes use of an interface provided by the Runtime Library, but is not otherwise based on the Runtime Library.</p>
+
+<p>"GCC" means a version of the GNU Compiler Collection, with or without modifications, governed by version 3 (or a specified later version) of the GNU General Public License (GPL) with the option of using any subsequent versions published by the FSF.</p>
+
+<p>"GPL-compatible Software" is software whose conditions of propagation, modification and use would permit combination with GCC in accord with the license of GCC.</p>
+
+<p>"GPL-compatible Software" is software whose conditions of propagation, modification and use would permit combination with GCC in accord with the license of GCC.</p>
+
+<p>The "Compilation Process" transforms code entirely represented in non-intermediate languages designed for human-written code, and/or in Java Virtual Machine byte code, into Target Code. Thus, for example, use of source code generators and preprocessors need not be considered part of the Compilation Process, since the Compilation Process can be understood as starting with the output of the generators or preprocessors.</p>
+
+<p>A Compilation Process is "Eligible" if it is done using GCC, alone or with other GPL-compatible software, or if it is done without using any work based on GCC. For example, using non-GPL-compatible Software to optimize any GCC intermediate representations would not qualify as an Eligible Compilation Process.</p>
+
+<h3><b>1. Grant of Additional Permission.</b></h3>
+<p>You have permission to propagate a work of Target Code formed by combining the Runtime Library with Independent Modules, even if such propagation would otherwise violate the terms of GPLv3, provided that all Target Code was generated by Eligible Compilation Processes. You may then convey such a combination under terms of your choice, consistent with the licensing of the Independent Modules.</p>
+
+<h3><b>2. No Weakening of GCC Copyleft.</b></h3>
+<p>The availability of this Exception does not imply any general presumption that third-party software is unaffected by the copyleft requirements of the license of GCC.</p>
+
+<hr>
+<right> <i><font color=grey>Auto generated by TISDK installer on `date`</i> </right></font>
+</body>
+</html>
+
+" >> ${SW_MANIFEST_FILE}
+}
+
+# Create the host side toolchain components table
+sw_manifest_toolchain_host() {
+    opkg_dir="${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH}/var/lib/opkg/info"
+
+echo "
+<h2><u>Development Host Content</u></h2>
+<p>This table describes any software being delivered that is expected to run on a Development Host, instead of the target device.  Some of this software may be licensed under GPLv3 but it is not expected to be shipped as a product.</p>
+" >> ${SW_MANIFEST_FILE}
+
+    generate_sw_manifest_table $opkg_dir
+
+}
+
+# Create the target side toolchain components table.  These are components on
+# the host but intended for the target.
+sw_manifest_toolchain_target() {
+    opkg_dir="${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH}/arm-arago-linux-gnueabi/var/lib/opkg/info"
+
+    generate_sw_manifest_table $opkg_dir
+}
+
+# Create the table of GPLv3 components found in the target file system
+sw_manifest_target_gplv3() {
+    opkg_dir="$1"
+
+echo "
+<h2><u>GPLv3 Target Device Content</u></h2>
+
+<p>This table describes any GPLv3 software being delivered that is expected to run on the target device.</p>
+
+" >> ${SW_MANIFEST_FILE}
+
+    generate_sw_manifest_table $opkg_dir "true"
+}
+
+# Generate the full target file system components table.
+sw_manifest_target() {
+    # Extract the combined set of .control files from the TARGET_IMAGES in
+    # the filesystem directory to generate the manifest.
+    for image in ${TARGET_IMAGES}
+    do
+        # Only extract tar.gz or tar.bz2 types
+        if [ -e ${IMAGE_ROOTFS}/filesystem/${image}-${MACHINE}.tar.bz2 ]
+        then
+            tar xjf ${IMAGE_ROOTFS}/filesystem/${image}-${MACHINE}.tar.bz2 -C ${IMAGE_ROOTFS}/filesystem --wildcards *.control
+        elif [ -e ${IMAGE_ROOTFS}/filesystem/${image}-${MACHINE}.tar.gz ]
+        then
+            tar xzf ${IMAGE_ROOTFS}/filesystem/${image}-${MACHINE}.tar.gz -C ${IMAGE_ROOTFS}/filesystem --wildcards *.control
+        fi
+    done
+
+    # set the opkg_dir value to look at the extracted target file system
+    # image files
+    opkg_dir="${IMAGE_ROOTFS}/filesystem/var/lib/opkg/info"
+
+    sw_manifest_target_gplv3 $opkg_dir
+
+echo "
+<h2><u>All Target Device Content</u></h2>
+
+<p>This table describes any software being delivered that is expected to run on the target device.</p>
+
+" >> ${SW_MANIFEST_FILE}
+
+    generate_sw_manifest_table $opkg_dir
+
+    # Remove the temporary var directory that was extracted
+    rm -rf ${IMAGE_ROOTFS}/filesystem/var
+}
+
+# Create the table of host components installed.
+sw_manifest_host() {
+echo "
+<h2><u>Additional Development Host Content</u></h2>
+
+<p>This table describes software that is installed on the development host but is not part of the linux-devkit package.  This is usually software example sources or tools such a flash utilities.</p>
+
+" >> ${SW_MANIFEST_FILE}
+
+    opkg_dir="${IMAGE_ROOTFS}/var/lib/opkg/info"
+
+    generate_sw_manifest_table $opkg_dir
+}
+
+# This function expects to be passed the following parameter
+#   - The location to the opkg info directory containing the control files
+#     of the installed packages
+# Optionally if the second parameter is set to true then only GPLv3 contents
+# will be listed.  This is for TI SW Manifests where GPLv3 content is
+# highlighted as a separate table.
+generate_sw_manifest_table() {
+    control_dir="$1"
+    gplv3_only="$2"
+
+    if [ ! -d "$control_dir" ]
+    then
+        echo "Could not find the control directory ($control_dir)"
+        return 1
+    fi
+
+    if [ "$gplv3_only" == "" ]
+    then
+        # The second parameter was not passed so set to false
+        gplv3_only="false"
+    fi
+
+echo "
+<table border=1 cellspacing=1 cellpadding=1 width=80%>
+<tr bgcolor=#c0c0c0  color=white>
+    <td><b>Software Name</b></td>
+    <td><b>Version</b></td>
+    <td><b>License</b></td>
+    <td><b>Location</b></td>
+    <td><b>Delivered As</b></td>
+    <td><b>Modified by TI</b></td>
+    <td><b>Obtained from</b></td>
+</tr>
+" >> ${SW_MANIFEST_FILE}
+
+    for i in $control_dir/*.control
+    do
+        package="`cat $i | grep Package: | awk {'print $2'}`"
+        version="`cat $i | grep Version: | awk {'print $2'} | cut -f1-2 -d-`"
+        long_version="`cat $i | grep Version: | awk {'print $2'}`"
+        license="`cat $i | grep License: | cut -d: -f2 `"
+        architecture="`cat $i | grep Architecture: | awk {'print $2'}`"
+        sources="`cat $i | grep Source: | cut -d ':' -f2-`"
+        location="$package""_""$long_version""_""$architecture"".ipk"
+
+        # Set the highlight color if the license in GPLv3.  If this is
+        # a GPLv3 only table then skip this package.
+        case "$license" in
+            *GPLv3*)
+                highlight="bgcolor=yellow" ;;
+            *unknown*)
+                if [ "$gplv3_only" != "true" ]
+                then
+                    highlight="bgcolor=yellow"
+                else
+                    continue
+                fi
+                ;;
+            *)
+                if [ "$gplv3_only" != "true" ]
+                then
+                    highlight=""
+                else
+                    continue
+                fi
+                ;;
+        esac
+
+        # source variable contains the text to be used in the manifest
+        source=""
+        # Are there additional files in the package that come from the
+        # arago/OE metadata?
+        extra_files="0"
+        modified="No"
+        for s in $sources
+        do
+            case "$s" in
+                file://*)
+                    extra_files="1"
+                    ;;
+                http://install.source.dir.local*)
+                    # If we are pulling something from a local file system then
+                    # it is not a public modification and this should be marked
+                    # as modified.  This should not be the normal case.
+                    modified="Yes"
+                    ;;
+                *)
+                    source="$source""<a href=$s>$s</a>";;
+            esac
+        done
+
+        if [ "$extra_files" == "1" ]
+        then
+            source="$source"" <br>Files from:<br><a href=git://arago-project.org/git/meta-arago.git>git://arago-project.org/git/meta-arago.git</a><br><a href=git://arago-project.org/git/meta-ti.git>git://arago-project.org/git/meta-ti.git</a>"
+        fi
+
+        case "$package" in
+            task-*)
+                continue ;;
+            *-src*)
+                delivered_as="Source"
+                ;;
+            *)
+                delivered_as="Binary"
+                ;;
+        esac
+
+echo "
+<tr>
+    <td>${package} </td>
+    <td>${version}</td>
+    <td $highlight>${license}</td>
+    <td>${location}</td>
+    <td>${delivered_as}</td>
+    <td>${modified}</td>
+    <td>${source}</td>
+</tr>
+" >> ${SW_MANIFEST_FILE}
+
+    done
+
+    echo "</table><br><br>" >> ${SW_MANIFEST_FILE}
+}
+
+# Generate the TI SW Manifest for the SDK image
+generate_sw_manifest() {
+    sw_manifest_header
+    sw_manifest_toolchain_host
+    sw_manifest_target
+    sw_manifest_host
+    sw_manifest_toolchain_target
+    sw_manifest_footer
+}
+
+# Create the SDK image.  We will re-use the rootfs_ipk_do_rootfs functionality
+# to install a given list of packages using opkg.
+do_sdk_image () {
+	set -x
+	rm -rf ${IMAGE_ROOTFS}
+	mkdir -p ${IMAGE_ROOTFS}
+	mkdir -p ${DEPLOY_DIR_IMAGE}
+
+	mkdir -p ${IMAGE_ROOTFS}/etc
+
+    # Extract the toolchain SDK here so that it will be available when the
+    # OPKG_POSTPROCESS_COMMANDS are run
+    tar xjf ${DEPLOY_DIR}/sdk/${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-sdk-${SDK_ARCH}* -C ${IMAGE_ROOTFS}/
+    mv ${IMAGE_ROOTFS}/${SDK_NAME} ${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH}
+
+    # Creat the base SDK image
+	rootfs_${IMAGE_PKGTYPE}_do_rootfs
+
+    mkdir -p ${IMAGE_ROOTFS}/filesystem
+
+    # Copy the TARGET_IMAGES to the sdk image before packaging
+    for image in ${TARGET_IMAGES}
+    do
+        for type in ${TARGET_IMAGE_TYPES}
+        do
+            if [ -e ${DEPLOY_DIR_IMAGE}/${image}-${MACHINE}.${type} ]
+            then
+                cp ${DEPLOY_DIR_IMAGE}/${image}-${MACHINE}.${type} ${IMAGE_ROOTFS}/filesystem/
+            fi
+        done
+    done
+
+    # Copy the pre-built images for kernel and boot loaders
+    prebuilt_dir="${IMAGE_ROOTFS}/board-support/prebuilt-images"
+    if [ ! -e "${prebuilt_dir}" ]
+    then
+        mkdir -p ${prebuilt_dir}
+    fi
+
+    # Copy the U-Boot image if it exists
+    if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.img ]
+    then
+        cp ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.img ${prebuilt_dir}/
+    elif [ -e ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ]
+    then
+        cp ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ${prebuilt_dir}/
+    else
+        echo "Could not find the u-boot image"
+        return 1
+    fi
+
+    # Copy the Kernel image if it exists
+    if [ -e ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ]
+    then
+        cp ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ${prebuilt_dir}/
+    else
+        echo "Could not find the Kernel image"
+        return 1
+    fi
+
+    # Copy the MLO image if it exists
+    if [ -e ${DEPLOY_DIR_IMAGE}/MLO-${MACHINE} ]
+    then
+        cp ${DEPLOY_DIR_IMAGE}/MLO-${MACHINE} ${prebuilt_dir}/
+    else
+        echo "Could not find the MLO image"
+        return 1
+    fi
+
+    # Add the EXTRA_TISDK_FILES contents if they exist
+    # Make sure EXTRA_TISDK_FILES is not empty so we don't accidentaly
+    # copy the root directory.
+    # Use -L to copy the actual contents of symlinks instead of just
+    # the links themselves
+    if [ "${EXTRA_TISDK_FILES}" != "" ]
+    then
+        if [ -d "${EXTRA_TISDK_FILES}" ]
+        then
+            cp -rLf ${EXTRA_TISDK_FILES}/* ${IMAGE_ROOTFS}/
+        fi
+    fi
+
+    # Copy the licenses directory in the $DEPLOY_DIR to capture all
+    # the licenses that were used in the build.
+    if [ -d ${DEPLOY_DIR}/licenses ]
+    then
+        if [ ! -d ${IMAGE_ROOTFS}/docs ]
+        then
+            mkdir -p ${IMAGE_ROOTFS}/docs
+        fi
+        cp -rf ${DEPLOY_DIR}/licenses ${IMAGE_ROOTFS}/docs/
+    fi
+
+    # Create the TI software manifest
+    generate_sw_manifest
+
+    # Copy the opkg.conf used by the image to allow for future updates
+    cp ${WORKDIR}/opkg.conf ${IMAGE_ROOTFS}/etc/
+
+    # Move the var/etc directories which contains the opkg data used for the
+    # manifest (and maybe one day for online updates) to a hidden directory.
+    mv ${IMAGE_ROOTFS}/var ${IMAGE_ROOTFS}/.var
+    mv ${IMAGE_ROOTFS}/etc ${IMAGE_ROOTFS}/.etc
+
+    # Create the image directory symlinks
+    ${@get_imagecmds(d)}
+}
+
+EXPORT_FUNCTIONS do_sdk_image
+addtask sdk_image before do_build after do_install
+
Signature · 1 line
1.7.0.4
#3 lore raw

PATCH 6/42 arago-amsdk-image: Add TI AMSDK image recipe

In reply to Franklin S. Cooper Jr

From: Chase Maupin <[email protected]>

* This recipe will build a tarball image representing the TISDK installer contents. This tarball can be extracted and used stand-alone or packaged inside of an InstallJammer installer
* This recipe will pull in target images to build as well as the meta toolchain image to be used.

---
 .../recipes-core/images/arago-amsdk-image.bb       |   21 ++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/images/arago-amsdk-image.bb
meta-arago-distro/recipes-core/images/arago-amsdk-image.bb new file +21 -0
new file mode 100644
index 0000000..82e0527
@@ -0,0 +1,21 @@
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+IMAGE_FSTYPES = "tar.bz2"
+
+inherit tisdk-image
+
+COMPATIBLE_MACHINE = "omap3|omapl138|ti33x"
+
+# List of packages to remove from the host package.  This is usually due to
+# licensing issues and unneeded dependencies.
+HOST_CLEANUP_PACKAGES = ""
+TOOLCHAIN_CLEANUP_PACKAGES = ""
+
+# List of target side images to build for the SDK
+TARGET_IMAGES = "arago-base-tisdk-image"
+
+IMAGE_INSTALL = "task-arago-tisdk-addons-sdk-host"
+
+export IMAGE_BASENAME = "arago-amsdk-image"
+
Signature · 1 line
1.7.0.4
#4 lore raw

PATCH 7/42 arago-amsdk-image: Add additional tasks and image

In reply to Franklin S. Cooper Jr

* Add additional sdk-host tasks and target filesystem image

---
 .../recipes-core/images/arago-amsdk-image.bb       |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-core/images/arago-amsdk-image.bb +10 -3
index 82e0527..6ddcb8b 100644
@@ -13,9 +13,16 @@ HOST_CLEANUP_PACKAGES = ""
 TOOLCHAIN_CLEANUP_PACKAGES = ""
 
 # List of target side images to build for the SDK
-TARGET_IMAGES = "arago-base-tisdk-image"
-
-IMAGE_INSTALL = "task-arago-tisdk-addons-sdk-host"
+TARGET_IMAGES = "arago-base-tisdk-image tisdk-rootfs-image"
+
+IMAGE_INSTALL = "\
+    task-arago-tisdk-addons-sdk-host \
+    task-arago-tisdk-connectivity-sdk-host \
+    task-arago-tisdk-crypto-sdk-host \
+    task-arago-tisdk-matrix-sdk-host \
+    task-arago-tisdk-multimedia-sdk-host \
+    task-arago-tisdk-qte-sdk-host \
+"
 
 export IMAGE_BASENAME = "arago-amsdk-image"
 
Signature · 1 line
1.7.0.4
#5 lore raw

PATCH 8/42 task-arago-tisdk-matrix: Remove wifi and bluetooth demos

In reply to Franklin S. Cooper Jr

* Wifi and bluetooth firmware and drivers have not been accepted in meta-ti.
* There are also issues with required scripts and other applications.
* Pulling wifi and bluetooth demos until these issues are fixed.

---
 .../recipes-core/tasks/task-arago-tisdk-matrix.bb  |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-matrix.bb +1 -12
index 91e095f..754b98d 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Task to include Matrix v2"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r2"
+PR = "r3"
 
 inherit task
 
@@ -42,10 +42,6 @@ MATRIX_APPS_append_ti33x = "        \
                                     \
     matrix-gui-generic-pm           \
     matrix-gui-pm-demos-suspend     \
-                                    \
-    matrix-gui-wifi-demos           \
-    matrix-gui-bluetooth-demos      \
-    matrix-gui-wifi-direct-demo     \
 "
 
 MATRIX_APPS_append_beagleboard = "  \
@@ -69,10 +65,6 @@ MATRIX_APPS_append_am37x-evm = "    \
     matrix-gui-pm-demos-snapshot2   \
     matrix-gui-pm-demos-suspend     \
                                     \
-    matrix-gui-wifi-demos           \
-    matrix-gui-wifi-direct-demo     \
-    matrix-gui-bluetooth-demos      \
-                                    \
     matrix-gui-display-control      \
     matrix-gui-camera-loopback      \
     matrix-gui-v4l2-demos           \
@@ -80,9 +72,6 @@ MATRIX_APPS_append_am37x-evm = "    \
 "
 
 RDEPENDS_append_am180x-evm = "      \
-    matrix-gui-wifi-demos           \
-    matrix-gui-bluetooth-demos      \
-    matrix-gui-wifi-direct-demo     \
 "
 
 RDEPENDS_${PN} = "        \
Signature · 1 line
1.7.0.4
#6 lore raw

PATCH 9/42 matrix-gui-apps-git: Correct .desktop filenames

In reply to Franklin S. Cooper Jr

* Some of the .desktops for power management related demos had incorrect filenames.
* Pulling in the commit that provides the correct filenames.

---
 .../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 ca5f69d..ddbc7a7 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 = "cf78c056a48573600438535adb31b4415377bc00"
+SRCREV = "6a0c9776adfef03463535de6c7059d8525a336aa"
 BRANCH = "master"
-INC_PR = "r4"
+INC_PR = "r5"
 
 # Pull in the base package for installing matrix applications
 require matrix-gui-apps.inc
Signature · 1 line
1.7.0.4
#7 lore raw

PATCH 10/42 matrix-gui-clocks: Remove ${PN} package and fix RDEPENDS

In reply to Franklin S. Cooper Jr

* Nothing should actually go inside the matrix-gui-clocks package. So remove it from the list of packages.
* This also fixed an issue where script files were being pulled into the ${PN} package instead of being packaged with the appropriate clock frequency package.
* Each provided package should use the same RDEPENDS. Update the recipe so each package has the correct RDEPENDS.

---
 .../recipes-core/matrix/matrix-gui-clocks_2.0.bb   |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)
meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb +13 -5
index b8d4e50..62028ec 100644
@@ -4,19 +4,27 @@ LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 inherit allarch
 
 S = "${WORKDIR}/git/clocks_apps"
 
-# Make sure power submenu and app images has been installed
-RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-power matrix-gui-generic-pm"
-
 # Break out the individual files into separate packages.  That way only the
 # clocks supported for each device can be installed.  Prepend the list so
 # that we can get the files in ${bindir} first
-PACKAGES =+ "${PN}-275mhz ${PN}-300mhz ${PN}-500mhz ${PN}-600mhz ${PN}-720mhz ${PN}-800mhz ${PN}-1ghz"
+PACKAGES = "${PN}-275mhz ${PN}-300mhz ${PN}-500mhz ${PN}-600mhz ${PN}-720mhz ${PN}-800mhz ${PN}-1ghz"
+
+# Make sure power submenu and app images has been installed
+CLOCK_RDEPENDS = "matrix-gui-apps-images matrix-gui-submenus-power matrix-gui-generic-pm"
+
+RDEPENDS_${PN}-275mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-300mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-500mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-600mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-720mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-800mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-1ghz += "${CLOCK_RDEPENDS}"
 
 # Split the matrix files by clock
 FILES_${PN}-275mhz += "${MATRIX_APP_DIR}/power_set_275mhz/*"
Signature · 1 line
1.7.0.4
#8 lore raw

PATCH 11/42 board-port-labs: Tweak recipe

In reply to Franklin S. Cooper Jr

* Move the git repositories links from the REPOS variable to the SRC_URI.
* Remove the repos_checkout task. This allows do_fetch to handle the fetching which is alot faster since the two repositories do not have to be redownloaded every time this recipe is built.

---
 .../board-port-labs/board-port-labs_git.bb         |   29 ++++++++-----------
 1 files changed, 12 insertions(+), 17 deletions(-)
meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs_git.bb +12 -17
index 97ca84d..d7329cc 100644
@@ -3,29 +3,24 @@ HOMEPAGE = "https://gitorious.org/sitara-board-port"
 LICENSE = "GPLv2"
 DEPENDS += "git-native"
 
-SRC_URI = "file://LICENSE"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d9fb2a547cd8e6bb75c0ecf427a139a9"
+LIC_FILES_CHKSUM = "file://../LICENSE;md5=d9fb2a547cd8e6bb75c0ecf427a139a9"
 
 PACKAGE_ARCH = "all"
+
 CREATE_SRCIPK = "1"
 SRCIPK_INSTALL_DIR = "board-support/board-port-labs"
 
-PR = "r0"
+PR = "r1"
 
-REPOS ?= "git://gitorious.org/sitara-board-port/sitara-board-port-linux.git \
-          git://gitorious.org/sitara-board-port/sitara-board-port-uboot.git \
-         "
+BRANCH = "board-port-05.05.00.00"
 
-S = "${WORKDIR}"
+SRC_URI = "\
+    file://LICENSE \
+    git://gitorious.org/sitara-board-port/sitara-board-port-linux.git;protocol=git;branch=${BRANCH};destsuffix=board-support/sitara-board-port-linux;name=board-support-linux \
+    git://gitorious.org/sitara-board-port/sitara-board-port-uboot.git;protocol=git;branch=${BRANCH};destsuffix=board-support/sitara-board-port-uboot;name=board-support-u-boot \
+"
 
-# Checkout the REPOS before the do_patch task so that it will be done prior
-# to the srcipk being made.
-do_repos_checkout() {
-    cd ${S}
-    for r in ${REPOS}
-    do
-        git clone $r
-    done
-}
+SRCREV_board-support-linux = "eaf6d6b4447b132592896fb87d914d130892cd2e"
+SRCREV_board-support-u-boot = "c817fbabece6218f128dc1ce4410563d503cecae"
 
-addtask repos_checkout after do_fetch before do_patch
+S = "${WORKDIR}/board-support"
Signature · 1 line
1.7.0.4
#9 lore raw

PATCH 12/42 task-arago-tisdk-amsdk: Add a new SDK related task

In reply to Franklin S. Cooper Jr

* Add a task to pull in amsdk related recipes. This includes applications and scripts installed in the SDK and scripts installed in the filesystem for the SDK's out of box experience (OOBE).

---
 .../tasks/task-arago-tisdk-amsdk-sdk-host.bb       |   24 ++++++++++++++++++++
 .../recipes-core/tasks/task-arago-tisdk-amsdk.bb   |   21 +++++++++++++++++
 2 files changed, 45 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-amsdk-sdk-host.bb
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-amsdk.bb
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-amsdk-sdk-host.bb new file +24 -0
new file mode 100644
index 0000000..3c5f4b1
@@ -0,0 +1,24 @@
+DESCRIPTION = "Task to install additional scripts and applications into the SDK"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r0"
+
+inherit task
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+# Choose the kernel and u-boot recipe sources to use
+U-BOOT_SRC = ""
+KERNEL_SRC = ""
+
+U-BOOT_SRC_am335x-evm = "u-boot-src"
+KERNEL_SRC_am335x-evm = "linux-am335x-src"
+
+RDEPENDS_${PN} = "\
+    pinmux-utility \
+    ti-tisdk-setup \
+    board-port-labs-src \
+    ti-tisdk-makefile \
+    ${U-BOOT_SRC} \
+    ${KERNEL_SRC} \
+"
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-amsdk.bb new file +21 -0
new file mode 100644
index 0000000..1351030
@@ -0,0 +1,21 @@
+DESCRIPTION = "Task to install additional packages only used in the Arago SDK"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r0"
+
+inherit task
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+ALLOW_EMPTY = "1"
+
+# Out of Box Experience (OOBE)
+OOBE = ""
+
+OOBE_ti33x += "\
+    gadget-init \
+    parse-ip \
+"
+
+RDEPENDS_${PN} = "\
+    ${OOBE} \
+"
Signature · 1 line
1.7.0.4
#10 lore raw

PATCH 13/42 arago-amsdk-image: Add task-arago-tisdk-amsdk-sdk-host

In reply to Franklin S. Cooper Jr

* Add amsdk task which pulls in SDK specific scripts, files and applications.

---
 .../recipes-core/images/arago-amsdk-image.bb       |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta-arago-distro/recipes-core/images/arago-amsdk-image.bb +1 -0
index 6ddcb8b..05778dd 100644
@@ -22,6 +22,7 @@ IMAGE_INSTALL = "\
     task-arago-tisdk-matrix-sdk-host \
     task-arago-tisdk-multimedia-sdk-host \
     task-arago-tisdk-qte-sdk-host \
+    task-arago-tisdk-amsdk-sdk-host \
 "
 
 export IMAGE_BASENAME = "arago-amsdk-image"
Signature · 1 line
1.7.0.4
#11 lore raw

PATCH 14/42 arago-tisdk-image: Add task-arago-tisdk-amsdk

In reply to Franklin S. Cooper Jr

* Add amsdk task which pulls in SDK specific scripts and files.

---
 .../recipes-core/images/arago-tisdk-image.bb       |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta-arago-distro/recipes-core/images/arago-tisdk-image.bb +1 -0
index 9e1eaea..970e7a9 100644
@@ -14,6 +14,7 @@ IMAGE_INSTALL += "\
     task-arago-tisdk-crypto \
     task-arago-tisdk-matrix \
     task-arago-tisdk-multimedia \
+    task-arago-tisdk-amsdk \
 "
 
 export IMAGE_BASENAME = "tisdk-rootfs"
Signature · 1 line
1.7.0.4
#12 lore raw

PATCH 15/42 wif-direct-demo: Remove unnecessary ${PN} from package list

In reply to Franklin S. Cooper Jr

* The current recipe added ${PN} to the PACKAGES variable. By default ${PN} is already included in the PACKAGES variable which resulted in the error:
"ERROR: wifi-direct-demo is listed in PACKAGES multiple times, this leads to
packaging errors."
* Removing ${PN} from the PACKAGES += statement fixes this issue

---
 .../wifi-direct-demo/wifi-direct-demo_git.bb       |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-connectivity/wifi-direct-demo/wifi-direct-demo_git.bb +2 -2
index 328bc41..96322ac 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://src/main.cpp;md5=cf285050f56a20d116b026c9f8ded4f7"
 
 COMPATIBLE_MACHINE = "(am37x-evm|am335x-evm|am180x-evm|am181x-evm)"
 
-PR = "r2"
+PR = "r3"
 
 BRANCH = "dbus"
 SRCREV = "0950a67d9fe9a70668a993774e65ba9d457d750c"
@@ -35,7 +35,7 @@ do_install () {
        install -m 644 ${WORKDIR}/wifi-direct-demo.desktop ${D}${MATRIX_APP_DIR}/wifi-direct-demo
 }
 
-PACKAGES += "${PN} matrix-gui-wifi-direct-demo"
+PACKAGES += "matrix-gui-wifi-direct-demo"
 
 FILES_${PN} +=" \
 	${bindir}/wifi-direct-demo \
Signature · 1 line
1.7.0.4
#13 lore raw

PATCH 16/42 arago-tisdk-image: Rename recipe to tisdk-rootfs-image

In reply to Franklin S. Cooper Jr

* The class tisdk-image had issues with an image having a name that is different than the recipe name.
* Renaming the image recipe to match the name of the image that is created.

---
 ...{arago-tisdk-image.bb => tisdk-rootfs-image.bb} |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
 rename meta-arago-distro/recipes-core/images/{arago-tisdk-image.bb => tisdk-rootfs-image.bb} (90%)
meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb renamed from meta-arago-distro/recipes-core/images/arago-tisdk-image.bb +1 -1
similarity index 90%
rename from meta-arago-distro/recipes-core/images/arago-tisdk-image.bb
rename to meta-arago-distro/recipes-core/images/tisdk-rootfs-image.bb
index 970e7a9..fc5d39e 100644
@@ -17,4 +17,4 @@ IMAGE_INSTALL += "\
     task-arago-tisdk-amsdk \
 "
 
-export IMAGE_BASENAME = "tisdk-rootfs"
+export IMAGE_BASENAME = "tisdk-rootfs-image"
Signature · 1 line
1.7.0.4
#14 lore raw

PATCH 17/42 am-sysinfo: Update am-sysinfo to pulled in makefile fix

In reply to Franklin S. Cooper Jr

* Updated commit addressed an issue that required the makefile to create and remove the Release and Debug directory.

---
 .../recipes-core/am-sysinfo/am-sysinfo_git.bb      |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-core/am-sysinfo/am-sysinfo_git.bb +2 -2
index 2ec4e92..a5e0afe 100644
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://mem_util/mem_util.c;beginline=1;endline=37;md5=8aa8e7
 SECTION = "system"
 
 PACKAGE_STRIP = "no"
-PR = "r5"
+PR = "r6"
 
 BRANCH ?= "master"
-SRCREV = "f2b325741ebcd440c4b2fc91a65270391224426e"
+SRCREV = "86e936b0a50e450089471b53ae8c68e933c15bbd"
 
 SRC_URI = "git://gitorious.org/am_sysinfo/am_sysinfo.git;protocol=git;branch=${BRANCH}"
 
Signature · 1 line
1.7.0.4
#15 lore raw

PATCH 18/42 meta-toolchain-arago-qte: Fix Qt library and include files path

In reply to Franklin S. Cooper Jr

* Within the toolchain sdk the Qt library files are located at SDK_PATH/arm-arago-linux-gnueabi/usr/lib not at SDK_PATH/usr/lib. The Qt include files are located in a similar location but instead of /usr/lib it is located at /usr/include.
* This commit points qmake to the proper location of these Qt library and include files.

---
 .../recipes-core/meta/meta-toolchain-arago-qte.bb  |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb +3 -3
index 54040e0..e349783 100644
@@ -5,7 +5,7 @@ TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-qte-sdk-${SDK_ARC
 
 require meta-toolchain-arago.bb
 
-PR = "r3"
+PR = "r4"
 
 QT_DIR_NAME = "qtopia"
 
@@ -17,8 +17,8 @@ toolchain_create_sdk_env_script_append() {
     echo -e 'export OE_QMAKE_CXX=\x24{TARGET_PREFIX}g++' >> $script
     echo -e 'export OE_QMAKE_LINK=\x24{TARGET_PREFIX}g++' >> $script
     echo -e 'export OE_QMAKE_AR=\x24{TARGET_PREFIX}ar' >> $script
-    echo 'export OE_QMAKE_LIBDIR_QT=$SDK_PATH${libdir}' >> $script
-    echo 'export OE_QMAKE_INCDIR_QT=$SDK_PATH${includedir}/${QT_DIR_NAME}' >> $script
+    echo 'export OE_QMAKE_LIBDIR_QT=$SDK_PATH/$TARGET_SYS${libdir}' >> $script
+    echo 'export OE_QMAKE_INCDIR_QT=$SDK_PATH/$TARGET_SYS${includedir}/${QT_DIR_NAME}' >> $script
     echo 'export OE_QMAKE_MOC=$SDK_PATH${bindir_nativesdk}/moc4' >> $script
     echo 'export OE_QMAKE_UIC=$SDK_PATH${bindir_nativesdk}/uic4' >> $script
     echo 'export OE_QMAKE_UIC3=$SDK_PATH${bindir_nativesdk}/uic34' >> $script
Signature · 1 line
1.7.0.4
#16 lore raw

PATCH 19/42 meta-toolchain-arago-qte: Add qt.conf file

In reply to Franklin S. Cooper Jr

* Qt Creator has issues finding Qt libraries and include files when these files aren't in the location it expects these files to be in.
* The qt.conf file is used to point Qt Creator to the proper location of these files.

---
 .../recipes-core/meta/meta-toolchain-arago-qte.bb  |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb +11 -1
index e349783..d8425b9 100644
@@ -5,7 +5,7 @@ TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-qte-sdk-${SDK_ARC
 
 require meta-toolchain-arago.bb
 
-PR = "r4"
+PR = "r5"
 
 QT_DIR_NAME = "qtopia"
 
@@ -28,6 +28,16 @@ toolchain_create_sdk_env_script_append() {
     echo 'export OE_QMAKE_QT_CONFIG=$SDK_PATH/$TARGET_SYS${datadir}/${QT_DIR_NAME}/mkspecs/qconfig.pri' >> $script
     echo 'export QMAKESPEC=$SDK_PATH/$TARGET_SYS${datadir}/${QT_DIR_NAME}/mkspecs/linux-g++' >> $script
 
+    #Adds qt.conf file that points qmake to properly locate Qt library and header files.
+    #This enables Qt Creator to work properly
+
+    qt_conf="${SDK_OUTPUT}/${SDKPATH}/bin/qt.conf"
+    touch $qt_conf
+    echo '[Paths]' >> $qt_conf
+    echo 'Prefix = $(SDK_PATH)' >> $qt_conf
+    echo 'Libraries = $(OE_QMAKE_LIBDIR_QT)' >> $qt_conf
+    echo 'Headers = $(OE_QMAKE_INCDIR_QT)' >> $qt_conf
+
     # make a symbolic link to mkspecs for compatibility with Nokia's SDK
     # and QTCreator
     (cd ${SDK_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s ${ARAGO_TARGET_SYS}${datadir}/${QT_DIR_NAME}/mkspecs mkspecs;)
Signature · 1 line
1.7.0.4
#17 lore raw

PATCH 20/42 task-arago-toolchain-tisdk-target: Add task-arago-toolchain-tisdk-target

In reply to Franklin S. Cooper Jr

* This task is used to group up all the various sdk-target tasks to enable SDK users to build applications using libraries that are included in the SDK.

---
 .../tasks/task-arago-toolchain-tisdk-target.bb     |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-toolchain-tisdk-target.bb
meta-arago-distro/recipes-core/tasks/task-arago-toolchain-tisdk-target.bb new file +14 -0
new file mode 100644
index 0000000..ef1a803
@@ -0,0 +1,14 @@
+DESCRIPTION = "Task to build and install header and libs into the sdk"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+PR = "r0"
+
+inherit task
+
+RDEPENDS_${PN} = "\
+    task-arago-qte-toolchain-target \
+    task-arago-tisdk-multimedia-sdk-target \
+    task-arago-tisdk-connectivity-sdk-target \
+    task-arago-tisdk-crypto-sdk-target \
+    task-arago-tisdk-graphics-sdk-target \
+"
Signature · 1 line
1.7.0.4
#18 lore raw

PATCH 21/42 meta-toolchain-arago-tisdk: Add Arago SDK specific toolchain recipe

In reply to Franklin S. Cooper Jr

* Add a meta toolchain recipe that builds on top of meta-toolchain-arago-qte but includes components and tasks specific to the Arago SDK.

---
 .../meta/meta-toolchain-arago-tisdk.bb             |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/meta/meta-toolchain-arago-tisdk.bb
meta-arago-distro/recipes-core/meta/meta-toolchain-arago-tisdk.bb new file +10 -0
new file mode 100644
index 0000000..46c77bf
@@ -0,0 +1,10 @@
+require recipes-core/meta/meta-toolchain-arago-qte.bb
+
+TOOLCHAIN_TARGET_TASK = "task-arago-toolchain-tisdk-target"
+TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-tisdk-${SDK_ARCH}"
+
+PR = "r0"
+
+toolchain_create_sdk_env_script_append() {
+    echo -e 'export PS1="\[\\e[32;1m\][linux-devkit]\[\\e[0m\]:\w> "' >> $script
+}
Signature · 1 line
1.7.0.4
#19 lore raw

PATCH 22/42 arago-amsdk-image: Change the meta toolchain recipe used

In reply to Franklin S. Cooper Jr

* Update the meta toolchain recipe that is used to an Arago SDK specific version.

---
 .../recipes-core/images/arago-amsdk-image.bb       |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
meta-arago-distro/recipes-core/images/arago-amsdk-image.bb +2 -0
index 05778dd..ccb25b1 100644
@@ -15,6 +15,8 @@ TOOLCHAIN_CLEANUP_PACKAGES = ""
 # List of target side images to build for the SDK
 TARGET_IMAGES = "arago-base-tisdk-image tisdk-rootfs-image"
 
+TISDK_TOOLCHAIN = "meta-toolchain-arago-tisdk"
+
 IMAGE_INSTALL = "\
     task-arago-tisdk-addons-sdk-host \
     task-arago-tisdk-connectivity-sdk-host \
Signature · 1 line
1.7.0.4
#20 lore raw

PATCH 23/42 arago.conf: Setting PREFERRED_VERSIONS

In reply to Franklin S. Cooper Jr

* Setting PREFERRED_VERSIONS to use a specific version of a library or application that does not require a GPLv3 license.

---
 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 013e496..84d0050 100644
@@ -67,6 +67,12 @@ PREFERRED_VERSION_udev = "164"
 PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
 PREFERRED_PROVIDER_jpeg_armv5te = "jpeg"
 
+# Setting PREFERRED_VERSIONS due to selecting a specific version of a library or
+# application that does not have a GPLv3 license
+PREFERRED_VERSION_gdbm = "1.8.3"
+PREFERRED_VERSION_readline = "5.2"
+
+
 # Disable polkit's systemd configuration from meta-oe
 POLKITAUTH = ""
 
Signature · 1 line
1.7.0.4
#21 lore raw

PATCH 24/42 gst-ffmpeg: Select a non GPLv3 license

In reply to Franklin S. Cooper Jr

* Gst-ffmpeg has two license selection options. Selecting non GPLv3 license.

---
 .../gst-ffmpeg/gst-ffmpeg_0.10.13.bbappend         |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-multimedia/gst-ffmpeg/gst-ffmpeg_0.10.13.bbappend
meta-arago-distro/recipes-multimedia/gst-ffmpeg/gst-ffmpeg_0.10.13.bbappend new file +5 -0
new file mode 100644
index 0000000..ca5a52a
@@ -0,0 +1,5 @@
+PR_append = "-arago0"
+
+# Select the non GPLv3 license option for distribution of this plugin with our
+# SDK
+LICENSE = "GPLv2+ & LGPLv2+ & (GPLv2+ & LGPLv2.1+)"
Signature · 1 line
1.7.0.4
#22 lore raw

PATCH 25/42 qt4-tools-nativesdk: Select LGPLv2.1 license

In reply to Franklin S. Cooper Jr

* Qt/E gives a choice of LGPLv2.1 or GPLv3. Selecting the LGPLv2.1 license.

---
 .../qt4/qt4-tools-nativesdk_4.8.0.bbappend         |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
meta-arago-distro/recipes-qt/qt4/qt4-tools-nativesdk_4.8.0.bbappend +5 -1
index f40b683..2c50d35 100644
@@ -1,3 +1,7 @@
-PR_append = "-arago0"
+PR_append = "-arago1"
+
+# Qt/E from Nokia is dual-licensed (LGPLv2.1 or GPLv3)
+# For our distribution purposes we only use LGPLv2.1
+LICENSE = "LGPLv2.1"
 
 DEPENDS := "${@oe_filter_out('libx11-nativesdk', '${DEPENDS}', d)}"
Signature · 1 line
1.7.0.4
#23 lore raw

PATCH 26/42 arago-qt4.inc: Introduce arago-qt4.inc file

In reply to Franklin S. Cooper Jr

* Some settings and patches are required for both qt4-embedded and qt4-embedded-gles. Placing these common changes in a include file.

---
 meta-arago-distro/recipes-qt/qt4/arago-qt4.inc |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-qt/qt4/arago-qt4.inc
meta-arago-distro/recipes-qt/qt4/arago-qt4.inc new file +8 -0
new file mode 100644
index 0000000..0e80318
@@ -0,0 +1,8 @@
+# Common file for patches or tweaks that are needed by qt4-embedded and
+# qt4-embedded-gles
+
+PR := "${PR}-arago2"
+
+# Qt/E from Nokia is dual-licensed (LGPLv2.1 or GPLv3)
+# For our distribution purposes we only use LGPLv2.1
+LICENSE = "LGPLv2.1"
Signature · 1 line
1.7.0.4
#24 lore raw

PATCH 27/42 qt4-embedded: Use new arago-qt4.inc file

In reply to Franklin S. Cooper Jr

* Use arago-qt4.inc to provide the common setting changes that are used by both qt4-embedded and qt4-embedded-gles

---
 .../recipes-qt/qt4/qt4-embedded_4.8.0.bbappend     |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
meta-arago-distro/recipes-qt/qt4/qt4-embedded_4.8.0.bbappend +2 -4
index 462a746..f9e5810 100644
@@ -1,5 +1,3 @@
-# Qt/E from Nokia is dual-licensed (LGPLv2.1 or GPLv3)
-# For our distribution purposes we only use LGPLv2.1
-LICENSE = "LGPLv2.1"
+require arago-qt4.inc
 
-PR_append = "-arago1"
+PR := "${PR}.0"
Signature · 1 line
1.7.0.4
#25 lore raw

PATCH 28/42 qt4-embedded-gles: Add append to include arago-qt4.inc

In reply to Franklin S. Cooper Jr

* Use the arago-qt4.inc file to pick up some of the shared qt4-embedded tweaks.

---
 .../qt4/qt4-embedded-gles_4.8.0.bbappend           |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-qt/qt4/qt4-embedded-gles_4.8.0.bbappend
meta-arago-distro/recipes-qt/qt4/qt4-embedded-gles_4.8.0.bbappend new file +3 -0
new file mode 100644
index 0000000..f9e5810
@@ -0,0 +1,3 @@
+require arago-qt4.inc
+
+PR := "${PR}.0"
Signature · 1 line
1.7.0.4
#26 lore raw

PATCH 29/42 arago-qt4.inc: Add maximize window patch for weatherinfo and imageviewer

In reply to Franklin S. Cooper Jr

* Massage a patch from arago to support Qt/E 4.8. This patch maximizes the application window for the weatherinfo and imageviewer demo application.

---
 meta-arago-distro/recipes-qt/qt4/arago-qt4.inc     |    7 +++-
 ...-PATCH-make-demos-maximized-for-TISDK-use.patch |   48 ++++++++++++++++++++
 2 files changed, 54 insertions(+), 1 deletions(-)
 create mode 100644 meta-arago-distro/recipes-qt/qt4/files/0001-PATCH-make-demos-maximized-for-TISDK-use.patch
meta-arago-distro/recipes-qt/qt4/arago-qt4.inc +6 -1
index 0e80318..0faf8ac 100644
@@ -1,8 +1,13 @@
 # Common file for patches or tweaks that are needed by qt4-embedded and
 # qt4-embedded-gles
 
-PR := "${PR}-arago2"
+PR := "${PR}-arago3"
+
+# look for files in this layer first
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 
 # Qt/E from Nokia is dual-licensed (LGPLv2.1 or GPLv3)
 # For our distribution purposes we only use LGPLv2.1
 LICENSE = "LGPLv2.1"
+
+SRC_URI += "file://0001-PATCH-make-demos-maximized-for-TISDK-use.patch"
meta-arago-distro/recipes-qt/qt4/files/0001-PATCH-make-demos-maximized-for-TISDK-use.patch new file +48 -0

48 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#27 lore raw

PATCH 30/42 linux-am335x: Update psp 04.06.00.08 recipe

In reply to Franklin S. Cooper Jr

* The defconfig that is supposed to override the defconfig in meta-ti was placed in the wrong directory. This was due to a rename of the recipe in meta-ti.
* Also the append was adding ${PN} to the additional file path. Updating to ${P} to reflect that the directory is based on both ${PN}-${PV}

---
 .../defconfig                                      |    0
 .../linux-am335x_3.2.0-psp04.06.00.08.bbappend     |    4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-arago-distro/recipes-kernel/linux/{linux-am335x-3.2.0-psp04.06.00.08.sdk => linux-am335x-3.2.0-psp04.06.00.08}/defconfig (100%)
meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp04.06.00.08/defconfig renamed from meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp04.06.00.08.sdk/defconfig +0 -0
similarity index 100%
rename from meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp04.06.00.08.sdk/defconfig
rename to meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp04.06.00.08/defconfig
meta-arago-distro/recipes-kernel/linux/linux-am335x_3.2.0-psp04.06.00.08.bbappend +2 -2
index 3f7b524..c100597 100644
@@ -1,6 +1,6 @@
-PR_append = "-arago0"
+PR_append = "-arago1"
 
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
 
 # KVER is used by arago-source-ipk.conf
 KVER = "${PV}"
Signature · 1 line
1.7.0.4
#28 lore raw

PATCH 31/42 netbase: Add arago custom init

In reply to Franklin S. Cooper Jr

* Custom init is based on a commit from classic oe:
netbase/init: Do not run 'ifup -a' if root is network mounted. commit 26af5ed1db81d29a59eb93cd9860d246d8dfa6a2
* This change is being added to fix an issue discovered by nfs failures when opentest is trying to run tests.

---
 .../recipes-core/netbase/netbase/init              |   63 ++++++++++++++++++++
 .../recipes-core/netbase/netbase_4.47.bbappend     |    2 +-
 2 files changed, 64 insertions(+), 1 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/netbase/netbase/init
meta-arago-distro/recipes-core/netbase/netbase/init new file +63 -0
new file mode 100644
index 0000000..86aff88
@@ -0,0 +1,63 @@
+#!/bin/sh
+#
+### BEGIN INIT INFO
+# Provides:          networking
+# Required-Start:    $local_fs mountvirtfs
+# Required-Stop:     $local_fs
+# Default-Start:     S
+# Default-Stop:      0 6
+# Short-Description: Raise network interfaces and configure them
+### END INIT INFO
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+
+if ! [ -x /sbin/ifup ]; then
+    exit 0
+fi
+
+case "$1" in
+    start)
+        if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | 
+          grep -q "^/ nfs$"; then
+            echo "NOT configuring network interfaces: / is an NFS mount"
+        elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts |  
+          grep -q "^/ smbfs$"; then
+            echo "NOT configuring network interfaces: / is an SMB mount"
+	elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\2/p' /proc/mounts | 
+          grep -qE '^(nfs|smbfs|ncp|coda)$'; then
+            echo "NOT configuring network interfaces: network shares still mounted."
+        else
+            echo -n "Configuring network interfaces... "
+            ifup -a
+	    echo "done."
+      fi
+	;;
+    stop)
+        if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | 
+          grep -q "^/ nfs$"; then
+            echo "NOT deconfiguring network interfaces: / is an NFS mount"
+        elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts |  
+          grep -q "^/ smbfs$"; then
+            echo "NOT deconfiguring network interfaces: / is an SMB mount"
+	elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\2/p' /proc/mounts | 
+          grep -qE '^(nfs|smbfs|ncp|coda)$'; then
+            echo "NOT deconfiguring network interfaces: network shares still mounted."
+        else
+            echo -n "Deconfiguring network interfaces... "
+            ifdown -a
+	    echo "done."
+        fi
+	;;
+    force-reload|restart)
+        echo -n "Reconfiguring network interfaces... "
+        ifdown -a
+        ifup -a
+	echo "done."
+	;;
+    *)
+	echo "Usage: /etc/init.d/networking {start|stop|restart|force-reload}"
+	exit 1
+	;;
+esac
+
+exit 0
meta-arago-distro/recipes-core/netbase/netbase_4.47.bbappend +1 -1
index 997adf2..8c65bd1 100644
@@ -1,4 +1,4 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago1"
+PR_append = "-arago2"
Signature · 1 line
1.7.0.4
#29 lore raw

PATCH 32/42 meta-toolchain-arago: Pull in additional environmental variables settings

In reply to Franklin S. Cooper Jr

* Pull in non TI SDK specific environmental variable settings.

---
 .../recipes-core/meta/meta-toolchain-arago.bb      |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb +10 -1
index d3d0d12..9857de2 100644
@@ -4,7 +4,7 @@ TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-sdk-${SDK_ARCH}"
 
 require recipes-core/meta/meta-toolchain.bb
 
-PR = "r3"
+PR = "r4"
 
 SDKTARGETSYSROOT = "${SDKPATH}/${ARAGO_TARGET_SYS}"
 
@@ -45,4 +45,13 @@ toolchain_create_sdk_env_script () {
 	echo 'export OECORE_ACLOCAL_OPTS="-I $SDK_PATH/usr/share/aclocal"' >> $script
 	echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
 	echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
+    echo -e 'export CPP="\x24{TARGET_PREFIX}gcc -E"' >> $script
+    echo -e 'export NM=\x24{TARGET_PREFIX}nm' >> $script
+    echo -e 'export RANLIB=\x24{TARGET_PREFIX}ranlib' >> $script
+    echo -e 'export OBJCOPY=\x24{TARGET_PREFIX}objcopy' >> $script
+    echo -e 'export STRIP=\x24{TARGET_PREFIX}strip' >> $script
+    echo -e 'export AS=\x24{TARGET_PREFIX}as' >> $script
+    echo -e 'export AR=\x24{TARGET_PREFIX}ar' >> $script
+    echo -e 'export OBJDUMP=\x24{TARGET_PREFIX}objdump' >> $script
+    echo 'export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1' >> $script
 }
Signature · 1 line
1.7.0.4
#30 lore raw

PATCH 33/42 linux-am335x: Add PSP v05.06.00.00 of the Linux kernel

In reply to Franklin S. Cooper Jr

* Add PSP kernel version 05.06.00.00
* Since this kernel is still in development AUTOREV is enabled
* Adding code to this recipe which should be placed in a bbappend when this recipe is eventually pushed to meta-ti.

---
 ...odified-WLAN-enable-and-irq-to-match-boar.patch |   62 +
 ...x-Add-crypto-driver-settings-to-defconfig.patch |  132 +
 ...m335x-Add-pm_runtime-API-to-crypto-driver.patch |  405 ++
 ...x-enable-pullup-on-the-WLAN-enable-pin-fo.patch |   57 +
 ...01-am335x_evm_defconfig-turn-off-MUSB-DMA.patch |   35 +
 ...-using-edge-triggered-interrupts-for-WLAN.patch |   35 +
 ...x-Add-memory-addresses-for-crypto-modules.patch |   41 +
 .../0001-am33xx-Add-SmartReflex-support.patch      | 2014 ++++++
 .../0001-mach-omap2-pm33xx-Disable-VT-switch.patch |   71 +
 ...date-PIO-mode-help-information-in-Kconfig.patch |   45 +
 ...1-omap-serial-add-delay-before-suspending.patch |   42 +
 .../0002-AM335x-OCF-Driver-for-Linux-3.patch       | 7228 ++++++++++++++++++++
 ...-suspend-resume-routines-to-crypto-driver.patch |  147 +
 ...Add-crypto-device-and-resource-structures.patch |  111 +
 ...2-am33xx-Enable-CONFIG_AM33XX_SMARTREFLEX.patch |   26 +
 ...rypto-device-and-resource-structure-for-T.patch |   60 +
 ...d-crypto-drivers-to-Kconfig-and-Makefiles.patch |  124 +
 ...eate-header-file-for-OMAP4-crypto-modules.patch |  213 +
 ...m33x-Create-driver-for-TRNG-crypto-module.patch |  324 +
 ...am33x-Create-driver-for-AES-crypto-module.patch |  971 +++
 ...x-Create-driver-for-SHA-MD5-crypto-module.patch | 1444 ++++
 .../linux-am335x-3.2.0-psp05.06.00.00/defconfig    |    1 +
 .../linux/linux-am335x_3.2.0-psp05.06.00.00.bb     |   91 +
 23 files changed, 13679 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am3358-sk-modified-WLAN-enable-and-irq-to-match-boar.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am335x-Add-crypto-driver-settings-to-defconfig.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am335x-Add-pm_runtime-API-to-crypto-driver.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am335x-enable-pullup-on-the-WLAN-enable-pin-fo.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am335x_evm_defconfig-turn-off-MUSB-DMA.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am335xevm-using-edge-triggered-interrupts-for-WLAN.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am33x-Add-memory-addresses-for-crypto-modules.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am33xx-Add-SmartReflex-support.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-mach-omap2-pm33xx-Disable-VT-switch.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-musb-update-PIO-mode-help-information-in-Kconfig.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-omap-serial-add-delay-before-suspending.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0002-AM335x-OCF-Driver-for-Linux-3.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0002-am335x-Add-suspend-resume-routines-to-crypto-driver.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0002-am33x-Add-crypto-device-and-resource-structures.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0002-am33xx-Enable-CONFIG_AM33XX_SMARTREFLEX.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0003-am33x-Add-crypto-device-and-resource-structure-for-T.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0004-am33x-Add-crypto-drivers-to-Kconfig-and-Makefiles.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0005-am33x-Create-header-file-for-OMAP4-crypto-modules.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0006-am33x-Create-driver-for-TRNG-crypto-module.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0007-am33x-Create-driver-for-AES-crypto-module.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0008-am33x-Create-driver-for-SHA-MD5-crypto-module.patch
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/defconfig
 create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-am335x_3.2.0-psp05.06.00.00.bb
meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am3358-sk-modified-WLAN-enable-and-irq-to-match-boar.patch new file +62 -0
new file mode 100644
index 0000000..25d2fdf
@@ -0,0 +1,62 @@
+From 69c82f68876d24e798388fc053c8d6766236ac65 Mon Sep 17 00:00:00 2001
+From: Vita Preskovsky <[email protected]>
+Date: Thu, 28 Jun 2012 14:53:12 +0300
+Subject: [PATCH] am3358-sk: modified WLAN enable and irq to match board revision 1.2
+	* 1. WLAN enable and irq are modified to match board revision 1.2
+	  2. support suspend/resume for SK board
+
+Upstream-Status: Pending
+
+Signed-off-by: Vita Preskovsky <[email protected]>
+---
+ arch/arm/mach-omap2/board-am335xevm.c |   11 +++++++----
+ 1 files changed, 7 insertions(+), 4 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
+index 64f7547..6ae4e68 100755
+--- a/arch/arm/mach-omap2/board-am335xevm.c
++++ b/arch/arm/mach-omap2/board-am335xevm.c
+@@ -905,7 +905,7 @@ static struct pinmux_config ecap2_pin_mux[] = {
+
+ #define AM335XEVM_WLAN_PMENA_GPIO	GPIO_TO_PIN(1, 30)
+ #define AM335XEVM_WLAN_IRQ_GPIO		GPIO_TO_PIN(3, 17)
+-#define AM335XEVM_SK_WLAN_IRQ_GPIO      GPIO_TO_PIN(1, 29)
++#define AM335XEVM_SK_WLAN_IRQ_GPIO      GPIO_TO_PIN(0, 31)
+
+ struct wl12xx_platform_data am335xevm_wlan_data = {
+	.irq = OMAP_GPIO_IRQ(AM335XEVM_WLAN_IRQ_GPIO),
+@@ -941,8 +941,8 @@ static struct pinmux_config wl12xx_pin_mux[] = {
+  };
+
+ static struct pinmux_config wl12xx_pin_mux_sk[] = {
+-	{"gpmc_wpn.gpio0_31", OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT},
+-	{"gpmc_csn0.gpio1_29", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT},
++	{"gpmc_wpn.gpio0_31", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT},
++	{"gpmc_csn0.gpio1_29", OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT_PULLUP},
+	{"mcasp0_ahclkx.gpio3_21", OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT},
+	{NULL, 0},
+ };
+@@ -1618,6 +1618,7 @@ static void mmc1_wl12xx_init(int evm_id, int profile)
+	am335x_mmc[1].name = "wl1271";
+	am335x_mmc[1].caps = MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD;
+	am335x_mmc[1].nonremovable = true;
++	am335x_mmc[1].pm_caps = MMC_PM_KEEP_POWER;
+	am335x_mmc[1].gpio_cd = -EINVAL;
+	am335x_mmc[1].gpio_wp = -EINVAL;
+	am335x_mmc[1].ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34; /* 3V3 */
+@@ -1674,10 +1675,12 @@ static void wl12xx_init(int evm_id, int profile)
+	int ret;
+
+	if (evm_id == EVM_SK) {
+-		am335xevm_wlan_data.wlan_enable_gpio = GPIO_TO_PIN(0, 31);
++		am335xevm_wlan_data.wlan_enable_gpio = GPIO_TO_PIN(1, 29);
+		am335xevm_wlan_data.bt_enable_gpio = GPIO_TO_PIN(3, 21);
+		am335xevm_wlan_data.irq =
+				OMAP_GPIO_IRQ(AM335XEVM_SK_WLAN_IRQ_GPIO);
++		am335xevm_wlan_data.platform_quirks =
++				WL12XX_PLATFORM_QUIRK_EDGE_IRQ;
+		setup_pin_mux(wl12xx_pin_mux_sk);
+	} else {
+		setup_pin_mux(wl12xx_pin_mux);
+--
+1.7.0.4
meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am335x-Add-crypto-driver-settings-to-defconfig.patch new file +132 -0

132 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am335x-Add-pm_runtime-API-to-crypto-driver.patch new file +405 -0

405 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am335x-enable-pullup-on-the-WLAN-enable-pin-fo.patch new file +57 -0

57 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am335x_evm_defconfig-turn-off-MUSB-DMA.patch new file +35 -0
new file mode 100644
index 0000000..6a32c2c
@@ -0,0 +1,35 @@
+From 95eca5a896c96d0af7188c97825a3b3ef5313ed3 Mon Sep 17 00:00:00 2001
+From: Chase Maupin <[email protected]>
+Date: Thu, 2 Feb 2012 16:38:51 -0600
+Subject: [PATCH] am335x_evm_defconfig: turn off MUSB DMA
+
+* Turn off the MUSB DMA in the am335x_evm_defconfig.  This way
+  we can pull the default defconfig without enabling the
+  faulty USB DMA.
+
+Signed-off-by: Chase Maupin <[email protected]>
+---
+ arch/arm/configs/am335x_evm_defconfig |    6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/arch/arm/configs/am335x_evm_defconfig b/arch/arm/configs/am335x_evm_defconfig
+index d105c61..121dc7f 100644
+--- a/arch/arm/configs/am335x_evm_defconfig
++++ b/arch/arm/configs/am335x_evm_defconfig
+@@ -1982,11 +1982,11 @@ CONFIG_USB_MUSB_TI81XX_GLUE=y
+ CONFIG_USB_MUSB_TI81XX=y
+ # CONFIG_USB_MUSB_BLACKFIN is not set
+ # CONFIG_USB_MUSB_UX500 is not set
+-CONFIG_USB_TI_CPPI41_DMA_HW=y
+-# CONFIG_MUSB_PIO_ONLY is not set
++# CONFIG_USB_TI_CPPI41_DMA_HW is not set
++CONFIG_MUSB_PIO_ONLY=y
+ # CONFIG_USB_INVENTRA_DMA is not set
+ # CONFIG_USB_TI_CPPI_DMA is not set
+-CONFIG_USB_TI_CPPI41_DMA=y
++# CONFIG_USB_TI_CPPI41_DMA is not set
+ # CONFIG_USB_TUSB_OMAP_DMA is not set
+ # CONFIG_USB_UX500_DMA is not set
+ # CONFIG_USB_RENESAS_USBHS is not set
+--
+1.7.0.4
meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am335xevm-using-edge-triggered-interrupts-for-WLAN.patch new file +35 -0
new file mode 100644
index 0000000..98b3a31
@@ -0,0 +1,35 @@
+From be52bac69dfe6a56276b16ccd234970c4f7b1255 Mon Sep 17 00:00:00 2001
+From: Vita Preskovsky <[email protected]>
+Date: Wed, 18 Jul 2012 16:20:36 +0300
+Subject: [PATCH] am335xevm: using edge triggered interrupts for WLAN
+
+  *using edge triggered interrupts instead of default level triggered in
+   all platforms supporting WLAN. This reduces CPU cycles and possibility
+   for missed interrupts.
+
+
+Signed-off-by: Vita Preskovsky <[email protected]>
+---
+ arch/arm/mach-omap2/board-am335xevm.c |    3 +--
+ 1 files changed, 1 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
+index 6ae4e68..ac005c8 100644
+--- a/arch/arm/mach-omap2/board-am335xevm.c
++++ b/arch/arm/mach-omap2/board-am335xevm.c
+@@ -1679,12 +1679,11 @@ static void wl12xx_init(int evm_id, int profile)
+		am335xevm_wlan_data.bt_enable_gpio = GPIO_TO_PIN(3, 21);
+		am335xevm_wlan_data.irq =
+				OMAP_GPIO_IRQ(AM335XEVM_SK_WLAN_IRQ_GPIO);
+-		am335xevm_wlan_data.platform_quirks =
+-				WL12XX_PLATFORM_QUIRK_EDGE_IRQ;
+		setup_pin_mux(wl12xx_pin_mux_sk);
+	} else {
+		setup_pin_mux(wl12xx_pin_mux);
+	}
++	am335xevm_wlan_data.platform_quirks = WL12XX_PLATFORM_QUIRK_EDGE_IRQ;
+	wl12xx_bluetooth_enable();
+
+	if (wl12xx_set_platform_data(&am335xevm_wlan_data))
+--
+1.7.0.4
meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am33x-Add-memory-addresses-for-crypto-modules.patch new file +41 -0

41 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-am33xx-Add-SmartReflex-support.patch new file +2014 -0

2,014 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-mach-omap2-pm33xx-Disable-VT-switch.patch new file +71 -0

71 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-musb-update-PIO-mode-help-information-in-Kconfig.patch new file +45 -0

45 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0001-omap-serial-add-delay-before-suspending.patch new file +42 -0

42 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0002-AM335x-OCF-Driver-for-Linux-3.patch new file +7228 -0

61 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0002-am335x-Add-suspend-resume-routines-to-crypto-driver.patch new file +147 -0

147 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0002-am33x-Add-crypto-device-and-resource-structures.patch new file +111 -0

111 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0002-am33xx-Enable-CONFIG_AM33XX_SMARTREFLEX.patch new file +26 -0
new file mode 100644
index 0000000..04e3bee

Lines of this file are not shown. View the raw message.

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0003-am33x-Add-crypto-device-and-resource-structure-for-T.patch new file +60 -0

60 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0004-am33x-Add-crypto-drivers-to-Kconfig-and-Makefiles.patch new file +124 -0

124 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0005-am33x-Create-header-file-for-OMAP4-crypto-modules.patch new file +213 -0

213 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0006-am33x-Create-driver-for-TRNG-crypto-module.patch new file +324 -0

324 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0007-am33x-Create-driver-for-AES-crypto-module.patch new file +971 -0

971 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/0008-am33x-Create-driver-for-SHA-MD5-crypto-module.patch new file +1444 -0

1,444 lines not on this page · raw message

meta-arago-distro/recipes-kernel/linux/linux-am335x-3.2.0-psp05.06.00.00/defconfig new file +1 -0
new file mode 100644
index 0000000..f8cbc03

Lines of this file are not shown. View the raw message.

meta-arago-distro/recipes-kernel/linux/linux-am335x_3.2.0-psp05.06.00.00.bb new file +91 -0

91 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.0.4

Part of the diff is not shown here. View the raw message.

#31 lore raw

PATCH 34/42 arago.conf: Set the new PSP kernel as the preferred version

In reply to Franklin S. Cooper Jr
---
 meta-arago-distro/conf/distro/arago.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-arago-distro/conf/distro/arago.conf +1 -1
index 84d0050..1378255 100644
@@ -53,7 +53,7 @@ PREFERRED_PROVIDER_qt4-embedded = "${ARAGO_QT_PROVIDER}"
 
 # Use the SDK supported kernel and kernel version
 PREFERRED_PROVIDER_virtual/kernel_am335x-evm = "linux-am335x"
-PREFERRED_VERSION_virtual/kernel_am335x-evm = "3.2.0-psp04.06.00.08"
+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 = "2011.09-psp04.06.00.08"
Signature · 1 line
1.7.0.4
#32 lore raw

PATCH 35/42 tisdk-image: Change the filename of the toolchain sdk that should be used

In reply to Franklin S. Cooper Jr

* The TI Arago SDK specific toolchain sdk filename uses tisdk instead of sdk.
* Update the class to reflect this change

---
 meta-arago-distro/classes/tisdk-image.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-arago-distro/classes/tisdk-image.bbclass +1 -1
index 368a650..3222d0d 100644
@@ -484,7 +484,7 @@ do_sdk_image () {
 
     # Extract the toolchain SDK here so that it will be available when the
     # OPKG_POSTPROCESS_COMMANDS are run
-    tar xjf ${DEPLOY_DIR}/sdk/${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-sdk-${SDK_ARCH}* -C ${IMAGE_ROOTFS}/
+    tar xjf ${DEPLOY_DIR}/sdk/${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-tisdk-${SDK_ARCH}* -C ${IMAGE_ROOTFS}/
     mv ${IMAGE_ROOTFS}/${SDK_NAME} ${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH}
 
     # Creat the base SDK image
Signature · 1 line
1.7.0.4
#33 lore raw

PATCH 36/42 u-boot: Add PSP version 05.06.00.00 of u-boot

In reply to Franklin S. Cooper Jr

* Add PSP version of 05.06.00.00 of u-boot.
* This version of u-boot is 2012.10 base with additional am335x specific patches.

---
 .../u-boot/u-boot_2012.10-psp05.06.00.00.bb        |   31 ++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-bsp/u-boot/u-boot_2012.10-psp05.06.00.00.bb
meta-arago-distro/recipes-bsp/u-boot/u-boot_2012.10-psp05.06.00.00.bb new file +31 -0
new file mode 100644
index 0000000..1fed08b
@@ -0,0 +1,31 @@
+# Use the version of u-boot.inc in oe-core not the meta-ti version
+require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc
+
+# Reset OEMAKE. Current u-boot.inc sets -02 which breaks this version of u-boot's build.
+# This issue was fixed in oe-core master by removing the -02 statement.
+EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"'
+
+DESCRIPTION = "u-boot bootloader for ARM MPU devices"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
+
+COMPATIBLE_MACHINE = "ti33x|omap3"
+
+DEFAULT_PREFERENCE = "-1"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+PR = "r0+gitr${SRCPV}"
+
+SRC_URI = "git://arago-project.org/git/projects/u-boot-am33x.git;protocol=git;branch=${BRANCH}"
+
+BRANCH = "amsdk-05.06.00.00"
+
+SRCREV = "${AUTOREV}"
+
+S = "${WORKDIR}/git"
+
+UBOOT_SUFFIX = "img"
+
+# Set the name of the SPL that will built so that it is also packaged with u-boot.
+SPL_BINARY = "MLO"
Signature · 1 line
1.7.0.4
#34 lore raw

PATCH 37/42 ti-tisdk-setup: Update targetNFS filesystem

In reply to Franklin S. Cooper Jr

* Update SRCREV to pull in tweaks to the setup-targetfs-nfs.sh
* Update extracting of file system to match the tar.bz2 file extension

---
 .../recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb +2 -2
index d9b5da3..96df155 100644
@@ -4,10 +4,10 @@ LIC_FILES_CHKSUM = "file://setup.sh;beginline=3;endline=31;md5=fc4b04a33df6d892c
 
 COMPATIBLE_MACHINE = "am37x-evm|am3517-evm|beagleboard|ti33x|am180x-evm"
 
-PR = "r0"
+PR = "r1"
 
 BRANCH ?= "master"
-SRCREV = "5bbfa583671b87bc8c17316bb3a9787fbc884ec6"
+SRCREV = "b7d67ebb3c3267248210e2e66b1bad273747f9b6"
 SRC_URI = "git://arago-project.org/git/projects/tisdk-setup-scripts.git;protocol=git;branch=${BRANCH}"
 
 S = "${WORKDIR}/git/"
Signature · 1 line
1.7.0.4
#35 lore raw

PATCH 38/42 busybox: Fix NFS issues

In reply to Franklin S. Cooper Jr

* Certain nfs servers were having issues connecting to the board.
* The oe-core patch master "busybox: udhcpc shouldn't be a service" commit id:
8329c4679ec0ce319d2a81d755a0da5b05474688 seems to have resolved this issue.
* Mimic the changes of that patch here.

---
 .../recipes-core/busybox/busybox_1.19.4.bbappend   |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)
meta-arago-distro/recipes-core/busybox/busybox_1.19.4.bbappend +17 -1
index b8f21dd..b7cd903 100644
@@ -1,9 +1,25 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
+PR_append = "-arago2"
+
 SRC_URI += " \
 	file://inetd \
 	file://inetd.conf \
 "
 
-PR_append = "-arago1"
+# Remove ${PN}-udhcpc from the list of init scripts since this was causing issues
+# when using NFS for some machines. This mimics changes from the patch
+# "busybox: udhcpc shouldn't be a service" commit "8329c4679ec0ce319d2a81d755a0da5b05474688"
+# Once the patch mentioned above is pulled into the maintance branch the changes below can be
+# removed.
+
+FILES_${PN}-udhcpc := "${sysconfdir}/udhcpc.d ${datadir}/udhcpc"
+
+INITSCRIPT_PACKAGES := "${@oe_filter_out('${PN}-udhcpc','${INITSCRIPT_PACKAGES}', d)}"
+
+do_install_append () {
+	if grep "CONFIG_UDHCPC=y" ${WORKDIR}/defconfig; then
+		rm ${D}${sysconfdir}/init.d/busybox-udhcpc
+	fi
+}
Signature · 1 line
1.7.0.4
#36 lore raw

PATCH 39/42 u-boot: Add UVER and PSPREL

In reply to Franklin S. Cooper Jr

* Add UVER and PSPREL variable.
* These variables are usually located in a bbappend.
* When this recipe is moved to meta-ti then these changes should be taken out of the base recipe and placed in a bbappend inside meta-arago-distro.

---
 .../u-boot/u-boot_2012.10-psp05.06.00.00.bb        |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
meta-arago-distro/recipes-bsp/u-boot/u-boot_2012.10-psp05.06.00.00.bb +9 -1
index 1fed08b..31e64db 100644
@@ -11,11 +11,19 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
 
 COMPATIBLE_MACHINE = "ti33x|omap3"
 
+###################################################
+# When this recipe is moved to meta-ti these changes should go in a bbappend in meta-arago-distro.
+
+# PSPREL and UVER are used by arago-source-ipk.conf
+PSPREL = "05.06.00.00"
+UVER = "2012.10"
+###################################################
+
 DEFAULT_PREFERENCE = "-1"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-PR = "r0+gitr${SRCPV}"
+PR = "r1+gitr${SRCPV}"
 
 SRC_URI = "git://arago-project.org/git/projects/u-boot-am33x.git;protocol=git;branch=${BRANCH}"
 
Signature · 1 line
1.7.0.4
#37 lore raw

PATCH 40/42 busybox: Enable more features in head application

In reply to Franklin S. Cooper Jr

* Enable additional features of the head application which is used by many of our SDK scripts.

---
 .../recipes-core/busybox/busybox/defconfig         |    2 +-
 .../recipes-core/busybox/busybox_1.19.4.bbappend   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/busybox/busybox/defconfig +1 -1
index 4aa0e7e..31fbec2 100644
@@ -219,7 +219,7 @@ CONFIG_FALSE=y
 # CONFIG_FOLD is not set
 # CONFIG_FSYNC is not set
 CONFIG_HEAD=y
-# CONFIG_FEATURE_FANCY_HEAD is not set
+CONFIG_FEATURE_FANCY_HEAD=y
 # CONFIG_HOSTID is not set
 # CONFIG_INSTALL is not set
 # CONFIG_FEATURE_INSTALL_LONG_OPTIONS is not set
meta-arago-distro/recipes-core/busybox/busybox_1.19.4.bbappend +1 -1
index b7cd903..35b1243 100644
@@ -1,7 +1,7 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago2"
+PR_append = "-arago3"
 
 SRC_URI += " \
 	file://inetd \
Signature · 1 line
1.7.0.4
#38 lore raw

PATCH 41/42 meta-toolchain-arago-qte: Add force option to symbolic link command

In reply to Franklin S. Cooper Jr

* Once the mkspecs file is created any subsequential build will fail due to a "ln: creating symbolic link `mkspecs': File exists" error when trying to create a symbolic link that already exist.
* Add the -f option which removes existing symbolic links allowing a new one to be created.

---
 .../recipes-core/meta/meta-toolchain-arago-qte.bb  |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb +2 -2
index d8425b9..3cc8689 100644
@@ -5,7 +5,7 @@ TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-qte-sdk-${SDK_ARC
 
 require meta-toolchain-arago.bb
 
-PR = "r5"
+PR = "r6"
 
 QT_DIR_NAME = "qtopia"
 
@@ -40,5 +40,5 @@ toolchain_create_sdk_env_script_append() {
 
     # make a symbolic link to mkspecs for compatibility with Nokia's SDK
     # and QTCreator
-    (cd ${SDK_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s ${ARAGO_TARGET_SYS}${datadir}/${QT_DIR_NAME}/mkspecs mkspecs;)
+    (cd ${SDK_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -sf ${ARAGO_TARGET_SYS}${datadir}/${QT_DIR_NAME}/mkspecs mkspecs;)
 }
Signature · 1 line
1.7.0.4
#39 lore raw

PATCH 42/42 ti-tisdk-makefile: Use ARMPKGARCH variable

In reply to Franklin S. Cooper Jr

* The variable BASE_PACKAGE_ARCH no longer exist.
* Use ARMPKGARCH instead to provide ARM architecture version information

---
 .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb     |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb +2 -2
index 2dece10..6208f21 100644
@@ -29,7 +29,7 @@ SRC_URI = "\
     file://Makefile_wireless \
 "
 
-PR = "r0"
+PR = "r1"
 
 MAKEFILES_COMMON = "linux \
                     matrix-gui \
@@ -102,7 +102,7 @@ do_install () {
 
     # fixup Rules.make values
     sed -i -e "s/__PLATFORM__/${MACHINE}/" ${D}/Rules.make
-    sed -i -e "s/__ARCH__/${BASE_PACKAGE_ARCH}/" ${D}/Rules.make
+    sed -i -e "s/__ARCH__/${ARMPKGARCH}/" ${D}/Rules.make
     sed -i -e "s/__UBOOT_MACHINE__/${UBOOT_MACHINE}/" ${D}/Rules.make
 
 }
Signature · 1 line
1.7.0.4
#40 lore raw
In reply to Franklin S. Cooper Jr

I think some patches are missing. I counted only 40 out of 42 - #1 and #2 seem to be missing...

Quoted 34 lines · Franklin S. Cooper Jr

* Add the changes incorporated by the patch
"libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg" currently applied to meta-oe master.
* When the above patch is applied to the denzil branch then this commit can be reverted.

---
 .../recipes-core/jpeg/libjpeg-turbo_svn.bbappend   |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/jpeg/libjpeg-turbo_svn.bbappend
meta-arago-extras/recipes-core/jpeg/libjpeg-turbo_svn.bbappend new file +9 -0
new file mode 100644
index 0000000..08c085d
@@ -0,0 +1,9 @@
+PRINC := "${@int(PRINC) + 1}"
+
+# Temporarily add this append which incorporates the changes of meta-oe master 
+# patch "libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg"
+# commit id 662fd013adcbee8c59f4f475a11911c3267eae90.
+
+RPROVIDES_${PN}  += "jpeg"
+RREPLACES_${PN}  += "jpeg"
+RCONFLICTS_${PN} += "jpeg"
Signature · 6 lines
1.7.0.4

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

The first two were patches I sent awhile ago. One was the creation of the connectivity task and the was ti-tisdk-setup

Quoted 39 lines · Denys

I think some patches are missing. I counted only 40 out of 42 - #1 and #2 seem to be missing...

Quoted 34 lines · Franklin S. Cooper Jr

* Add the changes incorporated by the patch
"libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg" currently applied to meta-oe master.
* When the above patch is applied to the denzil branch then this commit can be reverted.

---
.../recipes-core/jpeg/libjpeg-turbo_svn.bbappend | 9 +++++++++

1 files changed, 9 insertions(+), 0 deletions(-)

create mode 100644 meta-arago-extras/recipes-core/jpeg/libjpeg-turbo_svn.bbappend

meta-arago-extras/recipes-core/jpeg/libjpeg-turbo_svn.bbappend new file +9 -0
new file mode 100644
index 0000000..08c085d
@@ -0,0 +1,9 @@
+PRINC := "${@int(PRINC) + 1}"
+
+# Temporarily add this append which incorporates the changes of meta-oe master 
+# patch "libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg"
+# commit id 662fd013adcbee8c59f4f475a11911c3267eae90.
+
+RPROVIDES_${PN}  += "jpeg"
+RREPLACES_${PN}  += "jpeg"
+RCONFLICTS_${PN} += "jpeg"
Signature · 6 lines
1.7.0.4

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

Ah, and I thought I already pushed those two. Apparently they got lost in one of my gazillion branches I got going here...

But still, it's a strange numbering schema you've got here - skipping numbers for some of the pathces you've submitted before, but not others, like this libjpeg one...

Denys

Quoted 44 lines · Franklin

The first two were patches I sent awhile ago. One was the creation of the connectivity task and the was ti-tisdk-setup

Quoted 39 lines · Denys

I think some patches are missing. I counted only 40 out of 42 - #1 and #2 seem to be missing...

Quoted 34 lines · Franklin S. Cooper Jr

* Add the changes incorporated by the patch
"libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg" currently applied to meta-oe master.
* When the above patch is applied to the denzil branch then this commit can be reverted.

---
.../recipes-core/jpeg/libjpeg-turbo_svn.bbappend | 9 +++++++++

1 files changed, 9 insertions(+), 0 deletions(-)

create mode 100644 meta-arago-extras/recipes-core/jpeg/libjpeg-turbo_svn.bbappend

meta-arago-extras/recipes-core/jpeg/libjpeg-turbo_svn.bbappend new file +9 -0
new file mode 100644
index 0000000..08c085d
@@ -0,0 +1,9 @@
+PRINC := "${@int(PRINC) + 1}"
+
+# Temporarily add this append which incorporates the changes of meta-oe master 
+# patch "libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg"
+# commit id 662fd013adcbee8c59f4f475a11911c3267eae90.
+
+RPROVIDES_${PN}  += "jpeg"
+RREPLACES_${PN}  += "jpeg"
+RCONFLICTS_${PN} += "jpeg"
Signature · 6 lines
1.7.0.4

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