summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiammarco <stich86@gmail.com>2024-06-02 16:55:08 +0200
committerGitHub <noreply@github.com>2024-06-02 16:55:08 +0200
commitd87928112084bc8b3d38856a01f335807c0eb7a6 (patch)
tree6c63bd028582b9f3cefa6b2656eefe8557237a0c
parentadd BCCTV and PNC11C epon (#342) (diff)
downloadhack-gpon.github.io-stich86-afm0003-wa.tar
hack-gpon.github.io-stich86-afm0003-wa.tar.gz
hack-gpon.github.io-stich86-afm0003-wa.tar.bz2
hack-gpon.github.io-stich86-afm0003-wa.tar.lz
hack-gpon.github.io-stich86-afm0003-wa.tar.xz
hack-gpon.github.io-stich86-afm0003-wa.tar.zst
hack-gpon.github.io-stich86-afm0003-wa.zip
-rw-r--r--_ont/ont-technicolor-afm0003.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/_ont/ont-technicolor-afm0003.md b/_ont/ont-technicolor-afm0003.md
index ad5eabe..625f752 100644
--- a/_ont/ont-technicolor-afm0003.md
+++ b/_ont/ont-technicolor-afm0003.md
@@ -116,6 +116,22 @@ The following commands are used to flash a new rootfs to image1 and then boot to
```sh
# flash_eraseall /dev/mtd7
# cat /tmp/rootfs.new > /dev/mtd7
+```
+
+If you get this error on `cat` command
+```sh
+# cat /tmp/rootfs.new > /dev/mtd7
+cat: write error: Invalid Argument
+```
+
+Use this proceudre instead to write firmware back to mtd:
+```sh
+# flash_eraseall /dev/mtd7
+# cat /tmp/rootfs.new > /dev/mtdblock7
+```
+
+Then make new firmware bootable
+```sh
# nv setenv sw_version1 NEW_SOFTWARE_VERSION
# nv setenv sw_commit 1
# reboot