1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-22 07:31:37 +02:00
openwrt/target/linux
David Ehrmann 81d446b045 ar71x: add support for Mikrotik Routerboard wAP R
This commit adds support for the Mikrotik wAP R (RBwAPR-2nD). The change
is based on 3b15eb0 which added support for the wAP 2nD. This change lacks
LED support.

Specifications:

- SoC: Qualcomm QCA9531 (650 MHz)
- RAM: 64 MB
- Storage: 16 MB NOR SPI flash
- Wireless: built-in QCA9531, 802.11b/g/n 2x2:2
- Ethernet: 1x100Mbps
- Power: 9-30V Passive PoE, 9-30V DC jack, 9-30V automotive jack
- SIM card slot
- Mini-PCIe slot

Installation:

1. Login to the Mikrotik WebUI to backup your licence key
2. Change the following settings in System->Routerboard->Settings:
  - Boot device: try ethernet once then NAND
  - Boot protocol: DHCP
  - Force Backup Booter: checked
3. Setup a DHCP/BOOTP server with:
  - 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, e.g.
    openwrt-ar71xx-mikrotik-vmlinux-initramfs.elf
4. Power off the device
5. If this is the second attempt to boot OpenWRT or the boot device isn't
   "try ethernet once then NAND," press and hold the reset button while
   powered off. If this is the first attempt, this step isn't necessary.
6. Power on the device, holding the reset button for 15-20s if already
   pressed from the previous step.

The board should load and start the initramfs image from the TFTP
server. Login as root/without password to the started OpenWRT via SSH
listing on IPv4 address 192.168.1.1. Use sysupgrade to install OpenWRT.

Revert to RouterOS

Use the "rbcfg" package on in OpenWRT:
- rbcfg set boot_protocol bootp
- rbcfg set boot_device ethnand
- rbcfg apply

Open Netinstall and reboot routerboard. Now Netinstall sees RouterBOARD
and you can install RouterOS. If NetInstall gets stuck on Sending offer
just wait for it to timeout and then close and open Netinstall again.

Click on install again.

In order for RouterOS to function properly, you need to restore license
for the device. You can do that by including license in NetInstall.

Signed-off-by: David Ehrmann <ehrmann@gmail.com>
2018-06-19 14:32:47 +02:00
..
adm5120
adm8668
apm821xx kernel: bump 4.14 to 4.14.48 2018-06-05 22:54:00 +03:00
ar7
ar71xx ar71x: add support for Mikrotik Routerboard wAP R 2018-06-19 14:32:47 +02:00
arc770
archs38
armvirt
at91
ath25
ath79 ath79: fix qm5p-ac-v2 dts file 2018-06-18 23:23:30 +02:00
au1000
bcm53xx bcm53xx: exit if writing kernel during sysupgrade fails 2018-06-18 13:47:08 +02:00
brcm47xx
brcm63xx
brcm2708 kernel: bump 4.9 to 4.9.109 2018-06-18 15:25:28 +02:00
cns3xxx
gemini gemini: Cook SQ201 images 2018-06-18 06:35:33 +02:00
generic mips: fix dynamic ftrace 2018-06-18 20:29:26 +02:00
imx6
ipq40xx ipq40xx: add support for ZyXEL WRE6606 2018-06-18 18:21:20 +02:00
ipq806x ipq806x: D7800 only has a single sata port 2018-06-18 20:29:37 +02:00
ixp4xx
kirkwood
lantiq lantiq: atm: fix ifx_atm driver integration 2018-06-18 15:26:41 +02:00
layerscape
malta
mcs814x
mediatek mediatek: mt7622: Do not deactivate CONFIG_BLK_DEV 2018-06-18 07:10:19 +02:00
mpc85xx
mvebu mvebu: enable CONFIG_HW_RANDOM 2018-06-18 20:29:38 +02:00
mxs
octeon
octeontx
omap
omap24xx
orion
oxnas kernel: bump 4.14 to 4.14.48 2018-06-05 22:54:00 +03:00
pistachio
ppc40x
ppc44x
ramips ramips: improve ethernet driver performance with GRO/TSO 2018-06-19 09:45:28 +02:00
rb532
sunxi kernel: bump 4.9 to 4.9.108 2018-06-18 07:10:19 +02:00
uml
x86 kernel: bump 4.9 to 4.9.106 2018-06-07 09:04:46 +02:00
xburst
zynq zynq: remove support for kernel 4.4 2018-06-07 09:00:49 +02:00
Makefile