openwrtv4/target/linux/ar71xx/image
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
..
lzma-loader ar71xx: lzma-loader: constify kernel argv array 2018-06-06 22:25:52 +02:00
common-tp-link.mk ar71xx: make loader-okli build step more generic 2018-06-06 22:25:53 +02:00
generic-legacy-devices.mk ar71xx: image: move Sitecom WLR-8100 from legacy to generic 2018-01-15 00:12:13 +01:00
generic-senao.mk ar71xx: add support for OCEDO Koala 2018-06-07 09:31:58 +02:00
generic-tp-link.mk ar71xx: switch CPE/WBS 210/510 to okli-loader 2018-06-06 22:25:53 +02:00
generic-ubnt.mk ar71xx: Ubiquiti Airmax M: add relocate-kernel to invalidate cache 2018-04-26 20:40:07 +02:00
generic.mk ar71xx: add support for Fritz!WLAN Repeater 450E 2018-06-18 23:23:30 +02:00
legacy.mk build: replace uses of OpenWrt with $(VERSION_DIST) 2018-02-05 10:15:53 +01:00
Makefile ar71xx: create new ar71xx/tiny subtarget for 4MB flash devices 2018-01-13 19:54:45 +01:00
mikrotik.mk ar71x: add support for Mikrotik Routerboard wAP R 2018-06-19 14:32:47 +02:00
nand.mk ar71xx: add support for Nokia WI2A-AC200i 2017-10-19 12:27:42 +02:00
tiny-legacy-devices.mk ar71xx: create new ar71xx/tiny subtarget for 4MB flash devices 2018-01-13 19:54:45 +01:00
tiny-tp-link.mk ar71xx: add support for TP-Link TL-WR940N v6 2018-04-06 23:11:00 +02:00
ubinize-nbg6716.ini ar71xx: nbg6716: Enable procd nand sysupgrage 2014-06-26 11:43:38 +00:00
ubinize-wndr4300.ini ar71xx: remove old jffs2 marker from image generation on nand targets 2014-06-24 18:14:18 +00:00