mirror of https://github.com/OpenIPC/wiki.git
Update sigmastar-unbrick.md
parent
50f18c4522
commit
6b881f311d
|
@ -15,20 +15,19 @@ Sigmastar unbrick
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Download and make CH341A I2C drivers:**
|
**Download ch341-i2c driver:**
|
||||||
```
|
```
|
||||||
git clone https://github.com/frank-zago/ch341-i2c-spi-gpio.git
|
git clone https://github.com/frank-zago/ch341-i2c-spi-gpio
|
||||||
cd ch341-i2c-spi-gpio
|
make -C ch341-i2c-spi-gpio
|
||||||
make -j8
|
sudo insmod ch341-i2c-spi-gpio/ch341-core.ko
|
||||||
sudo insmod ch341-core.ko
|
sudo insmod ch341-i2c-spi-gpio/i2c-ch341.ko
|
||||||
sudo insmod i2c-ch341.ko
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Download snander-mstar programmer:**
|
**Download snander-mstar programmer:**
|
||||||
```
|
```
|
||||||
wget https://github.com/viktorxda/snander-mstar/releases/download/latest/snander-x64
|
git clone https://github.com/viktorxda/snander-mstar
|
||||||
mv snander-x64 snander
|
make -C snander-mstar/src
|
||||||
chmod 755 snander
|
mv snander-mstar/src/snander .
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -50,7 +50,7 @@ iface wlan0 inet dhcp
|
||||||
pre-up wpa_supplicant -B -D nl80211 -i wlan0 -c/tmp/wpa_supplicant.conf
|
pre-up wpa_supplicant -B -D nl80211 -i wlan0 -c/tmp/wpa_supplicant.conf
|
||||||
post-down killall -q wpa_supplicant
|
post-down killall -q wpa_supplicant
|
||||||
post-down echo 1 > /sys/class/gpio/gpio7/value
|
post-down echo 1 > /sys/class/gpio/gpio7/value
|
||||||
+ post-down echo 7 > /sys/class/gpio/unexport
|
post-down echo 7 > /sys/class/gpio/unexport
|
||||||
```
|
```
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
|
|
Loading…
Reference in New Issue