Hi all,
This is a work in progress, so far everything works properly, but there are some questions remaining, about this later.
The main device (PL-AC56) is based on an AP152 board, having the following components:
QCA9563 802.11n SoC
w9751g6kb-25 64MB RAM SoC
QCA9882 802.11ac radio
QCA7500 HomePlug AV2 powerline ctrl
w631gg6kb-15 128MB RAM powerline
25L12835F 16MB SPI
QCA8337 Gigabit Ethernet switch
The slave device (PL-E56P):
QCA7500 HomePlug AV2 powerline ctrl
w631gg6kb-15 128MB RAM
25L3233F 4MB SPI
AR8035 Gigabit Ethernet PHY
About getting the serial console working, I've already a thread here:
The qca7500 PLC in the main device has no dedicated SPI for the nvm firmware and pib calibration files, as the slave device has. Instead, the nvm firmware is stored as a file in the rootfs partition of the SPI and the pib calibration data has its own 512kB partition on the SPI. The PLC firmware and pib are then loaded every time by the main system. This means, the main device's PLC is not flashable separately, but the slave device is and can be done via plc functionality.
OEM Syslog:
Aug 1 00:00:17 syslogd started: BusyBox v1.17.4
Aug 1 00:00:17 kernel: Zone PFN ranges:
Aug 1 00:00:17 kernel: Normal 0x00000000 -> 0x00004000
Aug 1 00:00:17 kernel: Movable zone start PFN for each node
Aug 1 00:00:17 kernel: Early memory PFN ranges
Aug 1 00:00:17 kernel: 0: 0x00000000 -> 0x00004000
Aug 1 00:00:17 kernel: Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16256
Aug 1 00:00:17 kernel: Kernel command line: board=AP152 console=ttyS0,115200 root=/dev/mtdblock4 rootfstype=squashfs mem=64M
Aug 1 00:00:17 kernel: Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Aug 1 00:00:17 kernel: Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Aug 1 00:00:17 kernel: registering PCI controller with io_map_base unset
Aug 1 00:00:17 kernel: m25p80 spi0.0: found mx25l12805d, expected m25p80
Aug 1 00:00:17 kernel: Creating 7 MTD partitions on "ath79-nor0":
Aug 1 00:00:17 kernel: 0x000000000000-0x000000040000 : "Bootloader"
Aug 1 00:00:17 kernel: 0x000000040000-0x000000050000 : "nvram"
Aug 1 00:00:17 kernel: 0x000000050000-0x000000060000 : "Factory"
Aug 1 00:00:17 kernel: 0x000000060000-0x000000f80000 : "linux"
Aug 1 00:00:17 kernel: 0x000000171440-0x000000f80000 : "rootfs"
Aug 1 00:00:17 kernel: 0x000000f80000-0x000001000000 : "plc"
Aug 1 00:00:17 kernel: 0x000000000000-0x000001000000 : "ALL"
Aug 1 00:00:17 kernel: offset 0x9000 elapse 0ms
Aug 1 00:00:17 kernel: bled: GPIO#6: switch ports mask 0.
Aug 1 00:00:17 kernel: bled: GPIO#19: netdev ath0.
Aug 1 00:00:17 kernel: bled: GPIO#8: netdev ath1.
Aug 1 00:00:17 kernel: asf: module license 'Proprietary' taints kernel.
Aug 1 00:00:17 kernel: Disabling lock debugging due to kernel taint
Aug 1 00:00:17 kernel: ****Address of trace_timer :834226a0
Aug 1 00:00:17 kernel: ath_hal: Unknown parameter `ce_level'
Aug 1 00:00:17 kernel: ath_tx99: Version 2.0
Aug 1 00:00:17 kernel: Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
Aug 1 00:00:17 kernel: __ath_attach: Set global_scn[0]
Aug 1 00:00:17 kernel: *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead ***
Aug 1 00:00:17 kernel: ACBKMinfree = 48
Aug 1 00:00:17 kernel: ACBEMinfree = 32
Aug 1 00:00:17 kernel: ACVIMinfree = 16
Aug 1 00:00:17 kernel: ACVOMinfree = 0
Aug 1 00:00:17 kernel: CABMinfree = 48
Aug 1 00:00:17 kernel: UAPSDMinfree = 0
Aug 1 00:00:17 kernel: ATH_TXBUF=540
Aug 1 00:00:17 kernel: ART Version : 10.517
Aug 1 00:00:17 kernel: SW Image Version : 0.20.-12.0.2
Aug 1 00:00:17 kernel: Board Revision :
Aug 1 00:00:17 kernel: ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125
Aug 1 00:00:17 kernel: SPECTRAL : get_capability not registered
Aug 1 00:00:17 kernel: HAL_CAP_PHYDIAG : Capable
Aug 1 00:00:17 kernel: SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
Aug 1 00:00:17 kernel: SPECTRAL : get_capability not registered
Aug 1 00:00:17 kernel: HAL_CAP_RADAR : Capable
Aug 1 00:00:17 kernel: SPECTRAL : Need to fix the capablity check for SPECTRAL
Aug 1 00:00:17 kernel: (spectral_attach : 236)
Aug 1 00:00:17 dnsmasq[251]: no servers found in /etc/resolv.conf, will retry
Aug 1 00:00:18 kernel: SPECTRAL : get_capability not registered
Aug 1 00:00:18 kernel: HAL_CAP_SPECTRAL_SCAN : Capable
Aug 1 00:00:18 kernel: SPECTRAL : get_tsf64 not registered
Aug 1 00:00:18 kernel: spectral_init_netlink 65 NULL SKB
Aug 1 00:00:18 kernel: SPECTRAL : No ADVANCED SPECTRAL SUPPORT
Aug 1 00:00:18 kernel: SPECTRAL :----- module attached
Aug 1 00:00:18 kernel: Green-AP : Green-AP : Attached
Aug 1 00:00:18 kernel: ath_get_caps[6267] rx chainmask mismatch actual 3 sc_chainmak 0
Aug 1 00:00:18 kernel: ath_get_caps[6242] tx chainmask mismatch actual 3 sc_chainmak 0
Aug 1 00:00:18 kernel: band steering initialized for direct attach hardware
Aug 1 00:00:18 kernel: ieee80211_bsteering_attach: Band steering initialized
Aug 1 00:00:18 kernel: ath_attach_dfs[12799] dfsdomain 1
Aug 1 00:00:18 kernel: SPECTRAL : module already attached
Aug 1 00:00:18 kernel: ath_tx_paprd_init sc 82f48000 PAPRD disabled in HAL
Aug 1 00:00:18 kernel: PCI device id is 003c :003c
Aug 1 00:00:18 kernel: PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
Aug 1 00:00:18 kernel: ol_ath_pci_configure : num_desired MSI set to 0
Aug 1 00:00:18 kernel: Using PCI Legacy Interrupt
Aug 1 00:00:18 kernel: CE_per_engine_handler_adjust, base=82a77200 offset=00057400
Aug 1 00:00:18 kernel: CE_per_engine_handler_adjust, base=82a77200 offset=00057800
Aug 1 00:00:18 kernel: __ol_ath_attach: ath_attach TODO
Aug 1 00:00:18 kernel: __ol_ath_attach: dev name wifi1
Aug 1 00:00:18 kernel: ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
Aug 1 00:00:18 kernel: OL_ACBKMinfree : 0
Aug 1 00:00:18 kernel: OL_ACBEMinfree : 0
Aug 1 00:00:18 kernel: OL_ACVIMinfree : 0
Aug 1 00:00:18 kernel: OL_ACVOMinfree : 0
Aug 1 00:00:18 kernel: ol_ath_attach() BMI inited.
Aug 1 00:00:18 kernel: ol_ath_attach() BMI Get Target Info.
Aug 1 00:00:18 kernel: ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c
Aug 1 00:00:18 kernel: NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
Aug 1 00:00:18 kernel: ol_ath_attach() configure Target .
Aug 1 00:00:18 kernel: ath_nand_local_read: cal_part [Factory] from 5000 len 844
Aug 1 00:00:18 PL-AC56: start httpd
Aug 1 00:00:18 kernel: qc98xx_verify_checksum: flash checksum passed: 0x911f
Aug 1 00:00:18 kernel: ol_transfer_bin_file 2238: Download Flash data len 2116
Aug 1 00:00:18 kernel: Download AR9888v2_bin
Aug 1 00:00:18 kernel: ol_transfer_bin_file 2159: Download Firmware data len 235636
Aug 1 00:00:18 kernel: ol_ath_attach() Download FW.
Aug 1 00:00:18 kernel: ol_ath_attach() HT Create .
Aug 1 00:00:18 kernel: ol_ath_attach() HIF Claim.
Aug 1 00:00:18 kernel: ol_ath_attach() BMI Done.
Aug 1 00:00:18 kernel: ol_ath_attach() WMI attached. wmi_handle 82820000
Aug 1 00:00:18 kernel: +HWT
Aug 1 00:00:18 kernel: SOC_RESET_CONTROL_ADDRESS : 800
Aug 1 00:00:18 kernel: CPU_INTR_ADDRESS = [0]
Aug 1 00:00:18 kernel: SOC_GLOBAL_RESET_ADDRESS = [0]
Aug 1 00:00:18 kernel: Rx_Filter : [0]
Aug 1 00:00:18 kernel: CE_per_engine_handler_adjust, base=82a77200 offset=00057400
Aug 1 00:00:18 kernel: CE_per_engine_handler_adjust, base=82a77200 offset=00057800
Aug 1 00:00:18 kernel: CE_per_engine_handler_adjust, base=82a77200 offset=00057c00
Aug 1 00:00:18 kernel: CE_per_engine_handler_adjust, base=82a77200 offset=00058000
Aug 1 00:00:18 kernel: CE_per_engine_handler_adjust, base=82a77200 offset=00058400
Aug 1 00:00:18 kernel: CE_per_engine_handler_adjust, base=82a77200 offset=00058800
Aug 1 00:00:18 kernel: CE_recv_buf_enqueue 653 Populate last entry 512 for CE 5
Aug 1 00:00:18 kernel: CE_recv_buf_enqueue 662 CE 5 wi 511 dest_ptr 0x29fd840 nbytes 0 recv_ctxt 0x829e9540
Aug 1 00:00:18 kernel: Target:83d97000 HTC Service:0x0001, ULpipe:0 DLpipe:1 id:0 Ready
Aug 1 00:00:18 kernel: -HWT
Aug 1 00:00:18 kernel: Target:83d97000 HTC Service:0x0300, ULpipe:4 DLpipe:5 id:1 Ready
Aug 1 00:00:18 kernel: HTC Service:0x0300 ep:1 TX flow control disabled
Aug 1 00:00:18 kernel: CE_pkt_dl_len_set CE 4 Pkt download length 64
Aug 1 00:00:18 kernel: ol_txrx_pdev_attach: 1424 tx desc's allocated ; range starts from 81c40000
Aug 1 00:00:18 kernel: Target:83d97000 HTC Service:0x0100, ULpipe:3 DLpipe:2 id:2 Ready
Aug 1 00:00:18 kernel: HTC Service:0x0100 ep:2 TX flow control disabled
Aug 1 00:00:18 kernel: wmi_service_ready_event_rx: WMI UNIFIED SERVICE READY event
Aug 1 00:00:18 kernel: num_rf_chain : 00000002
Aug 1 00:00:18 kernel: ht_cap_info: : 0000085b
Aug 1 00:00:18 kernel: vht_cap_info : 338001b2
Aug 1 00:00:18 kernel: vht_supp_mcs : 0000fffa
Aug 1 00:00:18 kernel: LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256, lteu_support 0
Aug 1 00:00:18 kernel: idx 0 req 1 num_units 0 num_unit_info 2 unit size 440 actual units 145
Aug 1 00:00:18 kernel: chunk 0 len 63800 requested ,ptr 0x1c60000
Aug 1 00:00:18 kernel: FIRMWARE:P 145 V 16 T 443
Aug 1 00:00:18 kernel:
Aug 1 00:00:18 kernel: FIRMWARE:_wlan_rtt_enable
Aug 1 00:00:18 kernel: wmi_ready_event_rx: WMI UNIFIED READY event
Aug 1 00:00:18 kernel: ol_ath_connect_htc() WMI is ready
Aug 1 00:00:18 kernel: ol_ath_set_host_app_area TODO
Aug 1 00:00:18 kernel: target uses HTT version 2.1; host uses 2.1
Aug 1 00:00:18 kernel: ol_ath_attach() connect HTC.
Aug 1 00:00:18 kernel: bypasswmi : 0
Aug 1 00:00:18 kernel: ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
Aug 1 00:00:18 syslog: Generating SSL certificate...
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
Aug 1 00:00:18 kernel: Add VHT80 channel: 5210
Aug 1 00:00:18 kernel: Add VHT80 channel: 5775
Aug 1 00:00:18 kernel: Skipping VHT80 channel 5825
Aug 1 00:00:18 kernel: ol_ath_phyerr_attach: called
Aug 1 00:00:18 kernel: OL Resmgr Init-ed
Aug 1 00:00:18 kernel: ieee80211_bsteering_attach: Band steering initialized
Aug 1 00:00:18 kernel: ol_if_spectral_setup
Aug 1 00:00:18 kernel: SPECTRAL : get_capability not registered
Aug 1 00:00:18 kernel: HAL_CAP_PHYDIAG : Capable
Aug 1 00:00:18 kernel: SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
Aug 1 00:00:18 kernel: SPECTRAL : get_capability not registered
Aug 1 00:00:18 kernel: HAL_CAP_RADAR : Capable
Aug 1 00:00:18 kernel: SPECTRAL : Need to fix the capablity check for SPECTRAL
Aug 1 00:00:18 kernel: (spectral_attach : 236)
Aug 1 00:00:18 kernel: SPECTRAL : get_capability not registered
Aug 1 00:00:18 kernel: HAL_CAP_SPECTRAL_SCAN : Capable
Aug 1 00:00:18 kernel: SPECTRAL : get_tsf64 not registered
Aug 1 00:00:18 kernel: spectral_init_netlink 65 NULL SKB
Aug 1 00:00:18 kernel: Green-AP : Green-AP : Attached
Aug 1 00:00:18 kernel: Green-AP : Attached
Aug 1 00:00:18 kernel: ol_if_dfs_setup: called
Aug 1 00:00:18 kernel: ol_if_dfs_attach: called; ptr=81c3d974, radar_info=837b7b78
Aug 1 00:00:18 kernel: ol_ath_rtt_meas_report_attach: called
Aug 1 00:00:18 kernel: ol_ath_attach() UMAC attach .
Aug 1 00:00:18 kernel: ol_if_dfs_configure: called
Aug 1 00:00:18 kernel: ol_if_dfs_configure: UNINIT domain
Aug 1 00:00:18 kernel: ol_if_dfs_disable: called
Aug 1 00:00:18 kernel: ol_ath_attach: Calling ol_if_dfs_configure
Aug 1 00:00:18 kernel: __ol_ath_attach: init tx/rx TODO
Aug 1 00:00:18 kernel: __ol_ath_attach: hard_header_len reservation 58
Aug 1 00:00:18 kernel: sc nodebug 0
Aug 1 00:00:18 kernel: ath_attach_dfs[12799] dfsdomain 1
Aug 1 00:00:18 kernel: isCountryCodeValid: EEPROM regdomain 0x0
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
Aug 1 00:00:18 kernel: ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
Aug 1 00:00:18 kernel: Add VHT80 channel: 5210
Aug 1 00:00:18 kernel: Add VHT80 channel: 5290
Aug 1 00:00:18 kernel: Add VHT80 channel: 5530
Aug 1 00:00:18 kernel: Skipping VHT80 channel 5580
Aug 1 00:00:18 kernel: Skipping VHT80 channel 5660
Aug 1 00:00:18 kernel: Skipping VHT80 channel 5680
Aug 1 00:00:18 kernel: Skipping VHT80 channel 5700
Aug 1 00:00:18 kernel: [wifi1] FWLOG: [22831] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x460, 0x460, 0x0 )
Aug 1 00:00:18 kernel: [wifi1] FWLOG: [22831] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x460, 0x460, 0x0 )
Aug 1 00:00:18 kernel: [wifi1] FWLOG: [22831] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x460, 0x460, 0x0 )
Aug 1 00:00:18 kernel: [wifi1] FWLOG: [22831] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x460, 0x460, 0x0 )
Aug 1 00:00:18 kernel: [wifi1] FWLOG: [22836] WHAL_ERROR_RECV_STOPPCU ( 0x110298a, 0x3 )
Aug 1 00:00:18 kernel: [wifi1] FWLOG: [22836] WHAL_ERROR_RESET_PM ( )
Aug 1 00:00:19 kernel: [wifi1] FWLOG: [22844] WAL_DBGID_DEV_RESET ( 0x1, 0x1, 0x1 )
Aug 1 00:00:19 kernel: [wifi1] FWLOG: [23023] ANI Enable: 1
Aug 1 00:00:19 kernel: [wifi1] FWLOG: [23030] WAL_DBGID_DEV_RESET ( 0x1, 0x1, 0x1 )
Aug 1 00:00:19 kernel: wlan_vap_create : enter. devhandle=0x82f50380, opmode=IEEE80211_M_HOSTAP, flags=0x1
Aug 1 00:00:19 kernel: wlan_vap_create : exit. devhandle=0x82f50380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
Aug 1 00:00:19 kernel: VAP device ath0 created osifp: (81c3ab80) os_if: (83138000)
Aug 1 00:00:19 kernel: ath_ioctl: SIOC80211IFCREATE CALLED
Aug 1 00:00:19 kernel: wmi_unified_vdev_create_send: ID = 0 VAP Addr = xx:xx:xx:xx:xx:xx:
Aug 1 00:00:19 kernel: Setting dscp for vap id: 0
Aug 1 00:00:19 kernel: VAP device ath1 created osifp: (83135380) os_if: (83100000)
Aug 1 00:00:19 kernel: DCS for CW interference mitigation: 0
Aug 1 00:00:19 kernel: DCS for WLAN interference mitigation: 0
Aug 1 00:00:19 kernel: Set freq vap 0 stop send + 83138000
Aug 1 00:00:19 kernel: Set freq vap 0 stop send -83138000
Aug 1 00:00:19 kernel: Set wait done --83138000
Aug 1 00:00:19 kernel: Set freq vap 0 stop send + 83100000
Aug 1 00:00:19 kernel: OL vap_stop +
Aug 1 00:00:19 kernel: wmi_unified_vdev_stop_send for vap 0 (82820000)
Aug 1 00:00:19 kernel: OL vap_stop -
Aug 1 00:00:19 kernel: STOPPED EVENT for vap 0 (82820000)
Aug 1 00:00:19 kernel: Set freq vap 0 stop send -83100000
Aug 1 00:00:19 kernel: Set wait done --83100000