User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:meraki:mr12 [2014/08/07 21:23]
toh:meraki:mr12 [2015/08/15 07:10] (current)
gameman733 [Step by Step Flashing Guide]
Line 1: Line 1:
 ======Meraki MR12====== ======Meraki MR12======
 +  * OpenWrt support since [[https://​​changeset/​45726|r45726]] (CC trunk)
 +=====Build and install=====
 +==== Requirements ====
 +|**Build:** [[https://​​riptidewave93/​Openwrt-MR12|riptide_wave'​s build of CC]]|
 +|**Method:​**[[http://​​doc/​howto/​generic.flashing.tftp| TFTP Installation Setup]]|
 +|**Serial interface (pin out details below)**|
 +==== Step by Step Flashing Guide ====
 +**Read the full guide before proceeding and make sure you understand the implications of the flash commands. ​ Any error is likely to brick your device. ​ At this time there is no way to recover from a bricked MR12 short of desoldering the SOIC and reprogramming.**
 +Built on Ubuntu 14.04 LTS, this guide assumes you have a basic working knowledge of the command line and know your way around permissions,​ copying files etc.
 +Links are provided as additional reading and guidance. ​
 +  * Configure build environment as per [[http://​​doc/​howto/​buildroot.exigence|recommended instructions]]. ​
 +  * Clone sources from git or svn, recommended r42685. ​ [[https://​​wiki/​GetSource|Instructions here]].
 +  * Clone [[https://​​riptidewave93/​Openwrt-MR12|riptidewave'​s git files/​patches]] into separate directory and merge into above clone. ​
 +  * [[http://​​doc/​howto/​build#​image.configuration|make menuconfig && make kernel_menuconfig]]
 +  * Change the Target Profile in menuconfig to Meraki MR12 and Machine Selection/​Atheros in kernel_menuconfig to Meraki MR12.
 +  * [[http://​​doc/​howto/​build#​building.images|make]] ​
 +  * Built files will be in [[http://​​doc/​howto/​build#​locating.images|<​buildroot>/​bin/​ar71xx]]. ​ You require the files:
 +To boot from TFTP: openwrt-ar71xx-generic-mr12-initramfs-uImage.bin
 +To flash to the device: openwrt-ar71xx-generic-mr12-kernel.bin & openwrt-ar71xx-generic-mr12-rootfs-squashfs.bin
 +  * Configure TFTP server and place the above files in the /tftp directory. ​
 +  * Make sure you have a serial connection to your MR12 using the below hook up. Guide was put together using one of [[http://​​itm/​Mini-CP2102-USB-2-0-to-UART-TTL-6PIN-Connector-Serial-Useful-Converter-Module-/​190685792376|these]].
 +  * Start the TFTP server on your machine and connect the ethernet cable to the 10/100/1000 port on the MR12. 
 +  * Power up and interrupt the boot sequence to take you to the boot loader. If you are having trouble interrupting the boot sequence, such as it not interrupting even though you are pressing a key, try swapping the RX and TX pins on the serial connection. Rx and Tx should match up if you are using one of [[http://​​gp/​product/​B009T2ZR6W?​psc=1&​redirect=true&​ref_=oh_aui_detailpage_o00_s00|these]].
 +  * Run the following command on the MR12 terminal: ​
 +<​code>​tftpboot 0x81000000 openwrt-ar71xx-generic-mr12-initramfs-uImage.bin;​ bootm</​code>​
 +  * Test boot, [[http://​​doc/​howto/​firstlogin|login]],​ and configure connectivity. ​ If happy/​successful,​ move on. 
 +  * Reboot the MR12 and interrupt the boot loader once more.  To install follow the flash commands below to commit the images to the MR12.  ***Warning this is irreversible and WILL destroy the MR12's factory shipped image***
 +  * Check, double check and probably triple check each of the commands to ensure they are EXACTLY as below before hitting enter on each.   
 +====Flash Commands====
 +With many thanks to riptide_wave. ​ [[https://​​viewtopic.php?​pid=256607#​p256607|Source]].
 +<​code>​tftpboot 0x80010000 openwrt-ar71xx-generic-mr12-kernel.bin;​erase 0x9fda0000 +0x240000;​cp.b 0x80010000 0x9fda0000 0x240000
 +tftpboot 0x80010000 openwrt-ar71xx-generic-mr12-rootfs-squashfs.bin;​erase 0x9f080000 +0xD20000;​cp.b 0x80010000 0x9f080000 0xD20000
 +setenv bootcmd bootm 0x9fda0000; saveenv; boot</​code>​
 ===== Hardware ===== ===== Hardware =====
Line 9: Line 62:
 | **CPU Speed:** 400MHz | | **CPU Speed:** 400MHz |
 | **Flash-Chip:​** Macronix | | **Flash-Chip:​** Macronix |
-| **Flash size:​** ​16 +| **Flash size:​** ​16MiB 
 | **RAM:** Nanya 64 MiB DDR |  | **RAM:** Nanya 64 MiB DDR | 
-| **Wireless:​** ​AR9287? ​|  +| **Wireless:​** ​AR9283-AL1A ​|  
-| **Switch:​** ​AR???? | +| **Switch:​** ​Onboard? | 
-| **Ethernet ports:** 1x Gigabit, 802.3af POE capable & 1x 100mb|+| **Ethernet ports:** 1x Gigabit ​AR8021-BL1E, 802.3af POE capable & 1x 100mb|
 | **USB:** No |  | **USB:** No | 
 | **Serial:** [[:​doc:​hardware:​serial.cable|Yes]],​ [[#​serial_settings|settings]] |  | **Serial:** [[:​doc:​hardware:​serial.cable|Yes]],​ [[#​serial_settings|settings]] | 
-| **JTAG:** ???]] |+| **JTAG:** ??? |
 https://​​wiki/​Meraki_MR12 https://​​wiki/​Meraki_MR12
Line 62: Line 115:
 Reference: http://​​doc/​techref/​flash.layout Reference: http://​​doc/​techref/​flash.layout
 =====Boot Log===== =====Boot Log=====
Line 260: Line 316:
 </​code>​ </​code>​
-=====Photos=====+===== Photos =====
 <​html>​ <​html>​
Line 275: Line 331:
 <img src="​http://​​wLaHzZd.jpg"​ title="​Hosted by"​{alt}/>​ <img src="​http://​​wLaHzZd.jpg"​ title="​Hosted by"​{alt}/>​
 </​html>​ </​html>​
-{{tag>16flash, 16mb 64mb 64ram, ​ar7241 atheros mod router ​wlan mips, mips}}+ 
 +===== Tags ===== 
 +{{tag>16Flash 64RAM 1WNIC ar7241 atheros mod router ​ mips}}
toh/meraki/mr12.1407439394.txt.bz2 · Last modified: 2014/08/07 21:23 by randlor