openwrt/target/linux/bcm53xx/patches-5.10
Christian Lamparter e37ba80633 bcm53xx: add support for Meraki MR26
Meraki MR26 is an EOL wireless access point featuring a
PoE ethernet port and two dual-band 3x3 MIMO 802.11n
radios and 1x1 dual-band WIFI dedicated to scanning.

Thank you Amir for the unit and PSU.

Hardware info:
SOC   : Broadcom BCM53015A1KFEBG (dual-core Cortex-A9 CPU at 800 MHz)
RAM   : SK hynix Inc. H5TQ1G63EFR, 1 Gbit DDR3 SDRAM = 128 MiB
NAND  : Spansion S34ML01G100TF100, 1 Gbit SLC NAND Flash = 128 MiB
ETH   : 1 GBit Ethernet Port - PoE
WIFI1 : Broadcom BCM43431KMLG, BCM43431 802.11 abgn
WIFI1 : Broadcom BCM43431KMLG, BCM43431 802.11 abgn
WIFI3 : Broadcom BCM43428 abgn (1x1:1 - id: 43428)
BUTTON: one reset button
LEDS  : RGB-LED
MISC  : Atmel AT24C64 8KiB EEPROM (i2c - seems empty)
      : Ti INA219 26V, 12-bit, i2c output current/voltage/power monitor
      : TPS23754, High Power/High Efficiency PoE Interface+DC/DC Controller

SERIAL:
	WARNING: The serial port needs a TTL/RS-232 3V3 level converter!
	The Serial setting is 115200-8-N-1. The board has a populated
	right angle 1x4 0.1" pinheader.
	The pinout is: VCC (next to J3, has little white arrow), RX, TX, GND.

This flashing procedure for the MR26 was tested with firmware:
    "22-143410M-gf25cbf5a-asa".
    U-Boot 2012.10-00063-g83f9fe4 (Jun 04 2014 - 21:22:39)

A guide how to open up the device is available on the wiki:
<https://openwrt.org/toh/meraki/mr26>

Notes:
 - The WIFI do work to a degree. Limited to 802.11bg in the 2.4GHz band.
 - the WIFI macs are made up.

0. Create a separate Ethernet LAN which can't have access to the internet.
   Ideally use 192.168.1.2 for your PC. The new OpenWrt firmware will setup
   the network via DHCP Discovery, so make sure your PC is running
   a DHCP-Server (i.e.: dnsmasq)
   '# dnsmasq -i eth# -F 192.168.1.5,192.168.1.50
   Download the openwrt-meraki-mr26 initramfs file from openwrt.org and
   rename it to something simple like mr26.bin. Then put it into the tftp's
   server directory.

1. Disassemble the MR26 device by removing all screws (4 screws are located
   under the 4 rubber feets!) and prying open the plastic covers without
   breaking the plastic retention clips. Once inside, remove the plastic
   back casing. Be careful, there some "hidden" retention clips on both
   sides of the LAN port, you need a light to see those. Next, you want to
   remove all the screws on the outer metal shielding to get to the PCB.
   It's not necessary to remove the antennas!

2. Connect the serial cable to the serial header and Ethernet patch cable
   to the device.

4. Before connecting the power, get ready flood the serial console program
   with the magic:   xyzzy  . This is necessary in order to get into the
   u-boot prompt. Once Ready: connect power cable.

5. If you don't get the "u-boot>" prompt within the first few seconds,
   you have to disconnect and reconnect the power cable and try again.

6. In the u-boot prompt enter:

   setenv ipaddr 192.168.1.4
   setenv serverip 192.168.1.2
   tftpboot ${meraki_loadaddr} mr26.bin; bootm

   this will boot a in-ram-only OpenWrt image.

7. Once it booted use sysupgrade to permanently install OpenWrt.
   To do this: Download the latest sysupgrade.bin file and move
   it to the device. Then use sysupgrade *sysupgrade.bin to install it.

    WARNING: DO NOT DELETE the "storage" ubi volume!

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-15 15:21:44 +02:00
..
030-v5.11-0001-ARM-dts-BCM5301X-Linksys-EA9500-add-port-5-and-port-.patch
030-v5.11-0002-ARM-dts-BCM5301X-Harmonize-EHCI-OHCI-DT-nodes-name.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
030-v5.11-0003-ARM-dts-BCM5310X-Harmonize-xHCI-DT-nodes-name.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
030-v5.11-0004-ARM-dts-BCM5301X-Linksys-EA9500-add-fixed-partitions.patch
030-v5.11-0005-ARM-dts-BCM5301X-Use-corretc-pinctrl-compatible-for-.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
030-v5.11-0006-ARM-dts-BCM5301X-Linksys-EA9500-make-use-of-pinctrl.patch
030-v5.11-0007-ARM-dts-BCM5301X-Move-CRU-devices-to-the-CRU-node.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
030-v5.11-0008-ARM-dts-BCM5301X-Disable-USB-3-PHY-on-devices-withou.patch
030-v5.11-0009-ARM-dts-BCM5301X-Enable-USB-3-PHY-on-Luxul-XWR-3150.patch
030-v5.11-0010-ARM-dts-BCM5301X-Update-Ethernet-switch-node-name.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
030-v5.11-0011-ARM-dts-BCM5301X-Add-a-default-compatible-for-switch.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
030-v5.11-0012-ARM-dts-BCM5301X-Provide-defaults-ports-container-no.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
030-v5.11-0013-ARM-dts-NSP-Update-ethernet-switch-node-name.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
030-v5.11-0014-ARM-dts-NSP-Fix-Ethernet-switch-SGMII-register-name.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
030-v5.11-0015-ARM-dts-NSP-Add-a-SRAB-compatible-string-for-each-bo.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
030-v5.11-0016-ARM-dts-NSP-Provide-defaults-ports-container-node.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
031-v5.13-0002-ARM-dts-BCM5301X-Describe-NVMEM-NVRAM-on-Linksys-Lux.patch
031-v5.13-0003-ARM-dts-BCM5301X-Fix-Linksys-EA9500-partitions.patch
031-v5.13-0004-ARM-dts-BCM5301X-Set-Linksys-EA9500-power-LED.patch
032-v5.14-0001-ARM-dts-BCM5301X-Fix-NAND-nodes-names.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
032-v5.14-0002-ARM-dts-BCM5301X-Fix-pinmux-subnodes-names.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
033-v5.15-0001-ARM-dts-NSP-add-device-names-to-compatible.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
033-v5.15-0002-ARM-dts-NSP-enable-DMA-on-bcm988312hr.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
033-v5.15-0003-ARM-dts-NSP-disable-qspi-node-by-default.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
033-v5.15-0004-ARM-dts-NSP-add-MDIO-bus-controller-node.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
033-v5.15-0005-ARM-dts-NSP-Move-USB3-PHY-to-internal-MDIO-bus.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
033-v5.15-0006-ARM-dts-NSP-Add-common-bindings-for-MX64-MX65.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
033-v5.15-0007-ARM-dts-NSP-Add-Ax-stepping-modifications.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
033-v5.15-0008-ARM-dts-NSP-Add-DT-files-for-Meraki-MX64-series.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
033-v5.15-0009-ARM-dts-NSP-Add-DT-files-for-Meraki-MX65-series.patch bcm53xx: backport the latest upstream DT changes 2021-08-29 22:57:13 +02:00
033-v5.15-0010-ARM-dts-BCM5301X-Fix-nodes-names.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
033-v5.15-0011-ARM-dts-BCM5301X-Fix-MDIO-mux-binding.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
033-v5.16-0013-ARM-dts-NSP-Add-bcm958623hr-board-name-to-dts.patch bcm53xx: backport early DT patches queued for 5.16 2021-09-23 07:55:55 +02:00
033-v5.16-0015-ARM-dts-NSP-Fix-MDIO-mux-node-names.patch bcm53xx: backport early DT patches queued for 5.16 2021-09-23 07:55:55 +02:00
033-v5.16-0016-ARM-dts-NSP-Fix-MX64-MX65-eeprom-node-name.patch bcm53xx: backport early DT patches queued for 5.16 2021-09-23 07:55:55 +02:00
033-v5.16-0017-ARM-dts-NSP-Fix-MX65-MDIO-mux-warnings.patch bcm53xx: backport early DT patches queued for 5.16 2021-09-23 07:55:55 +02:00
033-v5.16-0018-ARM-dts-BCM5301X-Specify-switch-ports-for-more-devic.patch bcm53xx: backport early DT patches queued for 5.16 2021-09-23 07:55:55 +02:00
033-v5.16-0019-ARM-dts-BCM53573-Describe-on-SoC-BCM53125-rev-4-swit.patch bcm53xx: backport early DT patches queued for 5.16 2021-09-23 07:55:55 +02:00
033-v5.16-0020-ARM-dts-BCM53573-Add-Tenda-AC9-switch-ports.patch bcm53xx: backport early DT patches queued for 5.16 2021-09-23 07:55:55 +02:00
033-v5.16-0021-ARM-BCM53016-Specify-switch-ports-for-Meraki-MR32.patch kernel: bump 5.10 to 5.10.82 2021-11-27 19:19:30 +01:00
033-v5.16-0022-ARM-BCM53016-MR32-get-mac-address-from-nvmem.patch bcm53xx: backport early DT patches queued for 5.16 2021-09-23 07:55:55 +02:00
033-v5.16-0023-ARM-dts-BCM5301X-Add-DT-for-Asus-RT-AC88U.patch bcm53xx: backport early DT patches queued for 5.16 2021-09-23 07:55:55 +02:00
034-v5.17-0001-ARM-dts-NSP-MX65-add-qca8k-falling-edge-PLL-properti.patch bcm53xx: add first 5.17 DTS changes 2021-11-04 07:00:21 +01:00
034-v5.17-0002-ARM-dts-BCM5301X-remove-unnecessary-address-size-cel.patch bcm53xx: add first 5.17 DTS changes 2021-11-04 07:00:21 +01:00
034-v5.17-0003-ARM-dts-BCM5301X-define-RTL8365MB-switch-on-Asus-RT-.patch bcm53xx: add first 5.17 DTS changes 2021-11-04 07:00:21 +01:00
034-v5.17-0004-ARM-BCM53016-MR32-convert-to-Broadcom-iProc-I2C-Driv.patch kernel: bump 5.10 to 5.10.82 2021-11-27 19:19:30 +01:00
034-v5.17-0005-ARM-dts-BCM5301X-update-CRU-block-description.patch bcm53xx: use more upsteam DT patches from 5.16 / 5.17 2021-11-18 16:34:55 +01:00
034-v5.17-0006-ARM-dts-BCM5301X-use-non-deprecated-USB-2.0-PHY-bind.patch bcm53xx: backport DT changes from 5.17 & 5.18 2022-03-30 16:20:25 +02:00
034-v5.17-0007-ARM-dts-NSP-Fixed-iProc-PCIe-MSI-sub-node.patch bcm53xx: backport DT changes from 5.17 & 5.18 2022-03-30 16:20:25 +02:00
034-v5.17-0008-ARM-dts-NSP-Rename-SATA-unit-name.patch bcm53xx: backport DT changes from 5.17 & 5.18 2022-03-30 16:20:25 +02:00
034-v5.17-0009-ARM-dts-BCM5301X-correct-RX-delay-and-enable-flow-co.patch bcm53xx: backport DT changes from 5.17 & 5.18 2022-03-30 16:20:25 +02:00
034-v5.17-0010-Revert-ARM-dts-BCM5301X-define-RTL8365MB-switch-on-A.patch bcm53xx: backport DT changes from 5.17 & 5.18 2022-03-30 16:20:25 +02:00
035-v5.18-0001-ARM-dts-BCM5301X-define-RTL8365MB-switch-on-Asus-RT-.patch bcm53xx: backport DT changes from 5.17 & 5.18 2022-03-30 16:20:25 +02:00
035-v5.18-0002-ARM-dts-NSP-MX6X-get-mac-address-from-eeprom.patch bcm53xx: backport DT changes from 5.17 & 5.18 2022-03-30 16:20:25 +02:00
035-v5.18-0003-ARM-dts-NSP-MX6X-correct-LED-function-types.patch bcm53xx: backport DT changes from 5.17 & 5.18 2022-03-30 16:20:25 +02:00
035-v5.18-0004-ARM-dts-BCM5301X-Add-Ethernet-MAC-address-to-Luxul-X.patch bcm53xx: backport DT changes from 5.17 & 5.18 2022-03-30 16:20:25 +02:00
070-v5.17-phy-bcm-ns-usb2-support-updated-DT-binding-with-PHY-.patch bcm53xx: use new USB 2.0 PHY binding 2021-11-23 13:49:10 +01:00
080-v5.13-0001-dt-bindings-nvmem-add-Broadcom-s-NVRAM.patch
080-v5.13-0002-nvmem-brcm_nvram-new-driver-exposing-Broadcom-s-NVRA.patch
081-next-ARM_dts_BCM53015-add-mr26.patch bcm53xx: add support for Meraki MR26 2022-07-15 15:21:44 +02:00
140-mtd-parsers-trx-parse-firmware-MTD-partitions-only.patch kernel: bump 5.10 to 5.10.104 2022-03-13 19:24:13 +01:00
180-usb-xhci-add-support-for-performing-fake-doorbell.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch
304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch bcm53xx: add switch ports for Buffalo WZR-900DHP & re-enable it 2022-03-30 16:20:50 +02:00
310-ARM-BCM5301X-Add-DT-for-Netgear-R7900.patch bcm53xx: backport early DT patches queued for 5.16 2021-09-23 07:55:55 +02:00
320-ARM-dts-BCM5301X-Switch-back-to-old-clock-nodes-name.patch bcm53xx: fix platform clocks & USB 2.0 PHY 2021-11-23 13:49:10 +01:00
321-ARM-dts-BCM5301X-Describe-partition-formats.patch
500-UBI-Detect-EOF-mark-and-erase-all-remaining-blocks.patch kernel: bump 5.10 to 5.10.122 2022-06-27 00:57:15 +02:00
600-net-disable-GRO-by-default.patch kernel: bump 5.10 to 5.10.125 2022-06-27 00:57:16 +02:00
700-bgmac-reduce-max-frame-size-to-support-just-MTU-1500.patch bcm53xx: revert bgmac back to the old limited max frame size 2022-06-15 10:44:32 +02:00
800-0001-firmware-bcm47xx_nvram-support-init-from-IO-memory.patch
800-0002-nvmem-brcm_nvram-provide-NVMEM-content-to-the-NVRAM-.patch
905-BCM53573-minor-hacks.patch kernel: bump 5.10 to 5.10.65 2021-09-30 22:29:33 +01:00