Skip to content

Commit

Permalink
Update ont-technicolor-afm0003.md (#343)
Browse files Browse the repository at this point in the history
Add workaround to write mtd on AFM0003 stick
  • Loading branch information
stich86 authored Jun 2, 2024
1 parent 891bf00 commit a0086d6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions _ont/ont-technicolor-afm0003.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0086d6

Please sign in to comment.