Modify

Opened 3 years ago

Last modified 3 years ago

#18084 new enhancement

Support for Meraki MR12 AP

Reported by: riptide_wave Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: Cc:

Description

I would like to formally request support for the Meraki MR12 to be merged upstream into the OpenWRT Trunk.

Attached is a patch file that will add support to the Trunk as of r42865 which is based on the src at https://github.com/riptidewave93/Openwrt-MR12

At this point everything seems to be functional except for the 2nd NIC which seems to be running on the internal S26 switch similar to how the D-LINK DIR-632 works, at least that's what it seems like to me. I have spent awhile on this, but am unable to figure it out.

There's also an ongoing thread for this device at https://forum.openwrt.org/viewtopic.php?id=51073 and the GPL Source from Meraki can be found at http://dl.meraki.net/linux/

As a note, up to this point this has only been tested with initramfs builds booting over TFTP using u-boot on the device.

Attachments (4)

Meraki-MR12-r42865-Patch.patch (10.3 KB) - added by riptide_wave 3 years ago.
Meraki-MR12-r43039-Patch.patch (11.1 KB) - added by riptide_wave 3 years ago.
Meraki-MR12-r43347-Patch.patch (20.9 KB) - added by riptide_wave 3 years ago.
Meraki-MR12-r43857-Patch.patch (10.0 KB) - added by riptide_wave 3 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 3 years ago by riptide_wave

Updated the attached patch file to do a few things:

  1. Disable 2nd NIC as it does not function at this point.
  2. Fix SPI layout so Flashable System Images now work.

The u-boot commands to flash this device are as follows:

tftpboot 0x80010000 openwrt-ar71xx-generic-mr12-kernel.bin;erase 0x9f680000 +0x200000;cp.b 0x80010000 0x9f680000 0x200000
tftpboot 0x80010000 openwrt-ar71xx-generic-mr12-rootfs-squashfs.bin;erase 0x9f080000 +0x600000;cp.b 0x80010000 0x9f080000 0x600000
setenv bootcmd bootm 0x9f680000; saveenv; boot

Changed 3 years ago by riptide_wave

comment:2 Changed 3 years ago by riptide_wave

Updated the patch to remove sysupgrade support as I was stupid and thought I knew what I was doing. Will Re-Enable once figured out.

comment:3 Changed 3 years ago by riptide_wave

  • duplicate -
Last edited 3 years ago by riptide_wave (previous) (diff)

Changed 3 years ago by riptide_wave

comment:4 Changed 3 years ago by riptide_wave

Added an updated patch that fixes sysupgrade as well as cleans some things up and is based on R43039.

At this point, the device is fully functional minus the 2nd NIC.

comment:5 Changed 3 years ago by riptide_wave

Uploaded another patch to bring it up with the 3.14 kernel changes. Also changed the flashing process, as the flash layout was changed. New flashing commands are as follows.

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

Changed 3 years ago by riptide_wave

Changed 3 years ago by riptide_wave

comment:6 Changed 3 years ago by riptide_wave

Updated patch to work on latest revision.

comment:7 Changed 3 years ago by riptide_wave

Just updating that due to the speed of updates, its easier to just keep my repo up to date. It is also worth noting that the Meraki MR16 is now also ported in my repo, so merging would add support for 2 different Meraki devices.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.