openwrt/target/linux/ar71xx/patches-4.9
Gabor Juhos eb9e3651dd ar71xx: add support for the MikroTik RB911-2Hn/5Hn boards
The patch adds support for the MikroTik RB911-2Hn (911 Lite2)
and the RB911-5Hn (911 Lite5) boards:

  https://mikrotik.com/product/RB911-2Hn
  https://mikrotik.com/product/RB911-5Hn

The two boards are using the same hardware design, the only difference
between the two is the supported wireless band.

Specifications:
  * SoC: Atheros AR9344 (600MHz)
  * RAM: 64MiB
  * Storage: 16 MiB SPI NOR flash
  * Ethernet: 1x100M (Passive PoE in)
  * Wireless: AR9344 built-in wireless MAC, single chain
              802.11b/g/n (911-2Hn) or 802.11a/g/n (911-5Hn)

Notes:
  * Older versions of these boards might be equipped with a NAND
    flash chip instead of the SPI NOR device. Those boards are not
    supported (yet).
  * The MikroTik RB911-5HnD (911 Lite5 Dual) board also uses the
    same hardware. Support for that can be added later with little
    effort probably.

Installation:

1. Setup a DHCP/BOOTP Server with the following parameters:
   * DHCP-Option 66 (TFTP server name): pointing to a local TFTP
     server within the same subnet of the DHCP range
   * DHCP-Option 67 (Bootfile-Name): matching the initramfs filename
     of the to be booted image. The usable intramfs files are:
       - openwrt-ar71xx-mikrotik-vmlinux-initramfs.elf
       - openwrt-ar71xx-mikrotik-vmlinux-initramfs-lzma.elf
       - openwrt-ar71xx-mikrotik-rb-nor-flash-16M-initramfs-kernel.bin

2. Press the reset button on the board and keep that pressed.

3. Connect the board to your local network via its ethernet port.

4. Release the button after the LEDs on the board are turned off.
   Now the board should load and start the initramfs image from
   the TFTP server.

5. Upload the sysupgrade image to the board with scp:
     $ scp openwrt-ar71xx-mikrotik-rb-nor-flash-16M-squashfs-sysupgrade.bin root@192.168.1.1:/tmp/fw.bin

5. Log in to the running system listening on 192.168.1.1 via ssh
   as root (without password):
     $ ssh root@192.168.1.1

7. Flash the uploaded firmware file from the ssh session via the
   sysupgrade command:
     root@OpenWrt:~# sysupgrade /tmp/fw.bin

Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
2018-01-22 10:53:45 +01:00
..
001-spi-cs-gpio.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
002-add_back_gpio_function_select.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
004-register_gpio_driver_earlier.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
100-MIPS-ath79-Avoid-using-unitialized-reg-variable.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
103-MIPS-ath79-fix-register-address-in-ath79_ddr_wb_flus.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
104-spi-spi-ath79-support-multiple-internal-chip-select-.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
105-spi-spi-ath79-use-gpio_set_value_cansleep-for-GPIO-c.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
106-01-MIPS-ath79-fix-AR724X_PLL_REG_PCIE_CONFIG-offset.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
106-02-MIPS-ath79-do-AR724x-PCIe-root-complex-init.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
200-MIPS-ath79-fix-ar933x-wmac-reset.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
201-ar913x_wmac_external_reset.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
202-MIPS-ath79-ar934x-wmac-revision.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
203-MIPS-ath79-fix-restart.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
220-add_cpu_feature_overrides.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
300-MIPS-add-MIPS_MACHINE_NONAME-macro.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
310-lib-add-rle-decompression.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
401-mtd-physmap-add-lock-unlock.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
402-mtd-SST39VF6401B-support.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
403-mtd_fix_cfi_cmdset_0002_status_check.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
404-mtd-cybertan-trx-parser.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
405-mtd-tp-link-partition-parser.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
408-mtd-redboot_partition_scan.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
409-mtd-rb4xx_nand_driver.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
410-mtd-rb750-nand-driver.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
411-mtd-cfi_cmdset_0002-force-word-write.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
413-mtd-ar934x-nand-driver.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
414-mtd-rb91x-nand-driver.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
420-net-ar71xx_mac_driver.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
423-dsa-add-88e6063-driver.patch ar71xx: fix Kconfig dependency of the 88E6063 switch DSA driver 2018-01-09 08:34:03 +01:00
430-drivers-link-spi-before-mtd.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
432-spi-rb4xx-spi-driver.patch kernel: Update kernel 4.9 to 4.9.70 2017-12-19 22:45:27 +01:00
433-spi-rb4xx-cpld-driver.patch kernel: Update kernel 4.9 to 4.9.70 2017-12-19 22:45:27 +01:00
435-spi-vsc7385_driver.patch kernel: Update kernel 4.9 to 4.9.70 2017-12-19 22:45:27 +01:00
440-leds-wndr3700-usb-led-driver.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
441-leds-rb750-led-driver.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch ar71xx: make leds-gpio usable with single-ended GPIOs 2018-01-22 10:53:32 +01:00
450-gpio-nxp-74hc153-gpio-chip-driver.patch kernel: bump 4.9 to 4.9.63 2017-11-22 20:45:52 +01:00
451-gpio-74x164-improve-platform-device-support.patch ar71xx: fix regression in 74x164 initialization with 4.9 2017-11-10 00:53:10 +01:00
452-gpio-add-gpio-latch-driver.patch kernel: bump 4.9 to 4.9.63 2017-11-22 20:45:52 +01:00
461-spi-ath79-add-fast-flash-read.patch ar71xx: fix flash fast read on devices using multiple flash chips 2017-11-05 18:52:12 +01:00
470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
490-usb-ehci-add-quirks-for-qca-socs.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
500-MIPS-fw-myloader.patch kernel: MIPS compile out no-op DMA mapping ops where possible 2017-12-08 19:55:17 +01:00
501-MIPS-ath79-add-mac-argument-to-ath79_register_wmac.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
504-MIPS-ath79-add-ath79_device_reset_get.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
505-MIPS-ath79-add-ath79_gpio_function_select.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
506-MIPS-ath79-prom-parse-redboot-args.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
507-MIPS-ath79-prom-add-myloader-support.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
508-MIPS-ath79-prom-image-command-line-hack.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
509-MIPS-ath79-process-board-kernel-option.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
520-MIPS-ath79-enable-UART-function.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
521-MIPS-ath79-enable-UART-for-early_serial.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
522-MIPS-ath79-add-ath79_wmac_register_simple-helper.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
523-MIPS-ath79-OTP-support.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
524-MIPS-ath79-add-ath79_wmac_disable_25ghz-helpers.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
525-MIPS-ath79-enable-qca-usb-quirks.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
601-MIPS-ath79-add-more-register-defines.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
602-MIPS-ath79-add-openwrt-stuff.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
603-MIPS-ath79-ap121-fixes.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
604-MIPS-ath79-no-of.patch ar71xx: disable devicetree support 2018-01-13 19:54:45 +01:00
605-MIPS-ath79-db120-fixes.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
606-MIPS-ath79-pb44-fixes.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
607-MIPS-ath79-ubnt-xm-fixes.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
608-MIPS-ath79-ubnt-xm-add-more-boards.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
609-MIPS-ath79-ap136-fixes.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
611-MIPS-ath79-wdt-timeout.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
612-MIPS-ath79-set-buffalo-txgain.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
613-MIPS-ath79-add-ath79_wmac_setup_ext_lna_gpio-helper.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
620-MIPS-ath79-add-support-for-QCA953x-SoC.patch ar71xx: disable devicetree support 2018-01-13 19:54:45 +01:00
621-MIPS-ath79-add-support-for-QCA956x-SoC.patch ar71xx: disable devicetree support 2018-01-13 19:54:45 +01:00
622-MIPS-ath79-add-more-register-defines-for-QCA956x-SoC.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
630-MIPS-ath79-fix-chained-irq-disable.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
631-MIPS-ath79-wmac-enable-set-led-pin.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
632-MIPS-ath79-gpio-enable-set-direction.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
640-MIPS-ath79-add-QCA955x-wmac-reset.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
700-MIPS-ath79-add-openwrt-Kconfig.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
701-MIPS-ath79-add-routerboard-detection.patch ar71xx: add support for the MikroTik RB911-2Hn/5Hn boards 2018-01-22 10:53:45 +01:00
702-MIPS-ath79-fixup-routerboot-board-parameter.patch ar71xx: fix board detection with newer RouterBOOT versions 2017-12-12 17:05:25 +08:00
739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
740-MIPS-ath79-add-PCI-for-QCA953x-SoC.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch ar71xx: fix format of the 741-MIPS-ath79-add-PCI-for-QCA9556-SoC patches 2018-01-17 11:07:17 +01:00
818-MIPS-ath79-add-nu801-led-driver.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
820-MIPS-ath79-add_gpio_function2_setup.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
900-mdio_bitbang_ignore_ta_value.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
902-at803x-add-reset-gpio-pdata.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
910-unaligned_access_hacks.patch kernel: bump 4.9 to 4.9.75 2018-01-10 00:11:39 +02:00
920-usb-chipidea-AR933x-platform-support.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00
930-chipidea-pullup.patch ar71xx: Add kernel 4.9 support 2017-10-11 22:32:39 +02:00