dirkhh / adsb-feeder-image

Easy to use turn-key SD card image for a number of popular single board computers to run a complete ADS-B feeder
https://adsb.im/home
GNU General Public License v3.0
130 stars 14 forks source link

Feature request: web interface to upgrade Airspy firmware #253

Open Ottergoose opened 2 weeks ago

Ottergoose commented 2 weeks ago

In my ongoing quest to help keep other people out of the command line, it'd be slick if you could upgrade the Airspy firmware via your web interface.

Copy/pasted from @wiedehopf here: https://discord.com/channels/734090820684349521/781096638008655912/1304095009678561423

apt install airspy -y
cd /tmp
wget https://github.com/airspy/airspyone_firmware/releases/download/v1.0.0-rc10-6/airspy_fw_v1.0.0-rc10-6-g4008185.zip
unzip airspy_fw_v1.0.0-rc10-6-g4008185.zip
cd airspy_fw_v1.0.0-rc10-6-g4008185
docker stop airspy_adsb
airspy_spiflash -w airspy_rom_to_ram.bin
shutdown now
wiedehopf commented 2 weeks ago

That's probably beyond the scope.

Really i'm not even sure there is any benefit for ADS-B in updating the airspy firmware.

Anything firmware / serial is scary because if the device has bad power or a user wiggles the USB, you can brick SDRs.

Ottergoose commented 2 weeks ago

It's certainly on the fringe of what should be in scope, I agree.

Perhaps a more streamlined solution would be a page on the adsb.im website that includes a few helpful commands, for this, updating dongle serial numbers, etc? I might take that on as something I can do...

dirkhh commented 2 weeks ago

Yeah - I would err on the side of pointing at documentation elsewhere. There are great resources for the SDR-based hobbies all over the place. I intentionally link to existing pages from the adsb.im website wherever that seemed reasonable and I'd like to do the same for things like SDR firmware updates.