ar71xx: Add support for Ubiquity Bullet M (XW)

CPU: AR9342 SoC
RAM:     64 MB DDR2
Flash:    8 MB NOR SPI
Ports:  100 MBit (24V PoE in)
WLAN: 2.4/5 GHz
UART:     1 UART on PCB marked as J1 with 115200 8N1 config
LEDs:       Power, Ethernet, 4x RSSI LEDs (orange, red, 2x green)
Buttons:    Reset

UART connection details

  .---------------------------------.
  |                                 |
[ETH]          J1                 [ANT]
  |    o VCC o RX o TX o GND        |
  `---------------------------------'

Flashing instructions using recovery method over TFTP

 1. Unplug the ethernet cable from the router.
 2. Using paper clip press and hold the router's reset button. Make sure
    you can feel it depressed by the paper clip. Do not release the button
    until step 4.
 3. While keeping the reset button pressed in, plug the ethernet cable
    back into the AP. Keep the reset button depressed until you see the
    device's LEDs flashing in upgrade mode (alternating LED1/LED3 and
    LED2/LED4), this may take up to 25 seconds.
 4. You may release the reset button, now the device should be in TFTP
    transfer mode.
 5. Set a static IP on your Computer's NIC. A static IP of 192.168.1.25/24
    should work.
 6. Plug the PoE injector's LAN cable directly to your computer.
 7. Start tftp client and issue following commands:
     tftp> binary
     tftp> connect 192.168.1.20
     tftp> put openwrt-ar71xx-generic-ubnt-bullet-m-xw-squashfs-factory.bin

Tested only on Bullet M2HP.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
v19.07.3_mercusys_ac12_duma
Petr Štetiar 6 years ago
parent 6009b3fd58
commit 0f8cdc28af

@ -179,6 +179,7 @@ bsb)
ucidef_set_led_default "sys" "SYS" "$board:red:sys" "1"
;;
bullet-m|\
bullet-m-xw|\
loco-m-xw|\
nanostation-m|\
nanostation-m-xw|\

@ -68,6 +68,7 @@ ar71xx_setup_interfaces()
ap91-5g|\
aw-nr580|\
bullet-m|\
bullet-m-xw|\
c-55|\
cap324|\
cap4200ag|\

@ -129,6 +129,7 @@ get_status_led() {
status_led="$board:red:sys"
;;
bullet-m|\
bullet-m-xw|\
loco-m-xw|\
nano-m|\
nanostation-m|\

@ -530,6 +530,9 @@ ar71xx_board_detect() {
name="bullet-m"
ubnt_xm_board_detect
;;
*"Bullet M XW")
name="bullet-m-xw"
;;
*"BXU2000n-2 rev. A1")
name="bxu2000n-2-a1"
;;

@ -218,6 +218,7 @@ platform_check_image() {
archer-c7-v4|\
archer-c7-v5|\
bullet-m|\
bullet-m-xw|\
c-55|\
carambola2|\
cf-e316n-v2|\

@ -656,6 +656,9 @@ MIPS_MACHINE(ATH79_MACH_UBNT_LOCO_M_XW, "UBNT-LOCO-XW", "Ubiquiti Loco M XW",
MIPS_MACHINE(ATH79_MACH_UBNT_ROCKET_M_XW, "UBNT-RM-XW", "Ubiquiti Rocket M XW",
ubnt_rocket_m_xw_setup);
MIPS_MACHINE(ATH79_MACH_UBNT_BULLET_M_XW, "UBNT-BM-XW", "Ubiquiti Bullet M XW",
ubnt_rocket_m_xw_setup);
MIPS_MACHINE(ATH79_MACH_UBNT_ROCKET_M_TI, "UBNT-RM-TI", "Ubiquiti Rocket M TI",
ubnt_rocket_m_ti_setup);

@ -321,6 +321,7 @@ enum ath79_mach_type {
ATH79_MACH_UBNT_AIRGWP, /* Ubiquiti AirGateway Pro */
ATH79_MACH_UBNT_AIRROUTER, /* Ubiquiti AirRouter */
ATH79_MACH_UBNT_BULLET_M, /* Ubiquiti Bullet M */
ATH79_MACH_UBNT_BULLET_M_XW, /* Ubiquiti Bullet M XW */
ATH79_MACH_UBNT_LBE_M5, /* Ubiquiti Litebeam M5 */
ATH79_MACH_UBNT_LOCO_M_XW, /* Ubiquiti Loco M XW */
ATH79_MACH_UBNT_LSSR71, /* Ubiquiti LS-SR71 */

@ -188,6 +188,13 @@ define Device/ubnt-loco-m-xw
endef
TARGET_DEVICES += ubnt-loco-m-xw
define Device/ubnt-bullet-m-xw
$(Device/ubnt-xw)
DEVICE_TITLE := Ubiquiti Bullet-M XW
BOARDNAME := UBNT-BM-XW
endef
TARGET_DEVICES += ubnt-bullet-m-xw
define Device/ubnt-rocket-m-xw
$(Device/ubnt-xw)
DEVICE_TITLE := Ubiquiti Rocket M XW

Loading…
Cancel
Save