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:mx60 [2018/03/31 23:23] – ↷ Links adapted because of a move operation bobafetthotmail | toh:meraki:mx60 [2022/09/18 01:21] – IP 192.168.1.2 is not used in the flashing procedure, references removed lleachii | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Meraki MX60====== | ======Meraki MX60====== | ||
| - | | + | ===== 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 | ||
| + | ---- | ||
| - | **Note that this board currently runs under the apm821xx target, and until this is added to OpenWrt it will not get OpenWrt support.** | ||
| + | ===== 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 | ||
| + | ---- | ||
| + | |||
| + | -> [[docs: | ||
| + | |||
| + | ==== Prerequisites ==== | ||
| + | * 1x Meraki MX60/MX60W | ||
| + | * 1x UART adapter wired to the MX60/MX60W (speed is 115200 baud and Hardware Flow Control off). | ||
| + | * Local computer (Static IP of 192.168.1.101) directly wired to the WAN port. | ||
| + | * A local TFTP server. | ||
| + | |||
| + | ==== Flashing ==== | ||
| + | |||
| + | Note that older builds (e.g. 17.01, 18.06 and 21.02) 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. Instructions for the previous version can be found in the Repo Readme at [[https:// | ||
| + | |||
| + | === OpenWrt 22.03.0 and above === | ||
| + | |||
| + | 1. Download the current meraki_mx60-initramfs-kernel.bin from [[https:// | ||
| + | |||
| + | 2. Start your TFTP server on the local computer (at 192.168.1.101) and connect the MX60(W) to the WAN Port. | ||
| + | |||
| + | 3. Power on the MX60(W), and interrupt u-boot (accessible on the serial console). At the prompt, enter the following commands to update your boot settings: | ||
| + | |||
| + | < | ||
| + | setenv owrt_load1 ubi read \${meraki_loadaddr} kernel | ||
| + | setenv owrt_load2 ubi read \${meraki_loadaddr} recovery | ||
| + | setenv lede_bootkernel bootm \${meraki_loadaddr_kernel} - \${meraki_loadaddr_fdt} | ||
| + | setenv owrt_bootkernel bootm \${meraki_loadaddr} | ||
| + | setenv owrt_bootargs setenv bootargs console=ttyS0, | ||
| + | setenv owrt_boot run meraki_ubi owrt_bootargs\; | ||
| + | setenv owrt510_boot run meraki_ubi owrt_bootargs\; | ||
| + | setenv bootcmd run owrt510_boot | ||
| + | saveenv | ||
| + | </ | ||
| + | |||
| + | |||
| + | **<color # | ||
| + | |||
| + | < | ||
| + | setenv bootcmd run owrt_boot | ||
| + | saveenv | ||
| + | </ | ||
| + | |||
| + | |||
| + | 4. Now enter the following commands to TFTP boot the initramfs image hosted on your local computer. | ||
| + | |||
| + | < | ||
| + | setenv ipaddr 192.168.1.1 | ||
| + | setenv bootargs console=ttyS0, | ||
| + | tftpboot $meraki_loadaddr buck.bin; | ||
| + | bootm $fileaddr | ||
| + | </ | ||
| + | |||
| + | 5. 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 part2 | ||
| + | ubirmvol /dev/ubi0 -N storage | ||
| + | </ | ||
| + | |||
| + | 6. Create a optional 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, | ||
| + | |||
| + | < | ||
| + | ls -alh / | ||
| + | ubimkvol /dev/ubi0 -s 10MiB -N recovery | ||
| + | # This will create a new ubi volume. Make sure to replace the ubi0_X with the right volume number | ||
| + | ubiupdatevol /dev/ubi0_X / | ||
| + | </ | ||
| + | |||
| + | 7.You will want to upload a copy of the squashfs-sysupgrade.bin image to the board (which can be done with SCP/HTTP Server). Once done, you can now use the sysupgrade option to flash the full image to the device using the sysupgrade file named '' | ||
| + | |||
| + | < | ||
| + | # Be sure to replace the FILENAME with the correct squashfs-sysupgrade.bin image that you have loaded via SCP/HTTP | ||
| + | sysupgrade / | ||
| + | </ | ||
| ===== 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:** | Samsung K9K8G08U0D | + | ^ Flash-Chip |
| - | | **Flash size:** | 1GiB | | + | ^ Flash size | 1GiB | |
| - | | **RAM:** | 4x Nanya NT5TU128M8GE-AC | + | ^ RAM | 4x Nanya NT5TU128M8GE-AC |
| - | | **RAM Size:** | 512MiB | + | ^ RAM Size | 512MiB |
| - | | **Wireless:** | MX60 = None - MX60W = Atheros AR9380? (Assumed) | + | ^ Wireless |
| - | | **Switch:** | Atheros AR8327-BL1A | + | ^ Switch |
| - | | **Ethernet ports:** | 5x 1Gb ports on switch | + | ^ Ethernet ports | 5x 1Gb ports on switch |
| - | | **USB:** | 1x External USB 2.0 | | + | ^ USB | 1x External USB 2.0 | |
| - | | **Serial:** | [[docs: | + | ^ Serial |
| - | | **JTAG:** | [[docs: | + | ^ JTAG | [[docs: |
| ==== Serial ==== | ==== Serial ==== | ||
| Line 64: | Line 156: | ||
| </ | </ | ||
| - | ===== OpenWrt Installation ===== | ||
| - | |||
| - | ==== Prerequisites ==== | ||
| - | * 1x Meraki MX60/MX60W | ||
| - | * 1x UART adapter wired to the MX60/MX60W (speed is 115200). | ||
| - | * Local computer (Static IP of 192.168.1.101) directly wired to the WAN port. | ||
| - | * A local TFTP server. | ||
| - | |||
| - | ==== Flashing ==== | ||
| - | Flashing instructions can be found in the Repo Readme at [[https:// | ||
| | | ||
| ===== Bootlogs ===== | ===== Bootlogs ===== | ||
| Line 360: | Line 442: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag>512RAM | + | {{tag>apm821xx APM82181 |