26 (edytowany przez tinware 2022-09-06 21:23:52)

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Ok, tak zrobię.

Może winą jest moja poprawka nazw portów w dts?

&switch0 {
        ports {
                port@0 {
                        status = "okay";
                        label = "port0";
                };

                port@1 {
                        status = "okay";
                        label = "port1";
                };

                port@2 {
                        status = "okay";
                        label = "port2";
                };

                port@3 {
                        status = "okay";
                        label = "port3";
                };

                port@4 {
                        status = "okay";
                        label = "port4";
                        mtd-mac-address = <&factory 0xe000>;
                        mtd-mac-address-increment = <1>;
                };
        };
};

oraz

groups = "jtag", "uart3", "wdt", "uart2", "i2c", "rgmii2";

Zauważyłem, że w v22 ten dts wygląda trochę inaczej

27

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Jeszcze raz: on do kompilacji dtsu jeszcze nie doszedł. Wywalił się wcześniej na libuboxie bo np. próbowałeś na tych samych źródłach kompilować inną platformę.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

28

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Rozumiem, ale poprzednim postem nawiązuje do tego pierwszego w tym temacie.
Może ta zmiana w dts jest przyczyną tego wywalania się kernela

29

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Nope. Wywalił sie w okolicach usb a nie wbudowanych portów.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

30

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Usunąłem ten folder i po uruchomieniu kompilacji wyrzuca ponownie ten sam błąd.
Może wyczyszcze środowisko make target/linux/clean?

31

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Możesz tak zrobić.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

32

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Ten sam bład niestety. Ok, teraz pewnie musiałbym wyczyścić całe środowisko i kompilować od nowa, więc spróbuje skompilować najpierw v22

33 (edytowany przez tinware 2022-09-07 10:01:27)

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Coraz bardziej utwierdzam się, że to jest jednak kwestia firmware v21.

Postawiłem dwa routery, włączam je na 5 minut, wyłączam na 45 minut:
1. Flash 16MB i v21
2. Flash 64MB i v17

Ten z v21 na 12 razy nie uruchomił się 4 razy, ten z v17 działa bez zarzutu.
Wygląda na to, że kości 64MB są w porządku. Częstotliwość chyba też nie ma znaczenia, skoro v17 pracuje na tej kości 64MB.
Temat masakra, bo rzadko usterka się pojawia, dobrze już chociaż, że mam zautomatyzwane testowanie tego, bo na początku siedziałem przed routerem 3-4 godziny i samemu go musiałem włączać i wyłączać. Wydaje mi się, podkreślając wydaje się, że awaria częściej występuje, kiedy router chwile postoi bez prądu, stąd te testy 5/45 minut. No nic, kompiluje się v22 - zobaczymy

34

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Wiesz że te twoje opowieści o potrzebie przestoju routera bardzo, ale to bardzo wskazują na problemy z jakością kondensatorów? Choć poprawna praca na v17 się do tego klei.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

35

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Jeśli miałby być to problem hardware (kondensatory) to mogę zamienić potem płyty na odwrót, przelutowując pamięci flash i sprawdzić

36 (edytowany przez tinware 2022-09-08 10:34:09)

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Cześć

/root/OpenWRT/u7621-06_v22.03.0-rc6_64MB_compilator/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.10.134/scripts/dtc/dtc -O dtb -i../dts/ -Wp
Error: ../dts/mt7621_unielec_u7621-06-16m.dts:60.1-2 syntax error
FATAL ERROR: Unable to parse input tree
make[5]: *** [Makefile:224: /root/OpenWRT/u7621-06_v22.03.0-rc6_64MB_compilator/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/image-mt7621_unielec_u1
make[5]: Leaving directory '/root/OpenWRT/u7621-06_v22.03.0-rc6_64MB_compilator/target/linux/ramips/image'
make[4]: *** [Makefile:22: install] Error 2
make[4]: Leaving directory '/root/OpenWRT/u7621-06_v22.03.0-rc6_64MB_compilator/target/linux/ramips'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/root/OpenWRT/u7621-06_v22.03.0-rc6_64MB_compilator/target/linux'
time: target/linux/install#341.76#85.89#412.18
    ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:30: target/linux/install] Error 1
make[2]: Leaving directory '/root/OpenWRT/u7621-06_v22.03.0-rc6_64MB_compilator'
make[1]: *** [target/Makefile:24: /root/OpenWRT/u7621-06_v22.03.0-rc6_64MB_compilator/staging_dir/target-mipsel_24kc_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/root/OpenWRT/u7621-06_v22.03.0-rc6_64MB_compilator'
make: *** [/root/OpenWRT/u7621-06_v22.03.0-rc6_64MB_compilator/include/toplevel.mk:230: world] Błąd 2

Czy zauważasz gdzieś tutaj błąd składni w dts?
target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts

// SPDX-License-Identifier: BSD-3-Clause
/*
 *  Copyright(c) 2017 Kristian Evensen <kristian.evensen@gmail.com>.
 *  Copyright(c) 2017 Piotr Dymacz <pepe2k@gmail.com>.
 *  All rights reserved.
 */

#include "mt7621_unielec_u7621-06.dtsi"

/ {
        compatible = "unielec,u7621-06-16m", "unielec,u7621-06", "mediatek,mt7621-soc";
        model = "UniElec U7621-06 (16M flash)";
};

&spi0 {
        status = "okay";

        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <14000000>;

                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;

                        partition@0 {
                                label = "bootloader";
                                reg = <0x0 0x30000>;
                                read-only;
                        };

                        partition@30000 {
                                label = "config";
                                reg = <0x30000 0x10000>;
                                read-only;
                        };

                        factory: partition@40000 {
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;
                        };

                        firmware: partition@50000 {
                                compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x50000 0xfb0000>;
                        };
                };
        };
};

&gmac0 {
        nvmem-cells = <&macaddr_factory_e000>;
        nvmem-cell-names = "mac-address";
};

#&wan {
#       nvmem-cells = <&macaddr_factory_e000>;
#       nvmem-cell-names = "mac-address";
#       mac-address-increment = <1>;
#};

&factory {
        compatible = "nvmem-cells";
        #address-cells = <1>;
        #size-cells = <1>;

        macaddr_factory_e000: macaddr@e000 {
                reg = <0xe000 0x6>;
        };
};

target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi

// SPDX-License-Identifier: BSD-3-Clause
/*
 *  Copyright(c) 2017 Kristian Evensen <kristian.evensen@gmail.com>.
 *  Copyright(c) 2017 Piotr Dymacz <pepe2k@gmail.com>.
 *  All rights reserved.
 */

#include "mt7621.dtsi"

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>

/ {
        compatible = "unielec,u7621-06", "mediatek,mt7621-soc";

        aliases {
                led-boot = &led_status;
                led-failsafe = &led_status;
                led-running = &led_status;
                led-upgrade = &led_status;
        };

        chosen {
                bootargs = "console=ttyS0,115200";
        };

        gpio-export {
                compatible = "gpio-export";
                #size-cells = <0>;

                modem_reset {
                        gpio-export,name = "modem_reset";
                        gpio-export,output = <1>;
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
        };

        keys {
                compatible = "gpio-keys";

                reset {
                        label = "reset";
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };

        leds {
                compatible = "gpio-leds";

                led_status: status {
                        label = "green:status";
                        gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                };

                led4 {
                        label = "green:led4";
                        gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
                };

                led5 {
                        label = "green:led5";
                        gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
                };
        };
};

&sdhci {
        status = "okay";
};

&pcie {
        status = "okay";
};

&switch0 {
        ports {
                port@0 {
                        status = "okay";
                        label = "port0";
                };

                port@1 {
                        status = "okay";
                        label = "port1";
                };

                port@2 {
                        status = "okay";
                        label = "port2";
                };

                port@3 {
                        status = "okay";
                        label = "port3";
                };

                port@4 {
                        status = "okay";
                        label = "port4";
                };
        };
};

&state_default {
        gpio {
                groups = "jtag", "uart3", "wdt", "uart2", "i2c", "rgmii2";
                function = "gpio";
        };
};

37

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Komentarz na wanie jest zły. Nie # a /* */ jak już.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

38

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Z powodzeniem skompilował się v22. Po uruchomieniu:

[   47.368197] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010c0000: 0xa0de instead
[   47.377655] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010c0004: 0xf591 instead
[   47.387107] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010c0008: 0x8654 instead
[   47.396565] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010c000c: 0x33b6 instead
[   47.406018] jff▒: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010c0010: 0x22a1 instead
[   47.415470] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010c0014: 0xfbfc instead
[   47.424922] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010c0018: 0x1320 instead
[   47.434373] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010c001c: 0xfbf7 instead
[   47.443825] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010c0020: 0x6280 instead
[   47.453288] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010c0024: 0x41b4 instead
[   47.462735] jffs2: Further such events for this erase block will not be printed
[   47.533631] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010d0000: 0xdb4c instead
[   47.543088] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010d0004: 0xc6f2 instead
[   47.552540] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010d0008: 0x917f instead
[   47.561997] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x010d000c: 0xa10a instead

Co mogę zrobić?

39

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Firstboota.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

40

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Heh, ale jak ja mam zrobić firstboota, skoro on nie dochodzi nawet do tego momentu:

===================================================================
                MT7621   stage1 code 13:14:00 (ASIC)
                CPU=50000000 HZ BUS=12500000 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x21100000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1066Mhz ===
PLL3 FB_DL: 0xa, 1/0 = 534/490 29000000
PLL4 FB_DL: 0xb, 1/0 = 517/507 2D000000
PLL2 FB_DL: 0xd, 1/0 = 517/507 35000000
do DDR setting..[00320000]
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    0    1    1
000E:|    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1    1
000F:|    0    0    0    0    1    1    1    1    1    1    1    1    1    1    0    0
0010:|    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0    0
0011:|    1    1    1    1    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
rank 0 coarse = 15
rank 0 fine = 72
B:|    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0
opt_dle value:10
DRAMC_R0DELDLY[018]=00001C1C
==================================================================
                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 |    13 10 12 13 11 11 11 9 7 8
10 |    9 9 9 12 9 11
--------------------------------------

==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =28 DQS1 = 28
==================================================================
bit     DQS0     bit      DQS1
0  (1~52)26  8  (1~54)27
1  (1~52)26  9  (1~51)26
2  (1~54)27  10  (1~54)27
3  (1~55)28  11  (1~51)26
4  (1~53)27  12  (1~56)28
5  (1~56)28  13  (1~54)27
6  (1~54)27  14  (1~55)28
7  (1~55)28  15  (1~55)28
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
0 |    15 12 13 13 12 11 12 9 8 10
10 |    10 11 9 13 9 11
==================================================================
==================================================================
     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)
20,data:88
[EMI] DRAMC calibration passed

===================================================================
                MT7621   stage1 code done
                CPU=50000000 HZ BUS=12500000 HZ
===================================================================
***** led set *****


U-Boot 1.1.3 (Dec 24 2014 - 22:25:27)

Board: Ralink APSoC DRAM:  256 MB
relocate_code Pointer at: 8ffb8000

Config XHCI 40M PLL
flash manufacture id: c2, device id 20 1a
find flash: MX66L51235F
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 4.2.1.0
--------------------------------------------
ASIC 7621_MP (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/4
Flash component: SPI Flash
Date:Dec 24 2014  Time:22:25:27
============================================
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 =256 Mbytes
#Reset_MT7530

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                                                                                 0

3: System Boot system code via Flash.
## Booting image at bfc50000 ...
   Image Name:   MIPS OpenWrt Linux-5.10.134
   Image Type:   MIPS Linux Kernel Image (uncompressed)
   Data Size:    2751704 Bytes =  2.6 MB
   Load Address: 80001000
   Entry Point:  80001000
   Verifying Checksum ... OK
OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256

Starting kernel ...



OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80001000...

[    0.000000] Linux version 5.10.134 (root@Intel-D510MO) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r19590-042d558536) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sun Jul 31 15:12:47 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 UniElec U7621-06 (64M flash)
[    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-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s30224 r8192 d23024 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00007306
[    0.000000] Readback ErrCtl register=00007306
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 249052K/262144K available (6766K kernel code, 627K rwdata, 1368K rodata, 1276K init, 235K bss, 13092K 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.000014] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.015841] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.033815] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.106147] pid_max: default: 32768 minimum: 301
[    0.115461] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.129869] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.148426] rcu: Hierarchical SRCU implementation.
[    0.158294] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.173919] smp: Bringing up secondary CPUs ...
[    0.183746] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.183758] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.183771] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.183855] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.243755] Synchronize counters for CPU 1: done.
[    0.306398] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.306409] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.306418] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.306468] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.365152] Synchronize counters for CPU 2: done.
[    0.425545] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.425554] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.425564] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.425616] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.484738] Synchronize counters for CPU 3: done.
[    0.544364] smp: Brought up 1 node, 4 CPUs
[    0.556866] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.576397] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.590241] pinctrl core: initialized pinctrl subsystem
[    0.603110] NET: Registered protocol family 16
[    0.614829] cpuidle: using governor teo
[    0.672743] clocksource: Switched to clocksource GIC
[    0.684468] NET: Registered protocol family 2
[    0.693513] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.708852] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.725465] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.740603] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.754782] TCP: Hash tables configured (established 2048 bind 2048)
[    0.767512] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.780404] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.794514] NET: Registered protocol family 1
[    0.803103] PCI: CLS 0 bytes, default 32
[    0.813770] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.830954] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.842458] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.865526] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.876914] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.888329] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.900350] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.914860] printk: console [ttyS0] disabled
-----------------------------------------------------------------
[    0.941829] printk: console [ttyS0] enabled
[    0.941829] printk: console [ttyS0] enabled
[    0.950085] printk: bootconsole [early0] disabled
[    0.950085] printk: bootconsole [early0] disabled
[    0.962813] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    0.970020] spi-nor spi0.0: mx66l51235l (65536 Kbytes)
[    0.975366] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.981691] Creating 4 MTD partitions on "spi0.0":
[    0.986493] 0x000000000000-0x000000030000 : "bootloader"
[    0.993036] 0x000000030000-0x000000040000 : "config"
[    0.999306] 0x000000040000-0x000000050000 : "factory"
[    1.005592] 0x000000050000-0x000004000000 : "firmware"
[    1.012007] 2 uimage-fw partitions found on MTD device firmware
[    1.017957] Creating 2 MTD partitions on "firmware":
[    1.022942] 0x000000000000-0x00000029fd18 : "kernel"
[    1.027887] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    1.037137] 0x00000029fd18-0x000003fb0000 : "rootfs"
[    1.042116] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.052182] mtd: device 5 (rootfs) set to be root filesystem
[    1.058091] 1 squashfs-split partitions found on MTD device rootfs
[    1.064284] 0x000001b00000-0x000003fb0000 : "rootfs_data"
[    1.078516] rt2880-pinmux pinctrl: pin io22 already requested by pinctrl; cannot claim for 1e100000.ethernet
[    1.088419] rt2880-pinmux pinctrl: pin-22 (1e100000.ethernet) status -22
[    1.095133] rt2880-pinmux pinctrl: could not request pin 22 (io22) from group rgmii2  on device rt2880-pinmux
[    1.105038] mtk_soc_eth 1e100000.ethernet: Error applying setting, reverse things back
[    1.112976] mtk_soc_eth: probe of 1e100000.ethernet failed with error -22
[    1.120249] i2c /dev entries driver
[    1.126693] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.133451] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.142241] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.150411] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.158684] mt7621-pci 1e140000.pcie: Parsing DT failed
[    1.166435] NET: Registered protocol family 10
[    1.172673] Segment Routing with IPv6
[    1.176581] NET: Registered protocol family 17
[    1.181421] 8021q: 802.1Q VLAN Support v1.8
[    1.189457] gpio-export gpio-export: 1 gpio(s) exported
[    1.195114] rt2880-pinmux pinctrl: pcie is already enabled
[    1.200669] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.207391] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.216194] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.224365] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.232621] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    1.240397] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.248078] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[    1.355509] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.361080] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    1.466806] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.471665] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.476534] mt7621-pci 1e140000.pcie: PCIE2 enabled
[    1.481396] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.490887] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.497274] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.504152] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.511000] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.516480] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] (bus address [0x00000000-0x0fffffff])
[    1.526692] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.532695] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.538953] pci 0000:00:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    1.545987] pci 0000:00:00.0: reg 0x14: [mem size 0x00010000]
[    1.551781] pci 0000:00:00.0: supports D1
[    1.555792] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.562180] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.568239] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.574504] pci 0000:00:01.0: reg 0x14: initial BAR value 0x00000000 invalid
[    1.581521] pci 0000:00:01.0: reg 0x14: [mem size 0x00010000]
[    1.587334] pci 0000:00:01.0: supports D1
[    1.591330] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.597713] pci 0000:00:02.0: [0e8d:0801] type 01 class 0x060400
[    1.603768] pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.610015] pci 0000:00:02.0: reg 0x14: initial BAR value 0x00000000 invalid
[    1.617055] pci 0000:00:02.0: reg 0x14: [mem size 0x00010000]
[    1.622877] pci 0000:00:02.0: supports D1
[    1.626871] pci 0000:00:02.0: PME# supported from D0 D1 D3hot
[    1.634151] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.642147] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.650140] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.658414] pci 0000:01:00.0: [1b21:0612] type 00 class 0x010601
[    1.664471] pci 0000:01:00.0: reg 0x10: [io  0x0000-0x0007]
[    1.670033] pci 0000:01:00.0: reg 0x14: [io  0x0000-0x0003]
[    1.675604] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x0007]
[    1.681158] pci 0000:01:00.0: reg 0x1c: [io  0x0000-0x0003]
[    1.686777] pci 0000:01:00.0: reg 0x20: [io  0x0000-0x001f]
[    1.692341] pci 0000:01:00.0: reg 0x24: initial BAR value 0x00000000 invalid
[    1.699379] pci 0000:01:00.0: reg 0x24: [mem size 0x00000200]
[    1.705127] pci 0000:01:00.0: reg 0x30: initial BAR value 0x00000000 invalid
[    1.712145] pci 0000:01:00.0: reg 0x30: [mem size 0x00010000 pref]
[    1.718448] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.734514] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.739741] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.745850] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.752612] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff pref]
[    1.759825] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.766693] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    1.772715] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    1.779771] pci 0000:02:00.0: reg 0x10: [mem size 0x00100000]
[    1.785653] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    1.793057] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.798286] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.804381] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.811142] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff pref]
[    1.818354] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.825254] pci 0000:03:00.0: [14c3:7612] type 00 class 0x028000
[    1.831283] pci 0000:03:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    1.838329] pci 0000:03:00.0: reg 0x10: [mem size 0x00100000 64bit]
[    1.844626] pci 0000:03:00.0: reg 0x30: initial BAR value 0x00000000 invalid
[    1.851644] pci 0000:03:00.0: reg 0x30: [mem size 0x00010000 pref]
[    1.857934] pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
[    1.865289] pci 0000:00:02.0: PCI bridge to [bus 03-ff]
[    1.870512] pci 0000:00:02.0:   bridge window [io  0x0000-0x0fff]
[    1.876610] pci 0000:00:02.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.883388] pci 0000:00:02.0:   bridge window [mem 0x60000000-0x600fffff pref]
[    1.890586] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
[    1.897268] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.903876] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.910812] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.917410] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.924369] pci 0000:00:02.0: BAR 0: no space for [mem size 0x80000000]
[    1.930955] pci 0000:00:02.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.937911] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.944689] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    1.951880] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    1.958656] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    1.965871] pci 0000:00:02.0: BAR 8: assigned [mem 0x60400000-0x604fffff]
[    1.972632] pci 0000:00:02.0: BAR 9: assigned [mem 0x60500000-0x605fffff pref]
[    1.979844] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff]
[    1.986633] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff]
[    1.993420] pci 0000:00:02.0: BAR 1: assigned [mem 0x60620000-0x6062ffff]
[    2.000182] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    2.006957] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    2.013734] pci 0000:00:02.0: BAR 7: assigned [io  0x1e162000-0x1e162fff]
[    2.020509] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    2.027723] pci 0000:01:00.0: BAR 5: assigned [mem 0x60000000-0x600001ff]
[    2.034505] pci 0000:01:00.0: BAR 4: assigned [io  0x1e160000-0x1e16001f]
[    2.041268] pci 0000:01:00.0: BAR 0: assigned [io  0x1e160020-0x1e160027]
[    2.048053] pci 0000:01:00.0: BAR 2: assigned [io  0x1e160028-0x1e16002f]
[    2.054840] pci 0000:01:00.0: BAR 1: assigned [io  0x1e160030-0x1e160033]
[    2.061604] pci 0000:01:00.0: BAR 3: assigned [io  0x1e160034-0x1e160037]
[    2.068382] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.073342] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    2.080101] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.086880] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.094101] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    2.100862] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.105826] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    2.112585] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.119363] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    2.126581] pci 0000:03:00.0: BAR 0: assigned [mem 0x60400000-0x604fffff 64bit]
[    2.133889] pci 0000:03:00.0: BAR 6: assigned [mem 0x60500000-0x6050ffff pref]
[    2.141080] pci 0000:00:02.0: PCI bridge to [bus 03]
[    2.146046] pci 0000:00:02.0:   bridge window [io  0x1e162000-0x1e162fff]
[    2.152806] pci 0000:00:02.0:   bridge window [mem 0x60400000-0x604fffff]
[    2.159578] pci 0000:00:02.0:   bridge window [mem 0x60500000-0x605fffff pref]
[    2.174757] unable to read id index table
[    2.179358] Flash size not aligned to erasesize, reducing to 62528KiB
[    2.186722] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x7368 instead
[    2.196267] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x0b37 instead
[    2.205733] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x9bef instead
[    2.215225] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x007a instead
[    2.224692] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x0004 instead
[    2.234196] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x06c0 instead
[    2.243650] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x0004 instead
[    2.253098] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x182c instead
[    2.262533] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0x856f instead
[    2.271980] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000030: 0x8567 instead
[    2.281436] jffs2: Further such events for this erase block will not be printed
[    2.292532] jffs2: Empty flash at 0x00000038 ends at 0x00000040
[    2.358541] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x070c instead
[    2.368021] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0x7563 instead
[    2.377473] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0x33b9 instead
[    2.386922] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0x2bce instead
[    2.396378] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0xd3c8 instead
[    2.405826] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0x48be instead
[    2.415276] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010018: 0x29da instead
[    2.424730] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001001c: 0xd6c6 instead
[    2.434179] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010020: 0xb865 instead
[    2.443626] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010024: 0x6aaf instead
[    2.453076] jffs2: Further such events for this erase block will not be printed
[    2.524113] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x494b instead
[    2.533570] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0xc9c2 instead
[    2.543023] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0x1b0a instead
[    2.552459] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0xa586 instead
[    2.561906] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x10ba instead
[    2.571354] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0xa3f9 instead
[    2.580808] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0x754c instead
[    2.590259] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x4ba5 instead
[    2.599706] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0x2520 instead
[    2.609156] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0xb13d instead
[    2.618599] jffs2: Further such events for this erase block will not be printed
[    2.689487] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0x01ce instead
[    2.698949] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x837b instead
[    2.708400] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0x15e9 instead
[    2.717853] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003000c: 0xe868 instead
[    2.727304] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030010: 0x1dcf instead
[    2.736751] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030014: 0x027a instead
[    2.746200] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030018: 0xe529 instead
[    2.755656] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003001c: 0x72aa instead
[    2.765107] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030020: 0x9674 instead
[    2.774553] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030024: 0x2207 instead
[    2.784002] jffs2: Further such events for this erase block will not be printed
[    2.854853] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0xd2fd instead
[    2.864308] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x5e8c instead
[    2.873764] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0x5d4e instead
[    2.883214] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x4b2e instead
[    2.892649] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0xc9a9 instead
[    2.902093] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0xe3bd instead
[    2.911547] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0x341c instead
[    2.920994] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0xad17 instead
[    2.930444] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0xfaa7 instead

41

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Zrobiłem recovery zaciągając oficjalny obraz 19.07.2 kernel.
Potem znowu oficjalny obraz 22.03.0 kernel.
Następnie oficjalny obraz 22.03.0 sysupgrade, oto log:

f~`▒▒▒xxf▒▒▒▒▒▒▒▒▒▒f▒▒▒f▒▒p+▒rʲ▒▒▒▒▒printk: console [ttyS0] enabled
[    0.966608] printk: console [ttyS0] enabled
[    0.974876] printk: bootconsole [early0] disabled
[    0.974876] printk: bootconsole [early0] disabled
[    0.987585] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    0.994955] spi-nor spi0.0: mx66l51235l (65536 Kbytes)
[    1.000205] 4 fixed-partitions partitions found on MTD device spi0.0
[    1.006530] Creating 4 MTD partitions on "spi0.0":
[    1.011356] 0x000000000000-0x000000030000 : "bootloader"
[    1.017863] 0x000000030000-0x000000040000 : "config"
[    1.024307] 0x000000040000-0x000000050000 : "factory"
[    1.030680] 0x000000050000-0x000004000000 : "firmware"
[    1.037137] 2 uimage-fw partitions found on MTD device firmware
[    1.043124] Creating 2 MTD partitions on "firmware":
[    1.048085] 0x000000000000-0x00000028dff4 : "kernel"
[    1.053092] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    1.062464] 0x00000028dff4-0x000003fb0000 : "rootfs"
[    1.067443] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.077706] mtd: device 5 (rootfs) set to be root filesystem
[    1.083589] 1 squashfs-split partitions found on MTD device rootfs
[    1.089794] 0x0000005a0000-0x000003fb0000 : "rootfs_data"
[    1.141493] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.151656] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
[    1.161053] i2c /dev entries driver
[    1.167326] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.174115] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.182934] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.191116] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.199403] mt7621-pci 1e140000.pcie: Parsing DT failed
[    1.207233] NET: Registered protocol family 10
[    1.213565] Segment Routing with IPv6
[    1.217327] NET: Registered protocol family 17
[    1.221967] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.235323] 8021q: 802.1Q VLAN Support v1.8
[    1.243374] gpio-export gpio-export: 1 gpio(s) exported
[    1.248838] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.273550] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=28)
[    1.286003] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=29)
[    1.298557] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=30)
[    1.311073] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=31)
[    1.323640] mt7530 mdio-bus:1f wan (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7530 PHY] (irq=32)
[    1.336309] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.346769] DSA: tree 0 setup
[    1.350115] rt2880-pinmux pinctrl: pcie is already enabled
[    1.355678] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.362398] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.371198] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.379382] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.387641] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    1.395439] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.403102] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[    1.510515] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.516081] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    1.621803] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.626660] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.631536] mt7621-pci 1e140000.pcie: PCIE2 enabled
[    1.636400] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.645871] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.652247] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.659099] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.665962] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.671446] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] (bus address [0x00000000-0x0fffffff])
[    1.681655] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.687657] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.693990] pci 0000:00:00.0: reg 0x14: [mem 0x60500000-0x6050ffff]
[    1.700340] pci 0000:00:00.0: supports D1
[    1.704335] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.710665] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.716692] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.722961] pci 0000:00:01.0: reg 0x14: [mem 0x60510000-0x6051ffff]
[    1.729268] pci 0000:00:01.0: supports D1
[    1.733286] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.739633] pci 0000:00:02.0: [0e8d:0801] type 01 class 0x060400
[    1.745659] pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.751935] pci 0000:00:02.0: reg 0x14: [mem 0x60520000-0x6052ffff]
[    1.758243] pci 0000:00:02.0: supports D1
[    1.762249] pci 0000:00:02.0: PME# supported from D0 D1 D3hot
[    1.769744] pci 0000:01:00.0: [1b21:0612] type 00 class 0x010601
[    1.775786] pci 0000:01:00.0: reg 0x10: [io  0x0000-0x0007]
[    1.781370] pci 0000:01:00.0: reg 0x14: [io  0x0000-0x0003]
[    1.786926] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x0007]
[    1.792496] pci 0000:01:00.0: reg 0x1c: [io  0x0000-0x0003]
[    1.798051] pci 0000:01:00.0: reg 0x20: [io  0x0000-0x001f]
[    1.803629] pci 0000:01:00.0: reg 0x24: initial BAR value 0x00000000 invalid
[    1.810674] pci 0000:01:00.0: reg 0x24: [mem size 0x00000200]
[    1.816404] pci 0000:01:00.0: reg 0x30: initial BAR value 0x00000000 invalid
[    1.823435] pci 0000:01:00.0: reg 0x30: [mem size 0x00010000 pref]
[    1.829746] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.845811] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.851066] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.857135] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.863910] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.871134] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.878004] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    1.884053] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    1.891096] pci 0000:02:00.0: reg 0x10: [mem size 0x00100000]
[    1.896963] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    1.904317] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.909568] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.915638] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    1.922420] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.929292] pci 0000:03:00.0: [14c3:7612] type 00 class 0x028000
[    1.935368] pci 0000:03:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    1.942413] pci 0000:03:00.0: reg 0x10: [mem size 0x00100000 64bit]
[    1.948690] pci 0000:03:00.0: reg 0x30: initial BAR value 0x00000000 invalid
[    1.955730] pci 0000:03:00.0: reg 0x30: [mem size 0x00010000 pref]
[    1.962016] pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
[    1.969405] pci 0000:00:02.0: PCI bridge to [bus 03-ff]
[    1.974635] pci 0000:00:02.0:   bridge window [io  0x0000-0x0fff]
[    1.980719] pci 0000:00:02.0:   bridge window [mem 0x60300000-0x603fffff]
[    1.987479] pci 0000:00:02.0:   bridge window [mem 0x60400000-0x604fffff pref]
[    1.994708] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
[    2.001383] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.007969] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.014919] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.021527] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.028462] pci 0000:00:02.0: BAR 0: no space for [mem size 0x80000000]
[    2.035061] pci 0000:00:02.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.042011] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.048771] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    2.055994] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    2.062780] pci 0000:00:02.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[    2.069560] pci 0000:00:02.0: BAR 9: assigned [mem 0x60400000-0x604fffff pref]
[    2.076753] pci 0000:00:00.0: BAR 1: assigned [mem 0x60500000-0x6050ffff]
[    2.083539] pci 0000:00:01.0: BAR 1: assigned [mem 0x60510000-0x6051ffff]
[    2.090321] pci 0000:00:02.0: BAR 1: assigned [mem 0x60520000-0x6052ffff]
[    2.097083] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    2.103859] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    2.110651] pci 0000:00:02.0: BAR 7: assigned [io  0x1e162000-0x1e162fff]
[    2.117423] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    2.124631] pci 0000:01:00.0: BAR 5: assigned [mem 0x60000000-0x600001ff]
[    2.131414] pci 0000:01:00.0: BAR 4: assigned [io  0x1e160000-0x1e16001f]
[    2.138178] pci 0000:01:00.0: BAR 0: assigned [io  0x1e160020-0x1e160027]
[    2.144971] pci 0000:01:00.0: BAR 2: assigned [io  0x1e160028-0x1e16002f]
[    2.151753] pci 0000:01:00.0: BAR 1: assigned [io  0x1e160030-0x1e160033]
[    2.158517] pci 0000:01:00.0: BAR 3: assigned [io  0x1e160034-0x1e160037]
[    2.165296] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.170277] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    2.177038] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.183812] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.191026] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    2.197787] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.202750] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    2.209527] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.216297] pci 0000:03:00.0: BAR 0: assigned [mem 0x60300000-0x603fffff 64bit]
[    2.223603] pci 0000:03:00.0: BAR 6: assigned [mem 0x60400000-0x6040ffff pref]
[    2.230826] pci 0000:00:02.0: PCI bridge to [bus 03]
[    2.235771] pci 0000:00:02.0:   bridge window [io  0x1e162000-0x1e162fff]
[    2.242544] pci 0000:00:02.0:   bridge window [mem 0x60300000-0x603fffff]
[    2.249306] pci 0000:00:02.0:   bridge window [mem 0x60400000-0x604fffff pref]
[    2.270711] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    2.279013] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    2.290970] Freeing unused kernel memory: 1260K
[    2.295512] This architecture does not have kernel memory protection.
[    2.301972] Run /sbin/init as init process
[    3.121125] init: Console is alive
[    3.124947] init: - watchdog -
[    4.070973] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.221405] usbcore: registered new interface driver usbfs
[    4.227030] usbcore: registered new interface driver hub
[    4.232561] usbcore: registered new device driver usb
[    4.247289] SCSI subsystem initialized
[    4.267510] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[    4.273021] pci 0000:00:00.0: enabling device (0004 -> 0007)
[    4.278665] ahci 0000:01:00.0: enabling device (0000 -> 0003)
[    4.284581] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    4.291251] ahci 0000:01:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[    4.299341] ahci 0000:01:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
[    4.310269] scsi host0: ahci
[    4.314488] scsi host1: ahci
[    4.317887] ata1: SATA max UDMA/133 abar m512@0x60000000 port 0x60000100 irq 23
[    4.325265] ata2: SATA max UDMA/133 abar m512@0x60000000 port 0x60000180 irq 23
[    4.669413] ata1: SATA link down (SStatus 0 SControl 300)
[    5.009383] ata2: SATA link down (SStatus 0 SControl 300)
[    5.023695] xhci-mtk 1e1c0000.xhci: supply vbus not found, using dummy regulator
[    5.031413] xhci-mtk 1e1c0000.xhci: supply vusb33 not found, using dummy regulator
[    5.039224] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    5.044599] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    5.059567] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    5.068751] xhci-mtk 1e1c0000.xhci: irq 21, io mem 0x1e1c0000
[    5.075968] hub 1-0:1.0: USB hub found
[    5.079947] hub 1-0:1.0: 2 ports detected
[    5.084726] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    5.090194] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    5.097691] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    5.104307] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.113505] hub 2-0:1.0: USB hub found
[    5.117401] hub 2-0:1.0: 1 port detected
[    5.173174] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.190040] init: - preinit -
[    5.308572] mmc0: new high speed SDHC card at address 1234
[    5.319643] mmcblk0: mmc0:1234 SA32G 29.1 GiB
[    5.326510]  mmcblk0: p1
[    5.599444] usb 1-2: new high-speed USB device number 2 using xhci-mtk
[    5.781590] random: procd: uninitialized urandom read (4 bytes read)
[    5.790003] hub 1-2:1.0: USB hub found
[    5.793976] hub 1-2:1.0: 4 ports detected
[    6.209671] usb 1-2.2: new high-speed USB device number 3 using xhci-mtk
[    6.669441] usb 1-2.4: new high-speed USB device number 4 using xhci-mtk
[    6.880957] random: jshn: uninitialized urandom read (4 bytes read)
[    6.901512] hub 1-2.4:1.0: USB hub found
[    6.905770] hub 1-2.4:1.0: 4 ports detected
[    7.096020] random: jshn: uninitialized urandom read (4 bytes read)
[    7.136258] random: jshn: uninitialized urandom read (4 bytes read)
[    7.409569] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    7.417995] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    7.426953] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    7.433902] 8021q: adding VLAN 0 to HW filter on device lan1
[    7.442209] 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
[   11.801574] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   11.815318] urandom-seed: Seed file not found (/etc/urandom.seed)
[   12.031676] procd: - early -
[   12.034824] procd: - watchdog -
[   12.729614] procd: - watchdog -
[   12.926111] procd: - ubus -
[   13.173716] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.182635] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.198196] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.208264] procd: - init -
Please press Enter to activate this console.
[   13.789578] random: crng init done
[   13.793032] random: 22 urandom warning(s) missed due to ratelimiting
[   14.192448] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.267260] PPP generic driver version 2.4.2
[   14.273513] NET: Registered protocol family 24
[   14.286547] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.356381] urngd: v1.0.2 started.
[   38.181291] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   38.207485] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   38.216077] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   38.226364] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   38.234274] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   38.241562] 8021q: adding VLAN 0 to HW filter on device lan1
[   38.274649] br-lan: port 1(lan1) entered blocking state
[   38.279983] br-lan: port 1(lan1) entered disabled state
[   38.286970] device lan1 entered promiscuous mode
[   38.291914] device eth0 entered promiscuous mode
[   38.332531] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   38.340907] 8021q: adding VLAN 0 to HW filter on device lan2
[   38.360311] br-lan: port 2(lan2) entered blocking state
[   38.365636] br-lan: port 2(lan2) entered disabled state
[   38.377052] device lan2 entered promiscuous mode
[   38.402082] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   38.409661] 8021q: adding VLAN 0 to HW filter on device lan3
[   38.421616] br-lan: port 3(lan3) entered blocking state
[   38.426942] br-lan: port 3(lan3) entered disabled state
[   38.435631] device lan3 entered promiscuous mode
[   38.456993] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   38.464399] 8021q: adding VLAN 0 to HW filter on device lan4
[   38.473818] br-lan: port 4(lan4) entered blocking state
[   38.479082] br-lan: port 4(lan4) entered disabled state
[   38.486888] device lan4 entered promiscuous mode
[   38.515154] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   38.522423] 8021q: adding VLAN 0 to HW filter on device wan
[   40.086344] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   40.093889] jffs2_build_filesystem(): unlocking the mtd device...
[   40.094005] done.
[  245.485119] done.
[  245.494567] jffs2: notice: (2269) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  245.663167] overlayfs: upper fs does not support tmpfile.

I wgrałem swój skompilowany system v22

[  348.496593] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[  348.504227] br-lan: port 1(lan1) entered blocking state
[  348.509478] br-lan: port 1(lan1) entered forwarding state
[  348.516026] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Sun Jul 31 15:19:14 UTC 2022 upgrade: Sending TERM to remaining processes ...
Sun Jul 31 15:19:18 UTC 2022 upgrade: Sending KILL to remaining processes ...
[  411.086806] stage2 (2894): drop_caches: 3
Sun Jul 31 15:19:24 UTC 2022 upgrade: Switching to ramdisk...
mount: mounting /dev/mtdblock6 on /overlay failed: Resource busy
[  414.822742] VFS: Busy inodes after unmount of jffs2. Self-destruct in 5 seconds.  Have a nice day...
Sun Jul 31 15:19:28 UTC 2022 upgrade: Performing system upgrade...
[  414.932400] do_stage2 (2894): drop_caches: 3
Unlocking firmware ...

Writing from <stdin> to firmware ...  [w]
Sun Jul 31 15:21:33 UTC 2022 upgrade: Upgrade completed
Sun Jul 31 15:21:34 UTC 2022 upgrade: Rebooting system...
umount: can't unmount /dev: Resource busy
[  541.119728] reboot: Restarting system
怘▒▒▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x▒x


I uruchamia się moja kompilacja v22:

▒▒~`f▒▒~x▒▒f▒▒▒fx怘▒▒f▒▒x▒▒`▒~▒▒▒▒▒ff▒▒~▒▒`fx▒~`f▒▒▒~▒f▒▒▒▒▒f▒▒▒▒▒▒▒f▒▒▒▒▒▒▒f▒▒fx▒f▒ff~`▒▒▒xxf▒▒▒▒▒▒▒▒▒▒f▒▒▒f▒▒[    0.940096] printk: console [ttyS0] enabled
[    0.940096] printk: console [ttyS0] enabled
[    0.948371] printk: bootconsole [early0] disabled
[    0.948371] printk: bootconsole [early0] disabled
[    0.960586] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    0.967748] spi-nor spi0.0: mx66l51235l (65536 Kbytes)
[    0.973056] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.979380] Creating 4 MTD partitions on "spi0.0":
[    0.984175] 0x000000000000-0x000000030000 : "bootloader"
[    0.990683] 0x000000030000-0x000000040000 : "config"
[    0.997165] 0x000000040000-0x000000050000 : "factory"
[    1.003420] 0x000000050000-0x000004000000 : "firmware"
[    1.009816] 2 uimage-fw partitions found on MTD device firmware
[    1.015770] Creating 2 MTD partitions on "firmware":
[    1.020724] 0x000000000000-0x00000029fd18 : "kernel"
[    1.025685] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    1.034959] 0x00000029fd18-0x000003fb0000 : "rootfs"
[    1.039937] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.049959] mtd: device 5 (rootfs) set to be root filesystem
[    1.055837] 1 squashfs-split partitions found on MTD device rootfs
[    1.062036] 0x000001b00000-0x000003fb0000 : "rootfs_data"
[    1.076758] rt2880-pinmux pinctrl: pin io22 already requested by pinctrl; cannot claim for 1e100000.ethernet
[    1.086619] rt2880-pinmux pinctrl: pin-22 (1e100000.ethernet) status -22
[    1.093313] rt2880-pinmux pinctrl: could not request pin 22 (io22) from group rgmii2  on device rt2880-pinmux
[    1.103200] mtk_soc_eth 1e100000.ethernet: Error applying setting, reverse things back
[    1.111119] mtk_soc_eth: probe of 1e100000.ethernet failed with error -22
[    1.118413] i2c /dev entries driver
[    1.124484] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.131208] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.140037] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.148226] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.156507] mt7621-pci 1e140000.pcie: Parsing DT failed
[    1.164193] NET: Registered protocol family 10
[    1.170289] Segment Routing with IPv6
[    1.174131] NET: Registered protocol family 17
[    1.179042] 8021q: 802.1Q VLAN Support v1.8
[    1.186992] gpio-export gpio-export: 1 gpio(s) exported
[    1.192647] rt2880-pinmux pinctrl: pcie is already enabled
[    1.198198] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.204940] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.213745] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.221935] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.230181] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    1.237979] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.245647] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[    1.353100] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.358674] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    1.464400] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.469257] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.474133] mt7621-pci 1e140000.pcie: PCIE2 enabled
[    1.478996] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.488466] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.494845] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.501717] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.508577] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.514059] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] (bus address [0x00000000-0x0fffffff])
[    1.524266] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.530268] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.536529] pci 0000:00:00.0: reg 0x14: [mem 0x60500000-0x6050ffff]
[    1.542858] pci 0000:00:00.0: supports D1
[    1.546853] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.553278] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.559307] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.565582] pci 0000:00:01.0: reg 0x14: [mem 0x60510000-0x6051ffff]
[    1.571905] pci 0000:00:01.0: supports D1
[    1.575899] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.582297] pci 0000:00:02.0: [0e8d:0801] type 01 class 0x060400
[    1.588323] pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.594596] pci 0000:00:02.0: reg 0x14: [mem 0x60520000-0x6052ffff]
[    1.600900] pci 0000:00:02.0: supports D1
[    1.604909] pci 0000:00:02.0: PME# supported from D0 D1 D3hot
[    1.612455] pci 0000:01:00.0: [1b21:0612] type 00 class 0x010601
[    1.618494] pci 0000:01:00.0: reg 0x10: [io  0x0000-0x0007]
[    1.624082] pci 0000:01:00.0: reg 0x14: [io  0x0000-0x0003]
[    1.629641] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x0007]
[    1.635212] pci 0000:01:00.0: reg 0x1c: [io  0x0000-0x0003]
[    1.640767] pci 0000:01:00.0: reg 0x20: [io  0x0000-0x001f]
[    1.646339] pci 0000:01:00.0: reg 0x24: initial BAR value 0x00000000 invalid
[    1.653375] pci 0000:01:00.0: reg 0x24: [mem size 0x00000200]
[    1.659104] pci 0000:01:00.0: reg 0x30: initial BAR value 0x00000000 invalid
[    1.666137] pci 0000:01:00.0: reg 0x30: [mem size 0x00010000 pref]
[    1.672450] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.688524] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.693787] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.699857] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.706635] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.713851] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.720709] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    1.726755] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    1.733807] pci 0000:02:00.0: reg 0x10: [mem size 0x00100000]
[    1.739671] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    1.747017] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.752270] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.758340] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    1.765122] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.771988] pci 0000:03:00.0: [14c3:7612] type 00 class 0x028000
[    1.778017] pci 0000:03:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    1.785067] pci 0000:03:00.0: reg 0x10: [mem size 0x00100000 64bit]
[    1.791346] pci 0000:03:00.0: reg 0x30: initial BAR value 0x00000000 invalid
[    1.798387] pci 0000:03:00.0: reg 0x30: [mem size 0x00010000 pref]
[    1.804677] pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
[    1.812056] pci 0000:00:02.0: PCI bridge to [bus 03-ff]
[    1.817281] pci 0000:00:02.0:   bridge window [io  0x0000-0x0fff]
[    1.823369] pci 0000:00:02.0:   bridge window [mem 0x60300000-0x603fffff]
[    1.830130] pci 0000:00:02.0:   bridge window [mem 0x60400000-0x604fffff pref]
[    1.837341] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
[    1.844023] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.850609] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.857568] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.864172] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.871106] pci 0000:00:02.0: BAR 0: no space for [mem size 0x80000000]
[    1.877706] pci 0000:00:02.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.884659] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.891419] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    1.898627] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    1.905406] pci 0000:00:02.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[    1.912201] pci 0000:00:02.0: BAR 9: assigned [mem 0x60400000-0x604fffff pref]
[    1.919393] pci 0000:00:00.0: BAR 1: assigned [mem 0x60500000-0x6050ffff]
[    1.926177] pci 0000:00:01.0: BAR 1: assigned [mem 0x60510000-0x6051ffff]
[    1.932959] pci 0000:00:02.0: BAR 1: assigned [mem 0x60520000-0x6052ffff]
[    1.939720] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    1.946497] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    1.953276] pci 0000:00:02.0: BAR 7: assigned [io  0x1e162000-0x1e162fff]
[    1.960051] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    1.967261] pci 0000:01:00.0: BAR 5: assigned [mem 0x60000000-0x600001ff]
[    1.974051] pci 0000:01:00.0: BAR 4: assigned [io  0x1e160000-0x1e16001f]
[    1.980815] pci 0000:01:00.0: BAR 0: assigned [io  0x1e160020-0x1e160027]
[    1.987595] pci 0000:01:00.0: BAR 2: assigned [io  0x1e160028-0x1e16002f]
[    1.994378] pci 0000:01:00.0: BAR 1: assigned [io  0x1e160030-0x1e160033]
[    2.001141] pci 0000:01:00.0: BAR 3: assigned [io  0x1e160034-0x1e160037]
[    2.007921] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.012884] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    2.019645] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.026425] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.033650] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    2.040412] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.045372] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    2.052149] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.058918] pci 0000:03:00.0: BAR 0: assigned [mem 0x60300000-0x603fffff 64bit]
[    2.066226] pci 0000:03:00.0: BAR 6: assigned [mem 0x60400000-0x6040ffff pref]
[    2.073434] pci 0000:00:02.0: PCI bridge to [bus 03]
[    2.078378] pci 0000:00:02.0:   bridge window [io  0x1e162000-0x1e162fff]
[    2.085152] pci 0000:00:02.0:   bridge window [mem 0x60300000-0x603fffff]
[    2.091935] pci 0000:00:02.0:   bridge window [mem 0x60400000-0x604fffff pref]
[    2.116236] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    2.128209] Freeing unused kernel memory: 1276K
[    2.132814] This architecture does not have kernel memory protection.
[    2.139247] Run /sbin/init as init process
[    3.179914] init: Console is alive
[    3.183932] init: - watchdog -
[    6.178386] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.250564] usbcore: registered new interface driver usbfs
[    6.256264] usbcore: registered new interface driver hub
[    6.261786] usbcore: registered new device driver usb
[    6.279381] ANTFS Module: Version 07.19-b41ba529
[    6.290619] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.305021] SCSI subsystem initialized
[    6.313960] ehci-fsl: Freescale EHCI Host controller driver
[    6.321389] ehci-platform: EHCI generic platform driver
[    6.343748] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[    6.349197] pci 0000:00:00.0: enabling device (0006 -> 0007)
[    6.354873] ahci 0000:01:00.0: enabling device (0000 -> 0003)
[    6.360756] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    6.367424] ahci 0000:01:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[    6.375504] ahci 0000:01:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
[    6.386516] scsi host0: ahci
[    6.390650] scsi host1: ahci
[    6.394211] ata1: SATA max UDMA/133 abar m512@0x60000000 port 0x60000100 irq 23
[    6.401599] ata2: SATA max UDMA/133 abar m512@0x60000000 port 0x60000180 irq 23
[    6.741608] ata1: SATA link down (SStatus 0 SControl 300)
[    7.081591] ata2: SATA link down (SStatus 0 SControl 300)
[    7.096636] xhci-mtk 1e1c0000.xhci: supply vbus not found, using dummy regulator
[    7.104419] xhci-mtk 1e1c0000.xhci: supply vusb33 not found, using dummy regulator
[    7.112327] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.117673] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    7.131764] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    7.140948] xhci-mtk 1e1c0000.xhci: irq 21, io mem 0x1e1c0000
[    7.148195] hub 1-0:1.0: USB hub found
[    7.152195] hub 1-0:1.0: 2 ports detected
[    7.156980] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.162465] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    7.169952] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    7.176622] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.185912] hub 2-0:1.0: USB hub found
[    7.189808] hub 2-0:1.0: 1 port detected
[    7.256125] usbcore: registered new interface driver usb-storage
[    7.266239] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.282266] init: - preinit -
[    7.340680] mmc0: new high speed SDHC card at address 1234
[    7.351084] mmcblk0: mmc0:1234 SA32G 29.1 GiB
[    7.357508]  mmcblk0: p1
[    7.711862] usb 1-2: new high-speed USB device number 2 using xhci-mtk
[    8.012736] hub 1-2:1.0: USB hub found
[    8.023171] hub 1-2:1.0: 4 ports detected
[    8.203786] random: procd: uninitialized urandom read (4 bytes read)
[    8.491683] usb 1-2.2: new high-speed USB device number 3 using xhci-mtk
[    8.726001] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[    8.733314] scsi host2: usb-storage 1-2.2:1.0
[    8.785596] random: jshn: uninitialized urandom read (4 bytes read)
[    8.931693] usb 1-2.4: new high-speed USB device number 4 using xhci-mtk
[    8.996386] random: jshn: uninitialized urandom read (4 bytes read)
[    9.163815] hub 1-2.4:1.0: USB hub found
[    9.167952] hub 1-2.4:1.0: 4 ports detected
[    9.229661] random: jshn: uninitialized urandom read (4 bytes read)
[    9.266843] random: jshn: uninitialized urandom read (4 bytes read)
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
[    9.743215] scsi 2:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[    9.753330] scsi 2:0:0:1: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
[    9.763724] sd 2:0:0:1: Power-on or device reset occurred
[    9.772178] sd 2:0:0:1: [sda] Attached SCSI removable disk
[   10.481701] random: crng init done
[   10.485126] random: 5 urandom warning(s) missed due to ratelimiting
[   13.711441] mount_root: loading kmods from internal overlay
[   13.755425] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   13.766140] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   15.418967] block: attempting to load /etc/config/fstab
[   15.566896] block: extroot: not configured
[   15.572331] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   15.596413] urandom-seed: Seed file not found (/etc/urandom.seed)
[   15.787197] procd: - early -
[   15.790340] procd: - watchdog -
[   16.371795] procd: - watchdog -
[   16.389762] procd: - ubus -
Failed to connect to ubus
[   16.684186] procd: - init -
Please press Enter to activate this console.
[   17.686724] urngd: v1.0.2 started.
[   17.926323] kmodloader: loading kernel modules from /etc/modules.d/*
[   18.184642] usb 1-2.2: USB disconnect, device number 3
[   18.434558] tun: Universal TUN/TAP device driver, 1.6
[   18.507144] GACT probability on
[   18.512419] Mirror/redirect action on
[   18.530924] u32 classifier
[   18.533755]     input device check on
[   18.537406]     Actions configured
[   18.571828] fuse: init (API version 7.32)
[   18.585909] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[   18.593654] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[   18.717715] xt_time: kernel timezone is -0000
[   18.725086] usbcore: registered new interface driver cdc_ether
[   19.135722] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
[   19.141215] pci 0000:00:01.0: enabling device (0004 -> 0007)
[   19.146963] mt7603e 0000:02:00.0: enabling device (0000 -> 0002)
[   19.153182] mt7603e 0000:02:00.0: ASIC revision: 76030010
[   20.111616] usb 1-2.2: new high-speed USB device number 5 using xhci-mtk
[   20.183280] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[   20.188873] mt7603e 0000:02:00.0: Build Time: 20160107100755
[   20.231599] mt7603e 0000:02:00.0: firmware init done
[   20.349866] cdc_ether 1-2.2:1.0 eth0: register 'cdc_ether' at usb-1e1c0000.xhci-2.2, CDC Ethernet Device, 0c:5b:8f:27:9a:64
[   20.362874] usb-storage 1-2.2:1.2: USB Mass Storage device detected
[   20.370479] scsi host2: usb-storage 1-2.2:1.2
[   20.428412] mt7621-pci 1e140000.pcie: bus=3 slot=2 irq=25
[   20.433900] pci 0000:00:02.0: enabling device (0004 -> 0007)
[   20.439561] mt76x2e 0000:03:00.0: enabling device (0000 -> 0002)
[   20.445784] mt76x2e 0000:03:00.0: ASIC revision: 76120044
[   21.112237] mt76x2e 0000:03:00.0: ROM patch build: 20141115060606a
[   21.122459] mt76x2e 0000:03:00.0: Firmware Version: 0.0.00
[   21.127959] mt76x2e 0000:03:00.0: Build: 1
[   21.132066] mt76x2e 0000:03:00.0: Build Time: 201607111443____
[   21.151610] mt76x2e 0000:03:00.0: Firmware running!
[   21.166100] usbcore: registered new interface driver mt76x2u
[   21.181634] PPP generic driver version 2.4.2
[   21.188471] NET: Registered protocol family 24
[   21.196129] usbcore: registered new interface driver rndis_host
[   21.244681] kmodloader: done loading kernel modules from /etc/modules.d/*
[   21.422917] scsi 2:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
[   21.433456] sd 2:0:0:0: Power-on or device reset occurred
[   21.444406] sd 2:0:0:0: [sda] Attached SCSI removable disk
[   54.960695] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   54.967864] jffs2_build_filesystem(): unlocking the mtd device...
[   54.967954] done.
[   54.976157] jffs2_build_filesystem(): erasing all blocks after the end marker...
[  184.486598] done.
[  184.496034] jffs2: notice: (4595) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  184.758942] overlayfs: upper fs does not support tmpfile.

Cos tu jest nie w porządku, skoro nie mogę przejść z oficialnego v19 na swój firmware v22 tylko muszę używać pośredniego firmware oficialnego v22.

42

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Robiłeś zachowanie zmian w konfigu? Czy na czysto wgrywałeś?

Firstboota możesz wykonać w trybie failsafe.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

43

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Nie zachowywałem zmian w konfigu, wgrywałem na czysto.
Tryb failsafe nie działał, nie dało się go wywołać z konsoli, sam widziałeś co działo się po uarcie oraz z samego przycisku.
Failsafe jest w okolicach 7-dmej sekundy, a on nawet nie dochodził do tego momentu.

Ok, na ten moment nie mam interfejsu eth0 i muszę to ogarnąć, jak ogarnę to wrócę.

44 (edytowany przez tinware 2022-09-08 17:51:00)

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

W międzyczasie pokażę jakie zmiany robię w kompilatorze, może dlatego kernel się wykłada w v21:

1) ./target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi

        #groups = "jtag", "uart2", "wdt";
        groups = "jtag", "uart3", "wdt", "uart2", "i2c", "rgmii2";
        
        [...]
        
        &switch0 {
          ports {
            port@0 {
              status = "okay";
              label = "port0";
            };
            port@1 {
              status = "okay";
              label = "port1";
            };
            port@2 {
              status = "okay";
              label = "port2";
            };
            port@3 {
              status = "okay";
              label = "port3";
            };
            port@4 {
              status = "okay";
              label = "port4";
              [...]
        [...]

2) ./build_dir/target-mipsel_24kc_musl/busybox-default/busybox-1.33.2/shell/ash.c

        if (!did_banner) {
            /* note: ash and hush share this string */
            /*
            out1fmt("\n\n%s %s\n"
                    IF_ASH_HELP("Enter 'help' for a list of built-in commands.\n")
                    "\n",
                    bb_banner,
                    "built-in shell (ash)"
            );
            */
            did_banner = 1;
        }

3) ./package/feeds/packages/ffmpeg/Makefile

        FFMPEG_CONFIGURE:= \
            [...] \
            --enable-libx264 \
            --enable-gpl \
            --enable-nonfree 
        [..]
->  Global build settings -> [*] Compile with support for patented functionality
->  Multimedia  ->   <*> ffmpeg
->  Libraries   ->   < > libffmpeg-custom
->  Libraries   ->   -*- libffmpeg-full
->  Libraries   ->   < > libffmpeg-mini
->  Libraries   ->   <*> libx264

4)

Kernel modules ---> Wireless Drivers ---> kmod-ath9k
[*] Support chips used in PC OEM cards

Oto całe moje zmiany, reszta to standardowe pakiety i sterowniki z menuconfig.
Może przez którąś z nich są takie problemy?

45

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

W build_dir to ty nic nie powinieneś łatać, bo to jest nadpisywane. Łatkę do busyboxa po prostu zrób.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

46

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Czy jest chociażby cień szansy, że to jest przyczyną problemów z kernelem?

47

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Nie, kompletnie nie. To co zmieniłeś to co najwyżej nie miał byś sieci lub coś z ledów/przycisków by nie chodziło. Ale nie problem z filesystem. Żeby taki problem wystąpił musiał byś zmienić rozkład partycji, pozmieniać offsety lub dać jakieś inne prametry tworzenia jffs.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

48 (edytowany przez tinware 2022-09-08 18:04:03)

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Na ten moment przekompiluje ponownie v22 na standardowym /etc/config/ oraz dtsach.
Niestety, między v21 a v22 jest różnica w tych plikach i nie mogę ich po prostu skopiować z v21, dlatego pewnie nie działa mi eth0.
To też jest powodem, dla którego nie mogę kompilować na snapshoot. Mam własne defaultowe /etc/config.
Jak pójdzie mi v22, to trzeba wrócić do problemu kernela. Mam nadzieję, że już nie wystąpi.

49

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

Przy okazji kompilowania zauważyłem, że bootloader oraz jądro i system nagrany jest w innym speedzie uart.
Gdzie mogę zmienić, żeby bootloader gadał po 115200, zamiast 57600?

50

Odp: OpenWRT losowo się nie uruchamia (brak komunikacji)

W zmiennych srodowiskowych bootloadera?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.