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/02/20 18:51] – ↷ Links adapted because of a move operation bobafetthotmail | toh:meraki:mr24 [2020/12/20 09:24] – [Tags] danitool | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Meraki MR24====== | ======Meraki MR24====== | ||
| - | * OpenWrt unofficial support, not yet merged upstream. Images and source can be found at [[https:// | ||
| - | * OpenWrt support thread is at [[https:// | ||
| - | * LEDE official support as of [[https:// | ||
| - | **Note that this board currently runs under a custom | + | ===== Supported Versions ===== |
| + | ---- datatable ---- | ||
| + | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid | ||
| + | headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Hardware Highlights ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, | ||
| + | header | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Installation ===== | ||
| + | ---- datatable ---- | ||
| + | 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 | ||
| + | align : c,c,c | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | ==== Prerequisites ==== | ||
| + | * 1x Meraki MR24 | ||
| + | * 1x UART adapter wired to the MR24 (speed is 115200). | ||
| + | | ||
| + | | ||
| + | |||
| + | ==== Flashing ==== | ||
| + | Note that older builds (17.01.4 and Older) have a different flashing method due to changes made in the image. Please ensure you are following the correct instructions for the build you are installing. | ||
| + | |||
| + | === Snapshots & Releases newer than 17.01.4 === | ||
| + | 1. Start your TFTP server. | ||
| + | |||
| + | 2. Power on the MR24, and interrupt u-boot. At the prompt, enter the following commands to update your boot settings: | ||
| + | |||
| + | < | ||
| + | setenv owrt_load ubi read \${meraki_loadaddr} kernel | ||
| + | setenv owrt_recovery ubi read \${meraki_loadaddr} recovery\; | ||
| + | setenv owrt_bootkernel bootm \${meraki_loadaddr_kernel} - \${meraki_loadaddr_fdt} | ||
| + | setenv owrt_bootargs setenv bootargs console=ttyS0, | ||
| + | setenv owrt_boot run meraki_ubi owrt_bootargs\; | ||
| + | setenv bootcmd run owrt_boot | ||
| + | setenv factory_boot_bak ${factory_boot} | ||
| + | setenv factory_boot run meraki_ubi\; | ||
| + | saveenv | ||
| + | </ | ||
| + | |||
| + | 3. Now enter the following commands to TFTP boot the initramfs image hosted on your local computer. | ||
| + | |||
| + | < | ||
| + | tftpboot c00000 192.168.1.101: | ||
| + | run owrt_bootargs; | ||
| + | </ | ||
| + | |||
| + | 4. Once OpenWrt boots and you are at a root prompt, you can Cleanup for maximum space. Find the UBI Volume ID of board-config. This is done with '' | ||
| + | < | ||
| + | ubirmvol /dev/ubi0 -N part1 | ||
| + | ubirmvol /dev/ubi0 -N part2 | ||
| + | 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 /tmp/board-config.img | ||
| + | </ | ||
| + | |||
| + | 5. Create | ||
| + | |||
| + | < | ||
| + | ls -alh / | ||
| + | ubimkvol /dev/ubi0 -s 6MiB -N recovery | ||
| + | ubiupdatevol /dev/ubi0_1 / | ||
| + | </ | ||
| + | |||
| + | 6. Once done, you can now load up LuCI at 192.168.1.1, | ||
| + | |||
| + | === Previous Releases up to 17.01.4 === | ||
| + | 1. Start your TFTP server | ||
| + | |||
| + | 2. Power on the MR24, and interrupt u-boot. At the prompt, enter the following commands to update your boot settings: | ||
| + | |||
| + | < | ||
| + | setenv lede_load1 ubi read \${meraki_loadaddr} kernel | ||
| + | setenv lede_load2 ubi read \${meraki_loadaddr} recovery | ||
| + | setenv lede_bootkernel bootm \${meraki_loadaddr_kernel} - \${meraki_loadaddr_fdt} | ||
| + | setenv lede_bootargs setenv bootargs console=ttyS0, | ||
| + | setenv lede_boot run meraki_ubi lede_bootargs\; | ||
| + | setenv bootcmd run lede_boot | ||
| + | saveenv | ||
| + | </ | ||
| + | |||
| + | 3. Now enter the following commands to TFTP boot the initramfs image hosted on your local computer. | ||
| + | |||
| + | < | ||
| + | setenv netloadmethod tftpboot; run lede_bootargs; | ||
| + | </ | ||
| + | |||
| + | 4. Once OpenWrt boots and you are at a root prompt, you can Cleanup | ||
| + | |||
| + | < | ||
| + | ubirmvol /dev/ubi0 -N part1 | ||
| + | ubirmvol /dev/ubi0 -N part2 | ||
| + | ubirmvol /dev/ubi0 -N storage | ||
| + | </ | ||
| + | |||
| + | 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. | ||
| + | |||
| + | < | ||
| + | ls -alh / | ||
| + | ubimkvol /dev/ubi0 -s 5MiB -N recovery | ||
| + | ubiupdatevol /dev/ubi0_1 / | ||
| + | </ | ||
| + | |||
| + | 6. Once done, you can now load up LuCI at 192.168.1.1, | ||
| ===== Hardware ===== | ===== Hardware ===== | ||
| ==== Info ==== | ==== Info ==== | ||
| - | | **Architecture:** | PowerPC 44x | | + | ^ Architecture |
| - | | **Vendor:** | AppliedMicro | + | ^ Vendor |
| - | | **Bootloader:** | U-Boot | + | ^ Bootloader |
| - | | **System-On-Chip:** | AppliedMicro APM82181 | + | ^ System-On-Chip |
| - | | **CPU Speed:** | 800MHz | + | ^ CPU Speed | 800MHz |
| - | | **Flash-Chip:** | Hynix HY27US08561A | + | ^ Flash-Chip |
| - | | **Flash size:** | 32MiB | | + | ^ Flash size | 32MiB | |
| - | | **RAM:** | 2x Nanya NT5TU32M16D6-AC | + | ^ RAM | 2x Nanya NT5TU32M16D6-AC |
| - | | **RAM Size:** | 128MiB | + | ^ RAM Size | 128MiB |
| - | | **Wireless:** | Atheros AR9380 5.0GHz + Atheros AR9380 2.4GHz | + | ^ Wireless |
| - | | **Switch:** | No | | + | ^ Switch |
| - | | **Ethernet ports:** | 1x Gigabit Atheros AR8035 | + | ^ Ethernet ports | 1x Gigabit Atheros AR8035 |
| - | | **USB:** | No | | + | ^ USB | No | |
| - | | **Serial:** | [[docs: | + | ^ Serial |
| - | | **JTAG:** | [[docs: | + | ^ JTAG | [[docs:techref: |
| - | WikiDevi Page is at [[https:// | ||
| ==== Serial ==== | ==== Serial ==== | ||
| Line 47: | Line 160: | ||
| {{: | {{: | ||
| {{: | {{: | ||
| + | |||
| + | |||
| ===== Flash Layout ===== | ===== Flash Layout ===== | ||
| ==== Stock ==== | ==== Stock ==== | ||
| Line 62: | Line 177: | ||
| 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. | 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 | + | ==== OpenWrt |
| < | < | ||
| / # cat /proc/mtd | / # cat /proc/mtd | ||
| Line 71: | Line 186: | ||
| </ | </ | ||
| - | ===== OpenWRT Installation ===== | ||
| - | |||
| - | ==== Prerequisites ==== | ||
| - | * 1x Meraki MR24 | ||
| - | * 1x UART adapter wired to the MR24 (speed is 115200). | ||
| - | * Local computer (Static IP of 192.168.1.101) directly wired to the LAN port. | ||
| - | * A local TFTP server. | ||
| - | |||
| - | ==== Flashing ==== | ||
| - | Flashing instructions can be found in the Repo Readme at [[https:// | ||
| | | ||
| ===== Bootlogs ===== | ===== Bootlogs ===== | ||
| Line 749: | Line 854: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag>128RAM | + | {{tag>apm821xx APM82181 |