summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiammarco <stich86@gmail.com>2024-06-02 16:56:40 +0200
committerGitHub <noreply@github.com>2024-06-02 16:56:40 +0200
commita0086d63cd9fae15e43b9a965b1708b3a64f7b66 (patch)
tree6c63bd028582b9f3cefa6b2656eefe8557237a0c
parentadd BCCTV and PNC11C epon (#342) (diff)
downloadhack-gpon.github.io-a0086d63cd9fae15e43b9a965b1708b3a64f7b66.tar
hack-gpon.github.io-a0086d63cd9fae15e43b9a965b1708b3a64f7b66.tar.gz
hack-gpon.github.io-a0086d63cd9fae15e43b9a965b1708b3a64f7b66.tar.bz2
hack-gpon.github.io-a0086d63cd9fae15e43b9a965b1708b3a64f7b66.tar.lz
hack-gpon.github.io-a0086d63cd9fae15e43b9a965b1708b3a64f7b66.tar.xz
hack-gpon.github.io-a0086d63cd9fae15e43b9a965b1708b3a64f7b66.tar.zst
hack-gpon.github.io-a0086d63cd9fae15e43b9a965b1708b3a64f7b66.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