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/03/18 21:30] – riptidewave93 | toh:meraki:mr24 [2020/12/20 09:24] – [Tags] danitool | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Meraki MR24====== | ======Meraki MR24====== | ||
| - | * OpenWRT official support as of [[https:// | ||
| - | ===== Hardware | + | ===== Supported Versions |
| - | ==== Info ==== | + | ---- datatable ---- |
| - | | **Architecture: | + | cols |
| - | | **Vendor: | + | headers |
| - | | **Bootloader: | + | align : c, |
| - | | **System-On-Chip: | + | filter |
| - | | **CPU Speed: | + | ---- |
| - | | **Flash-Chip: | + | |
| - | | **Flash size: | + | |
| - | | **RAM: | + | |
| - | | **RAM Size:** | 128MiB | + | |
| - | | **Wireless:** | Atheros AR9380 5.0GHz + Atheros AR9380 2.4GHz | + | |
| - | | **Switch: | + | |
| - | | **Ethernet ports: | + | |
| - | | **USB:** | No | | + | |
| - | | **Serial:** | [[docs: | + | |
| - | | **JTAG: | + | |
| - | WikiDevi Page is at [[https:// | ||
| - | ==== Serial | + | ===== Hardware Highlights ===== |
| - | Connect on UART (J2). P1 is closest to the NAND, and P4 is closest to the SoC. | + | ---- datatable ---- |
| + | cols : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, | ||
| + | header | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| - | | **P1:** VCC | | ||
| - | | **P2:** RX | | ||
| - | | **P3:** TX | | ||
| - | | **P4:** GND | | ||
| - | ==== Photos | + | ===== Installation ===== |
| - | {{: | + | ---- datatable |
| - | {{: | + | cols |
| - | {{: | + | headers |
| - | {{: | + | align : c,c,c |
| - | {{: | + | filter |
| - | + | ---- | |
| - | {{: | + | |
| - | {{: | + | |
| - | {{: | + | |
| - | {{:media: | + | |
| - | {{:media: | + | |
| - | ===== 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 "u-boot" | + | |
| - | mtd1: 00010000 00004000 " | + | |
| - | mtd2: 01e80000 00004000 " | + | |
| - | </ | + | |
| - | + | ||
| - | ===== OpenWRT Installation ===== | + | |
| ==== Prerequisites ==== | ==== Prerequisites ==== | ||
| Line 90: | 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 100: | Line 61: | ||
| </ | </ | ||
| - | 4. Once OpenWRT | + | 4. Once OpenWrt |
| - | + | ||
| - | 5. Cleanup and move around UBI partitions for maximum space. Note that in this example, replace | + | |
| < | < | ||
| ubirmvol /dev/ubi0 -N part1 | ubirmvol /dev/ubi0 -N part1 | ||
| Line 114: | Line 72: | ||
| </ | </ | ||
| - | 6. 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 122: | Line 80: | ||
| </ | </ | ||
| - | 7. 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 145: | Line 103: | ||
| </ | </ | ||
| - | 4. Once OpenWRT | + | 4. Once OpenWrt |
| - | + | ||
| - | 5. Cleanup | + | |
| < | < | ||
| Line 153: | Line 109: | ||
| 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 / | ||
| </ | </ | ||
| - | 6. 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. 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. |
| < | < | ||
| Line 167: | Line 119: | ||
| </ | </ | ||
| - | 7. 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 836: | Line 854: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag>128RAM | + | {{tag>apm821xx APM82181 |