Merge pull request #24 from ReubenBTalbott/master

install older version of sunxi-tools to fix problems with flashing
This commit is contained in:
Thore Krug aka A13
2020-04-14 20:37:52 +02:00
committed by GitHub
2 changed files with 10 additions and 6 deletions

View File

@@ -39,17 +39,21 @@ read flavour
echo -e "\n Setting up environment"
sudo apt-get -y update
sudo apt-get install curl -y
sudo apt-get install u-boot-tools -y
sudo apt-get -y install \
sudo apt -y update
sudo apt -y install \
git \
fastboot \
sunxi-tools \
u-boot-tools \
adb \
u-boot-tools \
android-tools-fastboot \
u-boot-tools \
curl \
wget \
wget http://mirrors.kernel.org/ubuntu/pool/universe/s/sunxi-tools/sunxi-tools_1.4.1-1_amd64.deb
sudo dpkg -i sunxi-tools*.deb
sudo rm -rf sunxi-tools*.deb
echo -e "\n Adding current user to dialout group"
sudo usermod -a -G dialout $(logname)

View File

@@ -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/ReubenBTalbott/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`