181da9812439c039d9d94b6db2cdaf3b4ba36315
Revive an outdated C.H.I.P. from factory OS to Debian Buster
This guide and scripts are based on the excelent work made by https://github.com/Thore-Krug/Flash-CHIP and the guide in https://gist.github.com/luzhuomi/526fbcc30f3522f09eacf20d0f776fa5
Instructions
Part 1: Stock image
- Remove the C.H.I.P. from its case (in case you have a Pocket C.H.I.P.).
- Connect the FEL and a GROUND pin of the C.H.I.P. (for example, with a paperclip).
- Connect the C.H.I.P. its micro USB port to a USB port of your Linux machine. Make sure that the port and cable allow for plenty of power. If you get a FEL error, it may be because the C.H.I.P. is running under-voltage.
- On the Linux machine:
- run
git clone https://github.com/asophila/Flash-CHIP.gitto clone this repository cdinto the location where you stored this repository- run
sudo chmod +x Flash.sh - run
./Flash.sh - Select the version you want to install
- Wait until the installation finishes
- run
Part 2: Get jessie to connect to the network
- Remove the FEL connection (the paperclip)
- Unplug 3 seconds
- Plug the C.H.I.P. again
- Connect to the chip using
sudo screen /dev/ttyACM0 - Use user: chip and password: chip to connect
- run
sudo nmtuito set-up a wifi connection to - run
sudo nmcli cto show your current connections - run
sudo nmcli c m <YOUR SSID> connection.autoconnect yesto set autoconnection to wifi in case of trouble - use
ip addressto get your . From your linux computer open other terminal and connect usingssh chip@<CHIP IP>. You can close the terminal runningscreen.
Part 3: upgrade debian jessie to debian stretch
- run
sudo su -to allow all the next changes as superuser - run
bash <(curl -s https://raw.githubusercontent.com/asophila/Flash-CHIP/master/CHIP-updater/jessie-to-stretch.sh)to update from Debian Jessie to Debian Stretch - reboot C.H.I.P. into Debian Stretch
Description
Languages
Shell
100%