[HOWTO] Installing OpenWrt on Cisco Meraki MX60

A few notes on the MX60 install process:

  • Disregard stuff about LEDE or old versions-- that should be deleted from the wiki.
  • While you're in the bootloader, change meraki_loadaddr to 1000000 (it was 800000) to allow booting newer larger kernels. That is 16 MB of RAM for the kernel to load and uncompress. Since there is 512MB of RAM available, even 16 is kind of small.
  • It may be necessary to reformat the whole UBI if you get UBI errors. Be sure to save and recreate the volume named board-config (size 128 kB) which contains the factory MAC address as well as the serial number and a few more unit-specific bytes that are presently not important to OpenWrt.
  • I could never get the recovery partition scheme to work. It is simple enough to debrick the device using serial if ever necessary.

The boot an initramfs and then install with sysupgrade is common to a lot of devices. To get the sysupgrade image into the initramfs /tmp directory, two methods can be used.

  • scp method: Download the sysupgrade to your PC. Connect a router LAN port to PC Ethernet port. Using a PC command prompt, change directory to where the file is stored, then scp filename root@192.168.1.1:/tmp
  • http(s) method: Connect router WAN port to a LAN having Internet access. The IP subnet of this network should not be 192.168.1.0. Use your PC web browser to copy the URL of the sysupgrade file on the server to PC clipboard. On the serial terminal, wget -O /tmp/firmware.bin paste the URL and press enter. The router should download the file direct from the OpenWrt server.
1 Like