Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Flash.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ SUBSYSTEM=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", GROUP="plug
sudo udevadm control --reload-rules

echo -e "\n Installing CHIP-tools"
if [ -d CHIP-tools ]; then
cd CHIP-tools
if [ -d CHIP-tools-2025 ]; then
cd CHIP-tools-2025
git pull
FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour
elif [ ! -d CHIP-tools ]; then
git clone https://github.com/Project-chip-crumbs/CHIP-tools.git
cd CHIP-tools
elif [ ! -d CHIP-tools-2025 ]; then
git clone https://github.com/Elfking29/CHIP-tools-2025
cd CHIP-tools-2025
FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour
fi

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Simplyfies the Flashing Process for the C.H.I.P and PocketC.H.I.P Computer.
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/thore-krug/Flash-CHIP.git` to clone this repository.
- run `git clone https://github.com/Elfking29/Flash-CHIP-2025` to clone this repository.
- `cd` into the location where you stored this repository.
- run `sudo chmod +x Flash.sh`
- run `./Flash.sh`
Expand Down