Merge pull request #24 from ReubenBTalbott/master
install older version of sunxi-tools to fix problems with flashing
This commit is contained in:
14
Flash.sh
14
Flash.sh
@@ -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)
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user