Forked from verticalgrain/chip-flashing-guide-nov-2018.md
Created
January 26, 2025 05:58
-
-
Save therafman/398faf9a76eb3c93454f40d74e80e8a1 to your computer and use it in GitHub Desktop.
Revisions
-
verticalgrain revised this gist
Nov 14, 2018 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,10 +18,14 @@ Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS see * https://archive.org/details/C.h.i.p.FlashCollection (.zip contains all CHIP image variants) * https://dl.bintray.com/yoursunny/CHIP/ (can download individual CHIP images) Unzip it (if necessary) and move the desired image into the CHIP-SDK directory. In my case since I'm flashing the Pocketchip I used the stable-pocketchip-b128 image and I put it at CHIP-SDK/stable-pocketchip-b128. 5. Navigate to the CHIP-SDK directory in terminal and run the build script: `./setup_ubuntu1404.sh` The build script should run. Multiple errors will be shown, including a fatal error when the script tries to get the CHIP-tools from a non-existant repo. This can be ignored since we already downloaded the CHIP-tools directory in step 2. 6. Put your CHIP in FEL mode by putting a jumper wire between GND and FEL. Connect the CHIP to your computer with USB (using the microUSB port on the CHIP, not the fullsize USB port). 7. Navigate to the CHIP-tools directory in terminal at CHIP-SDK/CHIP-tools and run the update firmware script. Use the -L option to explicitly specify the firmware versions from the flash-collection directory: `./chip-update-firmware.sh -L ../stable-pocketchip-b128` References: * http://www.chip-community.org/index.php/Flash_from_command_line -
verticalgrain revised this gist
Nov 14, 2018 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS see 4. Download the a CHIP image from one of the following: * https://archive.org/details/C.h.i.p.FlashCollection (.zip contains all CHIP image variants) * https://dl.bintray.com/yoursunny/CHIP/ (can download individual CHIP images) Unzip it (if necessary) and move the desired image into the CHIP-SDK directory (CHIP-SDK/IMAGENAME). In my case since I'm flashing the Pocketchip I used the stable-pocketchip-b128 image. 5. Navigate to the CHIP-SDK directory in terminal and run the build script: `./setup_ubuntu1404.sh` The build script should run. Multiple errors will be shown, including a fatal error when the script tries to get the CHIP-tools from a non-existant repo. This can be ignored since we already downloaded the CHIP-tools directory in step 2. -
verticalgrain revised this gist
Nov 14, 2018 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,13 +14,13 @@ Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS see 3. Move the CHIP-tools directory inside CHIP-SDK directory (CHIP-SDK/CHIP-tools). 4. Download the a CHIP image from one of the following: * https://archive.org/details/C.h.i.p.FlashCollection (.zip contains all CHIP image variants) * https://dl.bintray.com/yoursunny/CHIP/ (can download individual CHIP images) Unzip it (if necessary) and move the desired image into the CHIP-SDK directory (CHIP-SDK/IMAGENAME). In my case since I'm flashing the Pocketchip I used the stable-pocketchip-b128 image. 5. Navigate to the CHIP-SDK directory in terminal and run the build script: `./setup_ubuntu1404.sh` The build script should run. Multiple errors will be shown, including a fatal error when the script tries to get the CHIP-tools from a non-existant repo. This can be ignored since we already downloaded the CHIP-tools directory in step 2. 6. Put your CHIP in FEL mode by putting a jumper wire between GND and FEL. Connect the CHIP to your computer with USB (using the microUSB port on the CHIP, not the fullsize USB port). 7. Navigate to the CHIP-tools directory in terminal at CHIP-SDK/CHIP-tools and run the update firmware script. Use the -L option to explicitly specify the firmware versions from the flash-collection directory: `./chip-update-firmware.sh -L ../stable-pocketchip-b128` -
verticalgrain revised this gist
Nov 2, 2018 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,10 @@ Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS see 3. Move the CHIP-tools directory inside CHIP-SDK directory (CHIP-SDK/CHIP-tools). 4. Download flash-collection.zip from one of the following: * https://archive.org/details/C.h.i.p.FlashCollection * https://dl.bintray.com/yoursunny/CHIP/ Unpack it and move it into the CHIP-SDK directory (CHIP-SDK/flash-collection) 5. Navigate to the CHIP-SDK directory in terminal and run the build script: `./setup_ubuntu1404.sh` The build script should run. Multiple errors will be shown, including a fatal error when the script tries to get the CHIP-tools from a non-existant repo. This can be ignored since we already downloaded the CHIP-tools directory in step 2. -
verticalgrain revised this gist
Nov 1, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,4 +20,4 @@ Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS see 6. Put your chip in FEL mode and connect to your computer with USB (using the microUSB port on the CHIP, not the fullsize USB port). 7. Navigate to the CHIP-tools directory at CHIP-SDK/CHIP-tools and run the update firmware script. Use the -L option to explicitly specify the firmware versions from the flash-collection directory: `./chip-update-firmware.sh -L ../flash-collection/stable-pocketchip-b128` -
verticalgrain revised this gist
Nov 1, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,6 +18,6 @@ Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS see 5. Navigate to the CHIP-SDK directory in terminal and run the build script: `./setup_ubuntu1404.sh` The build script should run. Multiple errors will be shown, including a fatal error when the script tries to get the CHIP-tools from a non-existant repo. This can be ignored since we already downloaded the CHIP-tools directory in step 2. 6. Put your chip in FEL mode and connect to your computer with USB (using the microUSB port on the CHIP, not the fullsize USB port). 7. Navigate to the CHIP-tools directory at CHIP-SDK/CHIP-tools and run the update firmware script. Use the -L option to explicitly specify of of the firmware versions from the flash-collection directory: `./chip-update-firmware.sh -L ../stable-pocketchip-b128` -
verticalgrain revised this gist
Nov 1, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,8 +16,8 @@ Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS see 4. Download flash-collection.zip from https://archive.org/details/C.h.i.p.FlashCollection. Unpack it and move it into the CHIP-SDK directory (CHIP-SDK/flash-collection) 5. Navigate to the CHIP-SDK directory in terminal and run the build script: `./setup_ubuntu1404.sh` The build script should run. Multiple errors will be shown, including a fatal error when the script tries to get the CHIP-tools from a non-existant repo. This can be ignored since we already downloaded the CHIP-tools directory in step 2. 6. Put your chip in FEL mode and connect by USB. 7. Navigate to the CHIP-tools directory at CHIP-SDK/CHIP-tools and run the update firmware script. Use the -L option to explicitly specify of of the firmware versions from the flash-collection directory: `./chip-update-firmware.sh -L ../stable-pocketchip-b128` -
verticalgrain revised this gist
Nov 1, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,4 +20,4 @@ Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS see 6. Put your chip in FEL mode and connect by USB. 7. Navigate to the CHIP-tools directory at CHIP-SDK/CHIP-tools and run the update firmware script. Use the -L option to explicitly specify of of the firmware versions from the flash-collection directory: './chip-update-firmware.sh -L ../stable-pocketchip-b128' -
verticalgrain renamed this gist
Nov 1, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
verticalgrain revised this gist
Nov 1, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,4 +20,4 @@ Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS see 6. Put your chip in FEL mode and connect by USB. 7. Navigate to the CHIP-tools directory at CHIP-SDK/CHIP-tools and run the update firmware script. Use the -L option to explicitly specify of of the firmware versions from the flash-collection directory: ./chip-update-firmware.sh -L ../stable-pocketchip-b128 -
verticalgrain revised this gist
Nov 1, 2018 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Below are the steps required to flash a NextThingCo CHIP or PocketCHIP from the command line, as of November 2018. The web flasher no longer works, and there are numerous errors when flashing from the command line, mostly due to broken dependencies. The following method works for flashing a CHIP as of November 2018: Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS seems to not work. @@ -18,4 +18,6 @@ Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS see 5. Navigate to the CHIP-SDK directory in terminal and run the build script: ./setup_ubuntu1404.sh The build script should run. Multiple errors will be shown, including a fatal error when the script tries to get the CHIP-tools from a non-existant repo. This can be ignored since we already downloaded the CHIP-tools directory in step 2. 6. Put your chip in FEL mode and connect by USB. 7. Navigate to the CHIP-tools directory at CHIP-SDK/CHIP-tools and run the update firmware script. Use the -L option to explicitly specify the version you'd like to flash: -
verticalgrain revised this gist
Nov 1, 2018 . 1 changed file with 20 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,21 @@ Below are the steps required to flash a NextThingCo CHIP or PocketCHIP as of November 2018: Note: Flashing must be done on Linux. Tested on Ubuntu and Rasparian. Mac OS seems to not work. 1. Download and unpack the CHIP-SDK.zip from one of the following: * https://archive.org/details/C.h.i.p.FlashCollection * https://github.com/NextThingCo/CHIP-SDK * https://github.com/Project-chip-crumbs/CHIP-SDK 2. Download and unpack CHIP-tools.zip from one of the following: * https://archive.org/details/C.h.i.p.FlashCollection * https://github.com/NextThingCo/CHIP-tools-backup * https://github.com/Project-chip-crumbs/CHIP-tools 3. Move the CHIP-tools directory inside CHIP-SDK directory (CHIP-SDK/CHIP-tools). 4. Download flash-collection.zip from https://archive.org/details/C.h.i.p.FlashCollection. Unpack it and move it into the CHIP-SDK directory (CHIP-SDK/flash-collection) 5. Navigate to the CHIP-SDK directory in terminal and run the build script: ./setup_ubuntu1404.sh The build script should run. Multiple errors will be shown, including a fatal error when the script tries to get the CHIP-tools from a non-existant repo. This can be ignored since we already downloaded the CHIP-tools directory in step 2. 6. Navigate to the CHIP-tools directory at CHIP-SDK/CHIP-tools and run the update firmware script. Use the -L option to explicitly specify the version you'd like to flash: -
verticalgrain created this gist
Nov 1, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ Below are the steps required to flash a NextThingCo CHIP or PocketCHIP as of November 2018: