69510f79f7
This program grabs the WLAN calibration data from a NAND partition on the Nokia N900. Signed-off-by: Dang Huynh <danct12@disroot.org>
10 lines
292 B
Bash
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"
|