From 0c89868c4643248dfeeacf871357d668a0f11443 Mon Sep 17 00:00:00 2001 From: Alejandro Sophila <5770504+asophila@users.noreply.github.com> Date: Fri, 17 Feb 2023 20:13:10 -0300 Subject: [PATCH 1/3] Update README.md --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 538160a..15eff35 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # 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 + ## Part 1: Flashing stock C.H.I.P. image Ready to use Flash environment for the C.H.I.P Single Board Computer @@ -26,9 +28,14 @@ Simplyfies the Flashing Process for the C.H.I.P and PocketC.H.I.P Computer. 6. run `sudo nmtui` to set-up a wifi connection to 7. run `sudo nmcli c` to show your current connections 8. run `sudo nmcli c m connection.autoconnect yes` to set autoconnection to wifi in case of trouble -9. run `sudo su -` to allow all the next changes as superuser -10. run `curl -o https://raw.githubusercontent.com/asophila/Flash-CHIP/master/CHIP-updater/jessie-to-stretch.sh | bash` to update from Debian Jessie to Debian Stretch +### Part 3: upgrade debian jessie to debian stretch +1. run `sudo su -` to allow all the next changes as superuser +2. run `curl -o https://raw.githubusercontent.com/asophila/Flash-CHIP/master/CHIP-updater/jessie-to-stretch.sh | bash` to update from Debian Jessie to Debian Stretch +3. reboot C.H.I.P. into Debian Stretch + + + @@ -53,6 +60,4 @@ make install-all install-misc cd ../ ./Flash.sh ``` -## Support my work by Donating -https://www.paypal.me/a13tech From e4fdc9e20feda9d51352d580cf46e39385790480 Mon Sep 17 00:00:00 2001 From: Alejandro Sophila <5770504+asophila@users.noreply.github.com> Date: Fri, 17 Feb 2023 20:16:42 -0300 Subject: [PATCH 2/3] Update README.md --- README.md | 49 ++++++++----------------------------------------- 1 file changed, 8 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index 15eff35..5b54e98 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,18 @@ # 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 -## Part 1: Flashing stock C.H.I.P. image - -Ready to use Flash environment for the C.H.I.P Single Board Computer -Simplyfies the Flashing Process for the C.H.I.P and PocketC.H.I.P Computer. - ## Instructions ### Part 1: Stock image -1. Remove the C.H.I.P from its case (in case you have a Pocket C.H.I.P). -2. Connect the FEL and a GROUND pin of the C.H.I.P (for example, with a paperclip). -3. Connect the C.H.I.P its micro USB port to a USB port of your Linux machine. -4. In the Linux machine: - - run ` git clone https://github.com/asophila/Flash-CHIP.git` to clone this repository. - - `cd` into the location where you stored this repository. +1. Remove the C.H.I.P. from its case (in case you have a Pocket C.H.I.P.). +2. Connect the FEL and a GROUND pin of the C.H.I.P. (for example, with a paperclip). +3. 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. +4. On the Linux machine: + - run ` git clone https://github.com/asophila/Flash-CHIP.git` to clone this repository + - `cd` into 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. + - Select the version you want to install + - Wait until the installation finishes ### Part 2: update and upgrade debian jessie (wich is obsolete and archived) 1. Remove the FEL connection (the paperclip) @@ -33,31 +28,3 @@ Simplyfies the Flashing Process for the C.H.I.P and PocketC.H.I.P Computer. 1. run `sudo su -` to allow all the next changes as superuser 2. run `curl -o https://raw.githubusercontent.com/asophila/Flash-CHIP/master/CHIP-updater/jessie-to-stretch.sh | bash` to update from Debian Jessie to Debian Stretch 3. reboot C.H.I.P. into Debian Stretch - - - - - - -## Troubleshooting -### General Issues -1. Kill the Script with ctrl + C -2. Read the output if something is not installed or Permissions are missing -3. Just restart the Script (fixes most of the Problem with FEL and Fastboot ) -4. If this does not help reboot, retry -5. Open an Issue on this Git Repo. - -### The script times out waiting for fel -This error is related to an insufficient amount of power provided by your USB port to the C.H.I.P. -If you have an external `5V` power supply, you can connect it to the `CHG-IN` pin of your C.H.I.P. to provide sufficient power. -Alternatively try a different (shorter, or higher quality) USB cable and check if your host PC has USB power saving enabled. - -If this dos not work Install sunxi-tool v1.4.1: -```bash -git clone --branch v1.4.1 https://github.com/linux-sunxi/sunxi-tools.git -cd sunxi-tool/ -make install-all install-misc -cd ../ -./Flash.sh -``` - From 4c08a4976a79068a42cac1d2d902b1f628b9bf87 Mon Sep 17 00:00:00 2001 From: Alejandro Sophila <5770504+asophila@users.noreply.github.com> Date: Fri, 17 Feb 2023 20:33:34 -0300 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b54e98..ae4a6ca 100644 --- a/README.md +++ b/README.md @@ -26,5 +26,5 @@ This guide and scripts are based on the excelent work made by https://github.com ### Part 3: upgrade debian jessie to debian stretch 1. run `sudo su -` to allow all the next changes as superuser -2. run `curl -o https://raw.githubusercontent.com/asophila/Flash-CHIP/master/CHIP-updater/jessie-to-stretch.sh | bash` to update from Debian Jessie to Debian Stretch +2. 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 3. reboot C.H.I.P. into Debian Stretch