pmaports/main/wl1251-cal/n900-update-wl1251
Dang Huynh 69510f79f7
main/wl1251-cal: new pkgbuild (MR 3386)
This program grabs the WLAN calibration data from a NAND partition
on the Nokia N900.

Signed-off-by: Dang Huynh <danct12@disroot.org>
2022-10-12 21:39:12 +02:00

10 lines
292 B
Bash

#!/bin/sh -e
if [ -e /in-pmbootstrap ]; then
echo "Skipping update of N900 WLAN calibration data (running in pmbootstrap)"
exit 0
fi
echo "Updating N900's WLAN calibration data.."
wl1251-cal --nvs-loading=/dev/null --nvs-push-data=/lib/firmware/ti-connectivity/wl1251-nvs.bin
echo "Done"