Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
inbox:toh:tp-link:x80-5g_v1 [2024/04/11 19:41] – [TP-Link X80-5G V1] professor_jonnyinbox:toh:tp-link:x80-5g_v1 [2024/08/13 00:34] – [Installing OpenWrt factory.ubi part 2 of 2] professor_jonny
Line 2: Line 2:
 ~~NOTOC~~ ~~NOTOC~~
  
-/* This template is intended to be used via https://openwrt.org/meta/create_new_device_page */+{{ media:tplink:x80-5g:x80-5g_media_sample.jpg?400|X80-5G}}
  
-{{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} 
  
-//The TP-Link Deco X80-5G is a dual port router with a built in 5g modem and a phone port.+/* This template is intended to be used via https://openwrt.org/meta/create_new_device_page . */
  
-Dual-Band Wi-Fi 6.+The TP-Link Deco X80-5G is a dual port router with a built in 5g modem and a phone port.
  
-Dual Eithernet ports 1× 2.5 Gbps port and 1× Gigabit +  * Dual-Band Wi-Fi 6. 
- +  * Dual Eithernet ports 1× 2.5 Gbps port and 1× Gigabit 
-VoLTE/VoIP POTS telephony Support. +  VoLTE/VoIP POTS telephony Support. 
- +  Based on the Qualcomm IPQ8074A SoC, AP-HK01-C1 reference design. 
-Based on the Qualcomm IPQ8074A SoC, AP-HK01-C1 reference design. +  5G mm wave Modem based on the Snapdragon X55 5G Modem-RF System with theoretical 10 Gbps Peak download and 3.5 Gbps peak upload speeds
- +  * Dual firmware with U-boot HTTP based recovery.
-5G mm wave Modem based on the Snapdragon X80 5G Modem-RF System with 10 Gbps Peak download and 3.5 Gbps peak upload speeds.+
  
  
Line 26: Line 24:
  
 https://www.qualcomm.com/products/technology/modems/snapdragon-x80-5g-modem-rf-system https://www.qualcomm.com/products/technology/modems/snapdragon-x80-5g-modem-rf-system
 +
 +GPL source:
 +
 +https://static.tp-link.com/upload/gpl-code/2024/202404/20240423/X80-5G.tar
 +
 +https://www.tp-link.com/en/support/download/deco-x80-5g/#GPL-Code
  
 /*****/ /*****/
Line 31: Line 35:
 /*****/ /*****/
  
-{{ media:tplink:x80-5g:x80-5g_media_sample.jpg?200|X80-5G}}+
  
  
Line 44: Line 48:
  
   * OpenWrt forum thread: (https://forum.openwrt.org/t/ipq8074a-tp-link-deco-x80-5g-info-thread/176308)   * OpenWrt forum thread: (https://forum.openwrt.org/t/ipq8074a-tp-link-deco-x80-5g-info-thread/176308)
 +  * WIP Private Git hub branch: (https://github.com/professor-jonny/pj_openwrt/tree/x80-5g)
 +
 +
 +
  
-/*** 
 ===== Experimental firmware ===== ===== Experimental firmware =====
  
-//List experimental firmware download links here.// 
  
-//None at this time.//+  * Initramfs Test Image: (https://github.com/professor-jonny/images/blob/main/openwrt-qualcommax-ipq807x-tplink_x80-5g-initramfs-uImage.itb) 
 +  * factory   Test Image: (https://github.com/professor-jonny/images/blob/main/openwrt-qualcommax-ipq807x-tplink_x80-5g-squashfs-factory.ubi) 
  
-  * External image (add link) 
-  * trunk image (add link) 
-  * ... 
-***/ 
  
  
 ===== Hardware highlights ===== ===== Hardware highlights =====
-^ CPU                                 ^ Ram       ^ Flash     ^ Network                ^ WLAN 2.5G   ^ WLAN 5G                ^ Mobile ^ VoLTE/IP Telephony   ^ Serial ^ +^ CPU                                 ^ Ram (DDR3)       ^ Flash (Nand)     ^ Network                ^ WLAN 2.5G   ^ WLAN 5G                ^ Mobile ^ VoLTE/IP Telephony   ^ Serial ^ 
-| IPQ8074A @2.2ghz  |  1024 MB  |  256 MB  |  2 |  b/g/n/ax a/n/ac/ax   5G/ 4gLTE    | RJ11 POTS |   Yes|+| IPQ8074A @2.2ghz  |  512MB (4Gbit)  |  128MB (1Gbit)|  2 |  B/G/N/AX A/N/AC/AX   5G/ 4.5gLTE    | RJ11 POTS |   Yes| 
  
  
-/*** if info available: uncomment and fill in 
 ===== Installation ===== ===== Installation =====
   - → [[:downloads|Obtain firmware]]   - → [[:downloads|Obtain firmware]]
Line 69: Line 73:
   - → [[:downloads|Latest OpenWrt release]]   - → [[:downloads|Latest OpenWrt release]]
  
-==== Installing OpenWrt ==== +==== Installing initramfs image part 1 of 2==== 
-***/+ 
 + 
 +  - Download and copy the initramfs image to your PC's TFTP server folder. 
 +  - connect up your serial port and set up a connection with a terminal program such as SmarTTY 
 +  - Plug the router into your computer using an ethernet cable 
 +  - set your pc's IP address to the below settings: 
 +  - static 192.168.1.2. 
 +  - power the router and quickly type the magic string "tpl" and press enter to break into u-boot 
 +  - in the shell set the environment variables to enable tftpbooting 
 +  - setenv ipaddr 192.168.1.1 
 +  - setenv serverip 192.168.1.2 
 +  - In the shell run the below command to initiate the image transfer: 
 +  - this will load your image to memory as location 044000000 in ram 
 +  - tftpboot 0x44000000 192.168.1.2:openwrt-qualcommax-ipq807x-tplink_x80-5g-initramfs-uImage.itb 
 +  - your image will now upload to your ram ready to boot. 
 +  - run (bootm) and your image will now load. 
 + 
 +==== Installing OpenWrt factory.ubi part 2 of 2 ====
  
 +  - Download a copy of the factory.ubi to your pc
 +  - set up a ssh/scp session to your router with a program such as SmarTTY.
 +  - upload the factory.ubi to /tmp on your router
 +  - in the console run the below command:
 +  - ubiformat /dev/mtd12 -y -f /tmp/openwrt-qualcommax-ipq807x-tplink_x80-5g-squashfs-factory.ubi
 +  - wait for it to complete and reboot your router.
  
  
Line 150: Line 177:
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
-^ Architecture    | ARMv8-A (aarch64 Cortex A53, 4 cores)  +^ Architecture                  | ARMv8-A (aarch64 Cortex A53, 4 cores)                      
-^ Vendor          | Qualcomm                               +^ Vendor                        | Qualcomm                                                   
-^ Bootloader      | U-Boot                                 +^ Bootloader                    | U-Boot (2016)                                              
-^ System-On-Chip  | Qualcomm IPQ8074A                      +^ System-On-Chip                | Qualcomm IPQ8074A (Networking Pro 1210 platform)           
-^ CPU/Speed       | 2.2GHZ                                 +^ CPU/Speed                     | 2.2GHZ                                                     
-^ Flash-Chip      GigaDevice PSR1GA30DT                  +^ Flash-Chip                    ESMT F59D1G81MB-45TI 1G-bit NAND                           
-^ Flash MB        256                                    +^ Flash MB                      128MB (1Gbit)                                              | 
-^ RAM MB          1024                                   +^ RAM-chip                      | 2* ESMT M15T4G16256A-DEBG2G 2Gb DDR3L (32bit)              
-^ WLAN 2.4G       b/g/n/ax                               +^ RAM MB                        512MB (4Gbit)                                              | 
-WlAN 5G         a/n/ac/ax                              +^ WLan System-On-Chip (5g)      | Qualcomm QCN5054                                           | 
-^ Ethernet 1Gbit ports       | 1                           +^ WLan Front end modules (5g)   | 8* Qorvo QPF4588                                           
-Ethernet 2.5Gbit ports       | 1                         +^ WLAN (5G)                     A/N/AC/AX                                                  
-^ Switch          | Embedded in the SOC                    +WLAN Antenna (int)            | 8* (4 shared with 2.5G)                                    | 
-^ Serial          | 1.8v 8n1                               +^ WLan System-On-Chip (2.4G)    | Qualcomm QCN5024                                           | 
-^ LTE modem       Qualcom 5G RG50xQ                      +^ WLan Front end modules (2.4G) | 4* Skyworks SKY85340-11                                    | 
-^ SIM type       | Nano SIM                                +^ WLAN (2.4G)                   | B/G/N/AX                                                   | 
-^ Telephony       | POTS RJ11                              |+^ WLAN Antenna (int)            | 4* (shared with 5g)                                        | 
 +^ Eithernet-phy (1Gbit)         | Qualcomm (Atheros) AR8033-AL1A                             
 +^ Ethernet (1Gbit)              | 1*                                                         
 +Eithernet-phy (2.5Gbit      | Qualcomm QCA8081                                           | 
 +^ Ethernet (2.5Gbit)            | 1*                                                         
 +^ Switch                        | Embedded in the SOC?                                       
 +^ Serial                        | 1.8v 8n1 (testpoints)                                      
 +Modem System-On-Chip          | Qualcomm 5G RG50xQ (Snapdragon X55 platform)               | 
 +^ 5G modem capability           | 5000Mbps down 900Mbps up                                   | 
 +^ 5G modem bands                | N1/N3/N5/N7/N8/N20/N28/N38/N40/N41/N77/N78/N79             | 
 +^ 4G modem capability           | 4.5G LTE-Advanced Pro (Cat20 down 2Gbps) (Cat18 up 200Mbps) 
 +^ 4G modem FDD bands            B1/B3/B5/B7/B8/B18/B19/B20/B26/B28                         | 
 +^ 4G modem TDD bands            | B34/B38/B39/B40/B41/B42/B43                                | 
 +^ Modem antenna (int)           | 8* (5G/4G use)                                             | 
 +^ Modem antenna (ext)           | 2* SMA connectors (5G/4G use)                              
 +^ SIM type                      1* Nano SIM                                                
 +^ Telephony                     1* POTS RJ11                                               |
 ==== Flash Layout ==== ==== Flash Layout ====
 <code> <code>
Line 198: Line 241:
 /* Thanks, your wiki administration - Oct. 2015 */ /* Thanks, your wiki administration - Oct. 2015 */
  
-**Insert photo of front of the casing**+**Back ports**
  
-**Insert photo of back of the casing**+{{:media:tplink:x80-5g:x80-5g_ports.jpg?direct&400|}}
  
-**Insert photo of backside label**+**Bottom and label**
  
-**Insert photo of PCB**+{{:media:tplink:x80-5g:x80-5g_bottom.jpg?direct&400|}} 
 + 
 +**PCB'**
  
 {{:media:tplink:x80-5g:x80-5g_pcb1.jpeg?direct&400|}} {{:media:tplink:x80-5g:x80-5g_pcb1.jpeg?direct&400|}}
Line 214: Line 259:
 ==== Opening the case ==== ==== Opening the case ====
  
-<WRAP BOX> 
-It has a top cover you pry off to see the fan which exposes four screws two for each clam shell o part of the case. 
-Underneath it has four rubber feet with screws beneath I just forced my screw-driver through the rubber pad to save removing them. 
-with all 8 screws removed you may split off both sides of the shell. 
-On the side of the shell with the RGB info LED it has a small PCB with a harness with a push in connector that needs removing on the bottom of the device before separating. 
-At this point you have enough to expose the serial UART and I really would not recommend you proceed any further. 
  
-To completely disassemble the device, one must unsolder at least one of the two antennas labeled 1 and 2 and slide the PCB up from the top fan assembly. +  It has a top cover you pry off to see the fan which exposes four screws two for each clam shell o part of the case. 
-Behind the antennas 1 and 2 is 2 screws to remove the fan assembly. +  Underneath it has four rubber feet with screws beneath I just forced my screw-driver through the rubber pad to save removing them. 
-once the fan assembly is lifted up you can unplug the fan connector to remove it.+  With all 8 screws removed you may split off both sides of the shell. 
 +  On the side of the shell with the RGB info LED it has a small PCB with a harness with a push in connector that needs removing on the bottom of the device before separating. 
 +  At this point you have enough to expose the serial UART and I really would not recommend you proceed any further. 
 +  To completely disassemble the device, one must unsolder at least one of the two antennas labeled 1 and 2 and slide the PCB up from the top fan assembly. 
 +  Behind the antennas 1 and 2 is 2 screws to remove the fan assembly. 
 +  once the fan assembly is lifted up you can unplug the fan connector to remove it
 +  You then can start to separate the two PCB's of the device there is there is 14 IPEX/ U.FL connectors 8 for the WIFI and 8 for the LTE, They are all labeled on the PCB and the antennas. 
 +  All the U.Fl cables are secured with spring clips and tape and plastic hooks I'd recommend you take pictures as it was a pain to work out how to route them to get it together again. 
 +  With all the antenna connectors unplugged you can then remove the screws holding the heatsinks PCB's and antenna Frames. 
 +  NOTE all the screws are of different lengths make sure to note their location for reassembly. 
 +  Separating the two halves this will expose the bottom 2 cover screws to remove the base.
  
-You then can start to separate the two PCB's of the device there is there is 14 IPEX/ U.FL connectors 8 for the WIFI and 8 for the LTE, They are all labeled on the PCB and the antennas. 
-All the U.Fl cables are secured with spring clips and tape and plastic hooks I'd recommend you take pictures as it was a pain to work out how to route them to get it together again. 
  
-With all the antenna connectors unplugged you can then remove the screws holding the heatsinks PCB's and antenna Frames. 
-NOTE all the screws are of different lengths make sure to note their location for reassembly. 
-Separating the two halves this will expose the bottom 2 cover screws to remove the base. 
  
  
- 
-</WRAP> 
  
 ==== Serial ==== ==== Serial ====
  
 <WRAP BOX> <WRAP BOX>
-Between antennas 7 and 8 on the PCB with the RGB harness there are three test pads labeled TP1 TP2 and TP3+Between antennas 7 and 8 on the PCB with the RGB harness there are three test pads labeled TP1 TP2 and TP3
 + 
 +I soldered a standard pin header to the test pads but be aware it is very fragile and would be easy to rip them off by accident but seems sturdy with TP3 being on a ground plane. 
  
 {{:media:tplink:x80-5g:x80-5g_uart.jpeg?direct&400|}} {{:media:tplink:x80-5g:x80-5g_uart.jpeg?direct&400|}}
  
-Green is Ground (tp3+Green is Ground (TP3
-Yellow is RX (tp2+Yellow is RX (TP2
-Orange is TX (tp1)+Orange is TX (TP1)
  
 <code> <code>
-                        R (~10k Ohms)     ------------- +                        R (~5k Ohms)     ------------- 
-                     /---\/\/\/`--VCC ---| USB FTDI  |+                     /---\/\/\/`--VCC----| USB FTDI  |
   -----------        |                   | 1.8V      |   -----------        |                   | 1.8V      |
-  |TP2|-- RX --------+----------- TX ----|           | --> to PC (minicom, screen, C-Kermit, ...) +  |TP2|---RX----ora--+----------- TX-----|           | --> to PC (minicom, screen, C-Kermit, putty ...) 
-  |TP1|-- TX -------------------- RX ----|           | +  |TP1|---TX----yel-------------- RX-----|           | 
-  |TP3|-- GND ------------------ GND ----|           |+  |TP3|---GND---gre-------------- GND----|           |
   -----------                            -------------   -----------                            -------------
 </code> </code>
Line 259: Line 304:
 </WRAP> </WRAP>
  
-^ Serial connection parameters\\ for TP-Link X80-5G V1  | 115200, 8N1, 1.8V  |+^ Serial connection parameters\\ for TP-Link X80-5G V1  | 115200, 8N1, 1.8V  \\ CR(/r) line ending format| 
 +^ Uboot Magic string\\ (password) | tpl (enter) |
  
 ==== JTAG ==== ==== JTAG ====
Line 2454: Line 2500:
 ==== OpenWrt bootlog ==== ==== OpenWrt bootlog ====
 <WRAP bootlog> <WRAP bootlog>
-<nowiki>COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING</nowiki>+<nowiki> 
 +Format: Log Type - Time(microsec) - Message - Optional Info 
 +Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic 
 +S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.3.1-00158 
 +S - IMAGE_VARIANT_STRING=HAACANAZA 
 +S - OEM_IMAGE_VERSION_STRING=CRM 
 +S - Boot Config, 0x000002e5 
 +B -       201 - PBL, Start 
 +B -      2736 - bootable_media_detect_entry, Start 
 +B -      3443 - bootable_media_detect_success, Start 
 +B -      3448 - elf_loader_entry, Start 
 +B -      6114 - auth_hash_seg_entry, Start 
 +B -      6357 - auth_hash_seg_exit, Start 
 +B -     68340 - elf_segs_hash_verify_entry, Start 
 +B -    131183 - PBL, End 
 +B -    217617 - SBL1, Start 
 +B -    296917 - GCC [RstStat:0x10, RstDbg:0x600000] WDog Stat : 0x4 
 +B -    306799 - pm_device_init, Start 
 +B -    489891 - PM_SET_VAL:Skip 
 +D -    181170 - pm_device_init, Delta 
 +B -    492300 - pm_driver_init, Start 
 +D -      5368 - pm_driver_init, Delta 
 +B -    498675 - clock_init, Start 
 +D -      2135 - clock_init, Delta 
 +B -    502609 - boot_flash_init, Start 
 +D -     12566 - boot_flash_init, Delta 
 +B -    518957 - boot_config_data_table_init, Start 
 +D -      3111 - boot_config_data_table_init, Delta - (575 Bytes) 
 +B -    526460 - Boot Setting :  0x00000618 
 +B -    530364 - CDT version:2,Platform ID:8,Major ID:1,Minor ID:4,Sub 
 +type:0 
 +B -    537288 - sbl1_ddr_set_params, Start 
 +B -    541100 - CPR configuration: 0x30c 
 +B -    544455 - cpr_init, Start 
 +B -    547353 - Rail:0 Mode: 5 Voltage: 792000 
 +B -    552446 - CL CPR settled at 744000mV 
 +B -    555283 - Rail:1 Mode: 5 Voltage: 880000 
 +B -    559553 - Rail:1 Mode: 7 Voltage: 888000 
 +D -     16531 - cpr_init, Delta 
 +B -    566354 - Pre_DDR_clock_init, Start 
 +B -    570472 - Pre_DDR_clock_init, End 
 +B -    573766 - DDR Type : PCDDR3 
 +B -    579500 - do ddr sanity test, Start 
 +D -      1067 - do ddr sanity test, Delta 
 +B -    584258 - DDR: Start of HAL DDR Boot Training 
 +B -    588985 - DDR: End of HAL DDR Boot Training 
 +B -    594689 - DDR: Checksum to be stored on flash is 1377291785 
 +B -    604998 - Image Load, Start 
 +D -    224358 - QSEE Image Loaded, Delta - (1376448 Bytes) 
 +B -    829447 - Image Load, Start 
 +D -        61 - SEC Image Loaded, Delta - (0 Bytes) 
 +B -    837133 - Image Load, Start 
 +D -     10706 - DEVCFG Image Loaded, Delta - (26008 Bytes) 
 +B -    847930 - Image Load, Start 
 +D -     22021 - RPM Image Loaded, Delta - (86584 Bytes) 
 +B -    870043 - Image Load, Start 
 +D -    108915 - APPSBL Image Loaded, Delta - (672668 Bytes) 
 +B -    979111 - QSEE Execution, Start 
 +D -        91 - QSEE Execution, Delta 
 +B -    984906 - USB D+ check, Start 
 +D -         0 - USB D+ check, Delta 
 +B -    991280 - SBL1, End 
 +D -    775981 - SBL1, Delta 
 +S - Flash Throughput, 6744 KB/s  (2162955 Bytes,  320702 us) 
 +S - DDR Frequency, 466 MHz 
 +S - Core 0 Frequency, 1651 MHz 
 + 
 + 
 +U-Boot 2016.01 (Feb 25 2021 - 20:16:45 +0800) 
 + 
 +DRAM:  smem ram ptable found: ver: 1 len: 4 
 +1 GiB 
 +NAND:  Could not find nand_gpio in dts, using defaults 
 +ONFI device found 
 +ID = 158061c8 
 +Vendor = c8 
 +Device = 61 
 +SF: Unsupported flash IDs: manuf 00, jedec 1c78, ext_jedec 4a74 
 +ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0) 
 +128 MiB 
 +MMC:   <NULL>:
 +PCI0 is not defined in the device tree 
 +PCI1 is not defined in the device tree 
 +In:    serial@78B3000 
 +Out:   serial@78B3000 
 +Err:   serial@78B3000 
 +machid: 8010400 
 +Card did not respond to voltage select! 
 +eth0 MAC Address from ART is not valid 
 +eth1 MAC Address from ART is not valid 
 +eth2 MAC Address from ART is not valid 
 +eth3 MAC Address from ART is not valid 
 +eth4 MAC Address from ART is not valid 
 +eth5 MAC Address from ART is not valid 
 +gpio 38 set BOARD_3V9_5V_EN_GPIO to high[1]  
 +gpio 64 set PHY_QCA8081_1V8_EN_GPIO to high[1]  
 +gpio 33 set PHY_AR8033_3V3_EN_GPIO to high[1]  
 +gpio 35 set ONOFF_MODULE_5G_GPIO to low[0] ... 1s  
 +gpio 35 set ONOFF_MODULE_5G_GPIO to high[1] 
 +ubi0: attaching mtd1 
 +ubi0: scanning is finished 
 +ubi0: attached mtd1 (name "mtd=0", size 9 MiB) 
 +ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes 
 +ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 
 +ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 
 +ubi0: good PEBs: 72, bad PEBs: 0, corrupted PEBs: 0 
 +ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128 
 +ubi0: max/mean erase counter: 15/8, WL threshold: 4096, image sequenc 
 +e number: 1097309032 
 +ubi0: available PEBs: 0, total reserved PEBs: 72, PEBs reserved for b 
 +ad PEB handling: 20 
 +Find no boot alter flag! 
 +Enter magic string to stop autoboot in 1 seconds 
 +Unmounting UBIFS volume ubi_factory_data! 
 +ubi0: detaching mtd1 
 +ubi0: mtd1 is detached 
 +ubi0: attaching mtd1 
 +ubi0: scanning is finished 
 +ubi0: attached mtd1 (name "mtd=0", size 42 MiB) 
 +ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes 
 +ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 
 +ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 
 +ubi0: good PEBs: 336, bad PEBs: 0, corrupted PEBs: 0 
 +ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128 
 +ubi0: max/mean erase counter: 4/2, WL threshold: 4096, image sequence 
 + number: 473343929 
 +ubi0: available PEBs: 0, total reserved PEBs: 336, PEBs reserved for  
 +bad PEB handling: 20 
 +Read 0 bytes from volume kernel to 44000000 
 +No size specified -> Using max size (5332992) 
 +## Loading kernel from FIT Image at 44000000 ... 
 +   Using 'config@hk01.c5' configuration 
 +   Trying 'kernel-1' kernel subimage 
 +     Description:  ARM64 OpenWrt Linux-6.6.44 
 +     Type:         Kernel Image 
 +     Compression:  gzip compressed 
 +     Data Start:   0x440000e8 
 +     Data Size:    5177696 Bytes = 4.9 MiB 
 +     Architecture: AArch64 
 +     OS:           Linux 
 +     Load Address: 0x41000000 
 +     Entry Point:  0x41000000 
 +     Hash algo:    crc32 
 +     Hash value:   7967ebe7 
 +     Hash algo:    sha1 
 +     Hash value:   8fd37f2833dafd0dfed3db92f120db3e04416d79 
 +   Verifying Hash Integrity ... crc32+ sha1+ OK 
 +## Loading fdt from FIT Image at 44000000 ... 
 +   Using 'config@hk01.c5' configuration 
 +   Trying 'fdt-1' fdt subimage 
 +     Description:  ARM64 OpenWrt tplink_x80-5g device tree blob 
 +     Type:         Flat Device Tree 
 +     Compression:  uncompressed 
 +     Data Start:   0x444f0388 
 +     Data Size:    46489 Bytes = 45.4 KiB 
 +     Architecture: AArch64 
 +     Hash algo:    crc32 
 +     Hash value:   abe3e37d 
 +     Hash algo:    sha1 
 +     Hash value:   8dfcddfc3942742eadc498f05b143cc0b771d139 
 +   Verifying Hash Integrity ... crc32+ sha1+ OK 
 +   Booting using the fdt blob at 0x444f0388 
 +   Uncompressing Kernel Image ... OK 
 +   Loading Device Tree to 4a3f1000, end 4a3ff598 ... OK 
 +Could not find PCI in device tree 
 +Using machid 0x8010400 from environment 
 + 
 +Starting kernel ... 
 + 
 +Jumping to AARCH64 kernel via monitor 
 +[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034 
 +
 +[    0.000000] Linux version 6.6.44 (professor_jonny@MRSPARKLE) (aarc 
 +h64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r26970-e6c9264351) 13. 
 +3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Mon Aug 12 18:49:30 2024 
 +[    0.000000] Machine model: tplink x80-5g 
 +[    0.000000] OF: reserved mem: 0x0000000040000000..0x0000000040ffff 
 +ff (16384 KiB) nomap non-reusable nss@40000000 
 +[    0.000000] OF: reserved mem: 0x000000004a400000..0x000000004a5fff 
 +ff (2048 KiB) nomap non-reusable tzapp@4a400000 
 +[    0.000000] OF: reserved mem: 0x000000004a600000..0x000000004a9fff 
 +ff (4096 KiB) nomap non-reusable bootloader@4a600000 
 +[    0.000000] OF: reserved mem: 0x000000004aa00000..0x000000004aafff 
 +ff (1024 KiB) nomap non-reusable sbl@4aa00000 
 +[    0.000000] OF: reserved mem: 0x000000004ab00000..0x000000004abfff 
 +ff (1024 KiB) nomap non-reusable smem@4ab00000 
 +[    0.000000] OF: reserved mem: 0x000000004ac00000..0x000000004affff 
 +ff (4096 KiB) nomap non-reusable memory@4ac00000 
 +[    0.000000] OF: reserved mem: 0x000000004b000000..0x0000000050efff 
 +ff (97280 KiB) nomap non-reusable wcnss@4b000000 
 +[    0.000000] OF: reserved mem: 0x0000000050f00000..0x0000000050ffff 
 +ff (1024 KiB) nomap non-reusable q6_etr_dump@50f00000 
 +[    0.000000] OF: reserved mem: 0x0000000051000000..0x00000000510fff 
 +ff (1024 KiB) nomap non-reusable m3_dump@51000000 
 +[    0.000000] Zone ranges: 
 +[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff] 
 +[    0.000000]   DMA32    empty 
 +[    0.000000]   Normal   empty 
 +[    0.000000] Movable zone start for each node 
 +[    0.000000] Early memory node ranges 
 +[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000040ffffff 
 +
 +[    0.000000]   node   0: [mem 0x0000000041000000-0x000000004a3fffff 
 +
 +[    0.000000]   node   0: [mem 0x000000004a400000-0x00000000510fffff 
 +
 +[    0.000000]   node   0: [mem 0x0000000051100000-0x000000007fffffff 
 +
 +[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000 
 +07fffffff] 
 +[    0.000000] psci: probing for conduit method from DT. 
 +[    0.000000] psci: PSCIv1.0 detected in firmware. 
 +[    0.000000] psci: Using standard PSCI v0.2 function IDs 
 +[    0.000000] psci: MIGRATE_INFO_TYPE not supported. 
 +[    0.000000] psci: SMC Calling Convention v1.0 
 +[    0.000000] percpu: Embedded 18 pages/cpu s35240 r8192 d30296 u737 
 +28 
 +[    0.000000] Detected VIPT I-cache on CPU0 
 +[    0.000000] alternatives: applying boot alternatives 
 +[    0.000000] Kernel command line: ubi.mtd=rootfs root=mtd:ubi_rootf 
 +s rootfstype=squashfs rootwait root=/dev/ubiblock0_1 
 +[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 104 
 +8576 bytes, linear) 
 +[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 52428 
 +8 bytes, linear) 
 +[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 
 + 258048 
 +[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:of 
 +
 +[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted t 
 +o 1MB 
 +[    0.000000] software IO TLB: area num 4. 
 +[    0.000000] software IO TLB: mapped [mem 0x000000007eb00000-0x0000 
 +00007ec00000] (1MB) 
 +[    0.000000] Memory: 885772K/1048576K available (8128K kernel code, 
 + 892K rwdata, 2500K rodata, 1472K init, 276K bss, 162804K reserved, 0 
 +K cma-reserved) 
 +[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nod 
 +es=1 
 +[    0.000000] rcu: Hierarchical RCU implementation. 
 +[    0.000000]  Tracing variant of Tasks RCU enabled. 
 +[    0.000000] rcu: RCU calculated value of scheduler-enlistment dela 
 +y is 10 jiffies. 
 +[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 
 +[    0.000000] Root IRQ handler: gic_handle_irq 
 +[    0.000000] GICv2m: range[mem 0x0b00a000-0x0b00affc], SPI[448:479] 
 +[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on con 
 +tention. 
 +[    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz 
 + (virt/virt). 
 +[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff  
 +max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns 
 +[    0.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps  
 +every 4398046511078ns 
 +[    0.000129] Calibrating delay loop (skipped), value calculated usi 
 +ng timer frequency.. 38.40 BogoMIPS (lpj=192000) 
 +[    0.000142] pid_max: default: 32768 minimum: 301 
 +[    0.005160] Mount-cache hash table entries: 2048 (order: 2, 16384  
 +bytes, linear) 
 +[    0.005174] Mountpoint-cache hash table entries: 2048 (order: 2, 1 
 +6384 bytes, linear) 
 +[    0.009416] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_t 
 +ask_cb_adjust=1. 
 +[    0.009641] rcu: Hierarchical SRCU implementation. 
 +[    0.009646] rcu:     Max phase no-delay instances is 1000. 
 +[    0.010569] smp: Bringing up secondary CPUs ... 
 +[    0.011229] Detected VIPT I-cache on CPU1 
 +[    0.011332] CPU1: Booted secondary processor 0x0000000001 [0x410fd 
 +034] 
 +[    0.012001] Detected VIPT I-cache on CPU2 
 +[    0.012070] CPU2: Booted secondary processor 0x0000000002 [0x410fd 
 +034] 
 +[    0.012721] Detected VIPT I-cache on CPU3 
 +[    0.012786] CPU3: Booted secondary processor 0x0000000003 [0x410fd 
 +034] 
 +[    0.012855] smp: Brought up 1 node, 4 CPUs 
 +[    0.012863] SMP: Total of 4 processors activated. 
 +[    0.012869] CPU features: detected: 32-bit EL0 Support 
 +[    0.012874] CPU features: detected: CRC32 instructions 
 +[    0.012943] CPU features: emulated: Privileged Access Never (PAN)  
 +using TTBR0_EL1 switching 
 +[    0.012950] CPU: All CPU(s) started at EL1 
 +[    0.012953] alternatives: applying system-wide alternatives 
 +[    0.023013] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xf 
 +fffffff, max_idle_ns: 19112604462750000 ns 
 +[    0.023042] futex hash table entries: 1024 (order: 4, 65536 bytes, 
 + linear) 
 +[    0.024776] pinctrl core: initialized pinctrl subsystem 
 +[    0.026479] NET: Registered PF_NETLINK/PF_ROUTE protocol family 
 +[    0.027055] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic a 
 +llocations 
 +[    0.027098] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for  
 +atomic allocations 
 +[    0.027132] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool fo 
 +r atomic allocations 
 +[    0.027519] thermal_sys: Registered thermal governor 'step_wise' 
 +[    0.027576] cpuidle: using governor menu 
 +[    0.027779] ASID allocator initialised with 65536 entries 
 +[    0.054062] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid  
 +fuse count: 4 
 +[    0.056925] Modules: 29408 pages in range for non-PLT usage 
 +[    0.056933] Modules: 520928 pages in range for PLT usage 
 +[    0.061698] SCSI subsystem initialized 
 +[    0.061902] usbcore: registered new interface driver usbfs 
 +[    0.061937] usbcore: registered new interface driver hub 
 +[    0.061985] usbcore: registered new device driver usb 
 +[    0.062436] qcom_scm: convention: smc arm 64 
 +[    0.064085] clocksource: Switched to clocksource arch_sys_counter 
 +[    0.067864] NET: Registered PF_INET protocol family 
 +[    0.068014] IP idents hash table entries: 16384 (order: 5, 131072  
 +bytes, linear) 
 +[    0.070595] tcp_listen_portaddr_hash hash table entries: 512 (orde 
 +r: 1, 8192 bytes, linear) 
 +[    0.070618] Table-perturb hash table entries: 65536 (order: 6, 262 
 +144 bytes, linear) 
 +[    0.070633] TCP established hash table entries: 8192 (order: 4, 65 
 +536 bytes, linear) 
 +[    0.070720] TCP bind hash table entries: 8192 (order: 6, 262144 by 
 +tes, linear) 
 +[    0.070992] TCP: Hash tables configured (established 8192 bind 819 
 +2) 
 +[    0.071095] UDP hash table entries: 512 (order: 2, 16384 bytes, li 
 +near) 
 +[    0.071133] UDP-Lite hash table entries: 512 (order: 2, 16384 byte 
 +s, linear) 
 +[    0.071609] NET: Registered PF_UNIX/PF_LOCAL protocol family 
 +[    0.071651] PCI: CLS 0 bytes, default 64 
 +[    0.073484] workingset: timestamp_bits=46 max_order=18 bucket_orde 
 +r=0 
 +[    0.074113] squashfs: version 4.0 (2009/01/31) Phillip Lougher 
 +[    0.074121] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CM 
 +ODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. 
 +[    0.080431] qcom-qmp-usb-phy 58000.phy: supply vdda-phy not found, 
 + using dummy regulator 
 +[    0.080571] qcom-qmp-usb-phy 58000.phy: supply vdda-pll not found, 
 + using dummy regulator 
 +[    0.081426] qcom-qmp-usb-phy 78000.phy: supply vdda-phy not found, 
 + using dummy regulator 
 +[    0.081575] qcom-qmp-usb-phy 78000.phy: supply vdda-pll not found, 
 + using dummy regulator 
 +[    0.082679] qcom-qusb2-phy 59000.phy: supply vdd not found, using  
 +dummy regulator 
 +[    0.082836] qcom-qusb2-phy 59000.phy: supply vdda-pll not found, u 
 +sing dummy regulator 
 +[    0.082879] qcom-qusb2-phy 59000.phy: supply vdda-phy-dpdm not fou 
 +nd, using dummy regulator 
 +[    0.083058] qcom-qusb2-phy 59000.phy: Registered Qcom-QUSB2 phy 
 +[    0.083272] qcom-qusb2-phy 79000.phy: supply vdd not found, using  
 +dummy regulator 
 +[    0.083398] qcom-qusb2-phy 79000.phy: supply vdda-pll not found, u 
 +sing dummy regulator 
 +[    0.083472] qcom-qusb2-phy 79000.phy: supply vdda-phy-dpdm not fou 
 +nd, using dummy regulator 
 +[    0.083643] qcom-qusb2-phy 79000.phy: Registered Qcom-QUSB2 phy 
 +[    0.091844] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabl 
 +ed 
 +[    0.092838] msm_serial 78b3000.serial: msm_serial: detected port # 
 +
 +[    0.092893] msm_serial 78b3000.serial: uartclk = 3686400 
 +[    0.093209] 78b3000.serial: ttyMSM0 at MMIO 0x78b3000 (irq = 20, b 
 +ase_baud = 230400) is a MSM 
 +[    0.093242] msm_serial: console setup on port #0 
 +[    0.093283] printk: console [ttyMSM0] enabled 
 +[    0.901985] msm_serial: driver initialized 
 +[    0.911165] loop: module loaded 
 +[    0.912571] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0x 
 +61 
 +[    0.913121] nand: ESMT PSR1GA30DT 
 +[    0.919788] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 20 
 +48, OOB size: 64 
 +[    0.923982] spmi spmi-0: PMIC arbiter version v2 (0x20010000) 
 +[    0.985585] i2c_dev: i2c /dev entries driver 
 +[    0.991897] sdhci: Secure Digital Host Controller Interface driver 
 +[    0.991943] sdhci: Copyright(c) Pierre Ossman 
 +[    0.997045] sdhci-pltfm: SDHCI platform and OF driver helper 
 +[    1.003258] remoteproc remoteproc0: releasing cd00000.q6v5_wcss 
 +[    1.010962] NET: Registered PF_INET6 protocol family 
 +[    1.014030] Segment Routing with IPv6 
 +[    1.018059] In-situ OAM (IOAM) with IPv6 
 +[    1.021629] NET: Registered PF_PACKET protocol family 
 +[    1.025744] 8021q: 802.1Q VLAN Support v1.8 
 +[    1.061403] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid  
 +fuse count: 4 
 +[    1.061772] cpr4_ipq807x_apss_read_fuse_data: apc_corner: speed bi 
 +n = 0 
 +[    1.067578] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR fusi 
 +ng revision = 1 
 +[    1.074161] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR misc 
 + fuse value = 0 
 +[    1.081792] cpr4_ipq807x_apss_read_fuse_data: apc_corner: Voltage  
 +boost fuse config = 0 boost = disable 
 +[    1.089325] cpr3_mem_acc_init: apc: not using memory accelerator r 
 +egulator 
 +[    1.098458] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_co 
 +rner: fused      SVS: open-loop= 704000 uV 
 +[    1.105409] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_co 
 +rner: fused      NOM: open-loop= 808000 uV 
 +[    1.115394] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_co 
 +rner: fused    TURBO: open-loop= 864000 uV 
 +[    1.125200] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_co 
 +rner: fused   STURBO: open-loop= 944000 uV 
 +[    1.135062] cpr4_ipq807x_apss_calculate_target_quotients: apc_corn 
 +er: fused      SVS: quot[ 7]= 767, quot_offset[ 7]=   0 
 +[    1.144822] cpr4_ipq807x_apss_calculate_target_quotients: apc_corn 
 +er: fused      NOM: quot[ 7]= 972, quot_offset[ 7]= 205 
 +[    1.155670] cpr4_ipq807x_apss_calculate_target_quotients: apc_corn 
 +er: fused    TURBO: quot[ 7]=1073, quot_offset[ 7]= 100 
 +[    1.166612] cpr4_ipq807x_apss_calculate_target_quotients: apc_corn 
 +er: fused   STURBO: quot[ 7]=1226, quot_offset[ 7]= 150 
 +[    1.177779] cpr3_regulator_init_ctrl: apc: Default CPR mode = clos 
 +ed-loop 
 +[    1.180467] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0x 
 +61 
 +[    1.195245] nand: ESMT PSR1GA30DT 
 +[    1.201639] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 20 
 +48, OOB size: 64 
 +[    1.205306] 17 qcomsmem partitions found on MTD device qcom_nand.0 
 +[    1.212325] Creating 17 MTD partitions on "qcom_nand.0": 
 +[    1.218525] 0x000000000000-0x000000100000 : "0:sbl1" 
 +[    1.225526] 0x000000100000-0x000000200000 : "0:mibib" 
 +[    1.230284] 0x000000200000-0x000000280000 : "0:bootconfig" 
 +[    1.234827] 0x000000280000-0x000000300000 : "0:bootconfig1" 
 +[    1.240130] 0x000000300000-0x000000600000 : "0:qsee" 
 +[    1.247900] 0x000000600000-0x000000680000 : "0:devcfg" 
 +[    1.250843] 0x000000680000-0x000000700000 : "0:apdp" 
 +[    1.255831] 0x000000700000-0x000000780000 : "0:rpm" 
 +[    1.260902] 0x000000780000-0x000000800000 : "0:cdt" 
 +[    1.265756] 0x000000800000-0x000000980000 : "0:appsblenv" 
 +[    1.271275] 0x000000980000-0x000000b80000 : "0:appsbl" 
 +[    1.277351] 0x000000b80000-0x000000c00000 : "0:art" 
 +[    1.280960] 0x000000c00000-0x000003600000 : "rootfs" 
 +[    1.322828] mtd: setting mtd12 (rootfs) as root device 
 +[    1.323207] mtdsplit: no squashfs found in "rootfs" 
 +[    1.326934] 0x000003600000-0x000006000000 : "rootfs_1" 
 +[    1.370320] 0x000006000000-0x000006080000 : "0:ethphyfw" 
 +[    1.371329] 0x000006080000-0x000006980000 : "factory_data" 
 +[    1.383576] 0x000006980000-0x000007a80000 : "runtime_data" 
 +[    1.407745] cpufreq: cpufreq_online: CPU0: Running at unlisted ini 
 +tial frequency: 800000 KHz, changing to: 1017600 KHz 
 +[    1.409628] remoteproc remoteproc0: cd00000.q6v5_wcss is available 
 +[    1.417712] ubi0: attaching mtd12 
 +[    1.655198] ubi0: scanning is finished 
 +[    1.662605] ubi0: attached mtd12 (name "rootfs", size 42 MiB) 
 +[    1.662643] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 1269 
 +76 bytes 
 +[    1.667350] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page si 
 +ze 2048 
 +[    1.674115] ubi0: VID header offset: 2048 (aligned 2048), data off 
 +set: 4096 
 +[    1.680965] ubi0: good PEBs: 336, bad PEBs: 0, corrupted PEBs: 0 
 +[    1.687741] ubi0: user volume: 3, internal volumes: 1, max. volume 
 +s count: 128 
 +[    1.693987] ubi0: max/mean erase counter: 4/2, WL threshold: 4096, 
 + image sequence number: 473343929 
 +[    1.701032] ubi0: available PEBs: 0, total reserved PEBs: 336, PEB 
 +s reserved for bad PEB handling: 20 
 +[    1.709975] ubi0: background thread "ubi_bgt0d" started, PID 602 
 +[    1.719923] block ubiblock0_1: created from ubi0:1(ro?   1.73448 
 +5] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. 
 +[    1.735007] Freeing unused kernel memory: 1472K 
 +[    1.740712] Run /sbin/init as init process 
 +[    1.923590] init: Console is alive 
 +[    1.923749] init: - watchdog - 
 +[    2.524754] kmodloader: loading kernel modules from /etc/modules-b 
 +oot.d/* 
 +[    2.557435] gpio_button_hotplug: loading out-of-tree module taints 
 + kernel. 
 +[    2.595392] ssdk_dt_parse_interrupt[941]:INFO:intr-gpio does not e 
 +xist 
 +[    4.294137] regi_init[2525]:INFO:Initializing HPPE Done!! 
 +[    4.294267] regi_init[2574]:INFO:qca-ssdk module init succeeded! 
 +[    4.300638] EDMA ver 1 hw init 
 +[    4.304840] EDMA HW Reset completed succesfully 
 +[    4.307494] Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7) 
 +[    4.311889] RxDesc:1 (15-15) RxFill:1 (7-7) 
 +[    4.317515] GMAC5(ffffff800374d900) Invalid MAC@ - using 26:d0:89: 
 +e6:ac:eb 
 +[    4.321270] dp5: ppe offload disabled: 0 for macid 5 
 +[    4.328219] dp5: Switch attached to macid 5 status: 0 
 +[    4.426259] Qualcomm QCA8081 90000.mdio-1:1c: attached PHY driver  
 +(mii_bus:phy_addr=90000.mdio-1:1c, irq=POLL) 
 +[    4.427141] GMAC6(ffffff800374b900) Invalid MAC@ - using 26:ad:0c: 
 +d7:44:f6 
 +[    4.435169] dp6-syn: ppe offload disabled: 0 for macid 6 
 +[    4.442005] dp6-syn: Switch attached to macid 6 status: 0 
 +[    4.524505] Qualcomm Atheros AR8031/AR8033 90000.mdio-1:04: attach 
 +ed PHY driver (mii_bus:phy_addr=90000.mdio-1:04, irq=POLL) 
 +[    4.525319] ****************************************************** 
 +**** 
 +[    4.534812] * NSS Data Plane driver 
 +[    4.541115] ****************************************************** 
 +**** 
 +[    4.562321] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller 
 +[    4.562381] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assi 
 +gned bus number 1 
 +[    4.566900] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci ve 
 +rsion 0x110 quirks 0x0000008002000010 
 +[    4.574310] xhci-hcd xhci-hcd.1.auto: irq 38, io mem 0x08a00000 
 +[    4.583766] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller 
 +[    4.589548] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assi 
 +gned bus number 2 
 +[    4.595104] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperS 
 +peed 
 +[    4.603050] hub 1-0:1.0: USB hub found 
 +[    4.609276] hub 1-0:1.0: 1 port detected 
 +[    4.613239] usb usb2: We don't know the algorithms for LPM for thi 
 +s host, disabling LPM. 
 +[    4.617499] hub 2-0:1.0: USB hub found 
 +[    4.625208] hub 2-0:1.0: 1 port detected 
 +[    4.629035] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller 
 +[    4.632775] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assi 
 +gned bus number 3 
 +[    4.638215] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220fe65 hci ve 
 +rsion 0x110 quirks 0x0000008002000010 
 +[    4.645670] xhci-hcd xhci-hcd.2.auto: irq 39, io mem 0x08c00000 
 +[    4.655093] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller 
 +[    4.660897] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assi 
 +gned bus number 4 
 +[    4.666463] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperS 
 +peed 
 +[    4.674609] hub 3-0:1.0: USB hub found 
 +[    4.680617] hub 3-0:1.0: 1 port detected 
 +[    4.684668] usb usb4: We don't know the algorithms for LPM for thi 
 +s host, disabling LPM. 
 +[    4.688672] hub 4-0:1.0: USB hub found 
 +[    4.696504] hub 4-0:1.0: 1 port detected 
 +[    4.702753] kmodloader: done loading kernel modules from /etc/modu 
 +les-boot.d/
 +[    4.705919] init: - preinit - 
 +[    7.784080] random: crng init done 
 +/bin/board_detect: /etc/board.d/03_gpio_switches: line 5: 512: not fo 
 +und 
 +Press the [f] key and hit [enter] to enter failsafe mode 
 +Press the [1], [2], [3] or [4] key and hit [enter] to select the debu 
 +g level 
 +[    9.959699] UBIFS (ubi0:2): Mounting in unauthenticated mode 
 +[    9.959840] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" start 
 +ed, PID 837 
 +[    9.997762] UBIFS (ubi0:2): recovery needed 
 +[   10.095746] UBIFS (ubi0:2): recovery completed 
 +[   10.095865] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, 
 + name "rootfs_data" 
 +[   10.099093] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min. 
 +/max. I/O unit sizes: 2048 bytes/2048 bytes 
 +[   10.107013] UBIFS (ubi0:2): FS size: 22220800 bytes (21 MiB, 175 L 
 +EBs), max 185 LEBs, journal size 1142784 bytes (1 MiB, 9 LEBs) 
 +[   10.116905] UBIFS (ubi0:2): reserved for root: 1049543 bytes (1024 
 + KiB) 
 +[   10.128525] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), 
 + UUID 6F2A9AA2-0601-44C9-9ABB-95CF22F596A9, small LPT model 
 +[   10.139241] mount_root: switching to ubifs overlay 
 +[   10.150627] overlayfs: null uuid detected in lower fs '/', falling 
 + back to xino=off,index=off,nfs_export=off. 
 +[   10.156853] urandom-seed: Seeding with /etc/urandom.seed 
 +[   10.218480] procd: - early - 
 +[   10.218591] procd: - watchdog - 
 +Failed to connect to ubus 
 +[   10.755603] procd: - watchdog - 
 +[   10.755826] procd: - ubus - 
 +[   10.810851] procd: - init - 
 +Please press Enter to activate this console. 
 +[   11.100375] kmodloader: loading kernel modules from /etc/modules.d 
 +/* 
 +[   11.177288] jitterentropy: Initialization failed with host not com 
 +pliant with requirements:
 +[   11.273117] urngd: v1.0.2 started. 
 +[   11.281802] usbcore: registered new interface driver cdc_wdm 
 +[   11.282218] Loading modules backported from Linux version v6.9.9-0 
 +-g28fdf4518483 
 +[   11.286563] Backport generated by backports.git v6.1.97-1-29-gf1d2 
 +4a3683b2 
 +[   11.298563] NET: Registered PF_QIPCRTR protocol family 
 +[   11.302890] usbcore: registered new interface driver usbserial_gen 
 +eric 
 +[   11.305770] usbserial: USB Serial support registered for generic 
 +[   11.313785] usbcore: registered new interface driver cdc_ether 
 +[   11.319426] usbcore: registered new interface driver cdc_ncm 
 +[   11.362406] PPP generic driver version 2.4.2 
 +[   11.363248] NET: Registered PF_PPPOX protocol family 
 +[   11.366672] usbcore: registered new interface driver qmi_wwan 
 +[   11.379253] ath11k c000000.wifi: ipq8074 hw2.0 
 +[   11.379287] ath11k c000000.wifi: FW memory mode: 0 
 +[   11.405431] remoteproc remoteproc0: powering up cd00000.q6v5_wcss 
 +[   11.405807] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw 
 +.mdt, size 668 
 +[   12.530428] remoteproc remoteproc0: remote processor cd00000.q6v5_ 
 +wcss is now up 
 +[   12.574441] ath11k c000000.wifi: qmi ignore invalid mem req type 3 
 +[   12.581908] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board 
 +_id 0xff soc_id 0xffffffff 
 +[   12.581944] ath11k c000000.wifi: fw_version 0x290604a5 fw_build_ti 
 +mestamp 2023-10-12 02:06 fw_build_id WLAN.HK.2.9.0.1-01977-QCAHKSWPL_ 
 +SILICONZ-1 
 +[   17.955551] remoteproc remoteproc0: stopped remote processor cd000 
 +00.q6v5_wcss 
 +[   17.955595] remoteproc remoteproc0: powering up cd00000.q6v5_wcss 
 +[   17.961744] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw 
 +.mdt, size 668 
 +[   18.311610] remoteproc remoteproc0: remote processor cd00000.q6v5_ 
 +wcss is now up 
 +[   18.312779] usbcore: registered new interface driver cdc_mbim 
 +[   18.319761] usbcore: registered new interface driver option 
 +[   18.323750] usbserial: USB Serial support registered for GSM modem 
 + (1-port) 
 +[   18.330992] usbcore: registered new interface driver qcserial 
 +[   18.336102] usbserial: USB Serial support registered for Qualcomm  
 +USB modem 
 +[   18.356442] ath11k c000000.wifi: qmi ignore invalid mem req type 3 
 +[   18.360407] kmodloader: done loading kernel modules from /etc/modu 
 +les.d/* 
 +[   18.362960] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board 
 +_id 0xff soc_id 0xffffffff 
 +[   18.368400] ath11k c000000.wifi: fw_version 0x290604a5 fw_build_ti 
 +mestamp 2023-10-12 02:06 fw_build_id WLAN.HK.2.9.0.1-01977-QCAHKSWPL_ 
 +SILICONZ-1 
 +[   18.669104] ath11k c000000.wifi: htt event 48 not handled 
 +[   21.011387] br-adults_lan: port 1(lan) entered blocking state 
 +[   21.011432] br-adults_lan: port 1(lan) entered disabled state 
 +[   21.016211] nss-dp 3a007000.dp6-syn lan: entered allmulticast mode 
 +[   21.022044] nss-dp 3a007000.dp6-syn lan: entered promiscuous mode 
 +[   21.608631] export_store: invalid GPIO 423 
 +[   21.653574] br-adults_lan: port 2(phy1-ap0) entered blocking state 
 +[   21.653624] br-adults_lan: port 2(phy1-ap0) entered disabled state 
 +[   21.658782] ath11k c000000.wifi phy1-ap0: entered allmulticast mod 
 +
 +[   21.665096] ath11k c000000.wifi phy1-ap0: entered promiscuous mode 
 +[   21.671225] br-adults_lan: port 2(phy1-ap0) entered blocking state 
 +[   21.677300] br-adults_lan: port 2(phy1-ap0) entered forwarding sta 
 +te 
 +[   21.947217] br-kids_lan: port 1(phy1-ap1) entered blocking state 
 +[   21.947267] br-kids_lan: port 1(phy1-ap1) entered disabled state 
 +[   21.952341] ath11k c000000.wifi phy1-ap1: entered allmulticast mod 
 +
 +[   21.958597] ath11k c000000.wifi phy1-ap1: entered promiscuous mode 
 +[   21.966684] br-kids_lan: port 1(phy1-ap1) entered blocking state 
 +[   21.970538] br-kids_lan: port 1(phy1-ap1) entered forwarding state 
 +[   22.771582] br-kids_lan: port 2(Kids_5.0g) entered blocking state 
 +[   22.771628] br-kids_lan: port 2(Kids_5.0g) entered disabled state 
 +[   22.776775] ath11k c000000.wifi Kids_5.0g: entered allmulticast mo 
 +de 
 +[   22.782945] ath11k c000000.wifi Kids_5.0g: entered promiscuous mod 
 +
 +[   23.302842] br-kids_lan: port 2(Kids_5.0g) entered blocking state 
 +[   23.302891] br-kids_lan: port 2(Kids_5.0g) entered forwarding stat 
 +
 +[   23.316855] br-adults_lan: port 3(Adults_5.0g) entered blocking st 
 +ate 
 +[   23.316908] br-adults_lan: port 3(Adults_5.0g) entered disabled st 
 +ate 
 +[   23.322389] ath11k c000000.wifi Adults_5.0g: entered allmulticast  
 +mode 
 +[   23.328970] ath11k c000000.wifi Adults_5.0g: entered promiscuous m 
 +ode 
 +[   23.336522] br-adults_lan: port 3(Adults_5.0g) entered blocking st 
 +ate 
 +[   23.341657] br-adults_lan: port 3(Adults_5.0g) entered forwarding  
 +state 
 +[   23.364258] ath11k c000000.wifi Adults_5.0g: left allmulticast mod 
 +
 +[   23.364318] ath11k c000000.wifi Adults_5.0g: left promiscuous mode 
 +[   23.369419] br-adults_lan: port 3(Adults_5.0g) entered disabled st 
 +ate 
 +[   23.426205] br-adults_lan: port 3(Adults_5.0g) entered blocking st 
 +ate 
 +[   23.426250] br-adults_lan: port 3(Adults_5.0g) entered disabled st 
 +ate 
 +[   23.431665] ath11k c000000.wifi Adults_5.0g: entered allmulticast  
 +mode 
 +[   23.438307] ath11k c000000.wifi Adults_5.0g: entered promiscuous m 
 +ode 
 +[   23.444587] br-adults_lan: port 3(Adults_5.0g) entered blocking st 
 +ate 
 +[   23.450991] br-adults_lan: port 3(Adults_5.0g) entered forwarding  
 +state 
 +[   25.204492] nss-dp 3a007000.dp6-syn lan: PHY Link up speed: 1000 
 +[   25.204585] br-adults_lan: port 1(lan) entered blocking state 
 +[   25.209583] br-adults_lan: port 1(lan) entered forwarding state 
 +[   28.644487] platform phy-leds: deferred probe pending 
 +[   31.844185] l11: disabling 
 +[   38.774105] usb 1-1: new high-speed USB device number 2 using xhci 
 +-hcd 
 +[   39.068217] option 1-1:1.0: GSM modem (1-port) converter detected 
 +[   39.068522] usb 1-1: GSM modem (1-port) converter now attached to  
 +ttyUSB0 
 +[   39.073738] option 1-1:1.1: GSM modem (1-port) converter detected 
 +[   39.080508] usb 1-1: GSM modem (1-port) converter now attached to  
 +ttyUSB1 
 +[   39.086559] option 1-1:1.2: GSM modem (1-port) converter detected 
 +[   39.093315] usb 1-1: GSM modem (1-port) converter now attached to  
 +ttyUSB2 
 +[   39.099454] option 1-1:1.3: GSM modem (1-port) converter detected 
 +[   39.106172] usb 1-1: GSM modem (1-port) converter now attached to  
 +ttyUSB3 
 + 
 + 
 + 
 +BusyBox v1.36.1 (2024-08-08 21:48:47 UTC) built-in shell (ash) 
 + 
 +  _______                     ________        __ 
 +       |.-----.-----.-----.|  |  |  |.----.|  |_ 
 +     ||  _  |  -__|     ||  |  |  ||   _||   _| 
 + |_______||   __|_____|__|__||________||__|  |____| 
 +          |__| W I R E L E S S   F R E E D O M 
 + ----------------------------------------------------- 
 + OpenWrt SNAPSHOT, r27126-38a87b1b8d 
 + ----------------------------------------------------- 
 +root@OpenWrt:/#  </nowiki>
 </WRAP>\\ </WRAP>\\
  
Line 2460: Line 3212:
  
 ==== Devices ==== ==== Devices ====
-<code>+<WRAP bootlog> 
 +<nowiki>
 cat /proc/devices cat /proc/devices
 Character devices: Character devices:
Line 2502: Line 3255:
 254 nvme 254 nvme
 root@(none):/#  root@(none):/# 
-</code>+</nowiki> 
 +</WRAP>\\ 
 +==== Stock configuration (AP-HK01-C5.dts) ==== 
 +<WRAP bootlog> 
 +<nowiki> 
 +/dts-v1/; 
 +/* 
 + * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 
 + * 
 + * Permission to use, copy, modify, and/or distribute this software for any 
 + * purpose with or without fee is hereby granted, provided that the above 
 + * copyright notice and this permission notice appear in all copies. 
 + * 
 + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 
 + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 
 + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 
 + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 
 + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 
 + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 
 + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 
 + */ 
 +#include "qcom-ipq807x-soc.dtsi" 
 +#include "qcom-ipq807x-hk-cpu.dtsi" 
 +#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 
 + 
 +/ { 
 + #address-cells = <0x2>; 
 + #size-cells = <0x2>; 
 + model = "Qualcomm Technologies, Inc. IPQ807x/AP-HK01-C5"; 
 + compatible = "qcom,ipq807x-hk01", "qcom,ipq807x"; 
 + qcom,msm-id = <0x143 0x0>, <0x158 0x0>, <0x186 0x0>, <0x188 0x0>; 
 + interrupt-parent = <&intc>; 
 + qcom,board-id = <0x8 0x0>; 
 + qcom,pmic-id = <0x0 0x0 0x0 0x0>; 
 + 
 + aliases { 
 + sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ 
 + /* 
 + * Aliases as required by u-boot 
 + * to patch MAC addresses 
 + */ 
 + ethernet0 = "/soc/dp1"; 
 + ethernet1 = "/soc/dp2"; 
 + ethernet2 = "/soc/dp3"; 
 + ethernet3 = "/soc/dp4"; 
 + ethernet4 = "/soc/dp5"; 
 + ethernet5 = "/soc/dp6";  
 + }; 
 + 
 + chosen { 
 + bootargs = "console=ttyMSM0,115200,n8 root=/dev/ram0 rw init=/init"; 
 + bootargs-append = " swiotlb=1"; 
 + }; 
 +}; 
 + 
 +&spmi_bus { 
 + pmic@0 { 
 + compatible ="qcom,spmi-pmic"; 
 + reg = <0x0 SPMI_USID>; 
 + #address-cells = <1>; 
 + #size-cells = <0>; 
 + 
 + pmm8074_gpios: gpios@c000 { 
 + compatible = "qcom,pma8084-gpio"; 
 + reg = <0xc000 0xc00>; 
 + gpio-controller; 
 + #gpio-cells = <2>; 
 + interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, 
 +      <0 0xc1 0 IRQ_TYPE_NONE>, 
 +      <0 0xc2 0 IRQ_TYPE_NONE>, 
 +      <0 0xc3 0 IRQ_TYPE_NONE>, 
 +      <0 0xc4 0 IRQ_TYPE_NONE>, 
 +      <0 0xc5 0 IRQ_TYPE_NONE>, 
 +      <0 0xc6 0 IRQ_TYPE_NONE>, 
 +      <0 0xc7 0 IRQ_TYPE_NONE>, 
 +      <0 0xc8 0 IRQ_TYPE_NONE>, 
 +      <0 0xc9 0 IRQ_TYPE_NONE>, 
 +      <0 0xca 0 IRQ_TYPE_NONE>, 
 +      <0 0xcb 0 IRQ_TYPE_NONE>; 
 + pinctrl-0 = <&pmm8074_gpio>; 
 + pinctrl-names = "default"; 
 + 
 + pmm8074_gpio: pmm8074_gpio { 
 + pinconf { 
 + pins = "gpio6"; 
 + function = PMIC_GPIO_FUNC_NORMAL; 
 + bias-pull-up; 
 + output-high; 
 + }; 
 + }; 
 + }; 
 + }; 
 +}; 
 + 
 +&tlmm { 
 + pinctrl-0 = <&pcie_sdx_gpio>; 
 + pinctrl-names = "default"; 
 + pcie_sdx_gpio: pcie_sdx_gpio { 
 + ap2mdm_err_ftl { 
 + pins = "gpio27"; 
 + function = "gpio"; 
 + drive-strength = <8>; 
 + bias-pull-down; 
 + }; 
 + sdx_pon_gpio { 
 + pins = "gpio30"; 
 + function = "gpio"; 
 + drive-strength = <8>; 
 + bias-pull-up; 
 + output-high; 
 + }; 
 + ap2mdm_status { 
 + pins = "gpio26"; 
 + function = "gpio"; 
 + drive-strength = <8>; 
 + bias-pull-up; 
 + output-high; 
 + }; 
 + }; 
 + 
 + pcie_wake_pins: pcie0_wake_gpio { 
 + pins = "gpio59"; 
 + function = "pcie0_wake"; 
 + drive-strength = <8>; 
 + bias-pull-up; 
 + }; 
 + 
 + mdio_pins: mdio_pinmux { 
 + mux_0 { 
 + pins = "gpio68"; 
 + function = "mdc"; 
 + drive-strength = <8>; 
 + bias-pull-up; 
 + }; 
 + mux_1 { 
 + pins = "gpio69"; 
 + function = "mdio"; 
 + drive-strength = <8>; 
 + bias-pull-up; 
 + }; 
 + mux_2 { 
 + pins = "gpio37"; 
 + function = "gpio"; 
 + bias-pull-up; 
 + }; 
 + mux_3 { 
 + pins = "gpio44"; 
 + function = "gpio"; 
 + bias-pull-up; 
 + }; 
 + }; 
 + 
 + uart_pins: uart_pins { 
 + mux { 
 + pins = "gpio23", "gpio24"; 
 + function = "blsp4_uart1"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + }; 
 + 
 + qpic_pins: qpic_pins { 
 + data_0 { 
 + pins = "gpio15"; 
 + function = "qpic_pad0"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + data_1 { 
 + pins = "gpio12"; 
 + function = "qpic_pad1"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + data_2 { 
 + pins = "gpio13"; 
 + function = "qpic_pad2"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + data_3 { 
 + pins = "gpio14"; 
 + function = "qpic_pad3"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + data_4 { 
 + pins = "gpio5"; 
 + function = "qpic_pad4"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + data_5 { 
 + pins = "gpio6"; 
 + function = "qpic_pad5"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + data_6 { 
 + pins = "gpio7"; 
 + function = "qpic_pad6"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + data_7 { 
 + pins = "gpio8"; 
 + function = "qpic_pad7"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + data_8 { 
 + pins = "gpio16"; 
 + function = "qpic_pad8"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + qpic_pad { 
 + pins = "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", 
 +        "gpio9", "gpio10", "gpio11", "gpio17"; 
 + function = "qpic_pad"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + }; 
 + 
 + hsuart_pins: hsuart_pins { 
 + mux { 
 + pins = "gpio46", "gpio47", "gpio48", "gpio49"; 
 + function = "blsp2_uart"; 
 + drive-strength = <8>; 
 + bias-disable; 
 + }; 
 + }; 
 + 
 + fan_pins: fan_pins { 
 + mux { 
 + pins = "gpio40", "gpio41", "gpio42"; 
 + function = "gpio"; 
 + drive-strength = <2>; 
 + bias-disable; 
 + }; 
 + }; 
 + 
 + antenna_pins: antenna_pins { 
 + ext_antenna_en { 
 + pins = "gpio56"; 
 + function = "gpio"; 
 + drive-strength = <2>; 
 + bias-disable; 
 + }; 
 + }; 
 + 
 + modem_pins: modem_pins { 
 + modem_reset { 
 + pins = "gpio29"; 
 + function = "gpio"; 
 + drive-strength = <2>; 
 + bias-disable; 
 + }; 
 + 
 + w_disable { 
 + pins = "gpio55"; 
 + function = "gpio"; 
 + drive-strength = <2>; 
 + bias-disable; 
 + }; 
 + }; 
 + 
 + ledc_pins: ledc_pinmux { 
 + led_clk { 
 + pins = "gpio18"; 
 + function = "led0"; 
 + drive-strength = <8>; 
 + bias-pull-down; 
 + }; 
 + led_data { 
 + pins = "gpio19"; 
 + function = "led1"; 
 + drive-strength = <8>; 
 + bias-pull-down; 
 + }; 
 + led_clr { 
 + pins = "gpio20"; 
 + function = "led2"; 
 + drive-strength = <8>; 
 + bias-pull-up; 
 + }; 
 + }; 
 +}; 
 + 
 +&soc { 
 + mdio: mdio@90000 { 
 + pinctrl-0 = <&mdio_pins>; 
 + pinctrl-names = "default"; 
 + phy-reset-gpio = <&tlmm 44 0 &tlmm 37 1>; 
 + compatible = "qcom,ipq40xx-mdio", "qcom,qca-mdio"; 
 + phy0: ethernet-phy@0 { 
 + reg = <0>; 
 + }; 
 + phy1: ethernet-phy@1 { 
 + reg = <1>; 
 + }; 
 + phy2: ethernet-phy@2 { 
 + reg = <2>; 
 + }; 
 + phy3: ethernet-phy@3 { 
 + reg = <3>; 
 + }; 
 + phy4: ethernet-phy@4 { 
 + reg = <28>; 
 + }; 
 + phy5: ethernet-phy@5 { 
 + reg = <4>; 
 + }; 
 + }; 
 + 
 + ess-switch@3a000000 { 
 + switch_cpu_bmp = <0x1>;  /* cpu port bitmap */ 
 + switch_lan_bmp = <0x3e>; /* lan port bitmap */ 
 + switch_wan_bmp = <0x40>; /* wan port bitmap */ 
 + switch_mac_mode = <0x0>; /* mac mode for uniphy instance0*/ 
 + switch_mac_mode1 = <0xf>; /* mac mode for uniphy instance1*/ 
 + switch_mac_mode2 = <0xf>; /* mac mode for uniphy instance2*/ 
 + bm_tick_mode = <0>; /* bm tick mode */ 
 + tm_tick_mode = <0>; /* tm tick mode */ 
 + qcom,port_phyinfo { 
 + port@0 { 
 + port_id = <1>; 
 + phy_address = <0>; 
 + }; 
 + port@1 { 
 + port_id = <2>; 
 + phy_address = <1>; 
 + }; 
 + port@2 { 
 + port_id = <3>; 
 + phy_address = <2>; 
 + }; 
 + port@3 { 
 + port_id = <4>; 
 + phy_address = <3>; 
 + }; 
 + port@4 { 
 + port_id = <5>; 
 + phy_address = <28>; 
 + port_mac_sel="QGMAC_PORT"; 
 + }; 
 + port@5 { 
 + port_id = <6>; 
 + phy_address = <4>; 
 + }; 
 + }; 
 + port_scheduler_resource { 
 + port@0 { 
 + port_id = <0>; 
 + ucast_queue = <0 143>; 
 + mcast_queue = <256 271>; 
 + l0sp = <0 35>; 
 + l0cdrr = <0 47>; 
 + l0edrr = <0 47>; 
 + l1cdrr = <0 7>; 
 + l1edrr = <0 7>; 
 + }; 
 + port@1 { 
 + port_id = <1>; 
 + ucast_queue = <144 159>; 
 + mcast_queue = <272 275>; 
 + l0sp = <36 39>; 
 + l0cdrr = <48 63>; 
 + l0edrr = <48 63>; 
 + l1cdrr = <8 11>; 
 + l1edrr = <8 11>; 
 + }; 
 + port@2 { 
 + port_id = <2>; 
 + ucast_queue = <160 175>; 
 + mcast_queue = <276 279>; 
 + l0sp = <40 43>; 
 + l0cdrr = <64 79>; 
 + l0edrr = <64 79>; 
 + l1cdrr = <12 15>; 
 + l1edrr = <12 15>; 
 + }; 
 + port@3 { 
 + port_id = <3>; 
 + ucast_queue = <176 191>; 
 + mcast_queue = <280 283>; 
 + l0sp = <44 47>; 
 + l0cdrr = <80 95>; 
 + l0edrr = <80 95>; 
 + l1cdrr = <16 19>; 
 + l1edrr = <16 19>; 
 + }; 
 + port@4 { 
 + port_id = <4>; 
 + ucast_queue = <192 207>; 
 + mcast_queue = <284 287>; 
 + l0sp = <48 51>; 
 + l0cdrr = <96 111>; 
 + l0edrr = <96 111>; 
 + l1cdrr = <20 23>; 
 + l1edrr = <20 23>; 
 + }; 
 + port@5 { 
 + port_id = <5>; 
 + ucast_queue = <208 223>; 
 + mcast_queue = <288 291>; 
 + l0sp = <52 55>; 
 + l0cdrr = <112 127>; 
 + l0edrr = <112 127>; 
 + l1cdrr = <24 27>; 
 + l1edrr = <24 27>; 
 + }; 
 + port@6 { 
 + port_id = <6>; 
 + ucast_queue = <224 239>; 
 + mcast_queue = <292 295>; 
 + l0sp = <56 59>; 
 + l0cdrr = <128 143>; 
 + l0edrr = <128 143>; 
 + l1cdrr = <28 31>; 
 + l1edrr = <28 31>; 
 + }; 
 + port@7 { 
 + port_id = <7>; 
 + ucast_queue = <240 255>; 
 + mcast_queue = <296 299>; 
 + l0sp = <60 63>; 
 + l0cdrr = <144 159>; 
 + l0edrr = <144 159>; 
 + l1cdrr = <32 35>; 
 + l1edrr = <32 35>; 
 + }; 
 + }; 
 + port_scheduler_config { 
 + port@0 { 
 + port_id = <0>; 
 + l1scheduler { 
 + group@0 { 
 + sp = <0 1>; /*L0 SPs*/ 
 + /*cpri cdrr epri edrr*/ 
 + cfg = <0 0 0 0>; 
 + }; 
 + }; 
 + l0scheduler { 
 + group@0 { 
 + /*unicast queues*/ 
 + ucast_queue = <0 4 8>; 
 + /*multicast queues*/ 
 + mcast_queue = <256 260>; 
 + /*sp cpri cdrr epri edrr*/ 
 + cfg = <0 0 0 0 0>; 
 + }; 
 + group@1 { 
 + ucast_queue = <1 5 9>; 
 + mcast_queue = <257 261>; 
 + cfg = <0 1 1 1 1>; 
 + }; 
 + group@2 { 
 + ucast_queue = <2 6 10>; 
 + mcast_queue = <258 262>; 
 + cfg = <0 2 2 2 2>; 
 + }; 
 + group@3 { 
 + ucast_queue = <3 7 11>; 
 + mcast_queue = <259 263>; 
 + cfg = <0 3 3 3 3>; 
 + }; 
 + }; 
 + }; 
 + port@1 { 
 + port_id = <1>; 
 + l1scheduler { 
 + group@0 { 
 + sp = <36>; 
 + cfg = <0 8 0 8>; 
 + }; 
 + group@1 { 
 + sp = <37>; 
 + cfg = <1 9 1 9>; 
 + }; 
 + }; 
 + l0scheduler { 
 + group@0 { 
 + ucast_queue = <144>; 
 + ucast_loop_pri = <16>; 
 + mcast_queue = <272>; 
 + mcast_loop_pri = <4>; 
 + cfg = <36 0 48 0 48>; 
 + }; 
 + }; 
 + }; 
 + port@2 { 
 + port_id = <2>; 
 + l1scheduler { 
 + group@0 { 
 + sp = <40>; 
 + cfg = <0 12 0 12>; 
 + }; 
 + group@1 { 
 + sp = <41>; 
 + cfg = <1 13 1 13>; 
 + }; 
 + }; 
 + l0scheduler { 
 + group@0 { 
 + ucast_queue = <160>; 
 + ucast_loop_pri = <16>; 
 + mcast_queue = <276>; 
 + mcast_loop_pri = <4>; 
 + cfg = <40 0 64 0 64>; 
 + }; 
 + }; 
 + }; 
 + port@3 { 
 + port_id = <3>; 
 + l1scheduler { 
 + group@0 { 
 + sp = <44>; 
 + cfg = <0 16 0 16>; 
 + }; 
 + group@1 { 
 + sp = <45>; 
 + cfg = <1 17 1 17>; 
 + }; 
 + }; 
 + l0scheduler { 
 + group@0 { 
 + ucast_queue = <176>; 
 + ucast_loop_pri = <16>; 
 + mcast_queue = <280>; 
 + mcast_loop_pri = <4>; 
 + cfg = <44 0 80 0 80>; 
 + }; 
 + }; 
 + }; 
 + port@4 { 
 + port_id = <4>; 
 + l1scheduler { 
 + group@0 { 
 + sp = <48>; 
 + cfg = <0 20 0 20>; 
 + }; 
 + group@1 { 
 + sp = <49>; 
 + cfg = <1 21 1 21>; 
 + }; 
 + }; 
 + l0scheduler { 
 + group@0 { 
 + ucast_queue = <192>; 
 + ucast_loop_pri = <16>; 
 + mcast_queue = <284>; 
 + mcast_loop_pri = <4>; 
 + cfg = <48 0 96 0 96>; 
 + }; 
 + }; 
 + }; 
 + port@5 { 
 + port_id = <5>; 
 + l1scheduler { 
 + group@0 { 
 + sp = <52>; 
 + cfg = <0 24 0 24>; 
 + }; 
 + group@1 { 
 + sp = <53>; 
 + cfg = <1 25 1 25>; 
 + }; 
 + }; 
 + l0scheduler { 
 + group@0 { 
 + ucast_queue = <208>; 
 + ucast_loop_pri = <16>; 
 + mcast_queue = <288>; 
 + mcast_loop_pri = <4>; 
 + cfg = <52 0 112 0 112>; 
 + }; 
 + }; 
 + }; 
 + port@6 { 
 + port_id = <6>; 
 + l1scheduler { 
 + group@0 { 
 + sp = <56>; 
 + cfg = <0 28 0 28>; 
 + }; 
 + group@1 { 
 + sp = <57>; 
 + cfg = <1 29 1 29>; 
 + }; 
 + }; 
 + l0scheduler { 
 + group@0 { 
 + ucast_queue = <224>; 
 + ucast_loop_pri = <16>; 
 + mcast_queue = <292>; 
 + mcast_loop_pri = <4>; 
 + cfg = <56 0 128 0 128>; 
 + }; 
 + }; 
 + }; 
 + port@7 { 
 + port_id = <7>; 
 + l1scheduler { 
 + group@0 { 
 + sp = <60>; 
 + cfg = <0 32 0 32>; 
 + }; 
 + group@1 { 
 + sp = <61>; 
 + cfg = <1 33 1 33>; 
 + }; 
 + }; 
 + l0scheduler { 
 + group@0 { 
 + ucast_queue = <240>; 
 + ucast_loop_pri = <16>; 
 + mcast_queue = <296>; 
 + cfg = <60 0 144 0 144>; 
 + }; 
 + }; 
 + }; 
 + }; 
 + }; 
 + 
 + dp1 { 
 + device_type = "network"; 
 + compatible = "qcom,nss-dp"; 
 + qcom,id = <1>; 
 + reg = <0x3a001000 0x200>; 
 + qcom,mactype = <0>; 
 + local-mac-address = [000000000000]; 
 + qcom,link-poll = <1>; 
 + qcom,phy-mdio-addr = <0>; 
 + phy-mode = "sgmii"; 
 + }; 
 + 
 + dp2 { 
 + device_type = "network"; 
 + compatible = "qcom,nss-dp"; 
 + qcom,id = <2>; 
 + reg = <0x3a001200 0x200>; 
 + qcom,mactype = <0>; 
 + local-mac-address = [000000000000]; 
 + qcom,link-poll = <1>; 
 + qcom,phy-mdio-addr = <1>; 
 + phy-mode = "sgmii"; 
 + }; 
 + 
 + dp3 { 
 + device_type = "network"; 
 + compatible = "qcom,nss-dp"; 
 + qcom,id = <3>; 
 + reg = <0x3a001400 0x200>; 
 + qcom,mactype = <0>; 
 + local-mac-address = [000000000000]; 
 + qcom,link-poll = <1>; 
 + qcom,phy-mdio-addr = <2>; 
 + phy-mode = "sgmii"; 
 + }; 
 + 
 + dp4 { 
 + device_type = "network"; 
 + compatible = "qcom,nss-dp"; 
 + qcom,id = <4>; 
 + reg = <0x3a001600 0x200>; 
 + qcom,mactype = <0>; 
 + local-mac-address = [000000000000]; 
 + qcom,link-poll = <1>; 
 + qcom,phy-mdio-addr = <3>; 
 + phy-mode = "sgmii"; 
 + }; 
 + 
 + dp5 { 
 + device_type = "network"; 
 + compatible = "qcom,nss-dp"; 
 + qcom,id = <5>; 
 + reg = <0x3a001800 0x200>; 
 + qcom,mactype = <0>; 
 + local-mac-address = [000000000000]; 
 + qcom,link-poll = <1>; 
 + qcom,phy-mdio-addr = <28>; 
 + phy-mode = "sgmii"; 
 + }; 
 + 
 + dp6 { 
 + device_type = "network"; 
 + compatible = "qcom,nss-dp"; 
 + qcom,id = <6>; 
 + reg = <0x3a007000 0x3fff>; 
 + qcom,mactype = <0>; 
 + local-mac-address = [000000000000]; 
 + qcom,link-poll = <1>; 
 + qcom,phy-mdio-addr = <4>; 
 + phy-mode = "sgmii"; 
 + }; 
 + 
 + gpio_keys { 
 + compatible = "gpio-keys"; 
 + 
 + button@1 { 
 + label = "reset"; 
 + linux,code = <KEY_RESTART>; 
 + gpios = <&tlmm 27 GPIO_ACTIVE_LOW>; 
 + linux,input-type = <1>; 
 + }; 
 + }; 
 + 
 + fans { 
 + compatible = "gpio-fan"; 
 + pinctrl-0 = <&fan_pins>; 
 + pinctrl-names = "default"; 
 + fan1 { 
 + label = "fan1"; 
 + gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>; 
 + }; 
 + fan2 { 
 + label = "fan2"; 
 + gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>; 
 + }; 
 + fan3 { 
 + label = "fan3"; 
 + gpios = <&tlmm 42 GPIO_ACTIVE_HIGH>; 
 + }; 
 + }; 
 + 
 + antennas { 
 + compatible = "gpio-antenna"; 
 + pinctrl-0 = <&antenna_pins>; 
 + pinctrl-names = "default"; 
 + ext_antenna_en { 
 + label = "ext_antenna_en"; 
 + gpios = <&tlmm 56 GPIO_ACTIVE_HIGH>; 
 + }; 
 + }; 
 + 
 + modem { 
 + compatible = "gpio-modem"; 
 + pinctrl-0 = <&modem_pins>; 
 + pinctrl-names = "default"; 
 + modem_reset { 
 + label = "modem_reset"; 
 + gpios = <&tlmm 29 GPIO_ACTIVE_LOW>; 
 + }; 
 + 
 + w_disable { 
 + label = "w_disable"; 
 + gpios = <&tlmm 55 GPIO_ACTIVE_LOW>; 
 + }; 
 + }; 
 + 
 + leds { 
 + compatible = "gpio-leds"; 
 +  
 + red { 
 + gpios = <&tlmm 51 GPIO_ACTIVE_HIGH>; 
 + default-state = "on"; 
 + }; 
 + green { 
 + gpios = <&tlmm 50 GPIO_ACTIVE_HIGH>; 
 + default-state = "on"; 
 + }; 
 + blue { 
 + gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>; 
 + default-state = "off"; 
 + }; 
 + 
 + yellow_mix { 
 + default-state = "off"; 
 + virtuals = <0>, <1>, <3>; 
 + }; 
 + blue_mix { 
 + default-state = "off"; 
 + virtuals = <1>, <2>, <3>; 
 + }; 
 + }; 
 +}; 
 + 
 +&serial_blsp4 { 
 + pinctrl-0 = <&uart_pins>; 
 + pinctrl-names = "default"; 
 + status = "ok"; 
 +}; 
 + 
 + 
 +&serial_blsp2 { 
 + pinctrl-0 = <&hsuart_pins>; 
 + pinctrl-names = "default"; 
 + status = "ok"; 
 +}; 
 + 
 +&msm_imem { 
 + status = "enabled"; 
 +}; 
 + 
 +&ssphy_0 { 
 + status = "ok"; 
 +}; 
 + 
 +&qusb_phy_0 { 
 + status = "ok"; 
 +}; 
 + 
 +&ssphy_1 { 
 + status = "ok"; 
 +}; 
 + 
 +&qusb_phy_1 { 
 + status = "ok"; 
 +}; 
 + 
 +&usb3_0 { 
 + status = "ok"; 
 +}; 
 + 
 +&usb3_1 { 
 + status = "ok"; 
 +}; 
 + 
 +&cryptobam { 
 + status = "ok"; 
 +}; 
 + 
 +&crypto { 
 + status = "ok"; 
 +}; 
 + 
 +&sdhc_1 { 
 + qcom,clk-rates = <400000 25000000 50000000 100000000 \ 
 + 192000000 384000000>; 
 + qcom,bus-speed-mode = "HS400_1p8v", "HS200_1p8v", "DDR_1p8v"; 
 + qcom,nonremovable; 
 + status = "ok"; 
 +}; 
 + 
 +&qpic_bam { 
 + status = "ok"; 
 +}; 
 + 
 +&nand { 
 + pinctrl-0 = <&qpic_pins>; 
 + pinctrl-names = "default"; 
 + status = "ok"; 
 +}; 
 + 
 +&pcie0 { 
 + interrupts-extended = <&intc 0 52 0>, <&intc 0 416 0>, <&intc 0 417 0>, 
 + <&intc 0 418 0>, <&intc 0 419 0>, <&intc 0 420 0>, 
 + <&intc 0 421 0>, <&intc 0 422 0>, <&intc 0 423 0>, 
 + <&intc 0 424 0>, <&intc 0 425 0>, <&intc 0 426 0>, 
 + <&intc 0 427 0>, <&intc 0 428 0>, <&intc 0 429 0>, 
 + <&intc 0 430 0>, <&intc 0 431 0>, <&tlmm 59 0>, 
 + <&tlmm 33 0>; 
 + 
 + interrupt-names = "msi", "msi_0", "msi_1", 
 + "msi_2", "msi_3", "msi_4", 
 + "msi_5", "msi_6", "msi_7", 
 + "msi_8", "msi_9", "msi_10", 
 + "msi_11", "msi_12", "msi_13", 
 + "msi_14", "msi_15", "wake_gpio"; 
 + 
 + pinctrl-0 = <&pcie_wake_pins>; 
 + pinctrl-names = "default"; 
 + link_retries_count = <10>; 
 + use_delay = <0>; 
 +}; 
 + 
 +&pcie1 { 
 + status = "disabled"; 
 +}; 
 + 
 +&qpic_lcd { 
 + status = "ok"; 
 +}; 
 + 
 +&qpic_lcd_panel { 
 + status = "ok"; 
 +}; 
 + 
 +&ledc { 
 + pinctrl-0 = <&ledc_pins>; 
 + pinctrl-names = "default"; 
 + status = "ok"; 
 + led0 { 
 + label = "ipq::led0"; 
 + linux,default-trigger = "led_wifi_son_green"; 
 + }; 
 + led1 { 
 + label = "ipq::led1"; 
 + linux,default-trigger = "led_wifi_son_orange"; 
 + }; 
 + led2 { 
 + label = "ipq::led2"; 
 + linux,default-trigger = "led_wifi_son_blue"; 
 + }; 
 + led3 { 
 + label = "ipq::led3"; 
 + linux,default-trigger = "led_2g"; 
 + }; 
 + led4 { 
 + label = "ipq::led4"; 
 + linux,default-trigger = "led_5gl"; 
 + }; 
 + led5 { 
 + label = "ipq::led5"; 
 + linux,default-trigger = "led_5gh"; 
 + }; 
 + led6 { 
 + label = "ipq::led6"; 
 + linux,default-trigger = "led_lan"; 
 + }; 
 + led7 { 
 + label = "ipq::led7"; 
 + linux,default-trigger = "led_wan"; 
 + }; 
 + led8 { 
 + label = "ipq::led8"; 
 + linux,default-trigger = "led_10g_link"; 
 + }; 
 + led9 { 
 + label = "ipq::led9"; 
 + linux,default-trigger = "led_sfp"; 
 + }; 
 + led10 { 
 + label = "ipq::led10"; 
 + linux,default-trigger = "led_bt"; 
 + }; 
 + led11 { 
 + label = "ipq::led11"; 
 + linux,default-trigger = "none"; 
 + }; 
 + led12 { 
 + label = "ipq::led12"; 
 + linux,default-trigger = "none"; 
 + }; 
 +}; 
 + 
 +&watchdog { 
 + mhi-wdt-panic-enable; 
 +}; 
 + 
 +&pcie0_rp { 
 + 
 + #address-cells = <5>; 
 + #size-cells = <0>; 
 + 
 + status = "ok"; 
 + aliases { 
 + mhi-netdev0 = &mhi_netdev_0; 
 + mhi_netdev2 = &mhi_netdev_2; 
 + }; 
 + mhi_0: qcom,mhi@0 { 
 + reg = <0 0 0 0 0 >; 
 + 
 + ap2mdm = <26>; 
 + mdm2ap = <25>; 
 + 
 + /* controller specific configuration */ 
 + qcom,iommu-dma = "disabled"; 
 + 
 + 
 + /* mhi bus specific settings */ 
 + mhi,max-channels = <110>; 
 + mhi,timeout = <60000>; 
 + mhi,ssr-negotiate; 
 + 
 + mhi_channels: mhi_channels { 
 + #address-cells = <1>; 
 + #size-cells = <0>; 
 + 
 + mhi_chan@0 { 
 + reg = <0>; 
 + label = "LOOPBACK"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <2>; 
 + mhi,chan-dir = <1>; 
 + mhi,data-type = <0>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@1 { 
 + reg = <1>; 
 + label = "LOOPBACK"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <2>; 
 + mhi,chan-dir = <2>; 
 + mhi,data-type = <0>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@4 { 
 + reg = <4>; 
 + label = "DIAG"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <1>; 
 + mhi,chan-dir = <1>; 
 + mhi,data-type = <0>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@5 { 
 + reg = <5>; 
 + label = "DIAG"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <3>; 
 + mhi,chan-dir = <2>; 
 + mhi,data-type = <0>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@14 { 
 + reg = <14>; 
 + label = "QMI0"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <1>; 
 + mhi,chan-dir = <1>; 
 + mhi,data-type = <0>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@15 { 
 + reg = <15>; 
 + label = "QMI0"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <2>; 
 + mhi,chan-dir = <2>; 
 + mhi,data-type = <0>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@16 { 
 + reg = <16>; 
 + label = "QMI1"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <3>; 
 + mhi,chan-dir = <1>; 
 + mhi,data-type = <0>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@17 { 
 + reg = <17>; 
 + label = "QMI1"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <3>; 
 + mhi,chan-dir = <2>; 
 + mhi,data-type = <0>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@18 { 
 + reg = <18>; 
 + label = "IP_CTRL"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <1>; 
 + mhi,chan-dir = <1>; 
 + mhi,data-type = <0>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@19 { 
 + reg = <19>; 
 + label = "IP_CTRL"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <1>; 
 + mhi,chan-dir = <2>; 
 + mhi,data-type = <0>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + mhi,auto-queue; 
 + }; 
 + 
 + mhi_chan@20 { 
 + reg = <20>; 
 + label = "IPCR"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <2>; 
 + mhi,chan-dir = <1>; 
 + mhi,data-type = <1>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + mhi,auto-start; 
 + }; 
 + 
 + mhi_chan@21 { 
 + reg = <21>; 
 + label = "IPCR"; 
 + mhi,num-elements = <64>; 
 + mhi,event-ring = <2>; 
 + mhi,chan-dir = <2>; 
 + mhi,data-type = <0>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + mhi,auto-queue; 
 + mhi,auto-start; 
 + }; 
 + 
 + mhi_chan@46 { 
 + reg = <46>; 
 + label = "IP_SW0"; 
 + mhi,num-elements = <512>; 
 + mhi,event-ring = <4>; 
 + mhi,chan-dir = <1>; 
 + mhi,data-type = <1>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@47 { 
 + reg = <47>; 
 + label = "IP_SW0"; 
 + mhi,num-elements = <512>; 
 + mhi,event-ring = <5>; 
 + mhi,chan-dir = <2>; 
 + mhi,data-type = <4>; 
 + mhi,doorbell-mode = <2>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@100 { 
 + reg = <100>; 
 + label = "IP_HW0"; 
 + mhi,num-elements = <512>; 
 + mhi,event-ring = <6>; 
 + mhi,chan-dir = <1>; 
 + mhi,data-type = <1>; 
 + mhi,doorbell-mode = <3>; 
 + mhi,ee = <0x4>; 
 + mhi,db-mode-switch; 
 + }; 
 + 
 + mhi_chan@101 { 
 + reg = <101>; 
 + label = "IP_HW0"; 
 + mhi,num-elements = <512>; 
 + mhi,event-ring = <7>; 
 + mhi,chan-dir = <2>; 
 + mhi,data-type = <4>; 
 + mhi,doorbell-mode = <3>; 
 + mhi,ee = <0x4>; 
 + }; 
 + 
 + mhi_chan@102 { 
 + reg = <102>; 
 + label = "IP_HW_ADPL"; 
 + mhi,event-ring = <8>; 
 + mhi,chan-dir = <2>; 
 + mhi,data-type = <3>; 
 + mhi,ee = <0x4>; 
 + mhi,offload-chan; 
 + mhi,lpm-notify; 
 + }; 
 + 
 + }; 
 + 
 + mhi_events: mhi_events { 
 + #address-cells = <1>; 
 + #size-cells = <0>; 
 + 
 + mhi_event@0 { 
 + reg = <0>; 
 + mhi,num-elements = <32>; 
 + mhi,intmod = <1>; 
 + mhi,msi = <1>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <2>; 
 + mhi,data-type = <1>; 
 + }; 
 + 
 + mhi_event@1 { 
 + mhi,num-elements = <256>; 
 + mhi,intmod = <1>; 
 + mhi,msi = <2>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <2>; 
 + }; 
 + 
 + mhi_event@2 { 
 + mhi,num-elements = <256>; 
 + mhi,intmod = <1>; 
 + mhi,msi = <3>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <2>; 
 + }; 
 + 
 + mhi_event@3 { 
 + mhi,num-elements = <256>; 
 + mhi,intmod = <1>; 
 + mhi,msi = <4>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <2>; 
 + }; 
 + 
 + mhi_event@4 { 
 + mhi,num-elements = <1024>; 
 + mhi,intmod = <5>; 
 + mhi,msi = <5>; 
 + mhi,chan = <46>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <2>; 
 + }; 
 + 
 + mhi_event@5 { 
 + mhi,num-elements = <1024>; 
 + mhi,intmod = <5>; 
 + mhi,msi = <6>; 
 + mhi,chan = <47>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <2>; 
 + mhi,client-manage; 
 + }; 
 + 
 + 
 + mhi_event@6 { 
 + mhi,num-elements = <1024>; 
 + mhi,intmod = <5>; 
 + mhi,msi = <5>; 
 + mhi,chan = <100>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <3>; 
 + mhi,hw-ev; 
 + }; 
 + 
 + mhi_event@7 { 
 + mhi,num-elements = <1024>; 
 + mhi,intmod = <5>; 
 + mhi,msi = <6>; 
 + mhi,chan = <101>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <3>; 
 + mhi,client-manage; 
 + mhi,hw-ev; 
 + }; 
 + 
 + 
 + mhi_event@8 { 
 + mhi,num-elements = <0>; 
 + mhi,intmod = <0>; 
 + mhi,msi = <0>; 
 + mhi,chan = <102>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <3>; 
 + mhi,hw-ev; 
 + mhi,client-manage; 
 + mhi,offload; 
 + }; 
 + 
 + mhi_event@9 { 
 + mhi,num-elements = <1024>; 
 + mhi,intmod = <5>; 
 + mhi,msi = <7>; 
 + mhi,chan = <103>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <2>; 
 + mhi,hw-ev; 
 + }; 
 + 
 + mhi_event@10 { 
 + mhi,num-elements = <0>; 
 + mhi,intmod = <0>; 
 + mhi,msi = <0>; 
 + mhi,chan = <105>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <3>; 
 + mhi,hw-ev; 
 + mhi,client-manage; 
 + mhi,offload; 
 + }; 
 + 
 + mhi_event@11 { 
 + mhi,num-elements = <0>; 
 + mhi,intmod = <0>; 
 + mhi,msi = <0>; 
 + mhi,chan = <106>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <3>; 
 + mhi,hw-ev; 
 + mhi,client-manage; 
 + mhi,offload; 
 + }; 
 + 
 + mhi_event@12 { 
 + mhi,num-elements = <0>; 
 + mhi,intmod = <0>; 
 + mhi,msi = <0>; 
 + mhi,chan = <107>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <3>; 
 + mhi,hw-ev; 
 + mhi,client-manage; 
 + mhi,offload; 
 + }; 
 + 
 + mhi_event@13 { 
 + mhi,num-elements = <0>; 
 + mhi,intmod = <0>; 
 + mhi,msi = <0>; 
 + mhi,chan = <108>; 
 + mhi,priority = <1>; 
 + mhi,brstmode = <3>; 
 + mhi,hw-ev; 
 + mhi,client-manage; 
 + mhi,offload; 
 + }; 
 + }; 
 + 
 + mhi_devices: mhi_devices { 
 + #address-cells = <1>; 
 + #size-cells = <0>; 
 + 
 + mhi_netdev_0: mhi_rmnet@0 { 
 + reg = <0x0>; 
 + mhi,chan = "IP_HW0"; 
 + mhi,interface-name = "rmnet_mhi"; 
 + mhi,mru = <0x4000>; 
 + mhi,chain-skb; 
 + }; 
 + 
 + mhi_rmnet@1 { 
 + reg = <0x1>; 
 + mhi,chan = "IP_HW0_RSC"; 
 + mhi,mru = <0x8000>; 
 + mhi,rsc-parent = <&mhi_netdev_0>; 
 + }; 
 + 
 + mhi_netdev_2: mhi_rmnet@2 { 
 + reg = <0x2>; 
 + mhi,chan = "IP_SW0"; 
 + mhi,interface-name = "rmnet_mhi_sw"; 
 + mhi,mru = <0x4000>; 
 + mhi,disable-chain-skb; 
 + }; 
 + 
 + mhi_qrtr { 
 + mhi,chan = "IPCR"; 
 + qcom,net-id = <3>; 
 + }; 
 + }; 
 + 
 + }; 
 +}; 
 + 
 +</nowiki> 
 +</WRAP>\\ 
  
 ===== Notes ===== ===== Notes =====
 +There is potential to exploit the HTTP U-Boot recovery method with a buffer overflow to run arbitrary shellcode:
 +https://github.com/naf419/tplink_deco_exploits
  
-No GPL sources available yet I have asked with no response.+The unit has 2x OS images on NAND flash, one image is for normal operation and the other one is for recovering of firmware or upgrading.
  
-Can't seem to get access to uart it asks for a magic string to break into uboot but the typicals strings do not seem to work. 
  
  
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>ipq807x ipq8072a 256nand 1024ram 2port gigabitethernet 2.5gigabitethernet 4core wifi6 802.11ax 802.11abgn ARMv8 LTE unsupported}}+{{tag>ipq807x ipq8074a QCA8081 QCN5054 QCN5024 AR8033-AL1A QPF4588 SKY85340-11 128nand 512ram 2port gigabitethernet 2.5gigabitethernet 2port 4core wifi6 802.11ax 802.11abgn 8x8 MU-MIMO OFDMA ARMv8 LTE 1SIM InternalAntenna 4g 5g_mm_wave 2_ant 1_button 12v_powered unsupported}} 
 + 
 + 
  • Last modified: 2024/08/22 20:23
  • by professor_jonny