nerves-project / nerves_system_bbb

Base Nerves system configuration for the BeagleBone-based boards
Apache License 2.0
36 stars 40 forks source link

Add fwup task to reprovision devices #208

Closed fhunleth closed 3 years ago

fhunleth commented 3 years ago

The provision task lets you use fwup to re-apply the provisioning information to a MicroSD card. For example, if you store initial WiFi credentials using the provisioning feature, then to change them, put the MicroSD card back in your computer and run:

NERVES_WIFI_SSID="new_ssid" NERVES_WIFI_PASSPHRASE="new_password" fwup
firmware.fw -t provision

This only writes the provisioning data. Nothing else on the MicroSD card will be changed.