Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| inbox:toh:netgear:netgear_rax120_nighthawk_ax12 [2020/09/03 18:16] – Opening case and advice on serial hnyman | inbox:toh:netgear:netgear_rax120_nighthawk_ax12 [2024/03/13 22:52] – [TTL + USB method] ywang | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Netgear | + | ====== Netgear |
| - | ~~NOTOC~~ | + | |
| - | /* This template is intended to be used via https:// | + | {{ media:netgear: |
| - | {{page> | + | The RAX120v2 is an 802.11ax OFDMA and MU-MIMO Dual-Band WiFi router, which has the following WiFi Interfaces.: |
| - | A 802.11ax Wi-Fi6 device with a quad-core IPQ8074A chip, uses ath11k wifi driver. | + | * one 2.4GHz (QCN9024 4x4 ax) |
| + | * two 5GHz (QCN5024 4x4 ax + QCN9024 2x2/4x4 ax) | ||
| - | /*****/ | + | The radios support up to 4K QAM (through MCS0 - MCS15), for devices and paths that are compatible with those high-density modulations. Supports DFS channels, from channel 36 up to 165 (may vary on each region). 12 antenna chains operate in a two radio configuration as 8x8 in 5 GHz and 4x4 in 2.4 GHz. |
| - | /* How to add images ========> | + | |
| - | /*****/ | + | |
| - | {{ media: | + | This is a router based on a Qualcomm IPQ8074 4-core SoC (up to 2.2GHz). |
| - | ====== Netgear RAX120 ====== | + | It has 4 1G LAN ports, 1 1G WAN port, and a 2.5G/5G LAN port (Aquantia AQR111). |
| - | ~~NOTOC~~ | + | |
| - | /* This template is intended to be used via https:// | ||
| - | {{page> | + | This device has 2 HW versions. V2 hardware is required. |
| - | /*****/ | + | ===== Supported Versions ===== |
| - | /* How to add images | + | <!-- ToH: { |
| - | /*****/ | + | " |
| - | ... | + | " |
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| + | |||
| + | ===== Hardware highlights | ||
| + | <!-- ToH: { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| + | |||
| + | ==== Info ==== | ||
| + | ^ [[wp> | ||
| + | ^ Vendor | ||
| + | ^ [[docs:techref: | ||
| + | ^ [[docs: | ||
| + | ^ [[docs: | ||
| + | ^ Flash-Chip | ||
| + | ^ Flash size | 512 MiB | | ||
| + | ^ RAM | 1024 MiB | | ||
| + | ^ Wireless 2.4 GHz | Qualcomm QCN5024, b/g/n/ax, 4x4:4 | | ||
| + | ^ Wireless 5 GHz | 2x Qualcomm QCN5054, a/n/ac/ax, 8x8:8 | | ||
| + | ^ Ethernet | ||
| + | ^ Switch | ||
| + | ^ Serial | ||
| + | ^ Power | External, 19 V 3.16 A | | ||
| ===== OpenWrt support ===== | ===== OpenWrt support ===== | ||
| - | <color red> | + | <!-- ToH: { |
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| Line 35: | Line 68: | ||
| //Describe if there are any ongoing activities that might lead to OpenWrt support.// | //Describe if there are any ongoing activities that might lead to OpenWrt support.// | ||
| - | /*** | + | Enable telnet with magic packet: |
| - | * OpenWrt forum thread: | + | |
| - | ***/ | + | |
| - | /*** if info available: uncomment and fill in | + | OpenWrt forum thread: [[https:// |
| - | ===== Experimental firmware ===== | + | |
| - | //List experimental firmware download links here.// | ||
| - | //None at this time.// | + | ===== Experimental firmware (RAX120v2 only)===== |
| - | * External image (add link) | + | There is an experimental fork of OpenWrt that supports this device at : https:// |
| - | * trunk image (add link) | + | or https:// |
| - | * ... | + | |
| - | ***/ | + | |
| + | ==== Build and Install ==== | ||
| - | ===== Hardware highlights ===== | + | ===Build=== |
| - | ^ CPU ^ Ram ^ Flash ^ WLAN2.4 ^ WLAN5.0 ^ USB | + | - Setup build environment:< |
| - | | Qualcomm Atheros IPQ8074A @ 2.0 GHz | 1024 Mib|512 MiB | b/g/n | an/ac/ax | | + | git clone https:// |
| + | cd openwrt | ||
| + | git checkout rax120v2/ | ||
| + | ./scripts/feeds update -a | ||
| + | ./scripts/feeds install -a | ||
| + | </ | ||
| + | - Run '' | ||
| + | Base System: | ||
| + | Target-System ---> Qualcomm Atheros 802.11ax WiSoC-s | ||
| + | Subtarget | ||
| + | Target-Profile ---> Netgear RAX120v2 | ||
| + | Add other components as desired.. Example: Luci | ||
| + | </ | ||
| + | Multi-Gig Support: See further down in the ' | ||
| + | - run '' | ||
| + | - After build finished, generated firmware will be at '' | ||
| + | |||
| + | ===Install=== | ||
| + | <tabbox From OEM Firmware> | ||
| + | 1. In the Netgear Stock GUI flash openwrt-qualcommax-ipq807x-netgear_rax120v2-squashfs-web-ui-factory.img | ||
| + | |||
| + | 2. Open Luci administration and flash sysupgrade image - openwrt-qualcommax-ipq807x-netgear_rax120v2-squashfs-sysupgrade.bin | ||
| + | <tabbox From TFTP / initramfs> | ||
| + | 1. Setup TFTP server at 192.168.1.10. | ||
| + | |||
| + | 2. Stop autoboot and run. | ||
| + | < | ||
| + | tftpboot openwrt-qualcommax-ipq807x-netgear_rax120v2-initramfs-uImage.itb | ||
| + | bootm | ||
| + | </ | ||
| + | 3. Open Luci administration and flash sysupgrade image - openwrt-qualcommax-ipq807x-netgear_rax120v2-squashfs-sysupgrade.bin | ||
| + | |||
| + | OpenWRT is now installed | ||
| + | </ | ||
| + | ===Aquantia 2.5G/5G LAN=== | ||
| + | For the 5G port labeled ' | ||
| + | u-boot by writing the firmware to the correct mtd partition. | ||
| + | |||
| + | The firmware file found in the Netgear stock firmware under ''/ | ||
| + | '' | ||
| + | be converted to a MBN file. | ||
| + | |||
| + | The '' | ||
| + | under '' | ||
| + | |||
| + | Convert the CLD file to MBN using: | ||
| + | $ python2 mkheader.py 0x44000000 0x13 <*.cld file> aqr_4.3.C.mbn | ||
| + | |||
| + | This MBN file can then be flashed to the MTD partition to be used by u-boot. | ||
| + | |||
| + | The necessary files can also be found in | ||
| + | https:// | ||
| + | |||
| + | ===Write MBN file to MTD partition to be loaded automatically by u-boot=== | ||
| + | |||
| + | U-boot automatically tries to load the firmware from nand at address 0x7e00000 which | ||
| + | corresponds to ''/ | ||
| + | |||
| + | 1. find ETHPHYFW partition while running OpenWrt (expected: /dev/mtd25) | ||
| + | |||
| + | $ fgrep -i ' | ||
| + | mtd25: 00080000 00020000 " | ||
| + | |||
| + | 2. copy mbn file to /tmp/ folder of the router | ||
| + | |||
| + | $ scp aqr-v4.3.C.mbn 192.168.1.1:/ | ||
| + | |||
| + | 3. write mbn file to ethphyfw partition | ||
| + | |||
| + | $ mtd write / | ||
| + | |||
| + | === (Outdated) Install firmware using aq-fw-download tool | ||
| + | - Download firmware. | ||
| + | < | ||
| + | wget -O / | ||
| + | </ | ||
| + | - Create init.d script to load the firmware and set link speed at boot. | ||
| + | < | ||
| + | < | ||
| + | #!/bin/sh / | ||
| + | |||
| + | START=25 | ||
| + | |||
| + | boot() { | ||
| + | aq-fw-download / | ||
| + | ethtool -s lan5 advertise 0x1000000000000 | ||
| + | ssdk_sh debug phy set 7 0x4004c441 0x8 | ||
| + | echo " | ||
| + | } | ||
| + | </ | ||
| + | < | ||
| + | chmod +x / | ||
| + | / | ||
| + | </ | ||
| /*** if info available: uncomment and fill in | /*** if info available: uncomment and fill in | ||
| ===== Installation ===== | ===== Installation ===== | ||
| Line 85: | Line 206: | ||
| - | |||
| - | |||
| - | ==== Buttons ==== | ||
| - | -> [[docs: | ||
| - | Here, we merely name the buttons, so we can use them in the above Howto. | ||
| - | |||
| - | Wifi, WPS, reset | ||
| - | |||
| - | |||
| - | ===== Hardware ===== | ||
| - | ==== Info ==== | ||
| - | ^ Architecture | ||
| - | ^ Vendor | ||
| - | ^ Bootloader | ||
| - | ^ System-On-Chip | ||
| - | ^ CPU/ | ||
| - | ^ Flash-Chip | ||
| - | ^ Flash size | 512 MiB | | ||
| - | ^ RAM | 1024 MiB | | ||
| - | ^ Wireless | ||
| - | ^ | QCN5024 2.4GHz 802.11bgn | ||
| - | ^ Ethernet | ||
| - | ^ Switch | ||
| - | ^ Serial | ||
| ==== Flash Layout ==== | ==== Flash Layout ==== | ||
| - | Flash layout in Original Netgear | + | < |
| < | < | ||
| - | + | 0x000000000000-0x000000100000 : " | |
| - | [ 4.261521] Creating 33 MTD partitions on " | + | 0x000000100000-0x000000200000 : " |
| - | [ 4.267694] | + | 0x000000200000-0x000000280000 : " |
| - | [ 4.274085] | + | 0x000000280000-0x000000300000 : " |
| - | [ 4.278873] | + | 0x000000300000-0x000000600000 : " |
| - | [ 4.283510] | + | 0x000000600000-0x000000900000 : " |
| - | [ 4.288894] | + | 0x000000900000-0x000000980000 : " |
| - | [ 4.295927] | + | 0x000000980000-0x000000a00000 : " |
| - | [ 4.301139] | + | 0x000000a00000-0x000000a80000 : " |
| - | [ 4.304527] | + | 0x000000a80000-0x000000b00000 : " |
| - | [ 4.309632] | + | 0x000000b00000-0x000000b80000 : " |
| - | [ 4.315115] | + | 0x000000b80000-0x000000c00000 : " |
| - | [ 4.320054] | + | 0x000000c00000-0x000000c80000 : " |
| - | [ 4.325005] | + | 0x000000c80000-0x000000d00000 : " |
| - | [ 4.329782] | + | 0x000000d00000-0x000000d80000 : " |
| - | [ 4.334992] | + | 0x000000d80000-0x000000e80000 : " |
| - | [ 4.339688] | + | 0x000000e80000-0x000000f80000 : " |
| - | [ 4.344892] | + | 0x000000f80000-0x000001000000 : " |
| - | [ 4.350576] | + | 0x000001000000-0x000001080000 : " |
| - | [ 4.355624] | + | 0x000001080000-0x000001180000 : " |
| - | [ 4.360777] | + | 0x000001180000-0x000001280000 : " |
| - | [ 4.365362] | + | 0x000001280000-0x000001380000 : " |
| - | [ 4.370869] | + | 0x000001380000-0x000001480000 : " |
| - | [ 4.376111] | + | 0x000001480000-0x000001980000 : " |
| - | [ 4.381391] | + | 0x000001980000-0x000007d80000 : " |
| - | [ 4.386704] | + | 0x000001980000-0x000001f00000 : " |
| - | [ 4.393785] | + | 0x000001f00000-0x000007d80000 : " |
| - | [ 4.457441] | + | 0x000007d80000-0x000008100000 : " |
| - | [ 4.461195] | + | 0x000008100000-0x000008200000 : " |
| - | [ 4.519947] mtd: device 26 (rootfs) set to be root filesystem | + | 0x000008200000-0x000008280000 : " |
| - | [ 4.520260] mtd: find squashfs magic at 0x1f00000 of qcom_nand.0 | + | 0x000008280000-0x000008480000 : " |
| - | [ 4.524666] mtd: find squashfs magic at 0x0 of rootfs | + | 0x000008480000-0x00000e880000 : " |
| - | [ 4.530733] remap_blocks_in_rootfs_partition: | + | 0x00000e880000-0x000020000000 : " |
| - | [ 4.535694] create_block_mapping: | + | |
| - | [ 4.603265] | + | |
| - | [ 4.605747] | + | |
| - | [ 4.608224] | + | |
| - | [ 4.612706] | + | |
| - | [ 4.618742] | + | |
| - | [ 4.684990] | + | |
| </ | </ | ||
| + | <tabbox OpenWrt Firmware> | ||
| + | < | ||
| + | 0x000000000000-0x000000100000 : " | ||
| + | 0x000000100000-0x000000200000 : " | ||
| + | 0x000000200000-0x000000280000 : " | ||
| + | 0x000000280000-0x000000300000 : " | ||
| + | 0x000000300000-0x000000600000 : " | ||
| + | 0x000000600000-0x000000900000 : " | ||
| + | 0x000000900000-0x000000980000 : " | ||
| + | 0x000000980000-0x000000a00000 : " | ||
| + | 0x000000a00000-0x000000a80000 : " | ||
| + | 0x000000a80000-0x000000b00000 : " | ||
| + | 0x000000b00000-0x000000b80000 : " | ||
| + | 0x000000b80000-0x000000c00000 : " | ||
| + | 0x000000c00000-0x000000c80000 : " | ||
| + | 0x000000c80000-0x000000d00000 : " | ||
| + | 0x000000d00000-0x000000d80000 : " | ||
| + | 0x000000d80000-0x000000e80000 : " | ||
| + | 0x000000e80000-0x000000f80000 : " | ||
| + | 0x000000f80000-0x000001000000 : " | ||
| + | 0x000001000000-0x000001080000 : " | ||
| + | 0x000001080000-0x000001180000 : " | ||
| + | 0x000001180000-0x000001280000 : " | ||
| + | 0x000001280000-0x000001380000 : " | ||
| + | 0x000001380000-0x000001480000 : " | ||
| + | 0x000001480000-0x000001980000 : " | ||
| + | 0x000001980000-0x000003680000 : " | ||
| + | 0x000007e00000-0x000007e80000 : " | ||
| + | 0x00000e880000-0x000020000000 : " | ||
| + | </ | ||
| + | </ | ||
| ==== Obtain SSH Access ==== | ==== Obtain SSH Access ==== | ||
| Line 175: | Line 295: | ||
| The case bottom and cover are attached to each other really tightly, but the case can be opened once you figure out all necessary steps: | The case bottom and cover are attached to each other really tightly, but the case can be opened once you figure out all necessary steps: | ||
| - | * The circuitboard | + | *The circuit board is attached to a heatsink that is attached to the top cover. So the bottom panel (with curvy sides) is the one to separate from the others. |
| - | * There are seven screws (Torx T-10) on the bottom | + | *There are seven screws (Torx T-10) to be opened: four on the bottom and three in the rear panel. Three screws are visible on the rear panel and four are hidden inside the rubber feet (which are attached with adhesive tape) |
| - | * There are strong clips on sides keeping the bottom tight even when the screws have been opened. These clips need to be pronged open with a flat screwdrivers or something. (I needed two screwdrivers). | + | *There are strong clips on sides keeping the bottom tight even when the screws have been opened. These clips need to be pronged open with a flat screwdrivers or something. (I needed two screwdrivers). |
| Bottom panel: | Bottom panel: | ||
| - | {{ media: | + | |
| + | {{media: | ||
| Clips: | Clips: | ||
| - | {{ media: | + | |
| - | Top cover & circuitboard: | + | {{media: |
| - | {{ media: | + | |
| + | Top cover & circuit board: | ||
| + | |||
| + | {{media: | ||
| ==== Serial ==== | ==== Serial ==== | ||
| Line 191: | Line 316: | ||
| -> [[docs: | -> [[docs: | ||
| - | The serial header in RAX120 is right at the edge of the circuitboard, | + | The serial header in RAX120 |
| - | + | I bended sideways the pins (at least ground, | |
| - | Using the markings in my USB-ttl converter, the pin order starting from riight | + | Using the markings in my USB-ttl converter, the pin order starting from right is: ground, |
| - | Serial connection | + | ^ Serial connection |
| Header: | Header: | ||
| - | {{ media: | + | |
| + | {{media: | ||
| Serial cable: | Serial cable: | ||
| - | {{ media: | ||
| + | {{media: | ||
| + | |||
| + | I drilled a hole for the serial cable to the side panel, so that I will later get serial access without opening the case. | ||
| - | (I will either leads the cable through grill at the bottom or drill a hole to the side, to get later serial access without opening the case.) | + | {{media: |
| Line 2637: | Line 2766: | ||
| </ | </ | ||
| - | </ | + | </ |
| ==== OpenWrt bootlog ==== | ==== OpenWrt bootlog ==== | ||
| - | /*** | ||
| <WRAP bootlog> | <WRAP bootlog> | ||
| - | < | + | < |
| + | [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] | ||
| + | [ 0.000000] Linux version 5.15.88 (user@user-virtual-machine) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r21804+24-0a15bb6510) 12.2.0, GNU ld (GNU Binutils) 2.39) #0 SMP Tue Jan 17 06:26:02 2023 | ||
| + | [ 0.000000] Machine model: Netgear RAX120v2 | ||
| + | [ 0.000000] Zone ranges: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Movable zone start for each node | ||
| + | [ 0.000000] Early memory node ranges | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff] | ||
| + | [ 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] psci: OSI mode supported. | ||
| + | [ 0.000000] percpu: Embedded 17 pages/cpu s30360 r8192 d31080 u69632 | ||
| + | [ 0.000000] pcpu-alloc: s30360 r8192 d31080 u69632 alloc=17*4096 | ||
| + | [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 | ||
| + | [ 0.000000] Detected VIPT I-cache on CPU0 | ||
| + | [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048 | ||
| + | [ 0.000000] Kernel command line: console=ttyMSM0, | ||
| + | [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) | ||
| + | [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) | ||
| + | [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off | ||
| + | [ 0.000000] Memory: 893416K/ | ||
| + | [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, | ||
| + | [ 0.000000] rcu: Hierarchical RCU implementation. | ||
| + | [ 0.000000] Tracing variant of Tasks RCU enabled. | ||
| + | [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay 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], | ||
| + | [ 0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/ | ||
| + | [ 0.000000] clocksource: | ||
| + | [ 0.000000] sched_clock: | ||
| + | [ 0.000127] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000) | ||
| + | [ 0.000143] pid_max: default: 32768 minimum: 301 | ||
| + | [ 0.000302] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) | ||
| + | [ 0.000319] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) | ||
| + | [ 0.001935] rcu: Hierarchical SRCU implementation. | ||
| + | [ 0.002109] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build | ||
| + | [ 0.002701] smp: Bringing up secondary CPUs ... | ||
| + | [ 0.003277] Detected VIPT I-cache on CPU1 | ||
| + | [ 0.003344] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] | ||
| + | [ 0.003952] Detected VIPT I-cache on CPU2 | ||
| + | [ 0.003992] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] | ||
| + | [ 0.004553] Detected VIPT I-cache on CPU3 | ||
| + | [ 0.004589] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] | ||
| + | [ 0.004654] smp: Brought up 1 node, 4 CPUs | ||
| + | [ 0.004681] SMP: Total of 4 processors activated. | ||
| + | [ 0.004689] CPU features: detected: 32-bit EL0 Support | ||
| + | [ 0.004696] CPU features: detected: CRC32 instructions | ||
| + | [ 0.004750] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching | ||
| + | [ 0.004760] CPU: All CPU(s) started at EL1 | ||
| + | [ 0.004782] alternatives: | ||
| + | [ 0.013118] clocksource: | ||
| + | [ 0.013155] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) | ||
| + | [ 0.013304] pinctrl core: initialized pinctrl subsystem | ||
| + | [ 0.014310] NET: Registered PF_NETLINK/ | ||
| + | [ 0.014761] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations | ||
| + | [ 0.014805] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations | ||
| + | [ 0.014843] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations | ||
| + | [ 0.015183] thermal_sys: | ||
| + | [ 0.016696] cpuidle: using governor menu | ||
| + | [ 0.016912] ASID allocator initialised with 65536 entries | ||
| + | [ 0.018118] OF: /opp-table: could not get # | ||
| + | [ 0.072361] qcom, | ||
| + | [ 0.079892] SCSI subsystem initialized | ||
| + | [ 0.080119] usbcore: registered new interface driver usbfs | ||
| + | [ 0.080167] usbcore: registered new interface driver hub | ||
| + | [ 0.080203] usbcore: registered new device driver usb | ||
| + | [ 0.080437] CPUidle PSCI: failed to enable OSI mode: -95 | ||
| + | [ 0.080787] qcom_scm: convention: smc arm 64 | ||
| + | [ 0.081986] clocksource: | ||
| + | [ 0.082638] NET: Registered PF_INET protocol family | ||
| + | [ 0.082775] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) | ||
| + | [ 0.083605] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) | ||
| + | [ 0.083637] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) | ||
| + | [ 0.083653] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) | ||
| + | [ 0.083740] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) | ||
| + | [ 0.083890] TCP: Hash tables configured (established 8192 bind 8192) | ||
| + | [ 0.083988] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) | ||
| + | [ 0.084029] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) | ||
| + | [ 0.084199] NET: Registered PF_UNIX/ | ||
| + | [ 0.084232] PCI: CLS 0 bytes, default 64 | ||
| + | [ 0.085311] workingset: timestamp_bits=46 max_order=18 bucket_order=0 | ||
| + | [ 0.088960] squashfs: version 4.0 (2009/ | ||
| + | [ 0.088975] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. | ||
| + | [ 0.090880] qcom-qmp-phy 58000.phy: supply vdda-phy not found, using dummy regulator | ||
| + | [ 0.091027] qcom-qmp-phy 58000.phy: supply vdda-pll not found, using dummy regulator | ||
| + | [ 0.092089] qcom-qmp-phy 58000.phy: Registered Qcom-QMP phy | ||
| + | [ 0.092357] qcom-qmp-phy 78000.phy: supply vdda-phy not found, using dummy regulator | ||
| + | [ 0.092488] qcom-qmp-phy 78000.phy: supply vdda-pll not found, using dummy regulator | ||
| + | [ 0.093376] qcom-qmp-phy 78000.phy: Registered Qcom-QMP phy | ||
| + | [ 0.094260] qcom-qusb2-phy 59000.phy: supply vdda-pll not found, using dummy regulator | ||
| + | [ 0.094398] qcom-qusb2-phy 59000.phy: supply vdda-phy-dpdm not found, using dummy regulator | ||
| + | [ 0.094548] qcom-qusb2-phy 59000.phy: Registered Qcom-QUSB2 phy | ||
| + | [ 0.094724] qcom-qusb2-phy 79000.phy: supply vdda-pll not found, using dummy regulator | ||
| + | [ 0.094836] qcom-qusb2-phy 79000.phy: supply vdda-phy-dpdm not found, using dummy regulator | ||
| + | [ 0.094994] qcom-qusb2-phy 79000.phy: Registered Qcom-QUSB2 phy | ||
| + | [ 0.099190] bam-dma-engine 704000.dma-controller: | ||
| + | [ 0.099215] bam-dma-engine 704000.dma-controller: | ||
| + | [ 0.103144] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled | ||
| + | [ 0.103713] msm_serial 78b3000.serial: | ||
| + | [ 0.103758] msm_serial 78b3000.serial: | ||
| + | [ 0.103805] 78b3000.serial: | ||
| + | [ 0.103839] msm_serial: console setup on port #0 | ||
| + | [ 0.804697] printk: console [ttyMSM0] enabled | ||
| + | [ 0.809826] msm_serial: driver initialized | ||
| + | [ 0.817616] loop: module loaded | ||
| + | [ 0.818923] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xac | ||
| + | [ 0.820652] nand: Winbond W29N04GZ | ||
| + | [ 0.827270] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 | ||
| + | [ 0.830764] 26 fixed-partitions partitions found on MTD device qcom_nand.0 | ||
| + | [ 0.838085] Creating 26 MTD partitions on " | ||
| + | [ 0.844883] 0x000000000000-0x000000100000 : " | ||
| + | [ 0.851607] 0x000000100000-0x000000200000 : " | ||
| + | [ 0.856492] 0x000000200000-0x000000280000 : " | ||
| + | [ 0.861004] 0x000000280000-0x000000300000 : " | ||
| + | [ 0.866526] 0x000000300000-0x000000600000 : " | ||
| + | [ 0.874354] 0x000000600000-0x000000900000 : " | ||
| + | [ 0.879238] 0x000000900000-0x000000980000 : " | ||
| + | [ 0.882146] 0x000000980000-0x000000a00000 : " | ||
| + | [ 0.887258] 0x000000a00000-0x000000a80000 : " | ||
| + | [ 0.892713] 0x000000a80000-0x000000b00000 : " | ||
| + | [ 0.897653] 0x000000b00000-0x000000b80000 : " | ||
| + | [ 0.902608] 0x000000b80000-0x000000c00000 : " | ||
| + | [ 0.907386] 0x000000c00000-0x000000c80000 : " | ||
| + | [ 0.912607] 0x000000c80000-0x000000d00000 : " | ||
| + | [ 0.917271] 0x000000d00000-0x000000d80000 : " | ||
| + | [ 0.922505] 0x000000d80000-0x000000e80000 : " | ||
| + | [ 0.928287] 0x000000e80000-0x000000f80000 : " | ||
| + | [ 0.933362] 0x000000f80000-0x000001000000 : " | ||
| + | [ 0.938384] 0x000001000000-0x000001080000 : " | ||
| + | [ 0.943033] 0x000001080000-0x000001180000 : " | ||
| + | [ 0.948607] 0x000001180000-0x000001280000 : " | ||
| + | [ 0.953835] 0x000001280000-0x000001380000 : " | ||
| + | [ 0.959091] 0x000001380000-0x000001480000 : " | ||
| + | [ 0.964451] 0x000001480000-0x000001980000 : " | ||
| + | [ 0.972357] 0x000001980000-0x000003680000 : " | ||
| + | [ 0.997262] 0x00000e880000-0x000020000000 : " | ||
| + | [ 1.228555] mtd: setting mtd25 (rootfs) as root device | ||
| + | [ 1.228852] mtdsplit: no squashfs found in " | ||
| + | [ 1.240511] spmi spmi-0: PMIC arbiter version v2 (0x20010000) | ||
| + | [ 1.243568] s1: supplied by regulator-dummy | ||
| + | [ 1.245412] s2: supplied by regulator-dummy | ||
| + | [ 1.249401] vdd_s3: supplied by regulator-dummy | ||
| + | [ 1.253705] vdd_s4: supplied by regulator-dummy | ||
| + | [ 1.258228] s5: supplied by regulator-dummy | ||
| + | [ 1.262622] l1: supplied by regulator-dummy | ||
| + | [ 1.266756] l2: supplied by regulator-dummy | ||
| + | [ 1.270913] l3: supplied by regulator-dummy | ||
| + | [ 1.275120] l4: supplied by regulator-dummy | ||
| + | [ 1.279255] l5: supplied by regulator-dummy | ||
| + | [ 1.283424] l6: supplied by regulator-dummy | ||
| + | [ 1.287608] l7: supplied by regulator-dummy | ||
| + | [ 1.291753] l8: supplied by regulator-dummy | ||
| + | [ 1.295945] l9: supplied by regulator-dummy | ||
| + | [ 1.300208] l11: supplied by regulator-dummy | ||
| + | [ 1.304277] l12: supplied by regulator-dummy | ||
| + | [ 1.308771] l13: supplied by regulator-dummy | ||
| + | [ 1.329036] i2c_dev: i2c /dev entries driver | ||
| + | [ 1.334149] sdhci: Secure Digital Host Controller Interface driver | ||
| + | [ 1.334193] sdhci: Copyright(c) Pierre Ossman | ||
| + | [ 1.339225] sdhci-pltfm: | ||
| + | [ 1.347096] remoteproc remoteproc0: | ||
| + | [ 1.351558] NET: Registered PF_INET6 protocol family | ||
| + | [ 1.355950] Segment Routing with IPv6 | ||
| + | [ 1.360271] In-situ OAM (IOAM) with IPv6 | ||
| + | [ 1.363899] NET: Registered PF_PACKET protocol family | ||
| + | [ 1.367825] 8021q: 802.1Q VLAN Support v1.8 | ||
| + | [ 1.388557] qcom, | ||
| + | [ 1.388859] cpr4_ipq807x_apss_read_fuse_data: | ||
| + | [ 1.394869] cpr4_ipq807x_apss_read_fuse_data: | ||
| + | [ 1.401282] cpr4_ipq807x_apss_read_fuse_data: | ||
| + | [ 1.408955] cpr4_ipq807x_apss_read_fuse_data: | ||
| + | [ 1.416464] cpr3_mem_acc_init: | ||
| + | [ 1.425596] cpr4_ipq807x_apss_calculate_open_loop_voltages: | ||
| + | [ 1.432544] cpr4_ipq807x_apss_calculate_open_loop_voltages: | ||
| + | [ 1.442527] cpr4_ipq807x_apss_calculate_open_loop_voltages: | ||
| + | [ 1.452335] cpr4_ipq807x_apss_calculate_open_loop_voltages: | ||
| + | [ 1.462194] cpr4_ipq807x_apss_calculate_target_quotients: | ||
| + | [ 1.471948] cpr4_ipq807x_apss_calculate_target_quotients: | ||
| + | [ 1.482807] cpr4_ipq807x_apss_calculate_target_quotients: | ||
| + | [ 1.493743] cpr4_ipq807x_apss_calculate_target_quotients: | ||
| + | [ 1.504817] cpr3_regulator_init_ctrl: | ||
| + | [ 1.507430] cpufreq: cpufreq_online: | ||
| + | [ 1.523364] remoteproc remoteproc0: | ||
| + | [ 1.533504] ubi0: attaching mtd25 | ||
| + | [ 2.112002] random: crng init done | ||
| + | [ 2.803768] ubi0: scanning is finished | ||
| + | [ 2.811224] ubi0: attached mtd25 (name " | ||
| + | [ 2.811267] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes | ||
| + | [ 2.815977] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 | ||
| + | [ 2.822823] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 | ||
| + | [ 2.829676] ubi0: good PEBs: 2236, bad PEBs: 0, corrupted PEBs: 0 | ||
| + | [ 2.836449] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128 | ||
| + | [ 2.842704] ubi0: max/mean erase counter: 7/4, WL threshold: 4096, image sequence number: 31865999 | ||
| + | [ 2.849819] ubi0: available PEBs: 0, total reserved PEBs: 2236, PEBs reserved for bad PEB handling: 80 | ||
| + | [ 2.858771] ubi0: background thread " | ||
| + | [ 2.859428] block ubiblock0_1: | ||
| + | [ 2.877321] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. | ||
| + | [ 2.877727] Freeing unused kernel memory: 1216K | ||
| + | [ 2.932054] Run /sbin/init as init process | ||
| + | [ 2.932075] | ||
| + | [ 2.932078] | ||
| + | [ 2.932081] | ||
| + | [ 2.932083] | ||
| + | [ 2.932086] | ||
| + | [ 3.058545] init: Console is alive | ||
| + | [ 3.058670] init: - watchdog - | ||
| + | [ 3.430917] kmodloader: loading kernel modules from / | ||
| + | [ 3.589684] ssdk_switch_device_num_init[1335]: | ||
| + | [ 3.589799] ssdk_dt_get_switch_node[1124]: | ||
| + | [ 3.596201] ssdk_dt_parse_access_mode[999]: | ||
| + | [ 3.602151] ssdk_dt_parse_access_mode[1012]: | ||
| + | [ 3.609438] ssdk_dt_parse_access_mode[1013]: | ||
| + | [ 3.616910] ssdk_dt_parse_mac_mode[327]: | ||
| + | [ 3.623586] ssdk_dt_parse_mac_mode[336]: | ||
| + | [ 3.629053] ssdk_dt_parse_mac_mode[345]: | ||
| + | [ 3.635011] ssdk_dt_parse_uniphy[364]: | ||
| + | [ 3.640786] ssdk_dt_parse_intf_mac[942]: | ||
| + | [ 3.646364] ssdk_dt_parse_intf_mac[942]: | ||
| + | [ 3.652958] ssdk_dt_parse_intf_mac[942]: | ||
| + | [ 3.659557] ssdk_plat_init[1692]: | ||
| + | [ 3.783168] ssdk_gcc_clock_init[1275]: | ||
| + | [ 3.784280] malibu_phy_api_ops_init[2846]: | ||
| + | [ 3.794341] aquantia_phy_api_ops_init[2241]: | ||
| + | [ 3.797692] regi_init[3953]: | ||
| + | [ 4.041990] ssdk_ppe_reset_init[1535]: | ||
| + | [ 4.045588] qca_hppe_portctrl_hw_init[126]: | ||
| + | [ 5.092030] ssdk_switch_register[2017]: | ||
| + | [ 5.092065] qca_link_polling_select[1487]: | ||
| + | [ 5.096753] ssdk_switch_register[2043]: | ||
| + | [ 5.105100] regi_init[3957]: | ||
| + | [ 5.110825] ssdk_genl_init[211]: | ||
| + | [ 5.116298] regi_init[4020]: | ||
| + | [ 5.124711] EDMA ver 1 hw init | ||
| + | [ 5.129171] EDMA HW Reset completed succesfully | ||
| + | [ 5.131846] Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7) | ||
| + | [ 5.136266] RxDesc:1 (15-15) RxFill:1 (7-7) | ||
| + | [ 5.142173] Generic PHY 90000.mdio-1: | ||
| + | [ 5.146251] nss-dp 3a001000.dp1 lan4: Registered netdev lan4(qcom-id: | ||
| + | [ 5.155678] Generic PHY 90000.mdio-1: | ||
| + | [ 5.162341] nss-dp 3a001200.dp2 lan3: Registered netdev lan3(qcom-id: | ||
| + | [ 5.171766] Generic PHY 90000.mdio-1: | ||
| + | [ 5.178507] nss-dp 3a001400.dp3 lan2: Registered netdev lan2(qcom-id: | ||
| + | [ 5.187822] GMAC4(ffffff8002f038c0) Invalid MAC@ - using a2: | ||
| + | [ 5.194207] Generic PHY 90000.mdio-1: | ||
| + | [ 5.201522] nss-dp 3a001600.dp4 lan1: Registered netdev lan1(qcom-id: | ||
| + | [ 5.210803] GMAC5(ffffff8002f048c0) Invalid MAC@ - using 76: | ||
| + | [ 5.217232] Generic PHY 90000.mdio-1: | ||
| + | [ 5.224535] nss-dp 3a001800.dp5 wan: Registered netdev wan(qcom-id: | ||
| + | [ 5.233811] GMAC6(ffffff8002f058c0) Invalid MAC@ - using 82: | ||
| + | [ 5.240328] Generic Clause 45 PHY 90000.mdio-1: | ||
| + | [ 5.247353] nss-dp 3a001a00.dp6 lan5: Registered netdev lan5(qcom-id: | ||
| + | [ 5.257280] ********************************************************** | ||
| + | [ 5.263772] * NSS Data Plane driver | ||
| + | [ 5.270353] ********************************************************** | ||
| + | [ 5.285435] xhci-hcd xhci-hcd.1.auto: | ||
| + | [ 5.285482] xhci-hcd xhci-hcd.1.auto: | ||
| + | [ 5.289940] xhci-hcd xhci-hcd.1.auto: | ||
| + | [ 5.297445] xhci-hcd xhci-hcd.1.auto: | ||
| + | [ 5.306842] xhci-hcd xhci-hcd.1.auto: | ||
| + | [ 5.312653] xhci-hcd xhci-hcd.1.auto: | ||
| + | [ 5.318208] xhci-hcd xhci-hcd.1.auto: | ||
| + | [ 5.326151] hub 1-0:1.0: USB hub found | ||
| + | [ 5.332416] hub 1-0:1.0: 1 port detected | ||
| + | [ 5.336305] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. | ||
| + | [ 5.340419] hub 2-0:1.0: USB hub found | ||
| + | [ 5.348261] hub 2-0:1.0: 1 port detected | ||
| + | [ 5.352119] xhci-hcd xhci-hcd.2.auto: | ||
| + | [ 5.355884] xhci-hcd xhci-hcd.2.auto: | ||
| + | [ 5.361307] xhci-hcd xhci-hcd.2.auto: | ||
| + | [ 5.368774] xhci-hcd xhci-hcd.2.auto: | ||
| + | [ 5.378197] xhci-hcd xhci-hcd.2.auto: | ||
| + | [ 5.384009] xhci-hcd xhci-hcd.2.auto: | ||
| + | [ 5.389563] xhci-hcd xhci-hcd.2.auto: | ||
| + | [ 5.397501] hub 3-0:1.0: USB hub found | ||
| + | [ 5.403734] hub 3-0:1.0: 1 port detected | ||
| + | [ 5.407700] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. | ||
| + | [ 5.411763] hub 4-0:1.0: USB hub found | ||
| + | [ 5.419630] hub 4-0:1.0: 1 port detected | ||
| + | [ 5.424850] kmodloader: done loading kernel modules from / | ||
| + | [ 5.431850] init: - preinit - | ||
| + | [ 7.844917] UBIFS (ubi0:2): Mounting in unauthenticated mode | ||
| + | [ 7.845021] UBIFS (ubi0:2): background thread " | ||
| + | [ 7.927255] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name " | ||
| + | [ 7.927303] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes | ||
| + | [ 7.934101] UBIFS (ubi0:2): FS size: 259031040 bytes (247 MiB, 2040 LEBs), max 2053 LEBs, journal size 12951552 bytes (12 MiB, 102 LEBs) | ||
| + | [ 7.943997] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB) | ||
| + | [ 7.956307] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 73F1A91B-1765-4BE4-B4C6-1FE79C28A0C8, | ||
| + | [ 7.963600] mount_root: overlay filesystem has not been fully initialized yet | ||
| + | [ 7.974433] mount_root: switching to ubifs overlay | ||
| + | [ 7.984410] overlayfs: null uuid detected in lower fs '/', | ||
| + | [ 8.116071] urandom-seed: | ||
| + | [ 8.151809] procd: - early - | ||
| + | [ 8.151901] procd: - watchdog - | ||
| + | [ 8.686888] procd: - watchdog - | ||
| + | [ 8.687141] procd: - ubus - | ||
| + | [ 8.743729] procd: - init - | ||
| + | [ 8.872866] urngd: v1.0.2 started. | ||
| + | [ 8.891105] kmodloader: loading kernel modules from / | ||
| + | [ 8.920353] Loading modules backported from Linux version v6.1-rc8-0-g76dcd734eca2 | ||
| + | [ 8.920392] Backport generated by backports.git v5.15.81-1-41-g02e352527db5 | ||
| + | [ 8.931638] NET: Registered PF_QIPCRTR protocol family | ||
| + | [ 8.964549] PPP generic driver version 2.4.2 | ||
| + | [ 8.965202] NET: Registered PF_PPPOX protocol family | ||
| + | [ 8.973115] ath11k c000000.wifi: | ||
| + | [ 8.973148] ath11k c000000.wifi: | ||
| + | [ 8.977317] remoteproc remoteproc0: | ||
| + | [ 8.993947] remoteproc remoteproc0: | ||
| + | [ 9.970726] remoteproc remoteproc0: | ||
| + | [ 9.972994] ath11k c000000.wifi: | ||
| + | [ 9.977732] ath11k c000000.wifi: | ||
| + | [ 9.983229] ath11k c000000.wifi: | ||
| + | [ 9.992924] kmodloader: done loading kernel modules from / | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | |||
| + | </ | ||
| </ | </ | ||
| - | ***/ | + | |
| + | ===== Unbrick ===== | ||
| + | ==== tftp method === | ||
| + | Below is the method to unbrick without TTL access (most of the instructions on the internet doesn' | ||
| + | |||
| + | Assume using a linux pc for unbrick, and tftp client is already installed: | ||
| + | - Connect PC to router' | ||
| + | - Download the stock firmware to PC, save as 1.img in the working dir | ||
| + | - Run in terminal:< | ||
| + | tftp 192.168.1.1 | ||
| + | > | ||
| + | > | ||
| + | </code> | ||
| + | - Power off the device, hold the RESET button, power on device, keep RESET holding all the time | ||
| + | - After holding for about 20~30s, the device' | ||
| + | - Press ENTER button in the tftp. | ||
| + | - Wait for transfer to finish(there is no message indicating tftp is working during transfering, | ||
| + | - Wait for the device to auto reboot. | ||
| + | - (Optional) Do a reset of the router in the normal way, after device already starts up. | ||
| + | This method doesn' | ||
| + | |||
| + | ==== TTL + USB method (not suggested)==== | ||
| + | In the case tftp doesn' | ||
| + | |||
| + | Install the initramfs of the experimental fork of into an USB stick, perform a USB-boot with TTL. (see the steps on the '' | ||
| + | |||
| + | Once running in the initramfs, backup/ | ||
| + | < | ||
| + | dd if=/ | ||
| + | dd of=/ | ||
| + | </ | ||
| + | |||
| + | Usually what you need to backup/ | ||
| + | |||
| + | == Note == | ||
| + | |||
| + | The mtd partition table seen from the bootloader is not same as seen from official firmware or openwrt. So, this method is not really suggested, since mistakes can happen easily | ||
| + | ===== Notes ===== | ||
| + | This website contains much information about this device: [[http:// | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag> | + | {{tag>ipq807x |