Commit Graph

256 Commits

Author SHA1 Message Date
eric1tran 0aedcffc5b Version changes to 5.0~dev 2021-02-07 01:26:43 +00:00
Oliver Jowett bff71dc820
Move all converters to starch-based implementations (#97)
* Switch all conversion routines to use starch.

main user-visible changes:

 * ensure you check out submodules ('git clone --recurse-submodules")
 * --version shows the CPU features and DSP implementations in use
 * --wisdom allows overriding of the built-in architecture wisdom
 * --dcfilter no longer supported
 * "starch-benchmark" binary will benchmark all options on the
   current machine and can produce a wisdom file to feed to
   the --wisdom option

If you have a usecase for --dcfilter, please get in touch and
let me know - it's an edge case and for now there's no starch/DSP
support for it, but support can be written if needed.

In almost all cases the new conversion routines are slightly or
substantially faster than the old conversion routines. The only case
that is slower is SC16/SC16Q11 on a Pi 0, which is around 10% slower
due to changing from heavily approximated lookup tables to higher
quality results (but SC16 is probably already out of reach of a Pi 0)

* No need to build with SC16Q11_TABLE_BITS any more

* Add oneoff/uc8_capture_stats

(reads a UC8 capture; measures min/max/mean I and Q)

* Switch UC8 conversion to 127.4 center, 128 range.

Looking at actual UC8 captures from a RTL2832, the mean I and Q
are actually at 127.4, so use that as the zero point.

This means that the resulting I/Q maximum values could be as large as
127.6. Switch to 128 for simplicity.

* Switch to the new UC8 zero offset in benchmarks, fix some bugs

* Fix some bugs in SC16/SC16Q11 validation, tighten the max error requirements

* Ditch UC8 approximation path, add a NEON VRQSQRTE path.

* Tweak the SC16 exact path, add a new impl that uses a mix of
u32 & floats.

* SC16Q11 impl tweaks:

 * add a u32->float exact path
 * ditch the approximation path
 * add a NEON VRSQRTE path
 * add a 12-bit table path (using the full signed I/Q value, not absolute value)

* Ditch SC16 approximation path, add NEON vrsqrte path

* Add oneoff/dsp_error_measurement

This runs sample input through the DSP functions that are
allowed to be inexact and dumps the results as a TSV suitable for
feeding to gnuplot to look at the actual errors.

* Update make clean, make wisdom targets

* Update wisdom based on benchmarking

* Preserve the raw wisdom benchmark data

* Update to latest starch

* Update .gitignore for new wisdom files

* Update starch generated code

* Build starch-benchmark as part of the 'all' target

* Use wisdom from /etc/dump1090-fa/wisdom.local if present

* Package starch-benchmark and a helper script to generate local wisdom data

* Remove submodules in preparation for importing them directly

* Import cpu_features v0.6.0 from https://github.com/google/cpu_features/releases/tag/v0.6.0

* Import starch at commit a725c8491dc33a321565d451b385131e589d8490
from https://github.com/flightaware/starch
2021-01-21 19:45:00 +08:00
Oliver Jowett dc2f47796c 4.1~dev for the dev branch 2020-10-01 13:46:22 +08:00
Eric Tran 4f5f637dc1 Changelog edits 2020-09-24 15:39:52 +00:00
Eric Tran 863694761a Release 4.0 and update changelog 2020-09-24 15:31:52 +00:00
Eric Tran ff190286a6 Bump version to 4.0~dev 2020-09-21 15:31:46 +00:00
Oliver Jowett c8d96acbdc Add support for custom builds that don't include all SDRs, to
reduce dependency requirements a little.

(Ideally we'd have some sort of module system here, and split
the dependencies out nicely into separate packages, but that's a
problem for other day; for now I can live with custom packages
having the same name as the full build, since we'll never
distribute them ourselves)
2020-08-06 14:06:20 +08:00
Oliver Jowett 48af886e46 Update maintainer address, clean up the control file a bit. 2020-08-06 14:05:55 +08:00
Oliver Jowett efb4c1f60f Drop the very legacy dump1090 upgrade package, assume nobody is using those
ancient packages any more.
2020-08-06 14:03:47 +08:00
Oliver Jowett f1bd1a5829 Packaging updates for limesdr support 2020-08-05 20:04:25 +08:00
Oliver Jowett 5261b98c95 Merge branch 'master' of https://github.com/kr105/dump1090 into kr105-master 2020-08-03 14:32:08 +08:00
Oliver Jowett 49d95744f2
Merge pull request #74 from ianrenton/master
Use set-response-header instead of add-response-header
2020-08-02 22:48:09 -05:00
Oliver Jowett 5b964f67b8
Merge pull request #66 from jwbernin/master
Add commented-out HTTPS configuration section
2020-08-02 22:38:32 -05:00
Oliver Jowett 92889d3497
Merge pull request #62 from flyingstar16/master
Load lighttpd alias module before using alias.url
2020-08-02 22:36:37 -05:00
Ian Renton c89e3b9e9e
Use set-response-header instead of add-response-header
When accessing Dump 1090 JSON from another web server, I found that the "Access-Control-Allow-Origin" parameter was set twice ("*, *") which Chrome objected to. By changing "add-response-header" to "set-response-header" we ensure that the correct header is sent, but never duplicated.
2020-07-26 09:27:02 +01:00
John Berninger ae12414eed Change SSL certificate and chain location example 2020-06-16 08:17:26 -04:00
John Berninger d3658b9fe6 Add mod_openssl module to avoid warning 2020-06-14 16:33:11 -04:00
John Berninger ba8f3e6af0 Add commented-out HTTPS configuration section
In recent versions of Firefox and (especially) Chrome, ".dev" domains are
force-redirected to a secure connection (HTTPS) instead of HTTP. Not
supporting an HTTPS connection makes for a bad user experience, so we want
to make enabling SSL support easy. Since we don't issue certificates, this
section is commented out by default, and it will require modification.

This is done primarily for PiAware, though it is applicable to just the
Dump1090 project.
2020-06-14 16:16:55 -04:00
Oliver Jowett 8879bcac86 Change 2-bit correction option to "--fix-2bit"
--fix --fix was a poor choice for this, as some existing configs
happened to specify --fix twice but only expected 1-bit correction.
So move 2-bit correction to a separate option.

"--fix" or "--fix --fix" now gives 1-bit correction.
"--fix-2bit" or "--fix --fix-2bit" or "--fix-2bit --fix" gives 2-bit correction.

Version bump to 3.8.2~dev
2020-05-02 14:55:36 +08:00
Claudio Moretti 0ff1275bf9 Comment-out the alias module load: disabled by default
Standard lighttpd will refuse to start if modules are loaded more than
once. Turn the module addition into a comment, explain why it's disabled
by default and in which cases you should enable it.
2020-04-03 14:26:25 +02:00
Claudio Moretti f1507d8f2e Load lighttpd alias module before using alias.url
On some instances of lighttpd, like the one that comes with PiHole, the
alias module is not loaded by default. This makes the configuration of
PiAware's lighttpd not work (see e.g.
https://discourse.pi-hole.net/t/pi-hole-and-piaware-lighttpd/9611).

This way we ensure that the alias module is loaded even on non-default
lighttpd configurations.
2020-04-03 11:50:51 +02:00
Eric Tran d6b8065c3b Release 3.8.1 2020-03-19 14:21:17 +00:00
Eric Tran 4241a9f1a0 Update changelog for 3.8.1 2020-03-19 14:20:22 +00:00
Eric Tran 439f615552 3.8.1~dev 2020-01-30 15:16:44 +00:00
Oliver Jowett c3541bcbea Release 3.8.0 2019-12-30 22:16:12 +08:00
Oliver Jowett 940c8e47ea Update changelog for 3.8.0 2019-12-16 11:05:07 -06:00
Carlos Pizarro 1223f7f29a
[HackRF] Added missing build configs and changed some functions to go along with the rest of the project. 2019-12-14 21:40:43 -03:00
Oliver Jowett 59170cbacb Tweak --net-ro-size / --net-ro-interval defaults 2019-12-02 13:49:48 +08:00
Oliver Jowett 4ab1938f97 Update package defaults to pass --fix (1-bit crc correction) to match the piaware-support generated config on sdcard images 2019-12-02 13:47:29 +08:00
Oliver Jowett c853db67d0 Remove duplicated --net-bo-port 30005 in default config 2019-12-02 13:40:23 +08:00
Oliver Jowett 36ae24838f 3.8.0~dev 2019-11-07 10:40:24 +08:00
Eric Tran ae4a89b707 Release 3.7.2 2019-09-09 14:29:26 +00:00
Eric Tran d9a78636a6 Version bump to 3.7.2~dev 2019-07-31 16:28:21 +00:00
Eric Tran 40614778bc Release v3.7.1 2019-05-03 12:37:46 -05:00
Eric Tran 4d683ac50c Version bump to 3.7.1~dev 2019-04-15 11:26:51 -05:00
Eric Tran 883399cee3 Bump version for piaware lat/lon fix 2019-03-29 19:05:26 -05:00
Matthias Wirth 91f3c3ce67 Fix getting LAT/LON from piaware .env file 2019-03-29 20:55:47 +01:00
Oliver Jowett a654c60d65 Release v3.7.0 2019-03-22 15:58:13 +00:00
Oliver Jowett 18c0758a67 Changelog, version bump 2019-03-21 22:18:19 +00:00
Oliver Jowett 14c458db8c Add an ENABLED line to /etc/default/dump1090-fa on upgrade if missing 2019-03-12 11:39:05 +00:00
Oliver Jowett 9136766b9c Set SyslogIdentifier on dump1090-fa 2019-03-11 18:21:31 +00:00
Oliver Jowett 719e004c7a Use %t in the service file 2019-03-11 18:16:00 +00:00
Oliver Jowett d66a05b019 Use a helper to start dump1090-fa so we can read ENABLED from the defaults file, like beast-splitter does 2019-03-11 17:01:16 +00:00
Oliver Jowett 0946d5165d changelog 2019-03-07 18:44:26 +00:00
Oliver Jowett bd50f5d689 Version bump to 3.7.0~dev 2019-03-04 15:36:32 +00:00
Oliver Jowett 2a7a1e16f6 Prepare for 3.6.3 release 2018-09-11 14:52:42 +01:00
Oliver Jowett 7d17d8e1ff Version bump to 3.6.3~dev 2018-08-17 18:00:39 +01:00
Oliver Jowett 20a16d50bd Prepare for 3.6.2 release 2018-07-27 18:34:22 +01:00
Oliver Jowett dfdee153ef Bump version to 3.6.2~dev 2018-07-20 20:34:33 +01:00
Oliver Jowett 655d311a37 Prepare for 3.6.1 release 2018-07-16 15:00:56 +01:00