diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2015-12-30 10:20:14 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-12-30 11:22:49 -0800 |
commit | d956bb6668553694eb610ef89313e4a4b6bb0f72 (patch) | |
tree | fde6f463b0cc00be4c46d7caf24107419ae98918 | |
parent | 5993ee4a4d19a41ffe40dc1a17726d52f0b8b6d0 (diff) | |
download | uhd-d956bb6668553694eb610ef89313e4a4b6bb0f72.tar.gz uhd-d956bb6668553694eb610ef89313e4a4b6bb0f72.tar.bz2 uhd-d956bb6668553694eb610ef89313e4a4b6bb0f72.zip |
Added scripts and Debian configuration files for Ubuntu PPA
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | host/.gitignore | 1 | ||||
-rw-r--r-- | host/cmake/debian/NetworkManager-USRP | 14 | ||||
-rw-r--r-- | host/cmake/debian/README.Debian | 65 | ||||
-rw-r--r-- | host/cmake/debian/changelog | 12 | ||||
-rw-r--r-- | host/cmake/debian/compat | 1 | ||||
-rw-r--r-- | host/cmake/debian/control | 63 | ||||
-rw-r--r-- | host/cmake/debian/copyright | 1179 | ||||
-rw-r--r-- | host/cmake/debian/libuhd-dev.install | 4 | ||||
-rw-r--r-- | host/cmake/debian/libuhd003.install | 1 | ||||
-rw-r--r-- | host/cmake/debian/libuhd003.shlibs | 1 | ||||
-rw-r--r-- | host/cmake/debian/patches/series | 1 | ||||
-rwxr-xr-x | host/cmake/debian/rules | 20 | ||||
-rw-r--r-- | host/cmake/debian/source/format | 1 | ||||
-rw-r--r-- | host/cmake/debian/uhd-host.dirs | 8 | ||||
-rw-r--r-- | host/cmake/debian/uhd-host.install | 4 | ||||
-rw-r--r-- | host/cmake/debian/uhd-host.limits | 1 | ||||
-rw-r--r-- | host/cmake/debian/uhd-host.postinst | 17 | ||||
-rw-r--r-- | host/cmake/debian/uhd-host.sysctl | 3 | ||||
-rw-r--r-- | host/cmake/debian/uhd-images.dirs | 1 | ||||
-rwxr-xr-x | tools/debs/convert_changelog.py | 108 | ||||
-rwxr-xr-x | tools/debs/upload_debs.sh | 127 |
22 files changed, 1633 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 80fb99fff..ab7cc5149 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +debian *~ *swp diff --git a/host/.gitignore b/host/.gitignore index 9b0584c23..a3d6d91bf 100644 --- a/host/.gitignore +++ b/host/.gitignore @@ -1,3 +1,4 @@ +!debian /build tags *~ diff --git a/host/cmake/debian/NetworkManager-USRP b/host/cmake/debian/NetworkManager-USRP new file mode 100644 index 000000000..1552ab5d3 --- /dev/null +++ b/host/cmake/debian/NetworkManager-USRP @@ -0,0 +1,14 @@ +[802-3-ethernet] +duplex=full + +[connection] +id=USRP +uuid=f6a7696d-4958-48f4-b1eb-c2ab9de0a838 +type=802-3-ethernet + +[ipv6] +method=auto + +[ipv4] +method=manual +addresses1=192.168.10.1;24;0.0.0.0; diff --git a/host/cmake/debian/README.Debian b/host/cmake/debian/README.Debian new file mode 100644 index 000000000..692e43980 --- /dev/null +++ b/host/cmake/debian/README.Debian @@ -0,0 +1,65 @@ +UHD, the "Universal Software Radio Peripheral" hardware driver on Debian: +========================================================================= + +usrp group +---------- + +The Debian uhd-host package installs a usrp group. +This provides two main benefits: + - Access control: + The udev rules limit access to members of the group + (at least for USB attached USRPs). + - Real Time Priority privilege: + The pam limits setting allows UHD to boost the + thread scheduling priority for usrp group members. + +To avail yourself of these benefits, add your username +to the usrp group, perhaps by running, as root something like: + + adduser myusername usrp + +substituting your user name for myusername. +Settings will not take effect until the user has logged in and out. + + +Multiple packages +----------------- + +uhd-host: + The uhd-host package contains the uhd_find_devices and + uhd_usrp_probe commands for locating and examining USRP devices + available to the host system. + + Also, under /usr/lib/uhd/ are examples, tests and utils + directories. The utils include tools for managing the + flash memory or EEPROM configuration of various USRPs. + +libuhd003: + Small package just for the library itself. + +libuhd-dev: + Small package just for developing applications + using the library itself. + +UHD Firmware / FPGA images +-------------------------- + + The uhd-images package is not part of the main Debian distribution + because the FPGA firmware requires non-free vendor tools to compile + from source. + + For USRP devices with non-volatile configuration having the firmware + images on the host is optional. But some USRPs are volatile, and + the UHD library will fetch files from the /usr/share/uhd/images/ + directory at runtime. + + The uhd_images_downloader is a python script to download from + Ettus.com and install the files. + +More Information +---------------- + +Additional HTML documentation is installed. See +file:///usr/share/doc/uhd-host/doxygen/html/index.html + + -- A. Maitland Bottoms <bottoms@debian.org>, Thu, 9 Oct 2014 23:14:19 -0400 diff --git a/host/cmake/debian/changelog b/host/cmake/debian/changelog new file mode 100644 index 000000000..1ed6ab28d --- /dev/null +++ b/host/cmake/debian/changelog @@ -0,0 +1,12 @@ +uhd (3.9.1-0ubuntu1) trusty; urgency=low + + * B200mini: Updated udev rules, removed DCM + * B200: Better USB error messages + * Cores: Fixed CORDIC scaling issue on all devices that use + dsp_core_3000 + * X300: Fixed GPIO issue + * Examples: Added PPS source option + * Docs: Multiple manual updates + + -- Nicholas Corgan <nick.corgan@ettus.com> Tue, 29 Dec 2015 03:06:31 -0800 + diff --git a/host/cmake/debian/compat b/host/cmake/debian/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/host/cmake/debian/compat @@ -0,0 +1 @@ +9 diff --git a/host/cmake/debian/control b/host/cmake/debian/control new file mode 100644 index 000000000..4e41c779e --- /dev/null +++ b/host/cmake/debian/control @@ -0,0 +1,63 @@ +Source: uhd +Section: science +Priority: optional +Maintainer: Ettus Research <packages@ettus.com> +Uploaders: Martin Braun <martin.braun@ettus.com>, Nicholas Corgan <nick.corgan@ettus.com> +Build-Depends: debhelper (>= 9), cmake (>= 2.8.4+dfsg.1-3), python-dev, python-mako, doxygen, libusb-1.0-0-dev [linux-any], libusb2-dev [kfreebsd-any], libncurses5-dev, pkg-config, + libboost-dev, + libboost-date-time-dev, + libboost-filesystem-dev, + libboost-program-options-dev, + libboost-regex-dev, + libboost-system-dev, + libboost-thread-dev, + libboost-test-dev, + libboost-serialization-dev +Standards-Version: 3.9.5 +Homepage: https://www.ettus.com +Vcs-Git: git://github.com/EttusResearch/uhd.git + +Package: uhd-host +Architecture: any +Depends: libuhd003, python, adduser, python-requests, ${shlibs:Depends}, ${misc:Depends} +Recommends: python-tk, curl, procps +Suggests: gnuradio +Description: hardware driver for Ettus Research products + Host utilities for the USRP Hardware Driver for Ettus Research products. + . + The supported devices provide analog radio receiver and transmitter hardware + along with digital interfaces for getting signals to and from a software + defined radio running on the host computer. + . + This package includes the uhd_find_devices application to locate and + configure attached peripherals, and the uhd_usrp_probe application to + display hardware configuration information. + +Package: libuhd003 +Architecture: any +Section: libs +Pre-Depends: multiarch-support, ${misc:Pre-Depends} +Depends: python, adduser, ${shlibs:Depends}, ${misc:Depends} +Suggests: gnuradio +Multi-Arch: same +Description: hardware driver for Ettus Research products + Host library for the USRP Hardware Driver for Ettus Research products. + . + The supported devices provide analog radio receiver and transmitter hardware + along with digital interfaces for getting signals to and from a software + defined radio running on the host computer. + +Package: libuhd-dev +Architecture: any +Section: libdevel +Depends: libuhd003 (= ${binary:Version}), python, adduser, ${shlibs:Depends}, ${misc:Depends} +Suggests: libjs-jquery, gnuradio +Description: universal hardware driver for Ettus Research products + Host library for the USRP Hardware Driver for Ettus Research products. + . + The supported devices provide analog radio receiver and transmitter hardware + along with digital interfaces for getting signals to and from a software + defined radio running on the host computer. + . + This package contains the header files and documentation for + developing with libuhd. diff --git a/host/cmake/debian/copyright b/host/cmake/debian/copyright new file mode 100644 index 000000000..32c7060ea --- /dev/null +++ b/host/cmake/debian/copyright @@ -0,0 +1,1179 @@ +Format: http://dep.debian.net/deps/dep5/ +Upstream-Name: UHD +Upstream-Contact: http://www.ettus.com/contact +Source: http://code.ettus.com/redmine/ettus/projects/uhd/wiki#Source-code +X-Note: The upstream package source tarball was generated from the tag: + git archive --format=tar --prefix=uhd-3.7.3/ release_003_007_003 | xz > ../uhd_3.7.3.orig.tar.gz +Comment: Only the host directory of the distributed source is used to build the uhd-host package for Debian main. +Copyright: Copyright 2010-2011 Ettus Research LLC +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. + +Files: debian/* +Copyright: © 2011-2012 A. Maitland Bottoms <bottoms@debian.org> +License: GPL-3+ + +Files: host/* not listed below: +Copyright: Copyright 2010-2011 Ettus Research LLC +License: GPL-3+ + +Files: host/cmake/Modules/FindGit.cmake +Copyright: Copyright 2010 Kitware, Inc. +License: Kitware-BSD + 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 names of Kitware, Inc., the Insight Software Consortium, + nor the names of their 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 + HOLDER 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. + +Files: host/cmake/Modules/FindUSB1.cmake +Copyright: Copyright (c) 2006, 2008 Laurent Montel, <montel@kde.org> +License: Kitware-BSD + +Files: host/cmake/msvc/* +Copyright: Copyright (c) 2006 Alexander Chemeris +Comment: Not used for building Debian packages. +License: BSD + // Redistribution and use in source and binary forms, with or without + // modification, are permitted provided that the following conditions are met: + // + // 1. Redistributions of source code must retain the above copyright notice, + // this list of conditions and the following disclaimer. + // + // 2. 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. + // + // 3. The name of the author may be used to endorse or promote products + // derived from this software without specific prior written permission. + // + // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + +Files: images/* +Copyright: Copyright 2010-2011 Ettus Research LLC +License: GPL-3+ +Comment: Not used for uhd-host package + +Files: firmware/fx3/* firmware/octoclock/* firmware/x300/* +Copyright: 2013-2014 Ettus Research LLC +License: GPL-3+ + +Files: firmware/fx2/* not listed below +Copyright: 2003,2004,2006,2007 Free Software Foundation, Inc. +License: GPL-3+ + +Files: firmware/fx2/b100/CMakeLists.txt + firmware/fx2/CMakeLists.txt + firmware/fx2/config/CMakeASM_SDCCInformation.cmake + firmware/fx2/config/Rename.cmake + firmware/fx2/config/Toolchain-sdcc.cmake + firmware/fx2/usrp1/CMakeLists.txt +Copyright: 2010 Ettus Research LLC +License: GPL-3+ + +Files: firmware/fx2/config/CMakeTestASM_SDCCCompiler.cmake + firmware/fx2/config/CMakeDetermineASM_SDCCCompiler.cmake +Copyright: 2008-2009 Kitware, Inc. +License: Kitware-BSD + +Files: firmware/zpu/apps* firmware/zpu/lib/* + firmware/zpu/lwip/*.h firmware/zpu/usrp2/* + firmware/README.txt +Copyright: Copyright 2010-2011 Ettus Research LLC +License: GPL-3+ + +Files: firmware/zpu/apps* firmware/zpu/bin/* firmware/zpu/lib/* + firmware/zpu/lwip/*.h firmware/zpu/usrp2/* +Copyright: Copyright 2007-2009 Free Software Foundation, Inc. +License: GPL-3+ + +Files: firmware/zpu/lwip/lwip-1.3.1 +Copyright: (c) 2001-2004 Swedish Institute of Computer Science. +License: lwip-BSD + * Redistribution and use in source and binary forms, with or without modification, + * are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * 2. 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. + * 3. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. +Comment: liIP Author Adam Dunkels <adam@sics.se> + http://savannah.nongnu.org/projects/lwip/ + Also includes other BSD licensed code from additional copyright + holders outlined in detail below... + +Files: firmware/zpu/lwip/lwip-1.3.1/src/core/dns.c firmware/zpu/lwip/lwip-1.3.1/src/include/lwip/dns.h +Copyright: (c) 2002-2003, Adam Dunkels. +License: lwip-BSD +Comments: + * Port to lwIP from uIP + * by Jim Pettinato April 2007 + * ported from uIP resolv.c + +Files: firmware/zpu/lwip/lwip-1.3.1/src/core/ipv4/autoip.c firmware/zpu/lwip/lwip-1.3.1/src/include/ipv4/lwip/autoip.h +Copyright: (c) 2007 Dominik Spies <kontakt@dspies.de> + * All rights reserved. +License: lwip-BSD + +Files: firmware/zpu/lwip/lwip-1.3.1/src/core/dhcp.c + firmware/zpu/lwip/lwip-1.3.1/src/netif/etharp.c + firmware/zpu/lwip/lwip-1.3.1/src/include/netif/etharp.h + firmware/zpu/lwip/lwip-1.3.1/src/include/lwip/snmp.h +Copyright: (c) 2001-2004 Leon Woestenberg <leon.woestenberg@gmx.net> +License: lwip-BSD + +Files: firmware/zpu/lwip/lwip-1.3.1/src/include/netif/etharp.h + firmware/zpu/lwip/lwip-1.3.1/src/include/lwip/snmp.h + firmware/zpu/lwip/lwip-1.3.1/src/include/lwip/snmp_asn1.h + firmware/zpu/lwip/lwip-1.3.1/src/include/lwip/snmp_msg.h + firmware/zpu/lwip/lwip-1.3.1/src/include/lwip/snmp_structs.h + firmware/zpu/lwip/lwip-1.3.1/src/core/dhcp.c + firmware/zpu/lwip/lwip-1.3.1/src/core/snmp/mib2.c + firmware/zpu/lwip/lwip-1.3.1/src/core/snmp/msg_out.c + firmware/zpu/lwip/lwip-1.3.1/src/core/snmp/msg_in.c + firmware/zpu/lwip/lwip-1.3.1/src/core/snmp/asn1_dec.c + firmware/zpu/lwip/lwip-1.3.1/src/core/snmp/asn1_enc.c + firmware/zpu/lwip/lwip-1.3.1/src/core/snmp/mib_structs.c + firmware/zpu/lwip/lwip-1.3.1/src/netif/etharp.c +Copyright: (c) 2001-2004,2006 Axon Digital Design B.V., The Netherlands. +License: lwip-BSD +Comment: Christiaan Simons <christiaan.simons@axon.tv> + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/pppdebug.h: +Copyright: (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc. + portions Copyright (c) 1998 Global Election Systems Inc. + portions Copyright (c) 2001 by Cognizant Pty Ltd. +License: MBSI-BSD + * The authors hereby grant permission to use, copy, modify, distribute, + * and license this software and its documentation for any purpose, provided + * that existing copyright notices are retained in all copies and that this + * notice and the following disclaimer are included verbatim in any + * distributions. No written agreement, license, or royalty fee is required + * for any of the authorized uses. + * + * THIS SOFTWARE IS PROVIDED BY THE 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 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. + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/randm.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/randm.h +Copyright: (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc. + Copyright (c) 1998 Global Election Systems Inc. +License: MBSI-BSD +Comments: + * 03-01-01 Marc Boucher <marc@mbsi.ca> + * Ported to lwIP. + * 98-06-03 Guy Lancaster <lancasterg@acm.org>, Global Election Systems Inc. + * Extracted from avos. + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/chpms.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/chpms.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/chap.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/chap.h +Copyright: (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc. + portions Copyright (c) 1998 Global Election Systems Inc. +License: MBSI-BSD + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/auth.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/auth.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/magic.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/magic.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/fsm.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/fsm.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ppp.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ppp.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/pap.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/pap.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/lcp.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/lcp.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ipcp.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ipcp.h +Copyright: (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc. + portions Copyright (c) 1997,1998 by Global Election Systems Inc. +License: MBSI-BSD + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/chpms.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/chpms.h +Copyright: (c) 1995 Eric Rosenquist, Strata Software Limited. + * All rights reserved. +License: + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by Eric Rosenquist. The name of the author may not be used to + * endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +Comments: http://www.strataware.com/ + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/chap.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/chap.h +Copyright: (c) 1991 Gregory M. Christy + * All rights reserved. +License: + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by Gregory M. Christy. The name of the author may not be used to + * endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ppp.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ppp.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/auth.c + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/chap.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/chap.h +Copyright: (c) 1993,1994 The Australian National University. + * All rights reserved. +License: + * Permission to use, copy, modify, and distribute this software and its + * documentation is hereby granted, provided that the above copyright + * notice appears in all copies. This software is provided without any + * warranty, express or implied. The Australian National University + * makes no representations about the suitability of this software for + * any purpose. + * + * IN NO EVENT SHALL THE AUSTRALIAN NATIONAL UNIVERSITY BE LIABLE TO ANY + * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF + * THE AUSTRALIAN NATIONAL UNIVERSITY HAVE BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * THE AUSTRALIAN NATIONAL UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS + * ON AN "AS IS" BASIS, AND THE AUSTRALIAN NATIONAL UNIVERSITY HAS NO + * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, + * OR MODIFICATIONS. + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ppp.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ppp.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/auth.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/auth.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/pap.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/pap.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/lcp.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/lcp.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ipcp.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ipcp.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/fsm.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/fsm.h + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/magic.c firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/magic.h +Copyright: (c) 1989 Carnegie Mellon University. + * All rights reserved. +License: + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by Carnegie Mellon University. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ppp_oe.c firmware/zpu/lwip/lwip-1.3.1/src/include/netif/ppp_oe.h +Copyright: (c) 2006 by Marc Boucher, Services Informatiques (MBSI) inc. +License: MBSI-BSD + +Files: firmware/zpu/lwip/lwip-1.3.1/src/core/ipv4/igmp.c firmware/zpu/lwip/lwip-1.3.1/src/include/ipv4/lwip/igmp.h +Copyright: (c) 2002 CITEL Technologies Ltd. + * All rights reserved. +License: CITEL-BSD + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. 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. + * 3. Neither the name of CITEL Technologies Ltd 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 CITEL TECHNOLOGIES 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 CITEL TECHNOLOGIES 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. + * + * This file is a contribution to the lwIP TCP/IP stack. + * The Swedish Institute of Computer Science and Adam Dunkels + * are specifically granted permission to redistribute this + * source code. + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/ppp_oe.c firmware/zpu/lwip/lwip-1.3.1/src/include/netif/ppp_oe.h +Copyright: (c) 2002 The NetBSD Foundation, Inc. +License: NetBSD + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. 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. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the NetBSD + * Foundation, Inc. and its contributors. + * 4. Neither the name of The NetBSD Foundation 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +Comments: + /* based on NetBSD: if_pppoe.c,v 1.64 2006/01/31 23:50:15 martin Exp */ + * This code is derived from software contributed to The NetBSD Foundation + * by Martin Husemann <martin@NetBSD.org>. + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/vj.c + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/vj.h +Copyright: (c) 1989 Regents of the University of California. + * All rights reserved. +License: VJ-BSD + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +Comments: + * Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989: + * Initial distribution. + * + * Modified June 1993 by Paul Mackerras, paulus@cs.anu.edu.au, + * so that the entire packet being decompressed doesn't have + * to be in contiguous memory (just the compressed header). + * + * Modified March 1998 by Guy Lancaster, glanca@gesn.com, + * for a 16 bit processor. + +Files: firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/md5.c + firmware/zpu/lwip/lwip-1.3.1/src/netif/ppp/md5.h +Copyright: (C) 1990, RSA Data Security, Inc. All rights reserved. +License: RSA-BSD + ** License to copy and use this software is granted provided that ** + ** it is identified as the "RSA Data Security, Inc. MD5 Message- ** + ** Digest Algorithm" in all material mentioning or referencing this ** + ** software or this function. ** + ** ** + ** License is also granted to make and use derivative works ** + ** provided that such works are identified as "derived from the RSA ** + ** Data Security, Inc. MD5 Message-Digest Algorithm" in all ** + ** material mentioning or referencing the derived work. ** + ** ** + ** RSA Data Security, Inc. makes no representations concerning ** + ** either the merchantability of this software or the suitability ** + ** of this software for any particular purpose. It is provided "as ** + ** is" without express or implied warranty of any kind. ** + ** ** + ** These notices must be retained in any copies of any part of this ** + ** documentation and/or software. ** + + +Files: fpga/* not listed below +Copyright: 2008-2012 Ettus Research LLC +License: GPL-3+ +Comment: Not used for uhd-host package + +Files: fpga/usrp2/opencores/spi_boot/COPYING + fpga/usrp1/rbf/rev2/Makefile.am + fpga/usrp1/rbf/Makefile.am + fpga/usrp1/rbf/rev4/Makefile.am + fpga/usrp1/Makefile.am + fpga/usrp1/gen_makefile_extra.py + fpga/usrp1/toplevel/mrfm/mrfm_fft.py + fpga/usrp1/toplevel/mrfm/mrfm.py + fpga/usrp1/toplevel/usrp_inband_usb/usrp_inband_usb.v +Copyright: Copyright (C) 1989,1991,2004-2007,2009 Free Software Foundation, Inc. +License: GPL-3+ + +Files: fpga/usrp1/sdr_lib/master_control.v fpga/usrp1/sdr_lib/atr_delay.v +Copyright: (C) 2007 Corgan Enterprises LLC +License: GPL-2+ + +Files: fpga/usrp1/sdr_lib/master_control_multi.v + fpga/usrp1/toplevel/include/common_config_2rx_0tx.vh + fpga/usrp1/toplevel/include/common_config_2rxhb_0tx.vh + fpga/usrp1/toplevel/usrp_multi/config.vh + fpga/usrp1/toplevel/usrp_multi/usrp_multi.v +Copyright: (C) 2006 Martin Dudok van Heel +License: GPL-2+ + +Files: fpga/usrp2/sdr_lib/round_reg.v + fpga/usrp2/sdr_lib/ddc.v + fpga/usrp2/sdr_lib/cordic_z24.v + fpga/usrp2/sdr_lib/duc.v + fpga/usrp2/sdr_lib/cordic_stage.v + fpga/usrp2/sdr_lib/cic_interp.v + fpga/usrp2/sdr_lib/clip.v + fpga/usrp2/sdr_lib/clip_reg.v + fpga/usrp2/sdr_lib/round.v + fpga/usrp2/sdr_lib/cordic.v + fpga/usrp2/sdr_lib/cic_dec_shifter.v + fpga/usrp2/sdr_lib/hb/halfband_decim.v + fpga/usrp2/sdr_lib/clip_and_round.v + fpga/usrp2/sdr_lib/round_tb.v + fpga/usrp2/sdr_lib/cic_decim.v + fpga/usrp2/sdr_lib/cic_int_shifter.v + fpga/usrp2/sdr_lib/clip_and_round_reg.v + fpga/usrp2/sdr_lib/cic_strober.v + fpga/usrp2/sdr_lib/sign_extend.v + fpga/usrp1/sdr_lib/ddc.v + fpga/usrp1/sdr_lib/master_control.v + fpga/usrp1/sdr_lib/clk_divider.v + fpga/usrp1/sdr_lib/tx_chain_hb.v + fpga/usrp1/sdr_lib/duc.v + fpga/usrp1/sdr_lib/tx_buffer.v + fpga/usrp1/sdr_lib/cordic_stage.v + fpga/usrp1/sdr_lib/cic_interp.v + fpga/usrp1/sdr_lib/rx_chain_dual.v + fpga/usrp1/sdr_lib/cordic.v + fpga/usrp1/sdr_lib/rx_chain.v + fpga/usrp1/sdr_lib/cic_dec_shifter.v + fpga/usrp1/sdr_lib/hb/halfband_decim.v + fpga/usrp1/sdr_lib/dpram.v + fpga/usrp1/sdr_lib/ext_fifo.v + fpga/usrp1/sdr_lib/cic_decim.v + fpga/usrp1/sdr_lib/rx_buffer.v + fpga/usrp1/sdr_lib/strobe_gen.v + fpga/usrp1/sdr_lib/serial_io.v + fpga/usrp1/sdr_lib/cic_int_shifter.v + fpga/usrp1/sdr_lib/gen_sync.v + fpga/usrp1/sdr_lib/tx_chain.v + fpga/usrp1/sdr_lib/sign_extend.v + fpga/usrp1/sdr_lib/io_pins.v + fpga/usrp1/sdr_lib/phase_acc.v + fpga/usrp1/tb/interp_tb.v + fpga/usrp1/tb/decim_tb.v + fpga/usrp1/tb/justinterp_tb.v + fpga/usrp1/tb/usrp_tasks.v + fpga/usrp1/tb/cordic_tb.v + fpga/usrp1/tb/fullchip_tb.v + fpga/usrp1/models/pll.v + fpga/usrp1/toplevel/usrp_std/usrp_std.v + fpga/usrp1/toplevel/usrp_std/config.vh + fpga/usrp1/toplevel/include/common_config_bottom.vh + fpga/usrp1/toplevel/include/common_config_2rx_0tx.vh + fpga/usrp1/toplevel/include/common_config_2rxhb_0tx.vh + fpga/usrp1/toplevel/include/common_config_4rx_0tx.vh + fpga/usrp1/toplevel/include/common_config_1rxhb_1tx.vh + fpga/usrp1/toplevel/include/common_config_2rxhb_2tx.vh + fpga/usrp1/toplevel/mrfm/shifter.v + fpga/usrp1/toplevel/mrfm/mrfm.v + fpga/usrp1/toplevel/sizetest/sizetest.v + fpga/usrp1/toplevel/usrp_inband_usb/usrp_inband_usb.v + fpga/usrp1/toplevel/usrp_inband_usb/config.vh + fpga/usrp1/toplevel/usrp_multi/config.vh + fpga/usrp1/toplevel/usrp_multi/usrp_multi.v +Copyright: (C) 2003-2008 Matt Ettus +License: GPL-3+ + +Files: fpga/usrp2/sdr_lib/integrate.v + fpga/usrp2/sdr_lib/hb_interp.v + fpga/usrp2/sdr_lib/Makefile.srcs + fpga/usrp2/sdr_lib/small_hb_int_tb.v + fpga/usrp2/sdr_lib/dspengine_8to16.v + fpga/usrp2/sdr_lib/pipectrl.v + fpga/usrp2/sdr_lib/add2.v + fpga/usrp2/sdr_lib/add2_and_round.v + fpga/usrp2/sdr_lib/hb_dec.v + fpga/usrp2/sdr_lib/med_hb_int.v + fpga/usrp2/sdr_lib/small_hb_dec_tb.v + fpga/usrp2/sdr_lib/halfband_tb.v + fpga/usrp2/sdr_lib/tx_control.v + fpga/usrp2/sdr_lib/small_hb_dec.v + fpga/usrp2/sdr_lib/dsp_rx_glue.v + fpga/usrp2/sdr_lib/hb_dec_tb.v + fpga/usrp2/sdr_lib/rx_dcoffset_tb.v + fpga/usrp2/sdr_lib/rssi.v + fpga/usrp2/sdr_lib/hb/ram16_2sum.v + fpga/usrp2/sdr_lib/hb/ram16_2port.v + fpga/usrp2/sdr_lib/hb/ram32_2sum.v + fpga/usrp2/sdr_lib/hb/halfband_interp.v + fpga/usrp2/sdr_lib/hb/hbd_tb/test_hbd.v + fpga/usrp2/sdr_lib/hb/mac.v + fpga/usrp2/sdr_lib/hb/acc.v + fpga/usrp2/sdr_lib/hb/mult.v + fpga/usrp2/sdr_lib/hb/coeff_ram.v + fpga/usrp2/sdr_lib/hb/coeff_rom.v + fpga/usrp2/sdr_lib/duc_chain.v + fpga/usrp2/sdr_lib/acc.v + fpga/usrp2/sdr_lib/dspengine_16to8.v + fpga/usrp2/sdr_lib/hb_interp_tb.v + fpga/usrp2/sdr_lib/hb_tb.v + fpga/usrp2/sdr_lib/rx_dcoffset.v + fpga/usrp2/sdr_lib/dummy_rx.v + fpga/usrp2/sdr_lib/halfband_ideal.v + fpga/usrp2/sdr_lib/dsp_tx_glue.v + fpga/usrp2/sdr_lib/pipestage.v + fpga/usrp2/sdr_lib/ddc_chain.v + fpga/usrp2/sdr_lib/add2_reg.v + fpga/usrp2/sdr_lib/small_hb_int.v + fpga/usrp2/sdr_lib/add2_and_round_reg.v + fpga/usrp2/sdr_lib/rx_control.v + fpga/usrp2/serdes/Makefile.srcs + fpga/usrp2/serdes/serdes.v + fpga/usrp2/serdes/serdes_rx.v + fpga/usrp2/serdes/serdes_tx.v + fpga/usrp2/serdes/serdes_fc_tx.v + fpga/usrp2/serdes/serdes_fc_rx.v + fpga/usrp2/serdes/serdes_tb.v + fpga/usrp2/fifo/dsp_framer36.v + fpga/usrp2/fifo/Makefile.srcs + fpga/usrp2/fifo/fifo36_to_fifo19.v + fpga/usrp2/fifo/fifo19_mux.v + fpga/usrp2/fifo/packet_tb.v + fpga/usrp2/fifo/buffer_int2.v + fpga/usrp2/fifo/fifo19_to_ll8.v + fpga/usrp2/fifo/packet_verifier.v + fpga/usrp2/fifo/buffer_int.v + fpga/usrp2/fifo/fifo_2clock.v + fpga/usrp2/fifo/fifo19_pad.v + fpga/usrp2/fifo/packet_generator32.v + fpga/usrp2/fifo/fifo36_to_ll8.v + fpga/usrp2/fifo/packet_verifier32.v + fpga/usrp2/fifo/fifo_19to36_tb.v + fpga/usrp2/fifo/packet_dispatcher36_x3.v + fpga/usrp2/fifo/buffer_pool_tb.v + fpga/usrp2/fifo/fifo_2clock_cascade.v + fpga/usrp2/fifo/fifo_tb.v + fpga/usrp2/fifo/fifo72_to_fifo36.v + fpga/usrp2/fifo/fifo36_to_fifo72.v + fpga/usrp2/fifo/packet_router.v + fpga/usrp2/fifo/fifo19_to_fifo36.v + fpga/usrp2/fifo/crossbar36.v + fpga/usrp2/fifo/splitter36.v + fpga/usrp2/fifo/fifo_long.v + fpga/usrp2/fifo/buffer_int_tb.v + fpga/usrp2/fifo/packet32_tb.v + fpga/usrp2/fifo/fifo_short.v + fpga/usrp2/fifo/ll8_to_fifo19.v + fpga/usrp2/fifo/ll8_shortfifo.v + fpga/usrp2/fifo/packet_generator.v + fpga/usrp2/fifo/fifo_pacer.v + fpga/usrp2/fifo/fifo36_mux.v + fpga/usrp2/fifo/ll8_to_fifo36.v + fpga/usrp2/fifo/fifo36_demux.v + fpga/usrp2/fifo/buffer_pool.v + fpga/usrp2/fifo/fifo_cascade.v + fpga/usrp2/fifo/add_routing_header.v + fpga/usrp2/fifo/valve36.v + fpga/usrp2/control_lib/Makefile.srcs + fpga/usrp2/control_lib/bin2gray.v + fpga/usrp2/control_lib/mux_32_4.v + fpga/usrp2/control_lib/mux8.v + fpga/usrp2/control_lib/srl.v + fpga/usrp2/control_lib/settings_bus_16LE.v + fpga/usrp2/control_lib/reset_sync.v + fpga/usrp2/control_lib/ram_harv_cache.v + fpga/usrp2/control_lib/quad_uart.v + fpga/usrp2/control_lib/gray2bin.v + fpga/usrp2/control_lib/user_settings.v + fpga/usrp2/control_lib/wb_output_pins32.v + fpga/usrp2/control_lib/double_buffer.v + fpga/usrp2/control_lib/shortfifo.v + fpga/usrp2/control_lib/oneshot_2clk.v + fpga/usrp2/control_lib/ram_harvard.v + fpga/usrp2/control_lib/settings_bus.v + fpga/usrp2/control_lib/sd_spi_wb.v + fpga/usrp2/control_lib/wb_bridge_16_32.v + fpga/usrp2/control_lib/clock_control.v + fpga/usrp2/control_lib/longfifo.v + fpga/usrp2/control_lib/dbsm.v + fpga/usrp2/control_lib/simple_uart.v + fpga/usrp2/control_lib/bootram.v + fpga/usrp2/control_lib/sd_spi_tb.v + fpga/usrp2/control_lib/system_control.v + fpga/usrp2/control_lib/wb_semaphore.v + fpga/usrp2/control_lib/dpram32.v + fpga/usrp2/control_lib/dcache.v + fpga/usrp2/control_lib/clock_bootstrap_rom.v + fpga/usrp2/control_lib/v5icap_wb.v + fpga/usrp2/control_lib/s3a_icap_wb.v + fpga/usrp2/control_lib/priority_enc.v + fpga/usrp2/control_lib/simple_uart_tx.v + fpga/usrp2/control_lib/wb_regfile_2clock.v + fpga/usrp2/control_lib/gray_send.v + fpga/usrp2/control_lib/decoder_3_8.v + fpga/usrp2/control_lib/wb_ram_dist.v + fpga/usrp2/control_lib/wb_bus_writer.v + fpga/usrp2/control_lib/traffic_cop.v + fpga/usrp2/control_lib/icache.v + fpga/usrp2/control_lib/setting_reg.v + fpga/usrp2/control_lib/wb_sim.v + fpga/usrp2/control_lib/atr_controller16.v + fpga/usrp2/control_lib/ram_2port_mixed_width.v + fpga/usrp2/control_lib/atr_controller.v + fpga/usrp2/control_lib/ram_2port.v + fpga/usrp2/control_lib/ss_rcvr.v + fpga/usrp2/control_lib/wb_readback_mux_16LE.v + fpga/usrp2/control_lib/ram_harvard2.v + fpga/usrp2/control_lib/settings_bus_crossclock.v + fpga/usrp2/control_lib/fifo_to_wb.v + fpga/usrp2/control_lib/mux4.v + fpga/usrp2/control_lib/fifo_to_wb_tb.v + fpga/usrp2/control_lib/double_buffer_tb.v + fpga/usrp2/control_lib/medfifo.v + fpga/usrp2/control_lib/simple_uart_rx.v + fpga/usrp2/control_lib/ram_loader.v + fpga/usrp2/control_lib/system_control_tb.v + fpga/usrp2/control_lib/ram_wb_harvard.v + fpga/usrp2/control_lib/spi.v + fpga/usrp2/control_lib/sd_spi.v + fpga/usrp2/control_lib/clock_control_tb.v + fpga/usrp2/control_lib/wb_ram_block.v + fpga/usrp2/control_lib/gpio_atr.v + fpga/usrp2/control_lib/wb_readback_mux.v + fpga/usrp2/udp/Makefile.srcs + fpga/usrp2/udp/add_onescomp.v + fpga/usrp2/udp/prot_eng_tx_tb.v + fpga/usrp2/udp/udp_wrapper.v + fpga/usrp2/udp/prot_eng_tx.v + fpga/usrp2/udp/fifo19_rxrealign.v + fpga/usrp2/udp/prot_eng_rx.v + fpga/usrp2/opencores/Makefile.srcs + fpga/usrp2/gpif/Makefile.srcs + fpga/usrp2/gpif/packet_reframer.v + fpga/usrp2/gpif/packet_splitter.v + fpga/usrp2/gpif/gpif_wr_tb.v + fpga/usrp2/gpif/slave_fifo.v + fpga/usrp2/gpif/gpif_tb.v + fpga/usrp2/gpif/gpif_wr.v + fpga/usrp2/gpif/gpif.v + fpga/usrp2/gpif/gpif_rd.v + fpga/usrp2/gpif/packet_splitter_tb.v + fpga/usrp2/testbench/single_u2_sim.v + fpga/usrp2/coregen/Makefile.srcs + fpga/usrp2/vrt/Makefile.srcs + fpga/usrp2/vrt/vita_rx_control.v + fpga/usrp2/vrt/gen_context_pkt.v + fpga/usrp2/vrt/vita_rx_tb.v + fpga/usrp2/vrt/vita_tx_chain.v + fpga/usrp2/vrt/trigger_context_pkt.v + fpga/usrp2/vrt/vita_pkt_gen.v + fpga/usrp2/vrt/vita_rx_chain.v + fpga/usrp2/vrt/vita_tx_deframer.v + fpga/usrp2/vrt/vita_tx_engine_glue.v + fpga/usrp2/vrt/vita_rx_framer.v + fpga/usrp2/vrt/vita_tx_control.v + fpga/usrp2/vrt/vita_rx_engine_glue.v + fpga/usrp2/vrt/vita_tx_tb.v + fpga/usrp2/timing/Makefile.srcs + fpga/usrp2/timing/time_compare.v + fpga/usrp2/timing/timer.v + fpga/usrp2/timing/time_transfer_tb.v + fpga/usrp2/timing/time_sender.v + fpga/usrp2/timing/time_64bit.v + fpga/usrp2/timing/time_sync.v + fpga/usrp2/timing/time_receiver.v + fpga/usrp2/timing/simple_timer.v + fpga/usrp2/gpmc/Makefile.srcs + fpga/usrp2/gpmc/cross_clock_reader.v + fpga/usrp2/gpmc/gpmc_wb.v + fpga/usrp2/gpmc/fifo_to_gpmc.v + fpga/usrp2/gpmc/gpmc_to_fifo.v + fpga/usrp2/gpmc/gpmc.v + fpga/usrp2/simple_gemac/eth_tasks_f36.v + fpga/usrp2/simple_gemac/Makefile.srcs + fpga/usrp2/simple_gemac/crc.v + fpga/usrp2/simple_gemac/flow_ctrl_rx.v + fpga/usrp2/simple_gemac/simple_gemac_wrapper_tb.v + fpga/usrp2/simple_gemac/simple_gemac.v + fpga/usrp2/simple_gemac/simple_gemac_tx.v + fpga/usrp2/simple_gemac/simple_gemac_tb.v + fpga/usrp2/simple_gemac/ll8_to_txmac.v + fpga/usrp2/simple_gemac/simple_gemac_wb.v + fpga/usrp2/simple_gemac/simple_gemac_wrapper.v + fpga/usrp2/simple_gemac/rxmac_to_ll8.v + fpga/usrp2/simple_gemac/flow_ctrl_tx.v + fpga/usrp2/simple_gemac/eth_tasks.v + fpga/usrp2/simple_gemac/ethtx_realign.v + fpga/usrp2/simple_gemac/address_filter.v + fpga/usrp2/simple_gemac/simple_gemac_wrapper_f36_tb.v + fpga/usrp2/simple_gemac/simple_gemac_rx.v + fpga/usrp2/simple_gemac/delay_line.v + fpga/usrp2/simple_gemac/address_filter_promisc.v + fpga/usrp2/simple_gemac/ethrx_realign.v + fpga/usrp2/simple_gemac/eth_tasks_f19.v + fpga/usrp2/models/M24LC02B.v + fpga/usrp2/models/CY7C1356C/cy1356.v + fpga/usrp2/models/CY7C1356C/testbench.v + fpga/usrp2/models/cpld_model.v + fpga/usrp2/models/adc_model.v + fpga/usrp2/models/serdes_model.v + fpga/usrp2/models/MULT18X18S.v + fpga/usrp2/models/gpmc_model_async.v + fpga/usrp2/models/xlnx_glbl.v + fpga/usrp2/models/gpmc_model_sync.v + fpga/usrp2/models/miim_model.v + fpga/usrp2/models/uart_rx.v + fpga/usrp2/models/M24LC024B.v + fpga/usrp2/models/math_real.v + fpga/usrp2/custom/power_trig_tb.v + fpga/usrp2/custom/custom_dsp_tx.v + fpga/usrp2/custom/custom_engine_tx.v + fpga/usrp2/custom/custom_engine_rx.v + fpga/usrp2/custom/power_trig.v + fpga/usrp2/custom/custom_dsp_rx.v + fpga/usrp2/extramfifo/Makefile.srcs + fpga/usrp2/extramfifo/nobl_fifo.v + fpga/usrp2/extramfifo/refill_randomizer.v + fpga/usrp2/extramfifo/nobl_if.v + fpga/usrp2/extramfifo/ext_fifo.v + fpga/usrp2/extramfifo/test_sram_if.v + fpga/usrp2/extramfifo/ext_fifo_tb.v + fpga/usrp2/top/python/check_timing.py + fpga/usrp2/top/python/check_inout.py + fpga/usrp2/top/tcl/ise_helper.tcl + fpga/usrp2/top/USRP2/u2_rev3.v + fpga/usrp2/top/USRP2/u2_core.v + fpga/usrp2/top/USRP2/Makefile + fpga/usrp2/top/Makefile.common + fpga/usrp2/top/E1x0/u1e.v + fpga/usrp2/top/E1x0/Makefile.E100 + fpga/usrp2/top/E1x0/tb_u1e.v + fpga/usrp2/top/E1x0/Makefile.E110 + fpga/usrp2/top/E1x0/u1e_core.v + fpga/usrp2/top/E1x0/Makefile + fpga/usrp2/top/B100/u1plus.v + fpga/usrp2/top/B100/u1plus_core.v + fpga/usrp2/top/B100/B100.v + fpga/usrp2/top/B100/Makefile.B100 + fpga/usrp2/top/B100/Makefile + fpga/usrp2/top/N2x0/Makefile.N210R3 + fpga/usrp2/top/N2x0/u2plus.v + fpga/usrp2/top/N2x0/u2plus_core.v + fpga/usrp2/top/N2x0/capture_ddrlvds.v + fpga/usrp2/top/N2x0/Makefile.N200R4 + fpga/usrp2/top/N2x0/Makefile.N200R3 + fpga/usrp2/top/N2x0/Makefile.N210R4 + fpga/usrp2/top/N2x0/Makefile +Copyright: 2008-2012 Ettus Research LLC +License: GPL-3+ + +Files: fpga/usrp1/megacells/* + fpga/usrp1/toplevel/*.qsf fpga/usrp1/toplevel/*.qpf +Copyright: (C) 1991-2004 Altera Corporation +License: + Any megafunction design, and related netlist (encrypted or decrypted), + support information, device programming or simulation file, and any other + associated documentation or information provided by Altera or a partner + under Altera's Megafunction Partnership Program may be used only + to program PLD devices (but not masked PLD devices) from Altera. Any + other use of such megafunction design, netlist, support information, + device programming or simulation file, or any other related documentation + or information is prohibited for any other purpose, including, but not + limited to modification, reverse engineering, de-compiling, or use with + any other silicon devices, unless such use is explicitly licensed under + a separate agreement with Altera or a megafunction partner. Title to the + intellectual property, including patents, copyrights, trademarks, trade + secrets, or maskworks, embodied in any such megafunction design, netlist, + support information, device programming or simulation file, or any other + related documentation or information provided by Altera or a megafunction + partner, remains with Altera, the megafunction partner, or their respective + licensors. No other licenses, including any licenses needed under any third + party's intellectual property, are provided herein. +Comment: Boilerplate terms prepended to files which include design + parameters for the project licensed GPL-3+. + . + Not used for uhd-host package. + +Files: fpga/usrp2/coregen/fifo* + fpga/usrp2/models/FIFO_GENERATOR_V4_3.v + fpga/usrp2/models/FIFO_GENERATOR_V4_3.v + fpga/usrp2/models/BUFG.v + fpga/usrp2/models/IOBUF.v + fpga/usrp2/models/RAMB16_S36_S36.v + fpga/usrp2/models/RAMB16_S36_S36.v + fpga/usrp2/models/SRLC16E.v + fpga/usrp2/models/SRL16E.v + fpga/usrp2/models/FIFO_GENERATOR_V6_1.v + fpga/usrp2/extramfifo/icon.v + fpga/usrp2/extramfifo/ila.v +Copyright: (c) 1995-2010 Xilinx, Inc. +License: + This file is owned and controlled by Xilinx and must be used + solely for design, simulation, implementation and creation of + design files limited to Xilinx devices or technologies. Use + with non-Xilinx devices or technologies is expressly prohibited + and immediately terminates your license. + . + XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" + SOLELY FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR + XILINX DEVICES. BY PROVIDING THIS DESIGN, CODE, OR INFORMATION + AS ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE, APPLICATION + OR STANDARD, XILINX IS MAKING NO REPRESENTATION THAT THIS + IMPLEMENTATION IS FREE FROM ANY CLAIMS OF INFRINGEMENT, + AND YOU ARE RESPONSIBLE FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE + FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY DISCLAIMS ANY + WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE + IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR + REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF + INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE. +Comment: Boilerplate terms prepended to files which include design + parameters for the project licensed GPL-3+. + . + Not used for uhd-host package. + +Files: fpga/usrp2/opencores/8b10b +Copyright: (c)2002 Chuck Benz, Hollis, NH +License: + The information and description contained herein is the + property of Chuck Benz. + . + Permission is granted for any reuse of this information + and description as long as this copyright notice is + preserved. Modifications may be made as long as this + notice is preserved. + +Files: fpga/usrp2/opencores/aemb +Copyright: (C) 2004-2007 Shawn Tan Ser Ngiap <shawn.tan@aeste.net> +License: LGPL-3+ + AEMB is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + . + AEMB is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General + Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with AEMB. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL-3'. + +Files: fpga/usrp2/opencores/i2c/* + fpga/usrp2/opencores/simple_gpio/* + fpga/usrp2/opencores/simple_pic/* +Copyright: (C) 2000,2001,2002,2004 Richard Herveille +License: + This source file may be used and distributed without + restriction provided that this copyright statement is not + removed from the file and that any derivative work contains + the original copyright notice and the associated disclaimer. + . + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL THE AUTHOR + 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. + + +Files: fpga/usrp2/opencores/spi +Copyright: (C) 2002 Simon Srot (simons@opencores.org) +License: + This source file may be used and distributed without + restriction provided that this copyright statement is not + removed from the file and that any derivative work contains + the original copyright notice and the associated disclaimer. + . + This source file is free software; you can redistribute it + and/or modify it under the terms of the GNU Lesser General + Public License as published by the Free Software Foundation; + either version 2.1 of the License, or (at your option) any + later version. + . + This source is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU Lesser General Public License for more + details. + . + You should have received a copy of the GNU Lesser General + Public License along with this source; if not, download it + from http://www.opencores.org/lgpl.shtml + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + +Files: fpga/usrp2/opencores/spi_boot/* +Copyright: (c) 2005, Arnim Laeuger (arniml@opencores.org) +License: GPL-2 + Redistribution and use in source and synthezised 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 synthesized 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 the author nor the names of other 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 AUTHOR 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 report bugs to the author, but before you do so, please + make sure that this is not a derivative work and that + you have the latest version of this file. + . + The latest version of this file can be found at: + http://www.opencores.org/projects.cgi/web/spi_boot/overview +Comment: + COPYING file is GPL-2. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + +Files: fpga/usrp2/opencores/wb_zbt +Copyright: (C) 2008 Sebastien Bourdeauducq - http://lekernel.net +License: LGPL-2+ + * Milkymist is free software; you can redistribute it and/or modify it + * under the terms of the GNU Library General Public License as published + * by the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, + * USA. + +Files: fpga/usrp2/opencores/zpu/* +Copyright: 2004-2008 oharboe - �yvind Harboe - oyvind.harboe@zylin.com +License: + The FreeBSD license + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. 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. + . + THIS SOFTWARE IS PROVIDED BY THE ZPU PROJECT ``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 + ZPU PROJECT 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. + . + The views and conclusions contained in the software and documentation + are those of the authors and should not be interpreted as representing + official policies, either expressed or implied, of the ZPU Project. + +License: lwip-BSD + * Redistribution and use in source and binary forms, with or without modification, + * are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * 2. 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. + * 3. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + +License: MBSI-BSD + * The authors hereby grant permission to use, copy, modify, distribute, + * and license this software and its documentation for any purpose, provided + * that existing copyright notices are retained in all copies and that this + * notice and the following disclaimer are included verbatim in any + * distributions. No written agreement, license, or royalty fee is required + * for any of the authorized uses. + * + * THIS SOFTWARE IS PROVIDED BY THE 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 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. + +License: Kitware-BSD + 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 names of Kitware, Inc., the Insight Software Consortium, + nor the names of their 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 + HOLDER 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. + +License: GPL-2+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. + +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/host/cmake/debian/libuhd-dev.install b/host/cmake/debian/libuhd-dev.install new file mode 100644 index 000000000..ba27ac3af --- /dev/null +++ b/host/cmake/debian/libuhd-dev.install @@ -0,0 +1,4 @@ +usr/include +usr/lib/*/pkgconfig +usr/lib/*/libuhd.so +usr/share/doc/uhd/doxygen /usr/share/doc/libuhd-dev/ diff --git a/host/cmake/debian/libuhd003.install b/host/cmake/debian/libuhd003.install new file mode 100644 index 000000000..3de3b10a4 --- /dev/null +++ b/host/cmake/debian/libuhd003.install @@ -0,0 +1 @@ +usr/lib/*/*.so.* diff --git a/host/cmake/debian/libuhd003.shlibs b/host/cmake/debian/libuhd003.shlibs new file mode 100644 index 000000000..2d5028dd4 --- /dev/null +++ b/host/cmake/debian/libuhd003.shlibs @@ -0,0 +1 @@ +libuhd 003 libuhd003 diff --git a/host/cmake/debian/patches/series b/host/cmake/debian/patches/series new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/host/cmake/debian/patches/series @@ -0,0 +1 @@ + diff --git a/host/cmake/debian/rules b/host/cmake/debian/rules new file mode 100755 index 000000000..842e5247f --- /dev/null +++ b/host/cmake/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +export DEB_HOST_MULTIARCH + +%: + dh $@ --parallel --sourcedirectory=host --builddirectory=build + +override_dh_auto_configure: + dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DPKG_LIB_DIR="/usr/lib/uhd" -DUHD_RELEASE_MODE="release" + +# The test suite for this package is busted on powerpc. +override_dh_auto_test: + - if [ $(DEB_BUILD_ARCH) != powerpc ]; then dh_auto_test; fi + +override_dh_auto_install: + cp debian/uhd-host.limits debian/uhd-host/etc/security/limits.d/uhd.conf + cp debian/uhd-host.sysctl debian/uhd-host/etc/sysctl.d/uhd-usrp2.conf + dh_auto_install + - rm -f debian/tmp/usr/share/doc/uhd/doxygen/html/jquery.js + ln -s /usr/share/javascript/jquery/jquery.js debian/tmp/usr/share/doc/uhd/doxygen/html/jquery.js diff --git a/host/cmake/debian/source/format b/host/cmake/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/host/cmake/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/host/cmake/debian/uhd-host.dirs b/host/cmake/debian/uhd-host.dirs new file mode 100644 index 000000000..bd43debd6 --- /dev/null +++ b/host/cmake/debian/uhd-host.dirs @@ -0,0 +1,8 @@ +etc/security/limits.d +etc/sysctl.d +usr/bin +usr/include/uhd +usr/lib +usr/lib/uhd/examples +usr/lib/uhd/tests +usr/lib/uhd/utils diff --git a/host/cmake/debian/uhd-host.install b/host/cmake/debian/uhd-host.install new file mode 100644 index 000000000..6efbf8fe6 --- /dev/null +++ b/host/cmake/debian/uhd-host.install @@ -0,0 +1,4 @@ +usr/bin +usr/lib/uhd +usr/share/doc/uhd/doxygen /usr/share/doc/uhd-host/ +debian/NetworkManager-USRP /etc/NetworkManager/system-connections/USRP diff --git a/host/cmake/debian/uhd-host.limits b/host/cmake/debian/uhd-host.limits new file mode 100644 index 000000000..caedea13b --- /dev/null +++ b/host/cmake/debian/uhd-host.limits @@ -0,0 +1 @@ +@usrp - rtprio 99 diff --git a/host/cmake/debian/uhd-host.postinst b/host/cmake/debian/uhd-host.postinst new file mode 100644 index 000000000..1d9d31cd2 --- /dev/null +++ b/host/cmake/debian/uhd-host.postinst @@ -0,0 +1,17 @@ +#! /bin/sh + +set -e +if [ "$1" = "configure" ]; then + # Create usrp group for udev access + if ! getent group usrp >/dev/null; then + addgroup --system usrp + fi + # Apply usrp2 networking optimization + if [ -x "`which sysctl 2>/dev/null`" ]; then + sysctl -p /etc/sysctl.d/uhd-usrp2.conf + fi +fi + +#DEBHELPER# + +exit 0 diff --git a/host/cmake/debian/uhd-host.sysctl b/host/cmake/debian/uhd-host.sysctl new file mode 100644 index 000000000..038628fc5 --- /dev/null +++ b/host/cmake/debian/uhd-host.sysctl @@ -0,0 +1,3 @@ +# USRP2 gigabit ethernet transport tuning +net.core.rmem_max=50000000 +net.core.wmem_max=1048576 diff --git a/host/cmake/debian/uhd-images.dirs b/host/cmake/debian/uhd-images.dirs new file mode 100644 index 000000000..73752c9ae --- /dev/null +++ b/host/cmake/debian/uhd-images.dirs @@ -0,0 +1 @@ +usr diff --git a/tools/debs/convert_changelog.py b/tools/debs/convert_changelog.py new file mode 100755 index 000000000..5d12a958c --- /dev/null +++ b/tools/debs/convert_changelog.py @@ -0,0 +1,108 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2015 National Instruments Corp. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +""" +Converts our changelog into a format suitable for Debian packaging +""" + +import datetime +from optparse import OptionParser +import os +import re +import sys + +# Pass in first line of Debian changelog file, should contain last version +def detect_last_version(line): + return convert_version_string(re.search("[0-9]+\.[0-9]+\.[0-9]", line).group(), False) + +# "## 003.008.005" to "3.8.5" or vice versa +def convert_version_string(version, to_debian=True): + if version == None: + return "" + + if to_debian: + return ".".join(list(str(int(num)) for num in re.split('[ .]', version)[1:])) + else: + return "## {0}".format(".".join("{0:03d}".format(int(num)) for num in version.split("."))) + +# +# The "trusty" string below doesn't need to be changed, even when Trusty loses support. The script +# to upload packages replaces it anyway. +# +def get_header(version): + return "uhd ({0}-0ubuntu1) trusty; urgency=low\n\n".format(convert_version_string(version)) + +def get_footer(uploader_name, uploader_email): + return " -- {0} <{1}> {2}\n\n".format(uploader_name, uploader_email, datetime.datetime.now().strftime("%a, %d %b %Y %I:%M:%S %Z-0800")) + +if __name__ == "__main__": + + parser = OptionParser() + parser.add_option("--input-file", type="string", help="Input UHD top-level changelog file") + parser.add_option("--output-file", type="string", help="Output Debian changelog file (will append onto existing)") + parser.add_option("--uploader-name", type="string", help="Uploader name (must match GPG key)") + parser.add_option("--uploader-email", type="string", help="Uploader email (must match GPG key)") + parser.add_option("--last-version", type="string", help="Manually specify last version (Debian format)", default="") + (options, args) = parser.parse_args() + + # Input file + f = open(options.input_file, "r") + lines_in = f.readlines() + f.close() + + # Output file + if os.path.exists(os.path.normpath(options.output_file)): + g = open(options.output_file, "r") + lines_out = g.readlines() + g.close() + else: + lines_out = [] + + g = open(options.output_file, "w") + + if options.last_version == "": + if(len(lines_out) > 0): + last_version = detect_last_version(lines_out[0]) + check_last_version = True + else: + last_version = "" + check_last_version = False # Will do every version + else: + last_version = convert_version_string(options.last_version, False) + check_last_version = True + + new_lines_out = [] + for line in lines_in[3:]: + if line.rstrip() == last_version and last_version != "": + # We've fully updated, stop here + break + elif re.search("^## [0-9]{3}\.[0-9]{3}\.[0-9]{3}", line): + # New version + new_lines_out += [get_header(line.rstrip())] + elif line == "\n": + # End of version + new_lines_out += ["\n"] + new_lines_out += [get_footer(options.uploader_name, options.uploader_email)] + else: + # Actual changes + new_lines_out += [" " + line] + + new_lines_out += lines_out + for line in new_lines_out: + g.write(line) + g.close() diff --git a/tools/debs/upload_debs.sh b/tools/debs/upload_debs.sh new file mode 100755 index 000000000..4ff03cced --- /dev/null +++ b/tools/debs/upload_debs.sh @@ -0,0 +1,127 @@ +#!/bin/bash +# +# Copyright 2015 National Instruments Corp. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# + +if ! ls | grep host > /dev/null +then + echo "This script must be run from UHD's top-level directory." + exit 1 +fi + +FORCE_YES=0 +if [ $# -eq 1 ] +then + if [ "$1" = "-y" ] + then + FORCE_YES=1 + fi +fi + +UHD_TOP_LEVEL=$PWD + +# Get version info +VERSION=`head -1 host/cmake/debian/changelog | grep -o '[0-9.]*' | head -1` +ORIG_RELEASE=`head -1 host/cmake/debian/changelog | sed 's/.*) \(.*\);.*/\1/'` + +# +# Currently supported versions can be found here: +# https://launchpad.net/ubuntu/+ppas +# +RELEASES="precise trusty vivid wily xenial" +PPA=ppa:ettusresearch/uhd + +# +# Make sure this is the intended version. +# +# This is based on the contents of debian/changelog. If convert_changelog.py was not +# run on this version, it will show the previous release. +# +echo "Will generate installer configuration files for UHD "$VERSION +if [ $FORCE_YES -ne 1 ] +then + echo "Is this correct? (yes/no)" + read response + if [ "$response" != "yes" ] + then + exit 0 + fi +fi + +# Generate the TAR file to be uploaded. +echo "Creating UHD source archive." +tar --exclude='*git*' --exclude='./debian' --exclude='*.swp' -cJf ../uhd_${VERSION}.orig.tar.xz . +if [ $? != 0 ] +then + echo "Failed to create UHD source archive." + exit 1 +fi + +# debuild expects our directory name to be ${source package}-${version} +cd .. +ln -fs ${UHD_TOP_LEVEL} uhd-${VERSION} +cd uhd-${VERSION} + +# +# Generate package info for each version. +# +# This script substitutes each version string into the debian/changelog file to +# create package info for each version. We need to store the original outside the +# UHD repo, or dpkg-source will detect the change and error out. +# +cp -r host/cmake/debian . +cp host/utils/uhd-usrp.rules debian/uhd-host.udev +find host/docs -name '*.1' > debian/uhd-host.manpages +rm -f debian/postinst.in debian/postrm.in debian/preinst.in debian/prerm.in +exit 0 + +for RELEASE in ${RELEASES} +do + cp debian/changelog ../changelog.backup + sed -i "s/${ORIG_RELEASE}/${RELEASE}/;s/0ubuntu1/0ubuntu1~${RELEASE}1/" debian/changelog + debuild -S -i -sa + if [ $? != 0 ] + then + echo "Failed to generate package info for" ${RELEASE} + mv changelog.backup debian/changelog + exit 1 + fi + mv ../changelog.backup debian/changelog +done + +# Upload package into to Launchpad, which will automatically build packages +for RELEASE in ${RELEASES} +do + continue + dput ${PPA} ../uhd_${VERSION}-0ubuntu1~${RELEASE}1_source.changes + if [ $? != 0 ] + then + echo "Failed to upload" ${VERSION} "package info to Launchpad." + exit 1 + fi +done + +if [ $FORCE_YES -ne 1 ] +then + echo + echo "Clean up build artifacts? (yes/no)" + read response + if [ "$response" = "yes" ] + then + cd .. + rm -r ${UHD_TOP_LEVEL}/debian uhd-${VERSION} uhd_${VERSION}.orig.tar.xz uhd*dsc uhd*changes uhd*debian.tar.gz uhd*_source.build uhd*.upload + fi +fi |