Skip to content

Commit d879281

Browse files
authored
Update ont-technicolor-afm0003.md
Add workaround to write mtd on AFM0003 stick
1 parent 891bf00 commit d879281

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

_ont/ont-technicolor-afm0003.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,22 @@ The following commands are used to flash a new rootfs to image1 and then boot to
116116
```sh
117117
# flash_eraseall /dev/mtd7
118118
# cat /tmp/rootfs.new > /dev/mtd7
119+
```
120+
121+
If you get this error on `cat` command
122+
```sh
123+
# cat /tmp/rootfs.new > /dev/mtd7
124+
cat: write error: Invalid Argument
125+
```
126+
127+
Use this proceudre instead to write firmware back to mtd:
128+
```sh
129+
# flash_eraseall /dev/mtd7
130+
# cat /tmp/rootfs.new > /dev/mtdblock7
131+
```
132+
133+
Then make new firmware bootable
134+
```sh
119135
# nv setenv sw_version1 NEW_SOFTWARE_VERSION
120136
# nv setenv sw_commit 1
121137
# reboot

0 commit comments

Comments
 (0)