Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ont-technicolor-afm0003.md #343

Merged
merged 1 commit into from
Jun 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading