mirror of https://github.com/OpenIPC/wiki.git
Update sigmastar-unbrick.md (#176)
parent
033dd62ec9
commit
51ae21da0a
|
@ -15,68 +15,22 @@ Sigmastar unbrick
|
|||
|
||||
---
|
||||
|
||||
**Download ch341-i2c driver:**
|
||||
```
|
||||
git clone https://github.com/frank-zago/ch341-i2c-spi-gpio
|
||||
make -C ch341-i2c-spi-gpio
|
||||
sudo insmod ch341-i2c-spi-gpio/ch341-core.ko
|
||||
sudo insmod ch341-i2c-spi-gpio/i2c-ch341.ko
|
||||
```
|
||||
|
||||
**Download snander-mstar programmer:**
|
||||
```
|
||||
git clone https://github.com/viktorxda/snander-mstar
|
||||
make -C snander-mstar
|
||||
mv snander-mstar/snander .
|
||||
```
|
||||
**Download snander-mstar:**
|
||||
- https://github.com/viktorxda/snander-mstar/releases
|
||||
|
||||
---
|
||||
|
||||
**Use i2cdetect to check for the device:**
|
||||
- 0x49 -> isp programming
|
||||
- 0x59 -> serial debugging
|
||||
```
|
||||
sudo i2cdetect -y 0
|
||||
```
|
||||
|
||||
<img src="../images/sigmastar-detect.webp" width=70% height=70%>
|
||||
|
||||
**Check the device flash with snander:**
|
||||
```
|
||||
sudo ./snander -i
|
||||
snander -i
|
||||
```
|
||||
|
||||
<img src="../images/sigmastar-check.webp" width=70% height=70%>
|
||||
|
||||
**Read original uboot:**
|
||||
```
|
||||
sudo ./snander -a 0x000000 -l 0x3C0000 -r boot.bin
|
||||
```
|
||||
|
||||
<img src="../images/sigmastar-read.webp" width=70% height=70%>
|
||||
|
||||
<img src="../images/sigmastar-check.webp">
|
||||
|
||||
**Erase, write and verify new uboot:**
|
||||
```
|
||||
sudo ./snander -a 0x000000 -l 0x200000 -e
|
||||
sudo ./snander -a 0x000000 -l 0x200000 -w u-boot-ssc338q-spinand.bin -v
|
||||
snander -l 0x200000 -e
|
||||
snander -w u-boot-ssc338q-nand.bin -v
|
||||
```
|
||||
|
||||
<img src="../images/sigmastar-write.webp" width=70% height=70%>
|
||||
|
||||
---
|
||||
|
||||
**Vendor partition table for spinand:**
|
||||
```
|
||||
CIS 0x0000000-0x0020000 128KB
|
||||
IPL0 0x0140000-0x0200000 768KB
|
||||
IPL_CUST0 0x0200000-0x0260000 384KB
|
||||
IPL_CUST1 0x0260000-0x02C0000 384KB
|
||||
UBOOT0 0x02C0000-0x0320000 384KB
|
||||
UBOOT1 0x0320000-0x0380000 384KB
|
||||
ENV 0x0380000-0x03C0000 256KB
|
||||
KERNEL 0x03C0000-0x08C0000 5120KB
|
||||
RECOVERY 0x08C0000-0x0DC0000 5120KB
|
||||
rootfs 0x0DC0000-0x13C0000 6144KB
|
||||
UBI 0x13C0000-0x8000000 110848KB
|
||||
```
|
||||
<img src="../images/sigmastar-write.webp">
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 17 KiB |
Binary file not shown.
Before Width: | Height: | Size: 13 KiB |
Binary file not shown.
Before Width: | Height: | Size: 27 KiB |
Binary file not shown.
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 27 KiB |
Loading…
Reference in New Issue