howto support ramoops (former crashlog.o)

Bastian Bittorf bb at npl.de
Wed Aug 24 09:55:55 PDT 2022


On Tue, Aug 23, 2022 at 07:53:53PM +0200, Daniel Golle wrote:
> pstore/ramoops can only work on platforms which do NOT clear DRAM
> content on (re-)boot. Many of the $vendor loaders unfortunately do that.
> Archer C6U being an MT7621-based unit will probably need a replacement
> bootloader in order to change that behavior. As it is a rather
> straight-forward board with SPI-NOR, creating a replacement loader is
> not hard (see uboot-mediatek package).

Thanks for this very convincing argument!

Attached is the full bootlog (serial console) of the device 
Archer C6U v1 (including DRAM/DDR3 calibration preamble)

But what still gives me hope, are the 
offset-addresses in the bootlog, e.g.:

# Booting image at bc040000

this is decimal 3.154.378.752 - and:

# Load Address: 80001000

Both addresses are way bayond the 128k RAM border - maybe
i'am just calculating the ramoops-offset in a wrong way?

Thanks a lot & bye,
bastian
-------------- next part --------------
### serial console with 57600 baud:

===================================================================
                MT7621   stage1 code Aug 28 2018 16:58:15 (ASIC)
                CPU=500000000 HZ BUS=166666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11100000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL3 FB_DL: 0xe, 1/0 = 562/462 39000000
PLL2 FB_DL: 0x14, 1/0 = 606/418 51000000
PLL4 FB_DL: 0x18, 1/0 = 602/422 61000000
do DDR setting..[01F40000]
Apply DDR3 Setting...(use customer AC)
          0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
      --------------------------------------------------------------------------------
0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    1    1    1
000E:|    0    0    0    0    0    0    0    1    1    1    1    1    1    1    1    1
000F:|    0    0    1    1    1    1    1    1    1    1    1    1    0    0    0    0
0010:|    1    1    1    1    1    1    1    0    0    0    0    0    0    0    0    0
0011:|    1    1    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
DRAMC_DQSCTL1[0e0]=13000000
DRAMC_DQSGCTL[124]=80000033
rank 0 coarse = 15
rank 0 fine = 56
B:|    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0
opt_dle value:9
DRAMC_DDR2CTL[07c]=C287221D
DRAMC_PADCTL4[0e4]=000022B3
DRAMC_DQIDLY1[210]=0E0F0B0F
DRAMC_DQIDLY2[214]=0C0F0D0E
DRAMC_DQIDLY3[218]=0B0B090B
DRAMC_DQIDLY4[21c]=0A0B0C09
DRAMC_R0DELDLY[018]=00001F1F
==================================================================
                RX      DQS perbit delay software calibration
==================================================================
1.0-15 bit dq delay value
==================================================================
bit|     0  1  2  3  4  5  6  7  8  9
--------------------------------------
 0 |    14 11 15 13 13 13 14 11 11 9
10 |    11 11 9 11 11 9
--------------------------------------

==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =31 DQS1 = 31
==================================================================
bit     DQS0     bit      DQS1
0  (1~59)30  8  (1~61)31
1  (2~61)31  9  (1~62)31
2  (1~60)30  10  (1~62)31
3  (1~60)30  11  (1~61)31
4  (1~59)30  12  (1~62)31
5  (2~60)31  13  (1~60)30
6  (1~60)30  14  (1~62)31
7  (1~59)30  15  (2~59)30
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
 0 |    15 11 15 14 14 13 15 12 11 9
10 |    11 11 9 12 11 10
==================================================================
==================================================================
     TX  perbyte calibration
==================================================================
DQS loop = 15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1
dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2
DQ loop=15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=15,  finish count=1
dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=2
byte:0, (DQS,DQ)=(8,8)
byte:1, (DQS,DQ)=(8,8)
DRAMC_DQODLY1[200]=88888888
DRAMC_DQODLY2[204]=88888888
20,data:88
[EMI] DRAMC calibration passed

===================================================================
                MT7621   stage1 code done
                CPU=500000000 HZ BUS=166666666 HZ
===================================================================

### serial console with 115200 baud:

U-Boot 1.1.3 (Feb 24 2020 - 11:29:39)

Board: Ralink APSoC DRAM:  128 MB
relocate_code Poiner at: 87f58000

Config XHCI 40M PLL
******************************
Software System Reset Occurred
******************************
flash manufacture id: ef, device id 40 18
find flash: W25Q128BV
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: SPI Flash
Date:Feb 24 2020  Time:11:29:39
============================================
THIS IS uboot
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 880 MHZ ####
 estimate memory size =128 Mbytes

Press '4' or 't' to break the booting process

Press 'x' to enter recovery web server                                                                     0
nm_init:791
nm_initFwupPtnStruct:276
nm_lib_readPtnTable:738
[NM_Debug](nm_lib_readPtnTable) 00743: NM_PTN_TABLE_BASE = 0xfe0000
[NM_Debug](nm_lib_readPtnFromNvram) 00569: partition_used_len = 920, requried len = 8192
[NM_Debug](nm_lib_readPtnTable) 00751: Reading Partition Table from NVRAM ... OK

[NM_Debug](nm_lib_readPtnTable) 00759: Parsing Partition Table ... OK

[NM_Debug](nm_lib_readPtnFromNvram) 00569: partition_used_len = 2, requried len = 2
factory boot check integer ok.


3: System Boot system code via Flash.
## Booting image at bc040000 ...
   Image Name:   MIPS OpenWrt Linux-5.10.137
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2609199 Bytes =  2.5 MB
   Load Address: 80001000
   Entry Point:  80001000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

[    0.000000] Linux version 5.10.137 (bastian at ryzen) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r20179+31-57cad53f4e) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Wed Aug 24 15:42:49 2022
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is TP-Link Archer C6U v1
[    0.000000] OF: fdt: Reserved memory: unsupported node format, ignoring
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s30224 r8192 d23024 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 oops=panic panic=10
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=000032b0
[    0.000000] Readback ErrCtl register=000032b0
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 119796K/131072K available (6397K kernel code, 624K rwdata, 1148K rodata, 1288K init, 235K bss, 11276K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    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: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997
 ns
[    0.000012] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.007944] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.016996] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.083165] pid_max: default: 32768 minimum: 301
[    0.087927] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.095129] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.105707] rcu: Hierarchical SRCU implementation.
[    0.110743] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.118838] smp: Bringing up secondary CPUs ...
[    0.124102] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.124113] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.124125] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.124201] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.178649] Synchronize counters for CPU 1: done.
[    0.211038] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.211048] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.211055] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.211107] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.270038] Synchronize counters for CPU 2: done.
[    0.300617] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.300626] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.300633] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.300686] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.355226] Synchronize counters for CPU 3: done.
[    0.385088] smp: Brought up 1 node, 4 CPUs
[    0.393415] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000
ns
[    0.403239] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.410248] pinctrl core: initialized pinctrl subsystem
[    0.417752] NET: Registered protocol family 16
[    0.424582] cpuidle: using governor teo
[    0.475389] clocksource: Switched to clocksource GIC
[    0.482156] NET: Registered protocol family 2
[    0.486825] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.494726] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.503119] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.510712] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.517742] TCP: Hash tables configured (established 1024 bind 1024)
[    0.524156] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.530650] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.537832] NET: Registered protocol family 1
[    0.542123] PCI: CLS 0 bytes, default 32
[    0.548590] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.559068] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.564813] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.577441] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.583287] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.589314] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.595907] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.603810] printk: console [ttyS0] disabled
[    0.608187] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.617187] printk: console [ttyS0] enabled
[    0.617187] printk: console [ttyS0] enabled
[    0.625445] printk: bootconsole [early0] disabled
[    0.625445] printk: bootconsole [early0] disabled
[    0.637666] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    0.644687] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.649730] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.656135] OF: Bad cell count for /palmbus at 1e000000/spi at b00/flash at 0/partitions
[    0.663436] OF: Bad cell count for /palmbus at 1e000000/spi at b00/flash at 0/partitions
[    0.671500] OF: Bad cell count for /palmbus at 1e000000/spi at b00/flash at 0/partitions
[    0.678854] OF: Bad cell count for /palmbus at 1e000000/spi at b00/flash at 0/partitions
[    0.687307] Creating 5 MTD partitions on "spi0.0":
[    0.692112] 0x000000000000-0x000000040000 : "u-boot"
[    0.698301] 0x000000040000-0x000000fa0000 : "firmware"
[    0.704645] 2 uimage-fw partitions found on MTD device firmware
[    0.710654] Creating 2 MTD partitions on "firmware":
[    0.715723] 0x000000000000-0x00000027d06f : "kernel"
[    0.720665] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    0.729922] 0x00000027d06f-0x000000f60000 : "rootfs"
[    0.734888] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    0.744827] mtd: device 3 (rootfs) set to be root filesystem
[    0.750642] 1 squashfs-split partitions found on MTD device rootfs
[    0.756845] 0x0000008b0000-0x000000f60000 : "rootfs_data"
[    0.763153] 0x000000fa0000-0x000000fb0000 : "config"
[    0.769120] 0x000000fb0000-0x000000ff0000 : "tplink"
[    0.774960] 0x000000ff0000-0x000001000000 : "radio"
[    0.826606] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    0.837268] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    0.846558] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 21
[    0.856282] i2c /dev entries driver
[    0.861977] mt7621-pci 1e140000.pcie: host bridge /pcie at 1e140000 ranges:
[    0.868750] mt7621-pci 1e140000.pcie:   No bus range found for /pcie at 1e140000, using [bus 00-ff]
[    0.877576] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    0.885755] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    0.893992] mt7621-pci 1e140000.pcie: Parsing DT failed
[    0.901178] NET: Registered protocol family 10
[    0.907504] Segment Routing with IPv6
[    0.911255] NET: Registered protocol family 17
[    0.916264] 8021q: 802.1Q VLAN Support v1.8
[    0.924397] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    0.948996] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=26)
[    0.961378] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=27)
[    0.973748] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=28)
[    0.986141] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7530 PHY] (irq=29)
[    0.998774] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.009257] DSA: tree 0 setup
[    1.012598] rt2880-pinmux pinctrl: pcie is already enabled
[    1.018181] mt7621-pci 1e140000.pcie: host bridge /pcie at 1e140000 ranges:
[    1.024869] mt7621-pci 1e140000.pcie:   No bus range found for /pcie at 1e140000, using [bus 00-ff]
[    1.033662] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.041838] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.050110] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    1.057914] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.065666] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[    1.173122] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.178717] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    1.284480] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.291432] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.296309] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.301170] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.310631] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.317011] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.323861] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.330727] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.336224] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] (bus address [0x00000000-0x0fffffff])
[    1.346420] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.352417] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.358682] pci 0000:00:00.0: reg 0x14: [mem 0x60500000-0x6050ffff]
[    1.364998] pci 0000:00:00.0: supports D1
[    1.369011] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.375521] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.381554] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.387821] pci 0000:00:01.0: reg 0x14: [mem 0x60510000-0x6051ffff]
[    1.394124] pci 0000:00:01.0: supports D1
[    1.398135] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.405897] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[    1.411948] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    1.419001] pci 0000:01:00.0: reg 0x10: [mem size 0x00100000]
[    1.424864] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    1.432669] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.437928] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.443998] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.450774] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.458000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.464867] pci 0000:02:00.0: [14c3:7663] type 00 class 0x000280
[    1.470926] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    1.477976] pci 0000:02:00.0: reg 0x10: [mem size 0x00100000 64bit pref]
[    1.484664] pci 0000:02:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    1.491724] pci 0000:02:00.0: reg 0x18: [mem size 0x00004000 64bit pref]
[    1.498433] pci 0000:02:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    1.505468] pci 0000:02:00.0: reg 0x20: [mem size 0x00001000 64bit pref]
[    1.512261] pci 0000:02:00.0: supports D1 D2
[    1.516531] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.523159] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.539661] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.544889] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.550989] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    1.557773] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x604fffff pref]
[    1.564970] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.571631] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.578246] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.585182] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.591782] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.598738] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.605525] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    1.612715] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    1.619497] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x604fffff pref]
[    1.626710] pci 0000:00:00.0: BAR 1: assigned [mem 0x60500000-0x6050ffff]
[    1.633473] pci 0000:00:01.0: BAR 1: assigned [mem 0x60510000-0x6051ffff]
[    1.640256] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    1.647036] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    1.653807] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    1.660589] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.665558] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    1.672318] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.679096] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.686318] pci 0000:02:00.0: BAR 0: assigned [mem 0x60300000-0x603fffff 64bit pref]
[    1.694039] pci 0000:02:00.0: BAR 2: assigned [mem 0x60400000-0x60403fff 64bit pref]
[    1.701790] pci 0000:02:00.0: BAR 4: assigned [mem 0x60404000-0x60404fff 64bit pref]
[    1.709529] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.714472] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    1.721251] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    1.728034] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x604fffff pref]
[    1.736981] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    1.749109] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.760556] Freeing unused kernel memory: 1288K
[    1.765085] This architecture does not have kernel memory protection.
[    1.771570] Run /sbin/init as init process
[    2.161951] init: Console is alive
[    2.165838] init: - watchdog -
[    3.274301] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.315206] usbcore: registered new interface driver usbfs
[    3.320944] usbcore: registered new interface driver hub
[    3.326457] usbcore: registered new device driver usb
[    3.435574] SCSI subsystem initialized
[    3.450639] xhci-mtk 1e1c0000.xhci: supply vusb33 not found, using dummy regulator
[    3.458654] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    3.464008] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    3.485613] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    3.494791] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    3.501819] hub 1-0:1.0: USB hub found
[    3.505750] hub 1-0:1.0: 2 ports detected
[    3.510390] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    3.515776] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    3.523260] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    3.529828] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.538830] hub 2-0:1.0: USB hub found
[    3.542741] hub 2-0:1.0: 1 port detected
[    3.558426] usbcore: registered new interface driver usb-storage
[    3.565109] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.585756] init: - preinit -
[    4.121064] random: jshn: uninitialized urandom read (4 bytes read)
[    4.200831] random: jshn: uninitialized urandom read (4 bytes read)
[    4.249632] random: jshn: uninitialized urandom read (4 bytes read)
[    4.639626] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    4.647945] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    4.655901] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    4.663270] 8021q: adding VLAN 0 to HW filter on device lan1
[    4.671997] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
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 debug level
[    6.845195] mount_root: loading kmods from internal overlay
[    6.889493] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    6.903495] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    7.121211] jffs2: notice: (602) jffs2_build_xattr_subsystem: complete building xattr subsystem, 30 of xdatum (28 unchecked, 2 orphan) and 40 of xref (2 dead, 0 orphan) found.
[    7.137895] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    7.152480] block: extroot: not configured
[    7.188275] jffs2: notice: (600) jffs2_build_xattr_subsystem: complete building xattr subsystem, 30 of xdatum (28 unchecked, 2 orphan) and 40 of xref (2 dead, 0 orphan) found.
[    7.206277] mount_root: loading kmods from internal overlay
[    7.243451] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    7.255831] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    7.379914] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    7.390085] block: extroot: not configured
[    7.395579] mount_root: switching to jffs2 overlay
[    7.422799] overlayfs: upper fs does not support tmpfile.
[    7.436618] urandom-seed: Seeding with /etc/urandom.seed
[    7.503213] procd: - early -
[    7.506421] procd: - watchdog -
[    7.525698] random: crng init done
[    7.529156] random: 7 urandom warning(s) missed due to ratelimiting
[    8.095720] procd: - watchdog -
[    8.106338] procd: - ubus -
[    8.173128] procd: - init -
Please press Enter to activate this console.
[    8.411781] zram: Added device: zram0
[    8.419012] zram0: detected capacity change from 0 to 4194304
[    8.495489] Adding 4092k swap on /dev/zram0.  Priority:-2 extents:1 across:4092k SS
[   12.848464] urngd: v1.0.2 started.
[   20.819388] kmodloader: loading kernel modules from /etc/modules.d/*
[   21.048193] GACT probability on
[   21.052917] Mirror/redirect action on
[   21.068822] u32 classifier
[   21.071546]     input device check on
[   21.075184]     Actions configured
[   21.092203] Simple TC action Loaded
[   21.119488] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[   21.127115] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[   21.161103] usbcore: registered new interface driver ums-alauda
[   21.168895] usbcore: registered new interface driver ums-cypress
[   21.176870] usbcore: registered new interface driver ums-datafab
[   21.184609] usbcore: registered new interface driver ums-freecom
[   21.192680] usbcore: registered new interface driver ums-isd200
[   21.200601] usbcore: registered new interface driver ums-jumpshot
[   21.208559] usbcore: registered new interface driver ums-karma
[   21.216646] usbcore: registered new interface driver ums-sddr09
[   21.224403] usbcore: registered new interface driver ums-sddr55
[   21.232389] usbcore: registered new interface driver ums-usbat
[   21.260599] xt_time: kernel timezone is -0000
[   21.479606] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=22
[   21.485069] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   21.490747] mt7603e 0000:01:00.0: enabling device (0000 -> 0002)
[   21.496926] mt7603e 0000:01:00.0: ASIC revision: 76030010
[   22.553204] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[   22.558833] mt7603e 0000:01:00.0: Build Time: 20160107100755
[   22.585379] mt7603e 0000:01:00.0: firmware init done
[   22.835718] PPP generic driver version 2.4.2
[   22.842440] NET: Registered protocol family 24
[   22.875466] kmodloader: done loading kernel modules from /etc/modules.d/*
[   29.365482] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   29.384300] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   29.392629] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   29.395998] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   29.409020] 8021q: adding VLAN 0 to HW filter on device lan1
[   29.417736] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.426262] br-lan: port 1(lan1) entered blocking state
[   29.431547] br-lan: port 1(lan1) entered disabled state
[   29.438587] device lan1 entered promiscuous mode
[   29.443253] device eth0 entered promiscuous mode
[   29.481614] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   29.489023] 8021q: adding VLAN 0 to HW filter on device lan2
[   29.498331] br-lan: port 2(lan2) entered blocking state
[   29.503635] br-lan: port 2(lan2) entered disabled state
[   29.510319] device lan2 entered promiscuous mode
[   29.531866] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   29.539150] 8021q: adding VLAN 0 to HW filter on device lan3
[   29.549766] br-lan: port 3(lan3) entered blocking state
[   29.555071] br-lan: port 3(lan3) entered disabled state
[   29.562045] device lan3 entered promiscuous mode
[   29.579273] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   29.586606] 8021q: adding VLAN 0 to HW filter on device lan4
[   29.595859] br-lan: port 4(lan4) entered blocking state
[   29.601140] br-lan: port 4(lan4) entered disabled state
[   29.608240] device lan4 entered promiscuous mode
[   29.640154] mtk_soc_eth 1e100000.ethernet wan: PHY [mdio-bus:00] driver [Generic PHY] (irq=POLL)
[   29.649029] mtk_soc_eth 1e100000.ethernet wan: configuring for phy/rgmii-rxid link mode
[   32.385813] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   32.393452] br-lan: port 1(lan1) entered blocking state
[   32.399208] br-lan: port 1(lan1) entered forwarding state
[   32.407764] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   32.523368] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready archer-C6U-v1-routerwand
[   33.735566] NET: Unregistered protocol family 24
[   33.839966] wlan0: Created IBSS using preconfigured BSSID 02:ca:ff:ee:ba:be
[   33.847112] wlan0: Creating new IBSS network, BSSID 02:ca:ff:ee:ba:be
[   33.864188] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   33.978373] device wlan0-1 entered promiscuous mode
[   33.984551] br-mastergate: port 1(roaming1) entered blocking state
[   33.991101] br-mastergate: port 1(roaming1) entered disabled state
[   33.998240] device roaming1 entered promiscuous mode
[   34.010134] br-mastergate: port 1(roaming1) entered blocking state
[   34.016393] br-mastergate: port 1(roaming1) entered forwarding state


More information about the openwrt-devel mailing list