Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:meraki:mr24 [2018/06/19 17:37] – Datatables updated, cleanup tmomas | toh:meraki:mr24 [2020/12/20 09:24] – [Tags] danitool | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| setenv owrt_boot run meraki_ubi owrt_bootargs\; | setenv owrt_boot run meraki_ubi owrt_bootargs\; | ||
| setenv bootcmd run owrt_boot | setenv bootcmd run owrt_boot | ||
| + | setenv factory_boot_bak ${factory_boot} | ||
| + | setenv factory_boot run meraki_ubi\; | ||
| saveenv | saveenv | ||
| </ | </ | ||
| Line 59: | Line 61: | ||
| </ | </ | ||
| - | 4. Once OpenWrt boots and you are at a root prompt, you can Cleanup for maximum space. | + | 4. Once OpenWrt boots and you are at a root prompt, you can Cleanup for maximum space. |
| < | < | ||
| ubirmvol /dev/ubi0 -N part1 | ubirmvol /dev/ubi0 -N part1 | ||
| ubirmvol /dev/ubi0 -N part2 | ubirmvol /dev/ubi0 -N part2 | ||
| ubirmvol /dev/ubi0 -N storage | ubirmvol /dev/ubi0 -N storage | ||
| + | dd if=/ | ||
| + | ubirmvol /dev/ubi0 -N board-config | ||
| + | ubimkvol /dev/ubi0 -s 24KiB -N board-config | ||
| + | ubiupdatevol /dev/ubi0_0 / | ||
| </ | </ | ||
| - | 5. Create a recovery UBI partition. This will host an initramfs build so our board can have a failback image in case of a bad flash, or sysupgrade issue. Note you will first want to upload a copy of the initramfs image to the board (which can be done with SCP/HTTP Server). In the below tutorial note that the new partition is made to be just a bit larger than the initramfs image. You will want to do this as well. | + | 5. Create a recovery UBI partition. This will host an initramfs build so our board can have a failback image in case of a bad flash, or sysupgrade issue. You can also manually boot to recovery by holding the reset button while powering on the device. The recovery ip will always be 192.168.1.1, |
| < | < | ||
| Line 849: | Line 854: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag> | + | {{tag>apm821xx |