summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bortolin <simonebortolin@users.noreply.github.com>2022-09-18 14:00:29 +0200
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 23:09:08 +0100
commit8fad775512d29651a22670e42a752c5e17a69145 (patch)
tree6938abd83bb4e45256714ee194234816b5b1d6d9
parentadd 1:16 attenuation (diff)
downloadhack-gpon.github.io-8fad775512d29651a22670e42a752c5e17a69145.tar
hack-gpon.github.io-8fad775512d29651a22670e42a752c5e17a69145.tar.gz
hack-gpon.github.io-8fad775512d29651a22670e42a752c5e17a69145.tar.bz2
hack-gpon.github.io-8fad775512d29651a22670e42a752c5e17a69145.tar.lz
hack-gpon.github.io-8fad775512d29651a22670e42a752c5e17a69145.tar.xz
hack-gpon.github.io-8fad775512d29651a22670e42a752c5e17a69145.tar.zst
hack-gpon.github.io-8fad775512d29651a22670e42a752c5e17a69145.zip
Diffstat (limited to '')
-rw-r--r--_ont/ont-huawei-ma5671a-root.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/_ont/ont-huawei-ma5671a-root.md b/_ont/ont-huawei-ma5671a-root.md
index 781a930..6b23e9e 100644
--- a/_ont/ont-huawei-ma5671a-root.md
+++ b/_ont/ont-huawei-ma5671a-root.md
@@ -28,7 +28,8 @@ pip install pyserial
{% include image.html file="ma5671a-root-2.jpg" alt="Molex SFP" caption="Molex SFP" %}
{:style="counter-reset:none"}
-4. Run this programme and only then connect the GND pin
+4. Open Tera Term (or other serial terminal emulator), find the correct serial port of the TTL adapter, change the port on the script on line 7 instead of `COM8`.
+5. After this, run the following python script and connect the GND pin:
```py
import sys
@@ -151,17 +152,16 @@ mtd -e image1 write mtd5.bin image1
```
12. change the `committed` variabile with
```
-setenv committed_image 1
-saveenv
-printenv committed_image
+fw_setenv committed_image 1
+fw_printenv committed_image
```
-13. upload the mtd1 image in `/tmp` whit the command
+13. upload the mtd2 image in `/tmp` whit the command
```
scp mtd2.bin root@192.168.1.10:/tmp/
```
then write the mtd2 file it into the second partition (the 0) with the command:
```
-mtd -e image1 write mtd2.bin image1
+mtd -e image0 write mtd2.bin image0
```
{% include alert.html content="You could also have done it as a serial, but from here it is much quicker with SSH" alert="Info" icon="svg-info" color="blue" %}