OpenWrt Forum Archive

Topic: Chinese Manufacturer Leguang

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

Dear all,

I am new to OpenWRT, but with some knowledge with network.
I bought a new Chinese brand Router called LEGUANG, searching for WRTfirmwares for it i havent found any.
I was wondering how to contribute to start developing a new branch for it.
It is a cool piece of hardware and may be interesting to other users.
I think it is worth the work.

Manufacturer: link -> 3w dot lguang dot net
Product: i can share the link, but the model is a Wireless Router then LG-D810

SPEC
LEGUANG LG-D810 power behavior management router

• Next-Generation 802.11ac Technology
• QCA9563 + + QCA8334 Chip QCA9882
• High-Power Coverage To 128 Terminal Access
• 1200Mbps Transfer Rate Of 660MHz Frequency
• 16M 128M Flash Memory
• 2.4GHz And 5.8GHz Dual Signal SSID
• Super Behavior Management
• For Villas, Offices, Restaurants, Cafes Use
• May Block Wall 3-6
• Accessible Cover 1,000 Square Meters
• 1000mW
• 6 x 6dBi Antena /
• 2 USB (2.0 unfortunately)

Looking forward for your comments.

Thanks in advance.

Fabio

Thank you tmo26. I will study it.

Dear all,

I got console access, but unfortunately it is password protected.
Complete boot messages from console terminal is listed below.

As we can see, it seems to be a custom version of OpenWRT.

## Booting image at 9fe80000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2016-09-27   2:48:14 UTC
   Image Type:   MIPS Linux Multi-File Image (lzma compressed)
   Data Size:    1275445 Bytes =  1.2 MB

I contact the manufacturer and they don`t reply any of my messages.¬¬

Any tips to go further?

Thanks in advance.

U-Boot 1.1.4 (Sep 27 2016 - 10:45:18)

ap152 - Dragonfly 1.0DRAM:
sri
ath_ddr_initial_config(278): (ddr2 init)
ath_sys_frequency: cpu 775 ddr 650 ahb 258
Tap values = (0xf, 0xf, 0xf, 0xf)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 200k for U-Boot at: 87fcc000
Reserving 192k for malloc() at: 87f9c000
Reserving 44 Bytes for Board Info at: 87f9bfd4
Reserving 36 Bytes for Global Data at: 87f9bfb0
Reserving 128k for boot params() at: 87f7bfb0
Stack Pointer at: 87f7bf98
Now running in RAM - U-Boot at: 87fcc000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:00:00:00:00:00
eth0 up
eth0
Setting 0x181162c0 to 0x50a02100
Hit any key to stop autoboot:  0
## Booting image at 9fe80000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2016-09-27   2:48:14 UTC
   Image Type:   MIPS Linux Multi-File Image (lzma compressed)
   Data Size:    1275445 Bytes =  1.2 MB
   Load Address: 80060000
   Entry Point:  80060000
   Contents:
   Image 0:  1275437 Bytes =  1.2 MB
   Verifying Checksum at 0x9fe80040 ...OK
   Uncompressing Multi-File Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[    0.000000] Linux version 3.3.8 (yangyi@ubuntu) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Thu Sep 22 18:53:03 CST 2016
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA956X rev 0
[    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00008000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00008000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=AP152 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),14528k(rootfs),1472k(kernel),64k(art),16000k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 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: 125616k/131072k available (2746k kernel code, 5456k reserved, 711k data, 228k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:83
[    0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.060000] Performance counters: mips/74K PMU enabled, 4 32-bit counters available to each CPU, irq 13
[    0.070000] Initialized recycle list for cpu 0.
[    0.080000] NET: Registered protocol family 16
[    0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[    0.090000] MIPS: machine is Qualcomm Atheros AP152 reference board
[    0.100000] registering PCI controller with io_map_base unset
[    0.310000] bio: create slab <bio-0> at 0
[    0.310000] PCI host bridge to bus 0000:00
[    0.320000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.320000] pci_bus 0000:00: root bus resource [io  0x0001]
[    0.330000] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.330000] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.340000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.340000] Switching to clocksource MIPS
[    0.350000] NET: Registered protocol family 2
[    0.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.350000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.360000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.360000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.370000] TCP reno registered
[    0.370000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] NET: Registered protocol family 1
[    0.400000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.400000] NTFS driver 2.1.30 [Flags: R/W].
[    0.410000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.420000] msgmni has been set to 245
[    0.420000] io scheduler noop registered
[    0.430000] io scheduler deadline registered (default)
[    0.430000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.460000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.460000] console [ttyS0] enabled, bootconsole disabled
[    0.460000] console [ttyS0] enabled, bootconsole disabled
[    0.480000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.480000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.490000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.490000] Creating 6 MTD partitions on "spi0.0":
[    0.500000] 0x000000000000-0x000000040000 : "u-boot"
[    0.510000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.510000] 0x000000050000-0x000000e80000 : "rootfs"
[    0.520000] mtd: partition "rootfs" set to be root filesystem
[    0.520000] mtd: partition "rootfs_data" created automatically, ofs=AA0000, len=3E0000
[    0.530000] 0x000000aa0000-0x000000e80000 : "rootfs_data"
[    0.540000] 0x000000e80000-0x000000ff0000 : "kernel"
[    0.550000] 0x000000ff0000-0x000001000000 : "art"
[    0.550000] 0x000000050000-0x000000ff0000 : "firmware"
[    0.700000] ag71xx_mdio: probed
[    0.700000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.280000] eth0: Atheros AR8327 switch driver attached.
[    2.500000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    2.510000] GACT probability on
[    2.510000] Mirror/redirect action on
[    2.520000] netem: version 1.3
[    2.520000] u32 classifier
[    2.520000]     Performance counters on
[    2.530000]     input device check on
[    2.530000]     Actions configured
[    2.530000] Netfilter messages via NETLINK v0.30.
[    2.540000] nf_conntrack version 0.5.0 (1962 buckets, 7848 max)
[    2.540000] ctnetlink v0.93: registering with nfnetlink.
[    2.550000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.560000] TCP cubic registered
[    2.560000] NET: Registered protocol family 17
[    2.560000] Bridge firewalling registered
[    2.570000] Ebtables v2.0 registered
[    2.570000] 8021q: 802.1Q VLAN Support v1.8
[    2.580000] ### of_selftest(): No testcase data in device tree; not running tests
[    2.590000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.600000] Freeing unused kernel memory: 228k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
[    5.520000] eth0: link up (1000Mbps/Full duplex)
[    6.530000] eth0: link up (1000Mbps/Full duplex)
- regular preinit -
[    7.770000] JFFS2 notice: (476) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 21 of xref (0 dead, 2 orphan) found.
[    8.280000] SCSI subsystem initialized
[    8.400000] usbcore: registered new interface driver usbfs
[    8.410000] usbcore: registered new interface driver hub
[    8.410000] usbcore: registered new device driver usb
[    8.720000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.720000] ehci-platform ehci-platform.0: Generic Platform EHCI Controller
[    8.730000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    8.770000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    8.790000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    8.790000] hub 1-0:1.0: USB hub found
[    8.800000] hub 1-0:1.0: 1 port detected
[    8.800000] ehci-platform ehci-platform.1: Generic Platform EHCI Controller
[    8.810000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    8.850000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    8.870000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    8.870000] hub 2-0:1.0: USB hub found
[    8.880000] hub 2-0:1.0: 1 port detected
[    8.890000] Initializing USB Mass Storage driver...
[    8.900000] usbcore: registered new interface driver usb-storage
[    8.910000] USB Mass Storage support registered.
switching to jffs2
- init -

Please press Enter to activate this console. [   38.260000] qca_ssdk: Unknown symbol rt6_lookup (err 0)
[   38.420000] NET: Registered protocol family 10
[   38.720000] Button Hotplug driver version 0.4.1
[   39.050000] PPP generic driver version 2.4.2
[   39.070000] NET: Registered protocol family 24
[   39.200000] asf: module license 'Proprietary' taints kernel.
[   39.200000] Disabling lock debugging due to kernel taint
[   39.220000] ****Address of trace_timer :871ae620
[   39.520000] ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_DATA_SWAP, 11D)
[   39.540000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
[   39.570000] ath_dfs: Version 2.0.0
[   39.570000] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
[   39.590000] ath_spectral: Version 2.0.0
[   39.590000] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
[   39.600000] SPECTRAL module built on Sep 22 2016 17:03:50
[   39.670000] ath_tx99: Version 2.0
[   39.670000] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
[   39.850000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
[   42.090000] __ath_attach: Set global_scn[0]
[   42.090000] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead ***
[   42.100000] ACBKMinfree = 48
[   42.100000] ACBEMinfree = 32
[   42.110000] ACVIMinfree = 16
[   42.110000] ACVOMinfree = 0
[   42.110000] CABMinfree = 48
[   42.120000] UAPSDMinfree = 0
[   42.120000] ATH_TXBUF=540
[   42.130000] Enterprise mode: 0x03bda000
[   42.130000] Restoring Cal data from DRAM
[   42.140000]
[   42.140000] ART Version : -48.0.0
[   42.140000] SW Image Version : -48.0.0.0.0
[   42.150000] Board Revision :
[   42.150000] ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125
[   42.160000] SPECTRAL : get_capability not registered
[   42.160000] HAL_CAP_PHYDIAG : Capable
[   42.170000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
[   42.180000] SPECTRAL : get_capability not registered
[   42.180000] HAL_CAP_RADAR   : Capable
[   42.180000] SPECTRAL : Need to fix the capablity check for SPECTRAL
[   42.180000]  (spectral_attach : 236)
[   42.190000] SPECTRAL : get_capability not registered
[   42.200000] HAL_CAP_SPECTRAL_SCAN : Capable
[   42.200000] SPECTRAL : get_tsf64 not registered
[   42.210000] spectral_init_netlink 65 NULL SKB
[   42.210000] SPECTRAL : No ADVANCED SPECTRAL SUPPORT
[   42.220000] SPECTRAL :----- module attached
[   42.220000] Green-AP : Green-AP : Attached
[   42.220000]
[   42.230000] ath_get_caps[6169] rx chainmask mismatch actual 3 sc_chainmak 0
[   42.240000] ath_get_caps[6144] tx chainmask mismatch actual 3 sc_chainmak 0
[   42.250000] band steering initialized for direct attach hardware
[   42.260000] ieee80211_bsteering_attach: Band steering initialized
[   42.260000] ath_attach_dfs[12691] dfsdomain 1
[   42.280000] SPECTRAL : module already attached
[   42.280000] osif_wrap_attach:296 osif wrap attached
[   42.290000] osif_wrap_devt_init:916 osif wrap dev table init done
[   42.300000] ath_tx_paprd_init sc 86640000 PAPRD disabled in HAL
[   42.300000] wifi0: Atheros 956X: mem=0xb8100000, irq=47
[   42.310000] ath_pci: SmartAntenna-DRT-0.1 (Atheros/multi-bss)
[   42.320000] ath_pci_probe
[   42.320000] PCI device id is 003c :003c
[   42.320000] ath_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[   42.330000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   42.340000] ath_pci 0000:00:00.0: ath DEBUG: sc=0x86658c00
[   42.350000]
[   42.350000]  ol_ath_pci_configure : num_desired MSI set to 0
[   42.350000]
[   42.350000]  Using PCI Legacy Interrupt
[   43.360000] CE_per_engine_handler_adjust, base=86658c00 offset=00057400
[   43.360000] CE_per_engine_handler_adjust, base=86658c00 offset=00057800
[   43.380000] __ol_ath_attach: ath_attach TODO
[   43.390000] __ol_ath_attach: dev name wifi1
[   43.390000] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
[   43.400000]  OL_ACBKMinfree : 0
[   43.400000]  OL_ACBEMinfree : 0
[   43.410000]  OL_ACVIMinfree : 0
[   43.410000]  OL_ACVOMinfree : 0
[   43.410000] ol_ath_attach() BMI inited.
[   43.420000] ol_ath_attach() BMI Get Target Info.
[   43.420000] ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c
[   43.430000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[   43.430000] ol_ath_attach() configure Target .
[   43.450000] qc98xx_verify_checksum: flash checksum passed: 0x7c4c
[   43.450000] ol_transfer_bin_file 2202: Download Flash data len 2116
[   43.460000]  Download AR9888v2_bin
[   43.470000] ol_transfer_bin_file 2132: Download Firmware data len 235576
[   44.480000] ol_ath_attach() Download FW.
[   44.480000] ol_ath_attach() HT Create .
[   44.480000] ol_ath_attach() HIF Claim.
[   44.490000] ol_ath_attach() BMI Done.
[   44.490000] ol_ath_attach() WMI attached. wmi_handle 86430000
[   44.500000] +HWT
[   44.500000] SOC_RESET_CONTROL_ADDRESS : 800
[   44.500000] CPU_INTR_ADDRESS = [2000000]
[   44.510000] SOC_GLOBAL_RESET_ADDRESS = [0]
[   44.510000] Rx_Filter : [0]
[   44.520000] CE_per_engine_handler_adjust, base=86658c00 offset=00057400
[   44.520000] CE_per_engine_handler_adjust, base=86658c00 offset=00057800
[   44.530000] CE_per_engine_handler_adjust, base=86658c00 offset=00057c00
[   44.540000] CE_per_engine_handler_adjust, base=86658c00 offset=00058000
[   44.540000] CE_per_engine_handler_adjust, base=86658c00 offset=00058400
[   44.550000] CE_per_engine_handler_adjust, base=86658c00 offset=00058800
[   44.560000] CE_recv_buf_enqueue 653 Populate last entry 512 for CE 5
[   44.570000] CE_recv_buf_enqueue 662 CE 5 wi 511 dest_ptr 0x5f08020 nbytes 0 recv_ctxt 0x86626a80
[   44.580000] Target:872be800 HTC Service:0x0001, ULpipe:0 DLpipe:1 id:0 Ready
[   44.580000] -HWT
[   44.590000] Target:872be800 HTC Service:0x0300, ULpipe:4 DLpipe:5 id:1 Ready
[   44.590000] HTC Service:0x0300 ep:1 TX flow control disabled
[   44.600000] CE_pkt_dl_len_set CE 4 Pkt download length 64
[   44.610000] ol_txrx_pdev_attach: 1424 tx desc's allocated ; range starts from 85b70000
[   44.620000] Target:872be800 HTC Service:0x0100, ULpipe:3 DLpipe:2 id:2 Ready
[   44.620000] HTC Service:0x0100 ep:2 TX flow control disabled
[   44.630000] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
[   44.640000] num_rf_chain : 00000002
[   44.640000] ht_cap_info: : 0000085b
[   44.640000] vht_cap_info : 338001b2
[   44.650000] vht_supp_mcs : 0000fffa
[   44.650000] LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256, lteu_support 0
[   44.660000] idx 0 req 1  num_units 0 num_unit_info 2 unit size 440 actual units 145
[   44.670000] chunk 0 len 63800 requested ,ptr  0x5b80000
[   44.680000] FIRMWARE:P 145 V 16 T 443
[   44.680000]
[   44.690000] FIRMWARE:_wlan_rtt_enable
[   44.700000] wmi_ready_event_rx:  WMI UNIFIED READY event
[   44.700000] ol_ath_connect_htc() WMI is ready
[   44.710000] ol_ath_set_host_app_area TODO
[   44.710000] target uses HTT version 2.1; host uses 2.1
[   44.720000] ol_ath_attach() connect HTC.
[   44.720000] bypasswmi : 0
[   44.730000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
[   44.740000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
[   44.750000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
[   44.750000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
[   44.760000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
[   44.770000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
[   44.770000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
[   44.780000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
[   44.790000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
[   44.800000] Add VHT80 channel: 5210
[   44.800000] Add VHT80 channel: 5290
[   44.800000] Add VHT80 channel: 5530
[   44.810000] Add VHT80 channel: 5610
[   44.810000] Add VHT80 channel: 5690
[   44.820000] Add VHT80 channel: 5775
[   44.820000] Skipping VHT80 channel 5825
[   44.820000] ol_ath_phyerr_attach: called
[   44.830000] OL Resmgr Init-ed
[   44.830000] ieee80211_bsteering_attach: Band steering initialized
[   44.840000] ol_if_spectral_setup
[   44.840000] SPECTRAL : get_capability not registered
[   44.850000] HAL_CAP_PHYDIAG : Capable
[   44.850000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
[   44.860000] SPECTRAL : get_capability not registered
[   44.860000] HAL_CAP_RADAR   : Capable
[   44.870000] SPECTRAL : Need to fix the capablity check for SPECTRAL
[   44.870000]  (spectral_attach : 236)
[   44.880000] SPECTRAL : get_capability not registered
[   44.880000] HAL_CAP_SPECTRAL_SCAN : Capable
[   44.890000] SPECTRAL : get_tsf64 not registered
[   44.890000] spectral_init_netlink 65 NULL SKB
[   44.900000] Green-AP : Green-AP : Attached
[   44.900000]
[   44.900000] Green-AP : Attached
[   44.910000] ol_if_dfs_setup: called
[   44.910000] ol_if_dfs_attach: called; ptr=85b15974, radar_info=87251b70
[   44.920000] ol_ath_rtt_meas_report_attach: called
[   44.920000] ol_ath_attach() UMAC attach .
[   44.930000] ol_if_dfs_configure: called
[   44.930000] ol_if_dfs_configure: FCC domain
[   44.930000] ol_if_dfs_disable: called
[   44.940000] ol_ath_attach: Calling ol_if_dfs_configure
[   44.940000] osif_wrap_attach:296 osif wrap attached
[   44.950000] osif_wrap_devt_init:916 osif wrap dev table init done
[   44.960000] __ol_ath_attach: init tx/rx TODO
[   44.960000] __ol_ath_attach: hard_header_len reservation 58
[   44.980000] Initializing Pktlogs for 11ac
[   45.060000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   45.500000] [wifi1] FWLOG: [52149] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x460, 0x460, 0x0 )
[   45.500000] [wifi1] FWLOG: [52149] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x460, 0x460, 0x0 )
[   45.510000] [wifi1] FWLOG: [52149] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x460, 0x460, 0x0 )
[   45.520000] [wifi1] FWLOG: [52149] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x460, 0x460, 0x0 )
[   45.530000] [wifi1] FWLOG: [52154] WHAL_ERROR_RECV_STOPPCU ( 0x110298a, 0x3 )
[   45.540000] [wifi1] FWLOG: [52154] WHAL_ERROR_RESET_PM (  )
[   45.540000] [wifi1] FWLOG: [52162] WAL_DBGID_DEV_RESET ( 0x1, 0x1, 0x1 )
[   45.550000] [wifi1] FWLOG: [52417] ANI Enable:  1
[   45.560000] [wifi1] FWLOG: [52425] WAL_DBGID_DEV_RESET ( 0x1, 0x1, 0x1 )
[   45.630000] xt_time: kernel timezone is -0000
[   46.160000] nf_conntrack_rtsp v0.6.21 loading
[   46.240000] nf_nat_rtsp v0.6.21 loading
[   46.320000] arp_tables: (C) 2002 David S. Miller
[   46.690000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   46.990000] usbcore: registered new interface driver ums-alauda
[   47.010000] usbcore: registered new interface driver ums-cypress
[   47.030000] usbcore: registered new interface driver ums-datafab
[   47.040000] usbcore: registered new interface driver ums-freecom
[   47.060000] usbcore: registered new interface driver ums-isd200
[   47.070000] usbcore: registered new interface driver ums-jumpshot
[   47.090000] usbcore: registered new interface driver ums-karma
[   47.110000] usbcore: registered new interface driver ums-sddr09
[   47.120000] usbcore: registered new interface driver ums-sddr55
[   47.200000] usbcore: registered new interface driver ums-usbat
[   47.270000] fuse init (API version 7.18)
[   50.910000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   50.920000] ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[   50.920000] device eth0.1 entered promiscuous mode
[   50.930000] device eth0 entered promiscuous mode
[   50.940000] ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   50.960000] ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   52.700000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   52.710000] eth0: link up (1000Mbps/Full duplex)
[   52.750000] br-lan: port 1(eth0.1) entered forwarding state
[   52.750000] br-lan: port 1(eth0.1) entered forwarding state
[   52.760000] ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   52.760000] ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   52.790000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   53.720000] br-lan: port 1(eth0.1) entered disabled state
[   53.720000] eth0: link up (1000Mbps/Full duplex)
[   53.730000] br-lan: port 1(eth0.1) entered forwarding state
[   53.730000] br-lan: port 1(eth0.1) entered forwarding state
[   55.730000] br-lan: port 1(eth0.1) entered forwarding state
[   56.590000] ath_attach_dfs[12691] dfsdomain 1
[   56.680000] wlan_vap_create : enter. devhandle=0x873f0380, opmode=IEEE80211_M_HOSTAP, flags=0x1
[   56.690000] wlan_vap_create : exit. devhandle=0x873f0380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
[   56.690000] VAP device ath0 created osifp: (856b6b80) os_if: (862f0000)
[   56.720000] Set freq vap 0 stop send + 862f0000
[   56.730000] Set freq vap 0 stop send -862f0000
[   56.860000] Set wait done --862f0000
[   56.890000] WARNING: Fragmentation with HT mode NOT ALLOWED!!
[   56.920000] Setting Max Stations:64
[   56.930000]
[   56.930000]  DES SSID SET=
[   56.940000]
[   56.940000]  DES SSID SET=Wireless 2.4G
[   57.160000] 8021q: adding VLAN 0 to HW filter on device ath0
[   57.480000] device ath0 entered promiscuous mode
[   57.480000] br-lan: port 2(ath0) entered forwarding state
[   57.490000] br-lan: port 2(ath0) entered forwarding state
[   57.860000]  ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1
[   57.870000] _ieee80211_scan_unregister_event_handler: Failed to unregister evhandler=860638a0 arg=873c0000
[   57.880000]  Scan in progress.. Cancelling it
[   57.950000] br-lan: port 2(ath0) entered disabled state
[   57.950000]  DEVICE IS DOWN ifname=ath0
[   57.960000]  DEVICE IS DOWN ifname=ath0
[   58.260000] br-lan: port 2(ath0) entered forwarding state
[   58.270000] br-lan: port 2(ath0) entered forwarding state
[   58.270000] 8021q: adding VLAN 0 to HW filter on device ath0
[   58.310000] [ol_ath_iw_setcountry][1512] *p=43, *(p+1)=4e
[   58.320000] isCountryCodeValid: EEPROM regdomain 0x0
[   58.320000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
[   58.330000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
[   58.340000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
[   58.350000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
[   58.350000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
[   58.360000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
[   58.370000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
[   58.380000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
[   58.380000] Add VHT80 channel: 5210
[   58.390000] Add VHT80 channel: 5290
[   58.390000] Add VHT80 channel: 5775
[   58.390000] Skipping VHT80 channel 5825
[   58.420000] ath_ioctl: SIOC80211IFCREATE CALLED
[   58.430000] wmi_unified_vdev_create_send: ID = 0 VAP Addr = 18:40:a4:aa:44:66:
[   58.440000] Setting dscp for vap id: 0
[   58.440000] VAP device ath1 created osifp: (85619b80) os_if: (862fc000)
[   58.460000] Set freq vap 0 stop send + 862fc000
[   58.470000] OL vap_stop +
[   58.470000] wmi_unified_vdev_stop_send for vap 0 (86430000)
[   58.480000] OL vap_stop -
[   58.480000] STOPPED EVENT for vap 0 (86430000)
[   58.480000] Set freq vap 0 stop send -862fc000
[   58.620000] Set wait done --862fc000
[   58.620000] DCS: ol_ath_disable_dcsim dcs state 0
[   58.660000] WARNING: Fragmentation with HT mode NOT ALLOWED!!
[   58.690000] Setting Max Stations:64
[   58.700000]
[   58.700000]  DES SSID SET=
[   58.710000]
[   58.710000]  DES SSID SET=Wireless 5.8G
[   58.750000] OL vap_stop +
[   58.760000] wmi_unified_vdev_stop_send for vap 0 (86430000)
[   58.760000] OL vap_stop -
[   58.770000] STOPPED EVENT for vap 0 (86430000)
[   58.900000] OL vap_start +
[   58.900000] wmi_unified_vdev_start_send for vap 0 (86430000)
[   58.900000] OL vap_start -
[   58.910000] ol_vdev_start_resp_ev for vap 0 (86430000)
[   58.920000] ol_ath_vap_join: join operation is only for STA/IBSS mode
[   58.920000] ol_ath_wmm_update:
[   58.930000] wmi_unified_vdev_up_send for vap 0 (86430000)
[   58.930000] Notification to UMAC VAP layer
[   59.910000] 8021q: adding VLAN 0 to HW filter on device ath1
[   60.220000] device ath1 entered promiscuous mode
[   60.230000] br-lan: port 3(ath1) entered forwarding state
[   60.230000] br-lan: port 3(ath1) entered forwarding state
[   60.270000] br-lan: port 2(ath0) entered forwarding state
[   60.350000]  ieee80211_ioctl_siwmode: imr.ifm_active=10486400, new mode=3, valid=1
[   60.360000] wmi_unified_vdev_stop_send for vap 0 (86430000)
[   60.360000] STOPPED EVENT for vap 0 (86430000)
[   60.370000] br-lan: port 3(ath1) entered disabled state
[   60.380000]  DEVICE IS DOWN ifname=ath1
[   60.380000]  DEVICE IS DOWN ifname=ath1
[   60.500000] OL vap_stop +
[   60.510000] wmi_unified_vdev_stop_send for vap 0 (86430000)
[   60.510000] OL vap_stop -
[   60.510000] STOPPED EVENT for vap 0 (86430000)
[   60.650000] OL vap_start +
[   60.650000] wmi_unified_vdev_start_send for vap 0 (86430000)
[   60.650000] OL vap_start -
[   60.660000] ol_vdev_start_resp_ev for vap 0 (86430000)
[   60.660000] ol_ath_vap_join: join operation is only for STA/IBSS mode
[   60.670000] ol_ath_wmm_update:
[   60.670000] wmi_unified_vdev_up_send for vap 0 (86430000)
[   60.680000] Notification to UMAC VAP layer
[   61.500000] [wifi1] FWLOG: [68348] WAL_DBGID_SECURITY_ENCR_EN (  )
[   61.500000] [wifi1] FWLOG: [68348] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
[   61.660000] br-lan: port 3(ath1) entered forwarding state
[   61.660000] br-lan: port 3(ath1) entered forwarding state
[   61.670000] 8021q: adding VLAN 0 to HW filter on device ath1
[   63.660000] br-lan: port 3(ath1) entered forwarding state
[   72.290000] fast-classifier: starting up
[   72.290000] fast-classifier: registered

(Last edited by engfabiom on 6 Jun 2017, 05:58)

got login on failsafe mode

root@(none):/etc# cat openwrt_release
DISTRIB_ID="QSDK"
DISTRIB_RELEASE="QCA9558.LN"
DISTRIB_REVISION="unknown"
DISTRIB_CODENAME="premium_router"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="QSDK Premium Router QCA9558.LN"
root@(none):/tmp/sysinfo# cat board_name
ap152
root@(none):/tmp/sysinfo# cat model
Qualcomm Atheros AP152 reference board

(Last edited by engfabiom on 6 Jun 2017, 05:57)

Hello everyone,

I found out the router is using a custom version of OpenWRT, Attitude Adjustment 12.09 --> ar71xx --> generic, but I could not find this AP152 on the repository list.

How can I upgrade to Chaos Calmer? Actually I would prefer a clean img and remove all chinese scripts. tongue

I found at least two hardware references searching for more info: wndr3700 and wrt160nl, so how do I know which of them is the correct one?

If I download the generic ar71xx squashfs sysupgrade bin or factory img is it just upload using home page or should I do any additional steps before doing that? So, back to the hardware references, which one should I download? Is there any guide for it?

I hope I can contribute with this new hardware for openwrt compatibility list.

Looking forward your comments...
Thanks in advance!

Fabio.

PS: Some other information from the router can be found bellow.

Main Status Page

System
Router Name    Leguang
Router Model    Qualcomm Atheros AP152 reference board
Firmware Version    QSDK Premium Router QCA9558.LN / LuCI 0.11.1 Release (0.11.1)
Kernel Version    3.3.8
Local Time    Fri Jun 16 10:54:09 2017
Uptime    7d 21h 25m 56s
Load Average    0.29, 0.53, 0.29

/etc/opkg.conf

 
root@Leguang:/etc# cat opkg.conf
src/gz premium_router (url)downloads.openwrt.org/attitude_adjustment/12.09-rc1/ar71xx/generic/packages(/url)
...

/etc/lsb-version

 
root@Leguang:/etc# cat lsb-version
SR3200-GW-V2.0-Build20160927104051

/sys/devices/platform

root@Leguang:/sys/devices/platform# ls
ag71xx-mdio.0     ath79-spi         gpio-keys-polled  serial8250.0
ag71xx.0          ath79-wdt         leds-gpio         uevent
alarmtimer        ehci-platform.0   qca956x_wmac
ar724x-pci.0      ehci-platform.1   serial8250

/rom/etc/defconfig --> wndr3700

root@Leguang:/rom/etc/defconfig# ls -lR
.:
drwxrwxrwx    2 root     root            30 Sep 26  2016 wndr3700

./wndr3700:
-rw-rw-rw-    1 root     root          1783 Sep 18  2016 network

/rom/etc/uci-defaults --> wrt160nl

root@Leguang:/rom/etc/uci-defaults# ls
99-miniupnpd           luci-theme-openwrt     sound
gpio-button-hotplug    luci-upnp              uboot-envtools
inittab-console-fixup  migrate-shadow         vlan-migration
leds                   migrate-sysctl         wrt160nl
luci-i18n-english      network

Hello, i have the same device arrived today, from what i found (hope it helps) it looks like re-branded original device Yuncore SR3200 (==Leguang D810).

(Last edited by egor-lucky on 27 Jun 2017, 20:12)

egor-lucky wrote:

Hello, i have the same device arrived today, from what i found (hope it helps) it looks like re-branded original device Yuncore SR3200 (==Leguang D810).

great egor,

I had found SR3200 before but not Yuncore.

after your message, thanks for sharing, I found LEDE page with latest version.

https://lede-project.org/toh/hwdata/yun … ore_sr3200

(Last edited by engfabiom on 28 Jun 2017, 05:05)

hi, thanks for good point re LEDE firmware !!

so, i have spent few midnight hours smile
and successfully installed lede-17.01.2-ar71xx-generic-sr3200-squashfs-sysupgrade.bin on my SR3200

i followed instructions from here:
lists.infradead.org/pipermail/lede-comm … 01698.html and it's up and running

i did it because OEM firmware SR3200-GW-V2.0-Build20160927104051 has a bug - port forwarding function doesn't work for me, therefore i cannot get access to my home server, because port 443 is not forwarded

with LEDE firmware port forwarding works fine inside local network, but it doesn't work from outer Internet, i cannot admit if it's a bug or wrong config, still trying to make it work...

(Last edited by egor-lucky on 8 Jul 2017, 20:36)

The discussion might have continued from here.