aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-09-12Bump version: 3.4.7.7-5730 → 3.4.8HEAD3.4.8masterPau Espin Pedrol1-0/+15
Change-Id: I0b8e5a5a62a229b60b0133541efbaad616093a23
2023-08-29Fix compilation with newer sdccPau Espin Pedrol2-75/+75
Since recent system upgrade which pulled in sdcc 4.3.0, build fails with following error: /git/libusrp/firmware/include/fx2regs.h:324: syntax error: token -> '+' ; column 26 It seems newer sdcc doesn't like having sums directly in there. Using parenthesis around the expression fixes the problem. Related: OS#6157 Change-Id: Iccc0b1ffe95971957f16008c3e3b873d065ba0ea
2023-08-29cosmetic: fx2regs.h: Fix trailing whitespacePau Espin Pedrol1-22/+22
Change-Id: Ie9e14cfb70168d0ff2bcdfb2695d3cb0f77cd5db
2023-08-29linter: Don't check header filesPau Espin Pedrol1-0/+1
None of those follow osmocom coding style. Change-Id: I2276ca7aa2b246447aeebcaa5a8cb3049147c3c9
2023-04-28debian/rules: don't build in parallelOliver Smith1-1/+2
With upgrading the debhelper compat level to v10, parallel building was enabled by default. But this doesn't work reliably with libusrp, so disable it. On OBS, out of 18 builds, two failed. Related: OS#3970 Change-Id: Ic23778320a44ec6ee2fef499216eb8a0c52603d2
2023-04-28Cosmetic: contrib/jenkins.sh: fix typoOliver Smith1-1/+1
Change-Id: Ic0459bd5585fbcf3af785dfda167811a07107edb
2023-04-25debian: set compat level to 10Oliver Smith2-3/+3
Related: OS#5958 Change-Id: If42ed8736658d23c99fdd8cbbe511819b1568cbe
2023-02-09configure: abort if SDCC is not foundOliver Smith1-1/+1
Change RESULT to ERROR so the configure script stops when SDCC is not found. Otherwise it tries to use "no": no -I../../firmware/include -c delay.c -o delay.rel /bin/bash: line 1: no: command not found Change-Id: Id8defcc72a35e469a1eeb59919d66cc7cf2f6ac8
2023-02-07Bump version: 3.4.6.2-7f277 → 3.4.73.4.7Pau Espin Pedrol1-0/+8
Change-Id: I99e104cbcf33eec9f484ff3a8abf7162a1ac821b
2022-07-11gitignore: add /.versionOliver Smith1-0/+2
Change-Id: I40c6fa0760fb76382432256ba1e3b663628dfa0d
2022-07-11host/lib/Makefile.am: fix 'make uninstall'Oliver Smith1-0/+4
Fix for: /bin/bash: -c: line 11: syntax error near unexpected token `|' /bin/bash: -c: line 11: `echo "$py_files" | | sed '$!N;$!N;$!N;$!N;$!N;$!N;$!N;s/\n/ /g' | sed '$!N;$!N;$!N;$!N;s/\n/ /g' | \' Fixes: OS#5609 Change-Id: I5c18b5479c86333a478b61c4a50ede69af7d6700
2021-11-16Bump version: 3.4.5.5-d40e → 3.4.63.4.6Pau Espin Pedrol1-0/+15
Change-Id: I4415a6fc189ffff9ea7d640d28debae70807a242
2021-11-12migrate to python3Harald Welte6-17/+14
Let's move to python3, it's 2020 and the conversion seemed actually rather trivial (famous last words). Change-Id: Ib1604b36c32630e1360e06567cbd5f63a78df547
2021-10-25libusb_get_device_list() may return a negative numberVadim Yanitskiy1-2/+2
Change-Id: Ibf5f88d51c36ff9577f748c004562bd8ed2e96bf Fixes: CID#240717
2021-10-25usrp_prims_common: fix use-after-free in get_proto_filename()Vadim Yanitskiy1-1/+1
Every time the get_proto_filename() is called, a new instance of std::string is allocated for the first argument. When the function returns, this instance gets deallocated. Therefore, the returned user_filename.c_str() points to free()d memory. Change-Id: Ib0007e9aebd9e77c28531c1ec70c61f1723a2d0d Fixes: CID#240724
2021-10-24usrp_standard: fix out-of-bounds read in set_rx_freq()Vadim Yanitskiy1-1/+1
Change-Id: I3e3ba31e5a68f92a330c5791ee72ad1ffab83da9 Fixes: CID#240737
2021-01-27configure.ac: set -std=gnu11Oliver Smith1-0/+2
Change-Id: I9245df7569f0fed936d5e1a1783fc40203cecba1
2020-06-13Bump version: 3.4.4.8-e2c8 → 3.4.53.4.5Harald Welte1-0/+18
Change-Id: Iaf3545265d8ec28f9b760b55e6170808c35f6ccb
2020-06-09debian/control: Add python as BuildRequires, as edit-gpif uses itHarald Welte1-0/+1
This hopefully should fix the libusrp build errors on OBS for Debian testing + unstable. Change-Id: I6525e90b63c442b5ec69b4730e92f576694ea1a2
2020-05-22Makefile.am: EXTRA_DIST: debian, contrib/*.spec.inOliver Smith1-1/+3
Change-Id: Ic982838b33111c0dd1195cd885bba2228d7bc40e
2020-05-20Makefile.common: LTVERSIONFLAGS: remove -releaseOliver Smith2-3/+7
Generate the soname from LIBVERSION (initially 1:0:0), instead of VERSION. This means, we have binary compatibility between each major release (which we should increase if we ever have a breaking change), instead of forcing a binary incompatibility for each packaged version (also nightly packages). This is how we do it in other Osmocom projects, too. Fix nightly RPM packaging, as we now don't need to add the git commit to the package name: [ 135s] libusrp.i586: E: shlib-policy-name-error (Badness: 10000) libusrp-3_4_4_4_c46f0 [ 135s] Your package contains a single shared library but is not named after its [ 135s] SONAME. The debian package is already using libusrp1 as package name. Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release Change-Id: I73b222ea7e2fd0117827f9d6f28b23671068533b
2020-05-19contrib: integrate RPM specOliver Smith3-6/+4
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: I453ff45ec449834dfee298ecc6015e6d54768bea
2020-05-14contrib: import RPM specOliver Smith1-0/+128
Copy the RPM spec file from: https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly Related: OS#4550 Change-Id: I45edbd4ae5bca1194c17452e8fd3538742ca1ef0
2020-02-19m4/ax_boost_base.m4: Fix debian multiarch_libsubdir path for arch armv7lPau Espin Pedrol1-0/+1
Without this patch, building on an RPI4 ends up with BOOST_LDFLAGS=-L/usr/lib while libs are actually under /usr/lib/arm-linux-gnueabihf, and configure will later file during AX_BOOST_THREAD macro. Change-Id: I7a6b2dca5ced6a6a5232fe78b071dfafdda0b0f3
2020-02-19m4/ax_boost_base.m4: Update to newest version from autoconf-archivePau Espin Pedrol1-2/+3
Fetched from: https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_base.m4 Change-Id: Id2753b8d13817d3bfa6cb198b272c60f466b6da6
2019-08-09jenkins.sh: Workaround race conditon in makePau Espin Pedrol1-1/+1
Sometimes the jenkins job fails to build. I never have this issue on my workstation. Disabling PARALLEL_MAKE is osmo-trx jenkins.sh (which requires libusrp build) made libusrp stop failing there, so let's do the same here. OS#3970 Change-Id: Iab8eab6d21365e3ee8d018428a707c56cc1b72e5
2019-08-08Bump version: 3.4.3.2-8646 → 3.4.43.4.4Pau Espin Pedrol1-0/+7
Change-Id: If47c3a8f03cfd2eaff84359a9a2bfce02f3b9a10
2019-08-08Fix UNKNOWN version in make distPau Espin Pedrol1-1/+8
Change-Id: I94b2f2d00d73b62dcdbc85ae15d9b26de5a6f879
2019-08-08debian/rules: Don't delete .tarball-versionPau Espin Pedrol1-1/+1
No other osmocom project does it. Change-Id: Ieb3d8070b9a5764bf763fad4fa83f9976df34bd4
2019-08-07Bump version: 3.4.2.17-1489 → 3.4.33.4.3Pau Espin Pedrol1-0/+31
Change-Id: I7f3ace74e30aba8609f435e76256badd93fb0220
2019-08-07configure.ac: Use git-version-genPau Espin Pedrol2-1/+155
Change-Id: Ib5458af1df08eec82339b4e7f7696b9c390a3078
2019-08-07Use release helper from libosmocorePau Espin Pedrol3-0/+15
See https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release for details. Change-Id: I3aaa768a9c7afda11852521c548352244bf141ac
2019-08-07Remove trailing whitespacePau Espin Pedrol2-6/+6
Change-Id: I8b6b8781c95a4930b89e5c5462d322cf04ccda67
2019-07-10contrib/jenkins.sh: run "make {distcheck,maintainer-clean}"Oliver Smith1-0/+2
Related: OS#3047 Change-Id: Ic277f37413cb338f4f9bdf4c5fc033d94a2cd5db
2019-07-10firmware/src/usrp2/Makefile.am: fix "distcheck"Oliver Smith1-1/+1
Properly remove lk files to fix the following error during "make distcheck". ERROR: files left in build directory after distclean: ./firmware/src/usrp2/eeprom_boot.lk ./firmware/src/usrp2/std.lk Change-Id: I5f1b1f5ad72112ba7212800da7f85846bb6e7187
2019-02-06Avoid compiler warning 'dynamic exception specifications are deprecated in ↵Alexander Huemer2-2/+2
C++11 [-Wdeprecated]' Change-Id: Ie472e6f92944cfe1af7d63cd644879573d080ca2
2019-02-06usrp2: firmware: ignore .lk build artifactsAlexander Huemer1-0/+1
Change-Id: I79cbb834f02dc3f804e5a1476724245407f0eade
2019-02-06edit-gpif: Fix build for distros with python3 as defaultPau Espin Pedrol4-6/+4
Fix the script so it is python2 and python3 compatible, then let the distro decide which python version to use. Change-Id: If805c8167e2cf57ce3d6143dddfd4685ad729142
2019-02-06build_eeprom.py: Fix build for distros with python3 as defaultPau Espin Pedrol2-3/+3
The script contains python2-only syntax, so it can only be run with python2. Make sure to explicitly specify it needs to be run with python2 in order to run it fine on distros where python points to python3. Change-Id: Ie695c26f1b2a4f84bdc2b67938fe37a4c50681dd
2019-01-24Add config for git-reviewMax1-0/+3
Change-Id: I29617f080af81921e4ee0f7a53eaae5ba2e3c30b
2019-01-13debian: Add 'sdcc' package to BuildDependsHarald Welte1-0/+1
We recently re-introduced building the USRP1 FX2 firmware using SDCC. This needs to be listed as requirement for building the package, otherwise build are failing. Change-Id: I23ca8d7ad26437f2c971608cd881a6f40e26a887
2019-01-12debian: Make sure the FX2 firmware is packagedHarald Welte1-0/+1
Change-Id: Ide58bb2969a41f5ccb563b7e0ae13e4bf5932127
2019-01-12Re-enable build of usrp FX2 firmwareHarald Welte3-3/+8
Back in df354005f35c072976bfd6f1b031827cf3fa2e98, for some reason building the USRP1 FX2 firmware was disabled. Let's re-enable it, as the FX2 firmware is required as an essential part of USRP1 device operation. It's loaded into the FX2 RAM over USB after the initial USB attach. As the firmware code has meanwhile been ported to a more modern SDCC dialect (SDCC 3.2 or later, released in 2012), we have to adjust the required minimum SDCC version. Change-Id: I66ecc66bca3e8c171d2dd0d15c71186e16e8cc3b
2019-01-12firmware: Port to more modern SDCC syntax.Harald Welte20-440/+440
SDCC, at least from version 3 onwards, has change the names of special attributes like "at" or "sfr". They are now all prefixed with double- underscores. Upstream fx2lib has made that change in commit 3071389d9a868ed553b84809b399008648536fcf which can be obtained from https://github.com/djmuhlestein/fx2lib/pull/1/commits/3071389d9a868ed553b84809b399008648536fcf Change-Id: I5df64bc3cc09402bdfacec9c256e96135e3688fd
2019-01-12firmware: Fix include directory path namesHarald Welte2-5/+5
When we forked libusrp from the gnuradio source archive, we moved around the directories, but failed to adjust the FW_INCLUDES. Change-Id: I51a10da2325f7f6d158bb80f43e42b6ed29006f0
2018-09-17debian/rules: Don't overwrite .tarball-versionPau Espin Pedrol1-4/+0
The .tarball-version file should contain the *source version* uniquely identifying the git commit, and not the Debian package name. With https://gerrit.osmocom.org/#/c/osmo-ci/+/10343/ there is a correct .tarball-version file in the .tar.xz of the nightly source packages. Related: OS#3449 Change-Id: Idb187930d08b9e427ec07b4d27f138c106f69f99
2018-04-29build: use correct python version in generate_regs.pyPau Espin Pedrol2-3/+3
AM_PATH_PYTHON is broken, we already dropped it in other osmocom projects. Change-Id: I17a79464718c9dcf8f4f579fb1871bfac22075e3
2018-04-28Add debian directory3.4.2Pau Espin Pedrol11-0/+138
Related: OS#3218 Change-Id: I5ff1d76f533b9ac68ab3f2c70ead6b66f4413b4f
2018-04-27Makefile.par.gen: Fix .deps directory not present during buildPau Espin Pedrol1-0/+1
Change-Id: I899cde47bb03ed6f00d431e7d744be6f663ae314
2018-04-27build: Fix make distcheckPau Espin Pedrol6-17/+27
Change-Id: I8f71cf91d4cdbe0fdc4e451b89d95437ff800337