OpenWrt Forum Archive

Topic: Airgrid M5HP XW version does not work with OpenWRT???

The content of this topic has been archived on 25 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello

I have installed backfire-10.03 on a lot of Airgrid M2 and M5. Now just received new version which is XW version and backfire cannot be installed
(Firmware check error). I can upload brarrier-breaker 14.07 but device will not respond on 192.168.1.1
I have my own compiled versions...

Now I have tried Chaos Calmer 15.05
openwrt-15.05-ar71xx-generic-ubnt-nano-m-xw-squashfs-factory.bin
Also does not respond on 192.168.1.1 nor 192.168.1.20
Which image is for airGrid M5 HP (AG-HP-5G23) with xw hardware???
BTW: New Version of Airgrid M5 (AG-HP-5G23) wich had not xw firmware installed worked nice with  backfire-10.03

Thanks for any hints

Beat

Hello again

I've found a ticket from 2014 (https://dev.openwrt.org/ticket/17351)
which request for this device was posted. What is the problem of this device to not support?
Please any help to compile for this version.

Beat

Salve... Ecco dei log. a proposito di AIRGRID M5 HP ...
Hi ... Here are some logs. about AIRGRID M5 HP ...
Is it possible to support it?

cat /proc/cpuinfo
system type        : Atheros AR934x
processor        : 0
cpu model        : MIPS 74Kc V4.12
BogoMIPS        : 266.24
wait instruction    : yes
microsecond timers    : yes
tlb_entries        : 32
extra interrupt vector    : yes
hardware watchpoint    : yes, count: 4, address/irw mask: [0x0004, 0x0080, 0x0000, 0x00c0]
ASEs implemented    : mips16 dsp
shadow register sets    : 1
core            : 0
VCED exceptions        : not available
VCEI exceptions        : not available

(Last edited by viger-uno on 24 Jan 2018, 21:45)

boot.txt
[    0.000000] Linux version 2.6.32.71 (buildd@builder) (gcc version 4.1.2) #1 Fri Nov 17 12:24:40 EET 2017
[    0.000000] flash_size passed from bootloader = 8
[    0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[    0.000000] ath_sys_frequency: cpu srif ddr srif cpu 535 ddr 400 ahb 200
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8028e470, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=tty0 root=31:03 rootfstype=squashfs init=/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM) mem=64M panic=3 quiet
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61912k/65536k available (2089k kernel code, 3556k reserved, 524k data, 136k init, 0k highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] CPU0 IRQ stack at 0x83810000 - 0x83814000
[    0.000000] plat_time_init: plat time init done
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] Calibrating delay loop... 266.24 BogoMIPS (lpj=133120)
[    0.022000] Mount-cache hash table entries: 512
[    0.024000] NET: Registered protocol family 16
[    0.032000] bio: create slab <bio-0> at 0
[    0.034000] Switching to clocksource MIPS
[    0.036000] NET: Registered protocol family 2
[    0.037000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.038000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.038000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.038000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.038000] TCP reno registered
[    0.039000] NET: Registered protocol family 1
[    0.039000] ATH GPIOC major 0
[    0.041000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.041000] msgmni has been set to 121
[    0.041000] io scheduler noop registered (default)
[    0.065000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.066000] serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
[    0.068000] 6 cmdlinepart partitions found on MTD device ath-nor0
[    0.068000] Creating 6 MTD partitions on "ath-nor0":
[    0.068000] 0x000000000000-0x000000040000 : "u-boot"
[    0.069000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.070000] 0x000000050000-0x000000150000 : "kernel"
[    0.071000] 0x000000150000-0x0000007b0000 : "rootfs"
[    0.073000] mtd: partition "rootfs" set to be root filesystem
[    0.073000] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.074000] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.075000] u32 classifier
[    0.075000]     Performance counters on
[    0.075000]     input device check on
[    0.075000]     Actions configured
[    0.077000] TCP westwood registered
[    0.077000] NET: Registered protocol family 10
[    0.080000] NET: Registered protocol family 17
[    0.080000] Bridge firewalling registered
[    0.080000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[    0.080000] All bugs added by David S. Miller <davem@redhat.com>
[    0.080000] athwdt_init: Registering WDT success
[    0.081000] Reset: Normal
[    0.081000] ath_otp_init: Registering OTP success
[    0.081000] ath_clksw_init: Registering Clock Switch Interface success
[    0.089000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.090000] Freeing unused kernel memory: 136k freed
[    0.100000] Please be patient, while AirOS loads ...
[    1.019000] Algorithmics/MIPS FPU Emulator v1.5
[    1.379000] ubnthal: module license 'Proprietary' taints kernel.
[    1.379000] Disabling lock debugging due to kernel taint
[    1.422000] ubnthal: initializing...
[    1.422000] ath-gpio 2.0 initialised
[    1.422000] ubnthal: initialised, board found, sysid = 0xe835, name = AirGrid M5
[    1.422000] ubnthal: host_board_t size: 7584B, boards table size: 192kB
[    7.040000] ATHR_GMAC: Length per segment 1536
[    7.040000] ATHR_GMAC: skb_overhead 64, shinfo: 344
[    7.040000] ATHR_GMAC: RX sizes - 2k_fit: 1612, reserve: -2
[    7.040000] ATHR_GMAC: fifo cfg 3 01f00140
[    7.040000] AR8032 Detected
[    7.041000] ATHR_GMAC: Mac address for unit 0:bfff0000
[    7.041000] ATHR_GMAC: 44:d9:e7:db:ea:46
[    7.597000] MAC0 MDC is 3 at line 2915
[    7.597000] mac:0 Registering S27....
[    7.597000] Configuring GPIO4 GPIO Function.
[    7.597000] Setting GPIO4 to INPUT.
[    7.597000] Setting GPIO15 to INPUT.
[    7.597000] Setting GPIO17 to INPUT.
[    7.597000] ATHR_GMAC: Max segments per packet :   1
[    7.597000] ATHR_GMAC: Max tx descriptor count :   128
[    7.597000] ATHR_GMAC: Max rx descriptor count :   252
[    7.597000] ATHR_GMAC: Mac capability flags    :   4381
[    7.597000] ATHR_GMAC: Mac address for unit 1:bfff0006
[    7.597000] ATHR_GMAC: 46:d9:e7:db:ea:46
[    8.154000] mac:1 Registering S27....
[    8.154000] ATHR_GMAC: Max segments per packet :   1
[    8.154000] ATHR_GMAC: Max tx descriptor count :   128
[    8.154000] ATHR_GMAC: Max rx descriptor count :   252
[    8.154000] ATHR_GMAC: Mac capability flags    :   4B80
[    8.331000] PPP generic driver version 2.4.2
[   11.046000] PPP MPPE Compression module registered
[   11.127000] NET: Registered protocol family 24
[   11.239000] URD Init
[   11.723000] ath_hal: 0.9.17.1 (AR9380, DEBUG, REGOPS_FUNC, 11D)

Since you have serial I would try flashing a ubnt-loco-m-xw build either directly or with TFTP recovery.  The Nanostation build (referred to in the first post on this thread) will not work on these models since it is configured for a switch and two Ethernet ports and models like the Airgrid only have one wired direct to the SoC.  The loco build works on Nanostation loco (of course), Nanobeam, and probably also Litebeam and Airgrid.

(Last edited by mk24 on 24 Jan 2018, 20:53)

mk24 wrote:

Since you have serial I would try flashing a ubnt-loco-m-xw build either directly or with TFTP recovery.  The Nanostation build (referred to in the first post on this thread) will not work on these models since it is configured for a switch and two Ethernet ports and models like the Airgrid only have one wired direct to the SoC.  The loco build works on Nanostation loco (of course), Nanobeam, and probably also Litebeam and Airgrid.


ok it works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This track should be used.
openwrt-ar71xx-generic-ubnt-loco-m-xw-squashfs-factory.bin


thank you.

(Last edited by viger-uno on 27 Jan 2018, 12:50)

The discussion might have continued from here.