ASUS PL-AC56 A1

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/useless stuff. Two to four sentences is about right. A picture is good, too. Edit the page to see how to add pictures.

ASUS PL-AC56

Work in progress.

CPU Ram Flash Network WLAN USB Serial JTag
EXAMPLE RT3052 @ 384 MHz 64 MiB 8 MiB 4x 10/100 bgn 1x 2.0 Yes ?
Architecture EXAMPLE MIPS
Vendor EXAMPLE Ralink
Bootloader EXAMPLE U-Boot
System-On-Chip EXAMPLE Ralink RT3052 - MIPS 24K V4.12
CPU/Speed EXAMPLE 451 MHz
Flash-Chip EXAMPLE unkown
Flash size EXAMPLE 8 MiB
RAM EXAMPLE 64 MiB
Wireless EXAMPLE RT2860v2 2.4GHz 802.11bgn
Ethernet EXAMPLE 10/100 Mbit/s w/ vlan support
Switch EXAMPLE Qualcomm Atheros QCA8337
USB EXAMPLE 1x 2.0
Serial EXAMPLE Yes
JTAG EXAMPLE Not populated

Insert photo of front of the casing

Insert photo of back of the casing

Insert photo of backside label

Insert photo of PCB

FIXME Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port

FIXME Replace EXAMPLE by real values.

Serial connection parameters
for ASUS PL-AC56 A1
EXAMPLE 115200, 8N1, 3.3V

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

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 = 18:31:bf:68:0e:14: 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 Aug 1 00:00:21 kernel: Aug 1 00:00:21 kernel: DES SSID SET=PL-AC56_10_2G Aug 1 00:00:22 kernel: ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1 Aug 1 00:00:22 kernel: _ieee80211_scan_unregister_event_handler: Failed to unregister evhandler=824636ec arg=82aa0000 Aug 1 00:00:22 kernel: Scan in progress.. Cancelling it Aug 1 00:00:22 kernel: DEVICE IS DOWN ifname=ath0 Aug 1 00:00:22 kernel: DEVICE IS DOWN ifname=ath0 Aug 1 00:00:23 kernel: Aug 1 00:00:23 kernel: DES SSID SET=PL-AC56_10_5G Aug 1 00:00:23 kernel: OL vap_stop + Aug 1 00:00:23 kernel: wmi_unified_vdev_stop_send for vap 0 (82820000) Aug 1 00:00:23 kernel: OL vap_stop - Aug 1 00:00:23 kernel: STOPPED EVENT for vap 0 (82820000) Aug 1 00:00:23 kernel: ol_ath_vap_set_param: VAP Mcast to Unicast buffer release (cmd): 0 Aug 1 00:00:23 kernel: wmi_mcast_buf_release_handler: VAP Mcast to Unicast buffer released:0 Aug 1 00:00:23 kernel: ol_ath_vap_set_param: VAP param is now supported param:67 value:0 Aug 1 00:00:23 kernel: wmi_mcast_buf_release_handler: VAP Mcast to Unicast buffer released:0 Aug 1 00:00:23 kernel: ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 Aug 1 00:00:23 kernel: Scan in progress.. Cancelling it Aug 1 00:00:23 kernel: ol_scan_cancel for (82820000) Aug 1 00:00:23 kernel: OL vap_stop + Aug 1 00:00:23 kernel: wmi_unified_vdev_stop_send for vap 0 (82820000) Aug 1 00:00:23 kernel: OL vap_stop - Aug 1 00:00:23 kernel: STOPPED EVENT for vap 0 (82820000) Aug 1 00:00:23 kernel: DEVICE IS DOWN ifname=ath1 Aug 1 00:00:23 kernel: DEVICE IS DOWN ifname=ath1 Aug 1 00:00:23 kernel: OL vap_stop + Aug 1 00:00:23 kernel: wmi_unified_vdev_stop_send for vap 0 (82820000) Aug 1 00:00:23 kernel: OL vap_stop - Aug 1 00:00:23 kernel: STOPPED EVENT for vap 0 (82820000) Aug 1 00:00:23 kernel: Set freq vap 0 stop send + 83138000 Aug 1 00:00:23 kernel: Set freq vap 0 stop send -83138000 Aug 1 00:00:24 kernel: [wifi1] FWLOG: [33990] WHAL_ERROR_RECV_STOPPCU ( 0x110298a, 0x4 ) Aug 1 00:00:24 kernel: [wifi1] FWLOG: [33993] WHAL_ERROR_RECV_STOPDMA ( 0x0, 0x4 ) Aug 1 00:00:24 kernel: [wifi1] FWLOG: [33993] WHAL_ERROR_RESET_PM ( ) Aug 1 00:00:24 kernel: [wifi1] FWLOG: [34001] WAL_DBGID_DEV_RESET ( 0x0, 0x1, 0x1 ) Aug 1 00:00:24 kernel: [wifi1] FWLOG: [34009] WAL_DBGID_DEV_RESET ( 0x1, 0x1, 0x1 ) Aug 1 00:00:24 kernel: [wifi1] FWLOG: [34370] WAL_DBGID_SECURITY_ENCR_EN ( ) Aug 1 00:00:24 kernel: [wifi1] FWLOG: [34370] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 ) Aug 1 00:00:24 kernel: [wifi1] FWLOG: [34512] WHAL_ERROR_RESET_CHANNF1 ( ) Aug 1 00:00:26 kernel: mlme_create_infra_bss : Overriding HT40 channel with HT20 channel Aug 1 00:00:26 kernel: Set wait done --83138000 Aug 1 00:00:26 kernel: Set freq vap 0 stop send + 83100000 Aug 1 00:00:26 kernel: Set freq vap 0 stop send -83100000 Aug 1 00:00:28 kernel: OL vap_start + Aug 1 00:00:28 kernel: wmi_unified_vdev_start_send for vap 0 (82820000) Aug 1 00:00:28 kernel: OL vap_start - Aug 1 00:00:28 kernel: ol_vdev_start_resp_ev for vap 0 (82820000) Aug 1 00:00:28 kernel: ol_ath_vap_join: join operation is only for STA/IBSS mode Aug 1 00:00:28 kernel: ol_ath_wmm_update: Aug 1 00:00:28 kernel: ol_if_dfs_configure: called Aug 1 00:00:28 kernel: ol_if_dfs_configure: ETSI domain Aug 1 00:00:28 kernel: ol_if_dfs_disable: called Aug 1 00:00:28 kernel: ol_if_dfs_enable: called Aug 1 00:00:28 kernel: cac_start chan 5500 timeout 62 sec, curr time: 4294695 sec Aug 1 00:00:28 kernel: Notification to UMAC VAP layer Aug 1 00:00:28 rc_service: httpd 266:notify_rc start_autodet Aug 1 00:00:28 kernel: Set wait done --83100000 Aug 1 00:00:28 kernel: wmi_unified_vdev_stop_send for vap 0 (82820000) Aug 1 00:00:28 kernel: STOPPED EVENT for vap 0 (82820000) Aug 1 00:00:28 kernel: mlme_create_infra_bss : Overriding HT40 channel with HT20 channel Aug 1 00:00:33 kernel: OL vap_start + Aug 1 00:00:33 kernel: wmi_unified_vdev_start_send for vap 0 (82820000) Aug 1 00:00:33 kernel: OL vap_start - Aug 1 00:00:33 kernel: ol_vdev_start_resp_ev for vap 0 (82820000) Aug 1 00:00:33 kernel: ol_ath_vap_join: join operation is only for STA/IBSS mode Aug 1 00:00:33 kernel: ol_ath_wmm_update: Aug 1 00:00:33 kernel: ol_if_dfs_configure: called Aug 1 00:00:33 kernel: ol_if_dfs_configure: ETSI domain Aug 1 00:00:33 kernel: ol_if_dfs_disable: called Aug 1 00:00:33 kernel: ol_if_dfs_enable: called Aug 1 00:00:33 kernel: cac_start chan 5500 timeout 62 sec, curr time: 4294700 sec Aug 1 00:00:33 kernel: Notification to UMAC VAP layer Aug 1 00:01:35 kernel: cac_timeout cac expired, chan 5500 curr time 4294762 Aug 1 00:01:35 kernel: wmi_unified_vdev_up_send for vap 0 (82820000) Aug 1 00:03:10 rc_service: plchost 290:notify_rc plc_upgrade Aug 1 00:03:16 rc_service: plchost 290:notify_rc plc_upgrade Aug 1 00:03:16 rc_service: skip the event: plc_upgrade. Aug 1 00:03:52 rc_service: httpd 266:notify_rc start_autodet Aug 1 00:04:15 rc_service: httpd 266:notify_rc chpass


Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.000000] Linux version 5.10.113 (user@debian-x64) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r19513+71-1eb4f62cb8) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Sun May 1 12:48:03 2022 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] printk: bootconsole [early0] enabled Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] MIPS: machine is ASUS PL-AC56 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Initrd not found or empty - disabling initrd Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Zone ranges: Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Movable zone start for each node Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Early memory node ranges Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] Sun May 1 14:49:33 2022 kern.debug kernel: [ 0.000000] On node 0 totalpages: 16384 Sun May 1 14:49:33 2022 kern.debug kernel: [ 0.000000] Normal zone: 144 pages used for memmap Sun May 1 14:49:33 2022 kern.debug kernel: [ 0.000000] Normal zone: 0 pages reserved Sun May 1 14:49:33 2022 kern.debug kernel: [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 Sun May 1 14:49:33 2022 kern.debug kernel: [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 Sun May 1 14:49:33 2022 kern.debug kernel: [ 0.000000] pcpu-alloc: [0] 0 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240 Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Writing ErrCtl register=00000000 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Readback ErrCtl register=00000000 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] Memory: 56188K/65536K available (5456K kernel code, 598K rwdata, 1196K rodata, 1188K init, 201K bss, 9348K reserved, 0K cma-reserved) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] NR_IRQS: 51 Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.000000] random: get_random_bytes called from start_kernel+0x3c0/0x5b0 with crng_init=0 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] CPU clock: 775.000 MHz Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns Sun May 1 14:49:33 2022 kern.info kernel: [ 0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns Sun May 1 14:49:33 2022 kern.info kernel: [ 0.008220] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.074759] pid_max: default: 32768 minimum: 301 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.079752] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.087463] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.097313] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build Sun May 1 14:49:33 2022 kern.info kernel: [ 0.107596] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns Sun May 1 14:49:33 2022 kern.info kernel: [ 0.118000] futex hash table entries: 256 (order: -1, 3072 bytes, linear) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.125271] pinctrl core: initialized pinctrl subsystem Sun May 1 14:49:33 2022 kern.info kernel: [ 0.131705] NET: Registered protocol family 16 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.186795] clocksource: Switched to clocksource MIPS Sun May 1 14:49:33 2022 kern.info kernel: [ 0.193210] NET: Registered protocol family 2 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.197995] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.206141] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.215046] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.223144] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.230591] TCP: Hash tables configured (established 1024 bind 1024) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.237416] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.244321] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) Sun May 1 14:49:33 2022 kern.info kernel: [ 0.251945] NET: Registered protocol family 1 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.256565] PCI: CLS 0 bytes, default 32 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.266180] workingset: timestamp_bits=14 max_order=14 bucket_order=0 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.276402] squashfs: version 4.0 (2009/01/31) Phillip Lougher Sun May 1 14:49:33 2022 kern.info kernel: [ 0.282609] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. Sun May 1 14:49:33 2022 kern.info kernel: [ 0.296318] pinctrl-single 1804002c.pinmux: 544 pins, size 68 Sun May 1 14:49:33 2022 kern.info kernel: [ 0.303353] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled Sun May 1 14:49:33 2022 kern.info kernel: [ 0.310740] printk: console [ttyS0] disabled Sun May 1 14:49:33 2022 kern.info kernel: [ 0.315302] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A Sun May 1 14:49:33 2022 kern.info kernel: [ 0.324451] printk: console [ttyS0] enabled Sun May 1 14:49:33 2022 kern.info kernel: [ 0.333512] printk: bootconsole [early0] disabled Sun May 1 14:49:33 2022 kern.info kernel: [ 0.353310] spi-nor spi0.0: mx25l12805d (16384 Kbytes) Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.358734] 5 fixed-partitions partitions found on MTD device spi0.0 Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.365298] Creating 5 MTD partitions on "spi0.0": Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.370268] 0x000000000000-0x000000040000 : "u-boot" Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.378888] 0x000000040000-0x000000050000 : "u-boot-env" Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.385196] 0x000000050000-0x000000060000 : "art" Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.392511] 0x000000060000-0x000000f80000 : "firmware" Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.398875] 2 uimage-fw partitions found on MTD device firmware Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.405002] Creating 2 MTD partitions on "firmware": Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.410187] 0x000000000000-0x000000230000 : "kernel" Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.417579] 0x000000230000-0x000000f20000 : "rootfs" Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.423442] mtd: device 5 (rootfs) set to be root filesystem Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.430214] 1 squashfs-split partitions found on MTD device rootfs Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.436613] 0x000000600000-0x000000f20000 : "rootfs_data" Sun May 1 14:49:33 2022 kern.notice kernel: [ 0.442997] 0x000000f80000-0x000001000000 : "plc" Sun May 1 14:49:33 2022 kern.info kernel: [ 1.170852] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0 Sun May 1 14:49:33 2022 kern.info kernel: [ 1.828305] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316] Sun May 1 14:49:33 2022 kern.info kernel: [ 1.839574] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii Sun May 1 14:49:33 2022 kern.info kernel: [ 1.846140] i2c /dev entries driver Sun May 1 14:49:33 2022 kern.info kernel: [ 1.851512] NET: Registered protocol family 10 Sun May 1 14:49:33 2022 kern.info kernel: [ 1.862269] Segment Routing with IPv6 Sun May 1 14:49:33 2022 kern.info kernel: [ 1.866150] NET: Registered protocol family 17 Sun May 1 14:49:33 2022 kern.info kernel: [ 1.870869] 8021q: 802.1Q VLAN Support v1.8 Sun May 1 14:49:33 2022 kern.info kernel: [ 1.875891] PCI host bridge /ahb/pcie-controller@18250000 ranges: Sun May 1 14:49:33 2022 kern.info kernel: [ 1.882264] MEM 0x0000000012000000..0x0000000013ffffff Sun May 1 14:49:33 2022 kern.info kernel: [ 1.887675] IO 0x0000000000000000..0x0000000000000000 Sun May 1 14:49:33 2022 kern.info kernel: [ 1.893246] PCI host bridge to bus 0000:00 Sun May 1 14:49:33 2022 kern.info kernel: [ 1.897519] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff] Sun May 1 14:49:33 2022 kern.info kernel: [ 1.904620] pci_bus 0000:00: root bus resource [io 0x0000] Sun May 1 14:49:33 2022 kern.info kernel: [ 1.910386] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] Sun May 1 14:49:33 2022 kern.info kernel: [ 1.917407] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] Sun May 1 14:49:33 2022 kern.info kernel: [ 1.925626] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000 Sun May 1 14:49:33 2022 kern.info kernel: [ 1.931881] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit] Sun May 1 14:49:33 2022 kern.info kernel: [ 1.938950] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] Sun May 1 14:49:33 2022 kern.info kernel: [ 1.945944] pci 0000:00:00.0: supports D1 Sun May 1 14:49:33 2022 kern.info kernel: [ 1.950098] pci 0000:00:00.0: PME# supported from D0 D1 D3hot Sun May 1 14:49:33 2022 kern.info kernel: [ 1.956916] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 Sun May 1 14:49:33 2022 kern.info kernel: [ 1.963776] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit] Sun May 1 14:49:33 2022 kern.info kernel: [ 1.971360] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref] Sun May 1 14:49:33 2022 kern.info kernel: [ 1.988105] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. Sun May 1 14:49:33 2022 kern.info kernel: [ 2.001891] Freeing unused kernel memory: 1188K Sun May 1 14:49:33 2022 kern.warn kernel: [ 2.006573] This architecture does not have kernel memory protection. Sun May 1 14:49:33 2022 kern.info kernel: [ 2.013260] Run /sbin/init as init process Sun May 1 14:49:33 2022 kern.debug kernel: [ 2.017492] with arguments: Sun May 1 14:49:33 2022 kern.debug kernel: [ 2.017497] /sbin/init Sun May 1 14:49:33 2022 kern.debug kernel: [ 2.017500] with environment: Sun May 1 14:49:33 2022 kern.debug kernel: [ 2.017504] HOME=/ Sun May 1 14:49:33 2022 kern.debug kernel: [ 2.017508] TERM=linux Sun May 1 14:49:33 2022 kern.notice kernel: [ 2.546831] random: fast init done Sun May 1 14:49:33 2022 user.info kernel: [ 2.649385] init: Console is alive Sun May 1 14:49:33 2022 user.info kernel: [ 2.653352] init: - watchdog - Sun May 1 14:49:33 2022 user.info kernel: [ 3.784765] kmodloader: loading kernel modules from /etc/modules-boot.d/* Sun May 1 14:49:33 2022 user.info kernel: [ 3.825158] kmodloader: done loading kernel modules from /etc/modules-boot.d/* Sun May 1 14:49:33 2022 user.info kernel: [ 3.843111] init: - preinit - Sun May 1 14:49:33 2022 kern.notice kernel: [ 5.575578] random: jshn: uninitialized urandom read (4 bytes read) Sun May 1 14:49:33 2022 kern.notice kernel: [ 5.633427] random: jshn: uninitialized urandom read (4 bytes read) Sun May 1 14:49:33 2022 kern.notice kernel: [ 5.724425] random: jshn: uninitialized urandom read (4 bytes read) Sun May 1 14:49:33 2022 kern.info kernel: [ 6.916987] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 1 is up Sun May 1 14:49:33 2022 kern.info kernel: [ 6.925342] eth0: link up (1000Mbps/Full duplex) Sun May 1 14:49:33 2022 kern.info kernel: [ 6.941843] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sun May 1 14:49:33 2022 kern.info kernel: [ 6.957359] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready Sun May 1 14:49:33 2022 kern.warn kernel: [ 6.990665] urandom_read: 2 callbacks suppressed Sun May 1 14:49:33 2022 kern.notice kernel: [ 6.990672] random: procd: uninitialized urandom read (4 bytes read) Sun May 1 14:49:33 2022 kern.notice kernel: [ 11.370695] jffs2: notice: (449) jffs2_build_xattr_subsystem: complete building xattr subsystem, 13 of xdatum (12 unchecked, 1 orphan) and 17 of xref (1 dead, 0 orphan) found. Sun May 1 14:49:33 2022 user.info kernel: [ 11.388943] mount_root: switching to jffs2 overlay Sun May 1 14:49:33 2022 kern.warn kernel: [ 11.401026] overlayfs: upper fs does not support tmpfile. Sun May 1 14:49:33 2022 user.warn kernel: [ 11.413158] urandom-seed: Seeding with /etc/urandom.seed Sun May 1 14:49:33 2022 kern.info kernel: [ 11.538026] eth0: link down Sun May 1 14:49:33 2022 user.info kernel: [ 11.560280] procd: - early - Sun May 1 14:49:33 2022 user.info kernel: [ 11.563584] procd: - watchdog - Sun May 1 14:49:33 2022 user.info kernel: [ 12.256736] procd: - watchdog - Sun May 1 14:49:33 2022 user.info kernel: [ 12.262441] procd: - ubus - Sun May 1 14:49:33 2022 kern.notice kernel: [ 12.351354] random: ubusd: uninitialized urandom read (4 bytes read) Sun May 1 14:49:33 2022 kern.notice kernel: [ 12.360480] random: ubusd: uninitialized urandom read (4 bytes read) Sun May 1 14:49:33 2022 kern.notice kernel: [ 12.368019] random: ubusd: uninitialized urandom read (4 bytes read) Sun May 1 14:49:33 2022 user.info kernel: [ 12.377804] procd: - init - Sun May 1 14:49:33 2022 user.info kernel: [ 13.653856] kmodloader: loading kernel modules from /etc/modules.d/* Sun May 1 14:49:33 2022 user.info kernel: [ 14.030709] urngd: v1.0.2 started. Sun May 1 14:49:33 2022 kern.info kernel: [ 14.160457] Loading modules backported from Linux version v5.15.33-0-g06f50ca83ace Sun May 1 14:49:33 2022 kern.info kernel: [ 14.168335] Backport generated by backports.git v5.15.33-1-0-g183c4ab2 Sun May 1 14:49:33 2022 kern.notice kernel: [ 14.213673] random: crng init done Sun May 1 14:49:33 2022 kern.notice kernel: [ 14.217265] random: 1 urandom warning(s) missed due to ratelimiting Sun May 1 14:49:33 2022 kern.info kernel: [ 14.791489] PPP generic driver version 2.4.2 Sun May 1 14:49:33 2022 kern.info kernel: [ 14.808491] NET: Registered protocol family 24 Sun May 1 14:49:33 2022 kern.info kernel: [ 14.872690] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c. Sun May 1 14:49:33 2022 kern.info kernel: [ 14.897943] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002) Sun May 1 14:49:33 2022 kern.info kernel: [ 14.904590] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0 Sun May 1 14:49:33 2022 kern.info kernel: [ 18.722023] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000 Sun May 1 14:49:33 2022 kern.info kernel: [ 18.731611] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0 Sun May 1 14:49:33 2022 kern.info kernel: [ 18.743560] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f Sun May 1 14:49:33 2022 kern.info kernel: [ 19.308793] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08 Sun May 1 14:49:33 2022 kern.warn kernel: [ 20.298772] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256 Sun May 1 14:49:33 2022 kern.info kernel: [ 20.316666] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410' Sun May 1 14:49:33 2022 kern.info kernel: [ 20.322948] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0' Sun May 1 14:49:33 2022 kern.info kernel: [ 20.331240] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672' Sun May 1 14:49:33 2022 kern.info kernel: [ 20.387975] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1 Sun May 1 14:49:33 2022 kern.info kernel: [ 20.403228] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000 Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.538299] ath: EEPROM regdomain: 0x0 Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.538311] ath: EEPROM indicates default country code should be used Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.538315] ath: doing EEPROM country->regdmn map search Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.538328] ath: country maps to regdmn code: 0x3a Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.538334] ath: Country alpha2 being used: US Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.538338] ath: Regpair used: 0x3a Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.633538] ath: EEPROM regdomain: 0x0 Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.633550] ath: EEPROM indicates default country code should be used Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.633554] ath: doing EEPROM country->regdmn map search Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.633568] ath: country maps to regdmn code: 0x3a Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.633574] ath: Country alpha2 being used: US Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.633578] ath: Regpair used: 0x3a Sun May 1 14:49:33 2022 kern.debug kernel: [ 20.644536] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' Sun May 1 14:49:33 2022 kern.info kernel: [ 20.646452] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2 Sun May 1 14:49:33 2022 user.info kernel: [ 20.687221] kmodloader: done loading kernel modules from /etc/modules.d/* Sun May 1 14:49:35 2022 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses! Sun May 1 14:49:35 2022 user.notice dnsmasq: Allowing 127.0.0.0/8 responses Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: started, version 2.86 cachesize 150 Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: DNS service limited to local subnets Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: UBus support enabled: connected to system bus Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: using only locally-known addresses for test Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: using only locally-known addresses for onion Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: using only locally-known addresses for localhost Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: using only locally-known addresses for local Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: using only locally-known addresses for invalid Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: using only locally-known addresses for bind Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: using only locally-known addresses for lan Sun May 1 14:49:36 2022 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses Sun May 1 14:49:36 2022 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses Sun May 1 14:49:36 2022 authpriv.info dropbear[1305]: Not backgrounding Sun May 1 14:49:40 2022 daemon.notice wpa_supplicant[1435]: Successfully initialized wpa_supplicant Sun May 1 14:49:41 2022 user.notice : Added device handler type: bonding Sun May 1 14:49:41 2022 user.notice : Added device handler type: 8021ad Sun May 1 14:49:41 2022 user.notice : Added device handler type: 8021q Sun May 1 14:49:41 2022 user.notice : Added device handler type: macvlan Sun May 1 14:49:41 2022 user.notice : Added device handler type: veth Sun May 1 14:49:41 2022 user.notice : Added device handler type: bridge Sun May 1 14:49:41 2022 user.notice : Added device handler type: Network device Sun May 1 14:49:41 2022 user.notice : Added device handler type: tunnel Sun May 1 14:49:43 2022 daemon.notice procd: /etc/rc.d/S50uhttpd: 4+0 records in Sun May 1 14:49:43 2022 daemon.notice procd: /etc/rc.d/S50uhttpd: 4+0 records out Sun May 1 14:49:44 2022 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/network Sun May 1 14:49:44 2022 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/wireless Sun May 1 14:49:44 2022 user.notice ucitrack: Setting up /etc/config/luci-splash reload dependency on /etc/config/firewall Sun May 1 14:49:44 2022 user.notice ucitrack: Setting up /etc/config/qos reload dependency on /etc/config/firewall Sun May 1 14:49:44 2022 user.notice ucitrack: Setting up /etc/config/miniupnpd reload dependency on /etc/config/firewall Sun May 1 14:49:45 2022 user.notice ucitrack: Setting up /etc/config/odhcpd reload dependency on /etc/config/dhcp Sun May 1 14:49:45 2022 user.notice ucitrack: Setting up non-init /etc/config/fstab reload handler: /sbin/block mount Sun May 1 14:49:46 2022 user.notice ucitrack: Setting up /etc/config/system reload trigger for non-procd /etc/init.d/led Sun May 1 14:49:46 2022 user.notice ucitrack: Setting up /etc/config/luci_statistics reload dependency on /etc/config/system Sun May 1 14:49:46 2022 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/system Sun May 1 14:49:47 2022 daemon.notice procd: /etc/rc.d/S95done: chmod: /etc/init.d/plc_basic: No such file or directory Sun May 1 14:49:47 2022 daemon.notice procd: /etc/rc.d/S95done: /etc/rc.local: line 8: /etc/init.d/plc_basic: not found Sun May 1 14:49:47 2022 daemon.notice procd: /etc/rc.d/S95done: /etc/rc.local: line 9: /etc/init.d/plc_basic: not found Sun May 1 14:49:47 2022 daemon.notice procd: /etc/rc.d/S96led: setting up led LAN Sun May 1 14:49:47 2022 daemon.notice procd: /etc/rc.d/S96led: setting up led WLAN5G Sun May 1 14:49:47 2022 daemon.notice procd: /etc/rc.d/S96led: setting up led WLAN2G Sun May 1 14:49:48 2022 daemon.warn netifd: You have delegated IPv6-prefixes but haven't assigned them to any interface. Did you forget to set option ip6assign on your lan-interfaces? Sun May 1 14:49:48 2022 kern.info kernel: [ 38.367099] eth0: link up (1000Mbps/Full duplex) Sun May 1 14:49:48 2022 kern.info kernel: [ 38.390098] br-lan: port 1(eth0.1) entered blocking state Sun May 1 14:49:48 2022 kern.info kernel: [ 38.395690] br-lan: port 1(eth0.1) entered disabled state Sun May 1 14:49:48 2022 kern.info kernel: [ 38.401594] device eth0.1 entered promiscuous mode Sun May 1 14:49:48 2022 kern.info kernel: [ 38.406546] device eth0 entered promiscuous mode Sun May 1 14:49:48 2022 kern.info kernel: [ 38.415060] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sun May 1 14:49:48 2022 kern.info kernel: [ 38.447103] br-lan: port 1(eth0.1) entered blocking state Sun May 1 14:49:48 2022 kern.info kernel: [ 38.452695] br-lan: port 1(eth0.1) entered forwarding state Sun May 1 14:49:48 2022 daemon.notice netifd: Interface 'lan' is enabled Sun May 1 14:49:48 2022 daemon.notice netifd: bridge 'br-lan' link is up Sun May 1 14:49:48 2022 daemon.notice netifd: Interface 'lan' has link connectivity Sun May 1 14:49:48 2022 daemon.notice netifd: Interface 'lan' is setting up now Sun May 1 14:49:48 2022 daemon.notice netifd: VLAN 'eth0.1' link is up Sun May 1 14:49:48 2022 daemon.notice netifd: Interface 'lan4' is enabled Sun May 1 14:49:48 2022 daemon.notice netifd: Interface 'loopback' is enabled Sun May 1 14:49:48 2022 daemon.notice netifd: Interface 'loopback' is setting up now Sun May 1 14:49:48 2022 daemon.notice netifd: Interface 'loopback' is now up Sun May 1 14:49:48 2022 daemon.notice netifd: Network device 'eth0' link is up Sun May 1 14:49:48 2022 daemon.notice netifd: VLAN 'eth0.2' link is up Sun May 1 14:49:48 2022 daemon.notice netifd: Interface 'lan4' has link connectivity Sun May 1 14:49:48 2022 daemon.notice netifd: Interface 'lan4' is setting up now Sun May 1 14:49:48 2022 daemon.notice netifd: Interface 'lan4' is now up Sun May 1 14:49:48 2022 daemon.notice netifd: Network device 'lo' link is up Sun May 1 14:49:48 2022 daemon.notice netifd: Interface 'loopback' has link connectivity Sun May 1 14:49:49 2022 daemon.notice netifd: lan (2070): udhcpc: started, v1.35.0 Sun May 1 14:49:49 2022 kern.info kernel: [ 39.386881] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready Sun May 1 14:49:51 2022 daemon.notice netifd: lan (2070): udhcpc: broadcasting discover Sun May 1 14:49:51 2022 daemon.notice netifd: lan (2070): udhcpc: broadcasting select for 192.168.3.3, server 192.168.3.1 Sun May 1 14:49:51 2022 daemon.notice netifd: lan (2070): udhcpc: lease of 192.168.3.3 obtained from 192.168.3.1, lease time 7200 Sun May 1 14:49:51 2022 daemon.info procd: - init complete - Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.808780] ath: EEPROM regdomain: 0x8114 Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.812933] ath: EEPROM indicates we should expect a country code Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.819278] ath: doing EEPROM country->regdmn map search Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.824758] ath: country maps to regdmn code: 0x37 Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.829716] ath: Country alpha2 being used: DE Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.834299] ath: Regpair used: 0x37 Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.837904] ath: regdomain 0x8114 dynamically updated by user Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.843913] ath: EEPROM regdomain: 0x8114 Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.848071] ath: EEPROM indicates we should expect a country code Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.854360] ath: doing EEPROM country->regdmn map search Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.859846] ath: country maps to regdmn code: 0x37 Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.864790] ath: Country alpha2 being used: DE Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.869378] ath: Regpair used: 0x37 Sun May 1 14:49:52 2022 kern.debug kernel: [ 41.872980] ath: regdomain 0x8114 dynamically updated by user Sun May 1 14:49:52 2022 daemon.notice netifd: Interface 'lan' is now up Sun May 1 14:49:52 2022 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto Sun May 1 14:49:52 2022 daemon.info dnsmasq[1]: using nameserver 192.168.3.1#53 Sun May 1 14:49:52 2022 daemon.info dnsmasq[1]: using only locally-known addresses for test Sun May 1 14:49:52 2022 daemon.info dnsmasq[1]: using only locally-known addresses for onion Sun May 1 14:49:52 2022 daemon.info dnsmasq[1]: using only locally-known addresses for localhost Sun May 1 14:49:52 2022 daemon.info dnsmasq[1]: using only locally-known addresses for local Sun May 1 14:49:52 2022 daemon.info dnsmasq[1]: using only locally-known addresses for invalid Sun May 1 14:49:52 2022 daemon.info dnsmasq[1]: using only locally-known addresses for bind Sun May 1 14:49:52 2022 daemon.info dnsmasq[1]: using only locally-known addresses for lan Sun May 1 14:49:53 2022 user.notice firewall: Reloading firewall due to ifup of lan (br-lan) Sun May 1 15:09:27 2022 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy wlan1) --> new PHY Sun May 1 15:09:27 2022 kern.info kernel: [ 45.080919] br-lan: port 2(wlan1) entered blocking state Sun May 1 15:09:27 2022 kern.info kernel: [ 45.086417] br-lan: port 2(wlan1) entered disabled state Sun May 1 15:09:27 2022 kern.info kernel: [ 45.092262] device wlan1 entered promiscuous mode Sun May 1 15:09:27 2022 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE Sun May 1 15:09:28 2022 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->HT_SCAN Sun May 1 15:09:28 2022 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) --> new PHY Sun May 1 15:09:29 2022 daemon.notice netifd: Wireless device 'radio1' is now up Sun May 1 15:09:29 2022 kern.warn kernel: [ 46.979502] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256 Sun May 1 15:09:29 2022 kern.info kernel: [ 46.997451] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410' Sun May 1 15:09:29 2022 kern.info kernel: [ 47.003726] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0' Sun May 1 15:09:29 2022 kern.info kernel: [ 47.012032] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672' Sun May 1 15:09:29 2022 kern.warn kernel: [ 47.084407] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware Sun May 1 15:09:29 2022 kern.info kernel: [ 47.100094] ath10k_pci 0000:00:00.0: rts threshold -1 Sun May 1 15:09:29 2022 kern.info kernel: [ 47.115884] br-lan: port 3(wlan0) entered blocking state Sun May 1 15:09:29 2022 kern.info kernel: [ 47.121437] br-lan: port 3(wlan0) entered disabled state Sun May 1 15:09:29 2022 kern.info kernel: [ 47.127219] device wlan0 entered promiscuous mode Sun May 1 15:09:29 2022 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE Sun May 1 15:09:29 2022 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN Sun May 1 15:09:30 2022 daemon.notice hostapd: 20/40 MHz operation not permitted on channel pri=13 sec=9 based on overlapping BSSes Sun May 1 15:09:30 2022 daemon.notice hostapd: Fallback to 20 MHz Sun May 1 15:09:30 2022 daemon.notice netifd: lan (2070): udhcpc: sending renew to server 192.168.3.1 Sun May 1 15:09:30 2022 daemon.notice netifd: lan (2070): udhcpc: lease of 192.168.3.3 obtained from 192.168.3.1, lease time 7200 Sun May 1 15:09:30 2022 kern.info kernel: [ 47.886503] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready Sun May 1 15:09:30 2022 kern.info kernel: [ 47.893303] br-lan: port 2(wlan1) entered blocking state Sun May 1 15:09:30 2022 kern.info kernel: [ 47.898845] br-lan: port 2(wlan1) entered forwarding state Sun May 1 15:09:30 2022 daemon.notice netifd: Network device 'wlan1' link is up Sun May 1 15:09:31 2022 daemon.notice hostapd: wlan1: interface state HT_SCAN->ENABLED Sun May 1 15:09:31 2022 daemon.notice hostapd: wlan1: AP-ENABLED Sun May 1 15:09:31 2022 daemon.notice netifd: Wireless device 'radio0' is now up Sun May 1 15:09:31 2022 daemon.notice netifd: lan (2070): udhcpc: sending renew to server 192.168.3.1 Sun May 1 15:09:31 2022 daemon.notice netifd: lan (2070): udhcpc: lease of 192.168.3.3 obtained from 192.168.3.1, lease time 7200 Sun May 1 15:09:32 2022 daemon.notice hostapd: wlan0: interface state HT_SCAN->DFS Sun May 1 15:09:32 2022 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5540 chan=108 sec_chan=1, width=1, seg0=106, seg1=0, cac_time=60s Sun May 1 15:10:32 2022 user.info : luci: accepted login on / for root from 192.168.3.22 Sun May 1 15:10:33 2022 daemon.notice hostapd: wlan0: DFS-CAC-COMPLETED success=1 freq=5540 ht_enabled=0 chan_offset=0 chan_width=3 cf1=5530 cf2=0 Sun May 1 15:10:33 2022 kern.info kernel: [ 110.592906] ath10k_pci 0000:00:00.0: mac flush null vif, drop 0 queues 0xffff Sun May 1 15:10:33 2022 kern.info kernel: [ 110.726344] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Sun May 1 15:10:33 2022 kern.info kernel: [ 110.733230] br-lan: port 3(wlan0) entered blocking state Sun May 1 15:10:33 2022 kern.info kernel: [ 110.738786] br-lan: port 3(wlan0) entered forwarding state Sun May 1 15:10:33 2022 daemon.notice netifd: Network device 'wlan0' link is up Sun May 1 15:10:33 2022 daemon.notice hostapd: wlan0: interface state DFS->ENABLED Sun May 1 15:10:33 2022 daemon.notice hostapd: wlan0: AP-ENABLED


This paragraph will be moved to the installation how-to, once the device got supported


The complete installation needs additional steps after flashing OpenWRT, due to the PLC (Powerline) components.

  • Install required plc packages:
opkg update
opkg install open-plc-utils-hpavkey
opkg install open-plc-utils-modpib
opkg install open-plc-utils-plchostd
opkg install open-plc-utils-plctool


  • Gather the plc firmware:

Note that due to legal reasons, it is not allowed to include or enlist the plc firmware files freely,
thus you need to find it yourself. You can start here by extracting MAC-7500-v2.8.0-01-NW6__-X-CS.nvm
from the deb package:
https://update.devolo.com/linux2/apt/pool/main/d/devolo-firmware-qca7500/
After a lot of testing, I found the above particular firmware the most stable (until inclusive v 2.11.0).
Another possibility is to gather the original (and old) nvm firmware from the PL-AC56 source files from Asus.
You have then to copy the nvm firmware to let's say root directory onto the router.

  • Create and run plc controlling scripts:

ssh into the same directory, where you put the nvm file, let's say /root again
and copy-paste the following script and simply press Enter to run it:

cat > /etc/init.d/plc_basic <<'EOF'
#!/bin/sh /etc/rc.common
 
START=96
STOP=10
 
. /lib/functions/system.sh
 
p="plc_basic:"
fwpath="/lib/plc"
 
# create config file on first start
if [ ! -f /etc/config/plc -o "$(uci show plc 2>/dev/null)" = "" ]; then
touch /etc/config/plc
uci set plc.config=config
uci commit plc
fi
 
echo -n "$p plcenable "
plcenable=$(uci get plc.config.Enabled 2>/dev/null)
if [ -z "${plcenable}" ]; then
plcenable=0
echo -n "$p setting to "
uci set plc.config.Enabled=${plcenable}
fi
echo $plcenable
 
countrycode=$(uci get plc.config.Countrycode 2>/dev/null)
if [ -z "${countrycode}" ]; then
countrycode="EU"
uci set plc.config.Countrycode=${countrycode}
fi
 
echo -n "$p plcnetwork "
plcnetwork=$(uci get plc.config.Network 2>/dev/null)
if [ -z "${plcnetwork}" ]; then
plcnetwork="lan"
echo -n "$p setting to "
uci set plc.config.Network=${plcnetwork}
fi
echo $plcnetwork
 
plcbridge=br-${plcnetwork}
echo "$p plcbridge $plcbridge"
 
board=$(board_name)
echo "$p board name $board"
case $board in
asus,pl-ac56)
region=$countrycode
pibregion="CEB"
 
# check if we have a pib in plc partition
ident="$(dd if=/dev/mtd7 skip=528 count=11 iflag=skip_bytes,count_bytes \
2>/dev/null)"
expect="PIB-QCA7500"
if [[ $ident != $expect ]]; then
echo "$p Fatal: PIB file is not in PLC partition, or differs:"
echo "$p instead of \"$expect\" this is found there: \"$ident\""
echo "$p You have to restore the partitions either manually,"
echo "$p or reflashing the latest Asus FW, pair the PLC devices,"
echo "$p then flash OpenWRT again."
exit 1
fi
 
pibpath="$fwpath/QCA7500-WallAdapter_EN50561-1.pib"
nvmpath="$fwpath/plc_firmware.nvm"
# get pib from plc partition
dd if=/dev/mtd7 of=$fwpath/QCA7500-WallAdapter_EN50561-1.pib \
bs=22344 skip=16 count=22344 iflag=skip_bytes,count_bytes 2>/dev/null
 
# default vlan2 device = lan4
plcinterface=$(uci get network.lan4.device)
echo "$p plcinterface $plcinterface"
[ -z "$plcinterface" ] && exit 1
;;
*)
# no known bootable PLC adapters in board
exit 1
;;
esac
 
mtd_get_key() {
local mtdname="$1"
local key="$2"
local part
local value_dirty
 
part=$(find_mtd_part "$mtdname")
if [ -z "$part" ]; then
echo "$p mtd_get_key: partition $mtdname not found!" >&2
return
fi
value_dirty=$(strings "$part" | sed -n 's/^'"$key"'=//p')
echo "$p $value_dirty"
}
 
start() {
# set the mac
echo -n "$p plcmac "
mac=$(uci get plc.config.Mac 2>/dev/null)
if [ -z "$mac" ]; then
mac=$(mtd_get_mac_binary art 0xd18e)
echo -n "$p setting from art "
uci set plc.config.Mac=${mac}
fi
echo $mac
if [ ! -z "$mac" ]; then
modpib -M $mac $pibpath
fi
 
# set the nmk
echo -n "$p plcnmk "
if [ -z "$(uci get plc.config.Nmk 2>/dev/null)" ]; then
nmk=$(hexdump -v -n 16 -s 0xd194 \
-e '15/1 "%02x:" 1/1 "%02x"' $(find_mtd_part "art"))
echo -n "$p setting from art "
uci set plc.config.Nmk=${nmk}
fi
 
uci set plc.config.NmkSelected=true
networkpwd=$(uci get plc.config.NetworkPasswd 2>/dev/null)
nmkselected=$(uci get plc.config.NmkSelected 2>/dev/null)
if [ 'true' = "${nmkselected}" ]; then
nmk=$(uci get plc.config.Nmk 2>/dev/null)
elif [ ! -z ${networkpwd} ]; then
nmk=$(hpavkey -M ${networkpwd})
else
nmk=''
uci set plc.config.Nmk=${nmk}
uci set plc.config.NmkSelected=false
uci set plc.config.NetworkPasswd=HomePlugAV
fi
echo $nmk
if [ ! -z "$nmk" ]; then
modpib -N $nmk $pibpath
fi
 
# set the dak
dek=$(uci get plc.config.Dek 2>/dev/null)
if [ -z "${dek}" ]; then
dak=$(uci get plc.config.Dak 2>/dev/null)
if [ -z "${dak}" ]; then
dek=HomePlugAV
if [ ! -z "${dek}" ]; then
dak=$(hpavkey -D ${dek})
uci set plc.config.Dek=$dek
uci set plc.config.Dak=$dak
else
uci set plc.config.Dek=''
fi
else
uci set plc.config.Dak=''
fi
else
dak=$(hpavkey -D ${dek})
uci get plc.config.Dak=$dak
fi
if [ ! -z "$dak" ]; then
modpib -D ${dak} $pibpath
fi
 
# set USR (not MFG for now)
USR=$(uci get plc.config.AdapterName 2>/dev/null)
if [ -z "${USR}" ]; then
USR=$(uci get system.@system[0].hostname)
uci set plc.config.AdapterName=$USR
fi
modpib -U "${USR}" ${pibpath} # for now not using  -S ${MFG}
 
# plc_enable gpio is active low
echo 0 > /sys/class/gpio/gpio14/value
plcenable=1
uci set plc.config.Enabled=$plcenable
echo "$p plcenable 1"
 
# commit any (possible initial) changes to the config
if [ ! -z "$(uci changes plc)" ]; then
uci commit plc
fi
 
# no rush
sleep 1
 
# boot up plchost
if [ "${plcenable}" -eq 1 ]; then
# plchost junks user.nvm and user.pib files..
cd $fwpath
echo "$p start plchostd"
plchostd -q -i $plcinterface -N $nvmpath -P $pibpath -n user.nvm -p user.pib -d
( i=0; while [ $i -le 20 ]; do
sleep 3
if [[ "$(plctool -i $plcinterface -m)" =~ "station->MAC" ]]; then
# no rush
sleep 1
echo "$p Adding ${plcinterface} to ${plcbridge}"
brctl addif ${plcbridge} ${plcinterface}
exit 0
fi
i=$((i+1))
done
echo "$p Timeout waiting for plchost..."
echo "$p not configuring $plcbridge"
exit 1
) &
fi
}
 
stop() {
# remove adapter from it's network bridge
echo "$p Removing ${plcinterface} from ${plcbridge}"
brctl delif ${plcbridge} ${plcinterface}
killall -9 plchostd
 
# no rush
sleep 1
 
# resets the adapter (resp all adapters!) into bootloader mode
#plctool -i $plcinterface -R
plctool -i $plcinterface -R $(uci get plc.config.Mac)
 
# plc_enable gpio is active low
echo 1 > /sys/class/gpio/gpio14/value
plcenable=0
uci set plc.config.Enabled=$plcenable
echo "$p plcenable 0"
 
# commit any (possible initial) changes to the config
if [ ! -z "$(uci changes plc)" ]; then
uci commit plc
fi
}
 
EOF
chmod +x /etc/init.d/plc_basic
mkdir /lib/plc
mv ./MAC*.nvm /lib/plc
ln -s /lib/plc/MAC*.nvm /lib/plc/plc_firmware.nvm
/etc/init.d/plc_basic enable
sleep 3
/etc/init.d/plc_basic start
cat > /etc/rc.button/BTN_0 <<'EOF'
#!/bin/sh
 
echo "${BUTTON} ${ACTION}" > /dev/console
 
echo "Stopping Powerline via plc_basic" > /dev/console
/etc/init.d/plc_basic stop
 
/etc/rc.button/reset
 
EOF
chmod +x /etc/rc.button/BTN_0

After this, you should see an output like this:

plc_basic: plcenable 0
plc_basic: plcnetwork lan
plc_basic: plcbridge br-lan
plc_basic: board name asus,pl-ac56
plc_basic: plcinterface eth0.2
root@PL-AC56:~# sleep 3
root@PL-AC56:~# /etc/init.d/plc_basic start
plc_basic: plcenable 0
plc_basic: plcnetwork lan
plc_basic: plcbridge br-lan
plc_basic: board name asus,pl-ac56
plc_basic: plcinterface eth0.2
plc_basic: plcmac xx:xx:xx:xx:xx:xx
plc_basic: plcnmk xx:xx...
plc_basic: plcenable 1
plc_basic: start plchostd
.
.
.
root@PL-AC56:~# eth0.2 00:B0:52:00:00:01 Write /lib/plc/plc_firmware.nvm (1) (00000040:32096)
eth0.2 00:B0:52:00:00:01 Start /lib/plc/plc_firmware.nvm (1) (000000C0)
eth0.2 00:B0:52:00:00:01 Write /lib/plc/QCA7500-WallAdapter_EN50561-1.pib (1) (00400000:22344)
eth0.2 00:B0:52:00:00:01 Write /lib/plc/plc_firmware.nvm (4) (0057BD30:506172)
eth0.2 00:B0:52:00:00:01 Start /lib/plc/plc_firmware.nvm (4) (0057C120)
eth0.2 18:31:BF:68:0E:13 MAC-QCA7500-2.8.0.30-01-20190705-CS is running
eth0.2 00:B0:52:00:00:01 Fetch Network Information
eth0.2 18:31:BF:68:0E:13 Found 1 Network(s)

plc_basic: Adding eth0.2 to br-lan

At this point you should have a fully functional device.
At full plc-enabled operation, the PLC Home LED and the Main LED will both light.
This is also how the OEM firmware is originally behaving.
Note that you can also start/stop the plc service later manually if needed:

service plc_basic <start/stop>


  • (Optional but recommended) Update the slave Asus device (PL-E56P) firmware:

Notes about flashing:
The main device PL-AC56 has no firmware (nvm) storage, only a
calibration file (pib), which will be copied from the dedicated plc partition.
The slave device PL-E56P has its own nvm and pib files stored
and the nvm can/should be flashed to the same version, as the parent
device, e.g. with the same file from above.
Briefly it is done first by looking up the Mac Address of the slave
device on the parent device, by looking at the station's Mac address:

plctool -i br-lan -m

If the br-lan is not including the vlan (it should), use eth0.2 instead.
Then backup the pib of the slave device:

plctool -i br-lan -p /tmp/backup.pib station_mac_address

Then flash the new firmware (nvm), together with the backed up pib:

plctool -i br-lan -N nvm_file -P /tmp/backup.pib station_mac_address

Maybe it needs a reboot too, after finished flashing:

plctool -i br-lan -R station_mac_address

Maybe it is needed to pair the devices again after this.

  • (Optional but recommended) Install zram-swap:

The 64MB RAM will go low pretty quickly, so it is a good idea to at least
use something like zram-swap, which pops up a swap area.

opkg update
opkg install zram-swap
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2022/05/13 13:24
  • by therealsummoner