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/04/13 16:15] – [Flashing] update all the flashing info in regards to the board-config partition chunkeey | toh:meraki:mr24 [2020/12/20 09:24] – [Tags] danitool | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ===== Supported Versions ===== | ===== Supported Versions ===== | ||
| ---- datatable ---- | ---- datatable ---- | ||
| - | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Topic URL_url, Device Techdata_pageid | + | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, |
| headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | ||
| align : c, | align : c, | ||
| Line 10: | Line 10: | ||
| ---- | ---- | ||
| - | ===== Hardware ===== | ||
| - | ==== Info ==== | ||
| - | | **Architecture: | ||
| - | | **Vendor: | ||
| - | | **Bootloader: | ||
| - | | **System-On-Chip: | ||
| - | | **CPU Speed: | ||
| - | | **Flash-Chip: | ||
| - | | **Flash size: | ||
| - | | **RAM: | ||
| - | | **RAM Size: | ||
| - | | **Wireless: | ||
| - | | **Switch: | ||
| - | | **Ethernet ports: | ||
| - | | **USB: | ||
| - | | **Serial: | ||
| - | | **JTAG: | ||
| - | WikiDevi Page is at [[https://wikidevi.com/ | + | ===== Hardware Highlights ===== |
| + | ---- datatable ---- | ||
| + | cols | ||
| + | header | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| - | ==== Serial ==== | ||
| - | Connect on UART (J2). P1 is closest to the NAND, and P4 is closest to the SoC. | ||
| - | |||
| - | | **P1:** VCC | | ||
| - | | **P2:** RX | | ||
| - | | **P3:** TX | | ||
| - | | **P4:** GND | | ||
| - | |||
| - | ==== Photos ==== | ||
| - | {{: | ||
| - | {{: | ||
| - | {{: | ||
| - | {{: | ||
| - | {{: | ||
| - | |||
| - | {{: | ||
| - | {{: | ||
| - | {{: | ||
| - | {{: | ||
| - | {{: | ||
| - | ===== Flash Layout ===== | ||
| - | ==== Stock ==== | ||
| - | < | ||
| - | dev: size | ||
| - | mtd0: 00170000 00004000 " | ||
| - | mtd1: 00010000 00004000 " | ||
| - | mtd2: 01e80000 00004000 " | ||
| - | mtd3: 0087d800 0001f800 " | ||
| - | mtd4: 0087d800 0001f800 " | ||
| - | mtd5: 0001f800 0001f800 " | ||
| - | mtd6: 00080000 0001f800 " | ||
| - | </ | ||
| - | |||
| - | Note that mtd3 through mtd6 are UBI partitions emulating mtd devices. UBI partitions part1 and part2 contain the kernel, and the rootfs as an initramfs image. | ||
| - | |||
| - | ==== OpenWrt ==== | ||
| - | < | ||
| - | / # cat /proc/mtd | ||
| - | dev: size | ||
| - | mtd0: 00170000 00004000 " | ||
| - | mtd1: 00010000 00004000 " | ||
| - | mtd2: 01e80000 00004000 " | ||
| - | </ | ||
| - | |||
| - | ===== OpenWrt Installation ===== | ||
| + | ===== Installation ===== | ||
| ---- datatable ---- | ---- datatable ---- | ||
| cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
| headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | ||
| - | align : | + | align : |
| filter | filter | ||
| ---- | ---- | ||
| Line 104: | 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 114: | 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 130: | Line 80: | ||
| </ | </ | ||
| - | 6. Once done, you can now load up LuCI at 192.168.1.1, | + | 6. Once done, you can now load up LuCI at 192.168.1.1, |
| === Previous Releases up to 17.01.4 === | === Previous Releases up to 17.01.4 === | ||
| - | 1. Start your TFTP server and rename the initramfs image to "mr24.bin". | + | 1. Start your TFTP server and rename the initramfs image to '' |
| 2. Power on the MR24, and interrupt u-boot. At the prompt, enter the following commands to update your boot settings: | 2. Power on the MR24, and interrupt u-boot. At the prompt, enter the following commands to update your boot settings: | ||
| Line 170: | Line 120: | ||
| 6. Once done, you can now load up LuCI at 192.168.1.1, | 6. Once done, you can now load up LuCI at 192.168.1.1, | ||
| + | |||
| + | ===== Hardware ===== | ||
| + | ==== Info ==== | ||
| + | ^ Architecture | ||
| + | ^ Vendor | ||
| + | ^ Bootloader | ||
| + | ^ System-On-Chip | ||
| + | ^ CPU Speed | 800MHz | ||
| + | ^ Flash-Chip | ||
| + | ^ Flash size | 32MiB | | ||
| + | ^ RAM | 2x Nanya NT5TU32M16D6-AC | ||
| + | ^ RAM Size | 128MiB | ||
| + | ^ Wireless | ||
| + | ^ Switch | ||
| + | ^ Ethernet ports | 1x Gigabit Atheros AR8035 | ||
| + | ^ USB | No | | ||
| + | ^ Serial | ||
| + | ^ JTAG | [[docs: | ||
| + | |||
| + | |||
| + | ==== Serial ==== | ||
| + | Connect on UART (J2). P1 is closest to the NAND, and P4 is closest to the SoC. | ||
| + | |||
| + | | **P1:** VCC | | ||
| + | | **P2:** RX | | ||
| + | | **P3:** TX | | ||
| + | | **P4:** GND | | ||
| + | |||
| + | ==== Photos ==== | ||
| + | {{: | ||
| + | {{: | ||
| + | {{: | ||
| + | {{: | ||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | {{: | ||
| + | {{: | ||
| + | {{: | ||
| + | {{: | ||
| + | |||
| + | |||
| + | ===== Flash Layout ===== | ||
| + | ==== Stock ==== | ||
| + | < | ||
| + | dev: size | ||
| + | mtd0: 00170000 00004000 " | ||
| + | mtd1: 00010000 00004000 " | ||
| + | mtd2: 01e80000 00004000 " | ||
| + | mtd3: 0087d800 0001f800 " | ||
| + | mtd4: 0087d800 0001f800 " | ||
| + | mtd5: 0001f800 0001f800 " | ||
| + | mtd6: 00080000 0001f800 " | ||
| + | </ | ||
| + | |||
| + | Note that mtd3 through mtd6 are UBI partitions emulating mtd devices. UBI partitions part1 and part2 contain the kernel, and the rootfs as an initramfs image. | ||
| + | |||
| + | ==== OpenWrt ==== | ||
| + | < | ||
| + | / # cat /proc/mtd | ||
| + | dev: size | ||
| + | mtd0: 00170000 00004000 " | ||
| + | mtd1: 00010000 00004000 " | ||
| + | mtd2: 01e80000 00004000 " | ||
| + | </ | ||
| + | |||
| | | ||
| ===== Bootlogs ===== | ===== Bootlogs ===== | ||
| Line 838: | Line 854: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag>128RAM | + | {{tag>apm821xx APM82181 |