diff --git a/Flash.sh b/Flash.sh old mode 100644 new mode 100755 index 6dccc8e..c9bc1a7 --- a/Flash.sh +++ b/Flash.sh @@ -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 diff --git a/README.md b/README.md index 5412262..4c81770 100644 --- a/README.md +++ b/README.md @@ -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`