Debian update for trusty edma3_keystone2 DEV_EDMA3_LLD_02_11_13_17_RC02
authorIvan Pang <i-pang@ti.com>
Tue, 26 Aug 2014 20:36:56 +0000 (16:36 -0400)
committerIvan Pang <i-pang@ti.com>
Tue, 26 Aug 2014 20:36:56 +0000 (16:36 -0400)
debian/changelog
debian/compat
debian/control
debian/copyright
debian/libedma3-1.install [new file with mode: 0644]
debian/libedma3-dev.install [new file with mode: 0644]
debian/patches/debian-changes [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules
debian/source/format [new file with mode: 0644]

index 4510279c1f34a53d09534bc67c87827cfb091d9b..30a9c6a1f24b5faf07158cca3fbf5dc48f614f17 100644 (file)
@@ -1,3 +1,17 @@
+edma3-lld (02.11.13.17-0ubuntu1~ppa2) trusty; urgency=medium
+
+  * Upload to Ubuntu.
+  * Fix debian/copyright to comply with copyright-format 1.0.
+  * Update to debhelper compat level 9.
+  * Update to Standards-Version 3.9.5.
+  * Add cross-build support.
+  * Use CURDIR, not PWD, in debian/rules.
+  * Drop Vcs-{Git,Browser} fields, since we diverge from the packaging
+    included there.
+  * Use 3.0 (quilt) package format.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Tue, 26 Aug 2014 01:13:45 +0000
+
 edma3-lld (02.11.13.17-0ubuntu1~ppa1) precise; urgency=low
 
   * Minor bug fixes for building and compiling
index 45a4fb75db864000d01701c0f7a51864bd4daabf..ec635144f60048986bc560c5576355344005e6e7 100644 (file)
@@ -1 +1 @@
-8
+9
index 7455b7662df8ff25a81f14f6de38285b572ec2c4..6ea5311d60dfb9a38525f74d3bea214e2ef6695d 100644 (file)
@@ -1,13 +1,20 @@
 Source: edma3-lld
-Section: admin
+Section: partner/libs
 Priority: extra
 Maintainer: TI Keystone PPA <ti-keystone-ppa@list.ti.com>
-Build-Depends: pdk-keystone2, debhelper (>= 8.0.0)
-Standards-Version: 3.9.4
-Vcs-Git: git://git.ti.com/keystone-rtos/edma3_lld.git
-Vcs-Browser: https://git.ti.com/keystone-rtos/edma3_lld
+Build-Depends: pdk-keystone2, debhelper (>= 9)
+Standards-Version: 3.9.5
 
-Package: edma3-lld
+Package: libedma3-1
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: EDMA3 Low Level Driver for user space. This LLD provides API for using EDMA. 
+Description: EDMA3 Low Level Driver for user space
+ This package provides an API for using EDMA.
+
+Package: libedma3-dev
+Section: partner/libdevel
+Architecture: any
+Depends: libedma3-1 (= ${binary:Version}), ${misc:Depends}
+Description: EDMA3 Low Level Driver for user space - development files
+ This package provides the development files needed for building against
+ the TI EDMA library.
index ce0f69e896de9374cf99f8842addce6b507130b8..d106aa2abea271c0178c8b482697b1828ed80573 100644 (file)
@@ -1,39 +1,34 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: edma3-lld 
-Source: <https://gitorious.design.ti.com/+edma3-lld-developers/edma3/edma3_lld_development>
+Source: git://git.ti.com/keystone-rtos/edma3_lld.git
 
 Files: *
-(C) Copyright 2013, Texas Instruments, Inc.
-
-Redistribution and use in source and binary forms, with or without 
-modification, are permitted provided that the following conditions 
-are met:
-
+Copyright: 2009-2013, Texas Instruments, Inc.
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without 
+ modification, are permitted provided that the following conditions 
+ are met:
+ .
   Redistributions of source code must retain the above copyright 
   notice, this list of conditions and the following disclaimer.
-
+ .
   Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the 
   documentation and/or other materials provided with the   
   distribution.
-
+ .
   Neither the name of Texas Instruments Incorporated nor the names of
   its contributors may be used to endorse or promote products derived
   from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
-# Please avoid to pick license terms that are more restrictive than the
-# packaged work, as it may make Debian's contributions unacceptable upstream.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/libedma3-1.install b/debian/libedma3-1.install
new file mode 100644 (file)
index 0000000..f594597
--- /dev/null
@@ -0,0 +1,2 @@
+packages/ti/sdo/edma3/drv/lib/a15/release/libedma*.so.1* /usr/lib
+packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/libedma*.so.1* /usr/lib
diff --git a/debian/libedma3-dev.install b/debian/libedma3-dev.install
new file mode 100644 (file)
index 0000000..5441d76
--- /dev/null
@@ -0,0 +1,12 @@
+packages/ti/sdo/edma3/drv/*.h  /usr/include/ti/sdo/edma3/drv/
+packages/ti/sdo/edma3/rm/*.h   /usr/include/ti/sdo/edma3/rm/
+packages/ti/sdo/edma3/drv/lib/a15/release/edma3_lld_drv.aa15fg /usr/lib/libedma3.a
+packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/edma3_lld_rm.aa15fg /usr/lib/libedma3rm.a
+
+packages/ti/sdo/edma3/drv/lib/a15/release/libedma*.so /usr/lib
+packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/libedma*.so /usr/lib
+
+examples/edma3_user_space_driver/evmTCI6636K2H/evmTCI6636K2HSample.c /usr/include/ti/sdo/edma3/drv/sample/src/platforms/
+examples/edma3_user_space_driver/evmTCI6638K2K/evmTCI6638K2KSample.c /usr/include/ti/sdo/edma3/drv/sample/src/platforms/
+examples/edma3_user_space_driver/evmTCI6630K2L/evmTCI6630K2LSample.c /usr/include/ti/sdo/edma3/drv/sample/src/platforms/
+examples/edma3_user_space_driver/evmC66AK2E/evmC66AK2ESample.c /usr/include/ti/sdo/edma3/drv/sample/src/platforms/
diff --git a/debian/patches/debian-changes b/debian/patches/debian-changes
new file mode 100644 (file)
index 0000000..815a5bf
--- /dev/null
@@ -0,0 +1,228 @@
+--- edma3-lld-02.11.11.15.orig/eclipse/plugins/com.ti.sdo.edma3.rtscRegistry_02.11.11/plugin.xml
++++ edma3-lld-02.11.11.15/eclipse/plugins/com.ti.sdo.edma3.rtscRegistry_02.11.11/plugin.xml
+@@ -26,7 +26,7 @@
+   <extension point="org.eclipse.rtsc.xdctools.managedbuild.core.rtscProductTypes">
+     <productType id="com.ti.sdo.edma3"
+                  name="EDMA3 Low Level Driver"
+-                 folderPrefix="edma3_lld_02_11_11_13"
++                 folderPrefix="edma3_lld_02_11_11_15"
+                  rootMacroName="EDMA3_LLD_INSTALL_DIR" />
+   </extension>
+   <extension point="org.eclipse.rtsc.xdctools.managedbuild.core.rtscProducts">
+--- edma3-lld-02.11.11.15.orig/makerules/env.mk
++++ edma3-lld-02.11.11.15/makerules/env.mk
+@@ -7,12 +7,12 @@
+ # Directory where all internal software packages are located; typically 
+ #  those that are checked into version controlled repository. In this case all
+ #  the OMX components and SDK/OMX demo.
+-INTERNAL_SW_ROOT ?= E:/EDMA/edma3_lld_02_11_07_01
++INTERNAL_SW_ROOT ?= /home/gtbldadm/ti/edma3_lld_02_11_11_15
+ # Directory where all external (imported) software packages are located; typically 
+ #  those that are NOT checked into version controlled repository. In this case,
+ #  compiler tool chains, BIOS, XDC, Syslink, IPC, FC, CE, drivers, codecs, etc.
+-EXTERNAL_SW_ROOT ?= C:/PROGRA~1/TEXASI~1
++EXTERNAL_SW_ROOT ?= /home/gtbldadm/ti
+ # Destination root directory.
+ #   - specify the directory where you want to place the object, archive/library,
+@@ -23,7 +23,7 @@ EXTERNAL_SW_ROOT ?= C:/PROGRA~1/TEXASI~1
+ # Utilities directory. This is required only if the build machine is Windows.
+ #   - specify the installation directory of utility which supports POSIX commands
+ #     (eg: Cygwin installation or MSYS installation).
+-UTILS_INSTALL_DIR = $(EXTERNAL_SW_ROOT)/xdctools_3_25_04_88
++UTILS_INSTALL_DIR = $(EXTERNAL_SW_ROOT)/xdctools_3_25_05_94
+ # Set path separator, etc based on the OS
+ ifeq ($(OS),Windows_NT)
+@@ -35,11 +35,11 @@ else
+ endif
+ # BIOS
+-bios_PATH = $(EXTERNAL_SW_ROOT)/bios_6_37_00_16_eng
++bios_PATH = $(EXTERNAL_SW_ROOT)/bios_6_37_00_20
+ bios_INCLUDE = $(bios_PATH)/packages
+ # XDC
+-xdc_PATH = $(EXTERNAL_SW_ROOT)/xdctools_3_25_04_88
++xdc_PATH = $(EXTERNAL_SW_ROOT)/xdctools_3_25_05_94
+ xdc_INCLUDE = $(xdc_PATH)/packages
+ # EDMA3 LLD
+@@ -50,26 +50,26 @@ include $(edma3_lld_PATH)/packages/compo
+ # Tools paths
+ #
+ # Cortex-M3
+-CODEGEN_PATH_M3 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
++CODEGEN_PATH_M3 = $(EXTERNAL_SW_ROOT)/ccsv5/tools/compiler/arm_5.1.1
+ # Cortex-M4
+-CODEGEN_PATH_M4 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
++CODEGEN_PATH_M4 = $(EXTERNAL_SW_ROOT)/ccsv5/tools/compiler/arm_5.1.1
+ # Cortex-A8
+-CODEGEN_PATH_A8 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
++CODEGEN_PATH_A8 = $(EXTERNAL_SW_ROOT)/ccsv5/tools/compiler/arm_5.1.1
+ # Cortex-A8 GCC
+-CODEGEN_PATH_A8_GCC = C:/PROGRA~1/GNUTOO~1/4F700~1.720
++CODEGEN_PATH_A8_GCC = /home/a0862859/gcc-arm-none-eabi-4_7-2013q3/
+ # Cortex-A15
+-CODEGEN_PATH_A15 = C:/PROGRA~1/GNUTOO~1/4F700~1.720
++CODEGEN_PATH_A15 = /home/a0862859/gcc-arm-none-eabi-4_7-2013q3/
+ # Cortex-A15_GCC
+ CODEGEN_PATH_A15_GCC = $(EXTERNAL_SW_ROOT)/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/
+ # ARM-9
+-CODEGEN_PATH_ARM9 = $(EXTERNAL_SW_ROOT)/TIARMC~1.2
++CODEGEN_PATH_ARM9 = $(EXTERNAL_SW_ROOT)/ccsv5/tools/compiler/arm_5.1.1
+ # DSP - Since same toolchain does not support COFF and ELF, there are two entries
+ #        This would go away when one version supports both formats
+-CODEGEN_PATH_DSP = $(EXTERNAL_SW_ROOT)/C6000C~2.1
+-CODEGEN_PATH_DSPELF = $(EXTERNAL_SW_ROOT)/C6000C~2.1
++CODEGEN_PATH_DSP = $(EXTERNAL_SW_ROOT)/TI_CGT_C6000_7.4.4
++CODEGEN_PATH_DSPELF = $(EXTERNAL_SW_ROOT)/TI_CGT_C6000_7.4.4
+ # ARP32
+ CODEGEN_PATH_ARP32 = $(EXTERNAL_SW_ROOT)/ARP32C~1.2
+--- edma3-lld-02.11.11.15.orig/package.xdc
++++ edma3-lld-02.11.11.15/package.xdc
+@@ -9,7 +9,7 @@ requires ti.sdo.edma3.drv;
+ requires ti.sdo.edma3.drv.sample;
+ /*!
+- *  ======== edma3_lld_02_11_11_13 ========
++ *  ======== edma3_lld_02_11_11_15 ========
+  */
+-package edma3_lld_02_02_11_12 [02, 02, 11] {
++package edma3_lld_02_11_11_15 [02, 02, 11] {
+ }
+--- edma3-lld-02.11.11.15.orig/release_notes_edma3_lld.html
++++ edma3-lld-02.11.11.15/release_notes_edma3_lld.html
+@@ -76,7 +76,7 @@ th
+   </tbody>
+ </table>
+ <h1 class="title">EDMA3 LLD 02.11.11 Release Notes</h1>
+-<h2 class="title">Jan 7, 2013</h2>
++<h2 class="title">Feb 19, 2014</h2>
+ <p>
+ This EDMA3 Low Level Driver Release is targeted to the users (device
+ drivers
+@@ -220,65 +220,31 @@ Reference Guide (<a href="packages/ti/sd
+ <h2><a name="Whats_New">What's New</a></h2>
+ <p>
+-<a name="Whats_New">The following significant changes have been made since 02.11.11:
++<a name="Whats_New">The following significant changes have been made since 02.11.11.13:
+ </a></p>
+-<p><a name="Whats_New">02.11.11 - This release
++<p><a name="Whats_New">02.11.11.15 - This release
+ </a></p>
+ <p>
+-<a name="Whats_New">The following IRs are implemented:
++<a name="Whats_New">Major Actions:
+ </a></p>
+-
+-<table width="100%">
+-  <tbody>
+-    <tr>
+-      <th>ID</th>
+-      <th>Headline</th>
+-    </tr>
+-    <tr>
+-      <td width="200">SDOCM00104308</td>
+-      <td>Ti814x sample app, the unregisterEdma3Interrupts causes an exception because error interrupts were not assigned for M3 builds</td>
+-    </tr>
+-    <tr>
+-      <td width="200">SDOCM00105689</td>
+-      <td>EDMA3 LLD support for official DRA7xx platform is broken</td>
+-    </tr>
+-    <tr>
+-      <td width="200">SDOCM00105739</td>
+-      <td>Add Support for EVE internal EDMA in EDMA3 LLD</td>
+-    </tr>
+-    <tr>
+-      <td width="200">SDOCM00105829</td>
+-      <td>Remove build warnings and C++ warning</td>
+-    </tr>
+-    <tr>
+-      <td width="200">SDOCM00105832</td>
+-      <td>Tear down sequence in standalone example is improper</td>
+-    </tr>
+-  </tbody>
+-</table>
++<li> <font size="+1">User space support for Keystone 2 Devices. Static libraries, dynamic libraries, and examples are provided for TCI6636K2H, TCI6638K2K, TCI6630K2L, and C66AK2E.</font></li>
+ <p>
+-<a name="Whats_New"><FONT COLOR ='RED'>The following IRs are raised on this release:<b>Known Issues</b></FONT>
++<a name="Whats_New">The following IRs are implemented:
+ </a></p>
++
+ <table width="100%">
+   <tbody>
+     <tr>
+       <th>ID</th>
+       <th>Headline</th>
+     </tr>
+-
+     <tr>
+-      <td width="200"><FONT COLOR ='RED'>SDOCM00078640</FONT></td>
+-      <td><FONT COLOR ='RED'>ARM 9 support for OMAPL138 is not available on Make based build of EDMA3LLD</FONT></td>
++      <td width="200">SDOCM00106346</td>
++      <td>edma3lld needs to be compiled with --mem_model:data=far for use with OpenCL</td>
+     </tr>
+-
+-    <tr>
+-      <td width="200"><FONT COLOR ='RED'>SDSCM00039169</FONT></td>
+-      <td><FONT COLOR ='RED'>EDMA3 Example fails for following Big Endian Simulators targets tci6608-sim/tci6616-sim</FONT></td>
+-    </tr>
+-
+   </tbody>
+ </table>
+@@ -382,6 +348,12 @@ This release supports and has been teste
+   <ul>
+     <li>C66X SYS/BIOS</li>
+   </ul>
++  <li>TCI6636K2H EVM:</li>
++  </a>
++  <ul>
++    <li>C66X SYS/BIOS</li>
++      <li>A15 Arago</li>
++  </ul>
+   <li>TDA2XX SIM:</li>
+   </a>
+   <ul>
+@@ -431,13 +403,13 @@ This release was built and validated aga
+ components:
+ </p>
+ <ul type="disc">
+-  <a name="Validation"> <li>CCS 5.4.0</li>
+-  <li>C6x Code Generation Tools version 7.4.2 </li>
+-  <li>TMS470 Code Generation Tools 5.0.4</li>
++  <a name="Validation"> <li>CCS 5.5.0</li>
++  <li>C6x Code Generation Tools version 7.4.4 </li>
++  <li>TMS470 Code Generation Tools 5.1.1</li>
+   <li>Arm GCC A15 Toolchain (Linaro) 4.7.3</li>
+   <li>ARP32 Code Generation Tools 1.0.2</li>
+-  <li>SYS/BIOS 6.35.03.47</li>
+-  <li>XDC Tools 3.25.02.70</li>
++  <li>SYS/BIOS 6.37.00.20</li>
++  <li>XDC Tools 3.25.05.94</li>
+   <li>TCI6498 Simulator 0.7.1</li>
+   </a>
+ </ul>
+@@ -528,6 +500,12 @@ This release was validated in the follow
+   <ul>
+     <li>C66X SYS/BIOS</li>
+   </ul>
++  <li>TCI6636K2H EVM:</li>
++  </a>
++  <ul>
++    <li>C66X SYS/BIOS</li>
++      <li>A15 Arago</li>
++  </ul>
+   <li>TDA2XX SIM:</li>
+   </a>
+   <ul>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..7bb8252
--- /dev/null
@@ -0,0 +1 @@
+debian-changes
index af186c3d8f8298d1d202ef44f19ca7724c8a52f9..e2a3c8a392c358d60a14882bf2bd96cd4119d32a 100755 (executable)
@@ -1,20 +1,27 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
-export ROOTDIR=$(PWD)
+export ROOTDIR=$(CURDIR)
 export INTERNAL_SW_ROOT=$(ROOTDIR)
-export CROSSCC=gcc
-export CROSSAR=ar
-export CROSSLNK=gcc
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+  export CROSSCC=gcc
+  export CROSSAR=ar
+  export CROSSLNK=gcc
+else
+  export CROSSCC=$(DEB_HOST_GNU_TYPE)-gcc
+  export CROSSAR=$(DEB_HOST_GNU_TYPE)-ar
+  export CROSSLNK=$(DEB_HOST_GNU_TYPE)-gcc
+endif
+
 %:
        dh $@ 
 
 override_dh_auto_build:
        $(MAKE) -C packages PLATFORM=tci6636k2h-evm TARGET=a15 TOOLCHAIN_a15=GCC FORMAT=ELF SONAME=libedma3.so libs
+
+override_dh_auto_clean:
+       $(MAKE) -C packages PLATFORM=tci6636k2h-evm TARGET=a15 TOOLCHAIN_a15=GCC FORMAT=ELF SONAME=libedma3.so clean
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)