651

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Jak można podejrzeć te flagi? dodałem wpis do rc.local ale dalej nie chce zastartować odpowiednio.

  Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
detect button reset released!
Reading from 0x0 to 0x4f7fdd7c, size 0x4 ... OK
Boot failure detected on both systems
Reading from 0x0 to 0x4f7fdd7c, size 0x4 ... OK
Saving Environment to MTD... Erasing on MTD device 'nmbm0'... OK
Writing to MTD device 'nmbm0'... OK
OK
Booting System 1, sys1_failed = 10, sys2_failed = 165
ubi0: attaching mtd10
ubi0: scanning is finished
ubi0 error: ubi_read_volume_table: the layout volume was not found
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd10, error -22
UBI error: cannot attach mtd10
UBI error: cannot initialize UBI, error -22
*** Failed to attach UBI ***
*** Rebuilding UBI ***
Erasing from 0x0 to 0x21fffff, size 0x2200000 ... OK
*** UBI is read-only mode ***
resetting ...

A ja wybiorę start from firmware zero to:

eth0: ethernet@15100000

  *** U-Boot Boot Menu ***

     1. Startup system (Default)
     2. Startup firmware0
     3. Startup firmware1
     4. Upgrade firmware
     5. Upgrade ATF BL2
     6. Upgrade ATF FIP
     7. Upgrade single image
     8. Load image
     0. U-Boot console


  Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
detect button reset released!
Reading from 0x0 to 0x4f7fdd7c, size 0x4 ... OK
Boot failure detected on both systems
Reading from 0x0 to 0x4f7fdd7c, size 0x4 ... OK
Saving Environment to MTD... Erasing on MTD device 'nmbm0'... OK
Writing to MTD device 'nmbm0'... OK
OK
Booting System 1, sys1_failed = 11, sys2_failed = 166
ubi0: attaching mtd10
ubi0: scanning is finished
ubi0: empty MTD device detected
ubi0: attached mtd10 (name "ubi1", size 34 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 272, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 249, total reserved PEBs: 23, PEBs reserved for bad PEB handling: 19
Reading from volume 'kernel' to 0x46000000, size 0x0 ... *** Cannot find volume 'kernel' ***
resetting ...

F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [1000]
T0: 0000 024B [010F]
Jump to BL

NOTICE:  BL2: v2.6(release):b18eebc1b35-dirty
NOTICE:  BL2: Built : 01:44:14, May 29 2024
NOTICE:  WDT: disabled
NOTICE:  EMI: Using DDR3 settings
NOTICE:  EMI: Detected DRAM size: 256MB
NOTICE:  EMI: complex R/W mem test passed
NOTICE:  CPU: MT7981 (1300MHz)
NOTICE:  SPI_NAND parses attributes from parameter page.
NOTICE:  SPI_NAND Detected ID 0xef
NOTICE:  Page size 2048, Block size 131072, size 134217728
NOTICE:  Initializing NMBM ...
NOTICE:  Signature found at block 1023 [0x07fe0000]
NOTICE:  First info table with writecount 0 found in block 960
NOTICE:  Second info table with writecount 0 found in block 963
NOTICE:  NMBM has been successfully attached in read-only mode
NOTICE:  BL2: Booting BL31
NOTICE:  BL31: v2.6(release):b18eebc1b35-dirty
NOTICE:  BL31: Built : 01:44:14, May 29 2024
NOTICE:  Hello BL31!!!
In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
Net:   [miwifi] find switch an8855
eth0: ethernet@15100000

  *** U-Boot Boot Menu ***

     1. Startup system (Default)
     2. Startup firmware0
     3. Startup firmware1
     4. Upgrade firmware
     5. Upgrade ATF BL2
     6. Upgrade ATF FIP
     7. Upgrade single image
     8. Load image
     0. U-Boot console


  Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
detect button reset released!
Reading from 0x0 to 0x4f7fdd7c, size 0x4 ... OK
Reading from 0x0 to 0x4f7fdd7c, size 0x4 ... OK
Saving Environment to MTD... Erasing on MTD device 'nmbm0'... OK
Writing to MTD device 'nmbm0'... OK
OK
Booting System 0, sys1_failed = 11, sys2_failed = 167
ubi0: attaching mtd9
ubi0: scanning is finished
ubi0: attached mtd9 (name "ubi", size 34 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 272, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1085696161
ubi0: available PEBs: 219, total reserved PEBs: 53, PEBs reserved for bad PEB handling: 19
Reading from volume 'kernel' to 0x46000000, size 0x0 ... OK
## Loading kernel from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.15.167
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000ec
     Data Size:    3781743 Bytes = 3.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x48000000
     Entry Point:  0x48000000
     Hash algo:    crc32
     Hash value:   ea5e6a9f
     Hash algo:    sha1
     Hash value:   7f6c14d4b669ab10bec5ae3a078f08d8f0a7a379
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt xiaomi_mi-router-ax3000t device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4639b6a4
     Data Size:    23502 Bytes = 23 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   2b61d710
     Hash algo:    sha1
     Hash value:   6f3cd636b5bca53a0ac73cb132562082b91b8c09
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x4639b6a4
   Uncompressing Kernel Image
   Loading Device Tree to 000000004f7f0000, end 000000004f7f8bcd ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.167 (cezary@eko.one.pl) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23004-7f0db09513) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Tue Oct 8 20:20:23 2024
[    0.000000] Machine model: Xiaomi Mi Router AX3000T
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000004fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x0000000047c7ffff]
[    0.000000]   node   0: [mem 0x0000000047c80000-0x0000000047ffffff]
[    0.000000]   node   0: [mem 0x0000000048000000-0x000000004fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000004fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 18 pages/cpu s33112 r8192 d32424 u73728
[    0.000000] pcpu-alloc: s33112 r8192 d32424 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64512
[    0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8 swiotlb=512 rootfstype=squashfs firmware=0 mtd=ubi uart_en=1
[    0.000000] Unknown kernel command line parameters "firmware=0 mtd=ubi uart_en=1", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 241304K/262144K available (8448K kernel code, 904K rwdata, 1488K rodata, 448K init, 302K bss, 20840K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] Root IRQ handler: 0xffffffc008010090
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000155] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000165] pid_max: default: 32768 minimum: 301
[    0.000449] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.000459] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.001833] rcu: Hierarchical SRCU implementation.
[    0.002251] smp: Bringing up secondary CPUs ...
[    0.002591] Detected VIPT I-cache on CPU1
[    0.002620] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.002651] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.002721] smp: Brought up 1 node, 2 CPUs
[    0.002736] SMP: Total of 2 processors activated.
[    0.002741] CPU features: detected: 32-bit EL0 Support
[    0.002746] CPU features: detected: CRC32 instructions
[    0.002778] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.002846] CPU: All CPU(s) started at EL2
[    0.002857] alternatives: patching kernel code
[    0.006612] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006638] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.006795] pinctrl core: initialized pinctrl subsystem
[    0.007686] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.008065] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.008097] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.008120] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.008483] thermal_sys: Registered thermal governor 'fair_share'
[    0.008487] thermal_sys: Registered thermal governor 'bang_bang'
[    0.008492] thermal_sys: Registered thermal governor 'step_wise'
[    0.008496] thermal_sys: Registered thermal governor 'user_space'
[    0.008724] ASID allocator initialised with 65536 entries
[    0.009252] pstore: Registered ramoops as persistent store backend
[    0.009259] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.019956] cryptd: max_cpu_qlen set to 1000
[    0.022332] SCSI subsystem initialized
[    0.022518] libata version 3.00 loaded.
[    0.023789] clocksource: Switched to clocksource arch_sys_counter
[    0.024456] NET: Registered PF_INET protocol family
[    0.024553] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.024980] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.024998] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.025007] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.025026] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.025059] TCP: Hash tables configured (established 2048 bind 2048)
[    0.025132] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.025150] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.025279] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.025310] PCI: CLS 0 bytes, default 64
[    0.028369] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[    0.032058] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.032076] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.065431] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.066236] pwm-mediatek 10048000.pwm: clock: top fail: -517
[    0.076397] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.078327] printk: console [ttyS0] disabled
[    0.098502] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 18, base_baud = 2500000) is a ST16650V2
[    0.742875] printk: console [ttyS0] enabled
[    0.747925] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.757539] loop: module loaded
[    0.760686] Loading iSCSI transport class v2.0-870.
[    0.767612] spi spi0.0: setup: ignoring unsupported mode bits a00
[    0.774151] spi-nand spi0.0: Winbond SPI NAND was found.
[    0.779466] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 96
[    0.788240] Signature found at block 1023 [0x07fe0000]
[    0.793374] NMBM configuration mismatch
[    0.797532] 10 fixed-partitions partitions found on MTD device spi0.0
[    0.804003] Creating 10 MTD partitions on "spi0.0":
[    0.808870] 0x000000000000-0x000000100000 : "BL2"
[    0.814650] 0x000000100000-0x000000140000 : "Nvram"
[    0.820184] 0x000000140000-0x000000180000 : "Bdata"
[    0.825760] 0x000000180000-0x000000380000 : "Factory"
[    0.832783] 0x000000380000-0x000000580000 : "FIP"
[    0.839101] 0x000000580000-0x0000005c0000 : "crash"
[    0.844666] 0x0000005c0000-0x000000600000 : "crash_log"
[    0.850521] 0x000007600000-0x000007640000 : "KF"
[    0.855868] 0x000000600000-0x000002800000 : "ubi_kernel"
[    0.879189] 0x000002800000-0x000007600000 : "ubi"
[    1.071251] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc009600000, irq 83
[    1.080918] i2c_dev: i2c /dev entries driver
[    1.087381] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.096243] NET: Registered PF_INET6 protocol family
[    1.102194] Segment Routing with IPv6
[    1.105933] In-situ OAM (IOAM) with IPv6
[    1.109908] NET: Registered PF_PACKET protocol family
[    1.114999] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.128141] 8021q: 802.1Q VLAN Support v1.8
[    1.133560] pstore: Using crash dump compression: deflate
[    2.154498] mt7530-mdio mdio-bus:1f: reset timeout
[    2.159346] mt7530-mdio: probe of mdio-bus:1f failed with error -110
[    2.166376] UBI: auto-attach mtd9
[    2.169702] ubi0: default fastmap pool size: 30
[    2.174238] ubi0: default fastmap WL pool size: 15
[    2.179017] ubi0: attaching mtd9
[    2.699550] ubi0: scanning is finished
[    2.713238] ubi0: attached mtd9 (name "ubi", size 78 MiB)
[    2.718663] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.725531] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.732305] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.739256] ubi0: good PEBs: 624, bad PEBs: 0, corrupted PEBs: 0
[    2.745253] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    2.752460] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 768021723
[    2.761493] ubi0: available PEBs: 0, total reserved PEBs: 624, PEBs reserved for bad PEB handling: 20
[    2.770710] ubi0: background thread "ubi_bgt0d" started, PID 439
[    2.772842] block ubiblock0_0: created from ubi0:0(rootfs)
[    2.782224] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    2.789427] clk: Disabling unused clocks
[    2.804017] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.811374] Freeing unused kernel memory: 448K
[    2.815874] Run /sbin/init as init process
[    2.819958]   with arguments:
[    2.822912]     /sbin/init
[    2.825612]   with environment:
[    2.828740]     HOME=/
[    2.831087]     TERM=linux
[    2.833785]     firmware=0
[    2.836479]     mtd=ubi
[    2.838912]     uart_en=1
[    3.049410] init: Console is alive
[    3.052961] init: - watchdog -
[    3.468680] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.499555] an8855 mdio-bus:01: Airoha AN8855 DSA driver, version 1.0.2
[    3.930469] an8855 mdio-bus:01: configuring for fixed/2500base-x link mode
[    3.937386] an8855 mdio-bus:01: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    3.937591] an8855 mdio-bus:01 wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY] (irq=POLL)
[    3.954504] an8855 mdio-bus:01 lan2 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY] (irq=POLL)
[    3.964511] an8855 mdio-bus:01 lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] (irq=POLL)
[    3.974710] an8855 mdio-bus:01 lan4 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] (irq=POLL)
[    3.984495] DSA: tree 0 setup
[    3.987466] an8855-nl: genl_register_family_with_ops
[    3.994153] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.005363] init: - preinit -
[    4.411578] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    4.420076] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    4.421776] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    4.439306] an8855 mdio-bus:01 lan4: configuring for phy/gmii link mode
[    4.485493] random: procd: 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
[    6.634193] UBIFS (ubi0:1): default file-system created
[    6.640244] UBIFS (ubi0:1): Mounting in unauthenticated mode
[    6.645998] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 591
[    6.732557] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    6.740437] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.750343] UBIFS (ubi0:1): FS size: 70471680 bytes (67 MiB, 555 LEBs), max 565 LEBs, journal size 3555328 bytes (3 MiB, 28 LEBs)
[    6.761990] UBIFS (ubi0:1): reserved for root: 3328551 bytes (3250 KiB)
[    6.768596] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 6E284320-1479-46DD-A336-F1CC8A347D8D, small LPT model
[    6.781953] mount_root: overlay filesystem has not been fully initialized yet
[    6.789371] mount_root: switching to ubifs overlay
[    6.797447] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    6.808693] urandom-seed: Seed file not found (/etc/urandom.seed)
[    6.852308] procd: - early -
[    6.855337] procd: - watchdog -
[    7.401161] procd: - watchdog -
[    7.404598] procd: - ubus -
[    7.453192] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.460415] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.466994] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.476465] procd: - init -
Please press Enter to activate this console.
[    7.706523] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.721618] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[    7.738099] Loading modules backported from Linux version v6.1.110-0-g5f55cad62cc9d
[    7.745807] Backport generated by backports.git v6.1.110-1-0-g965f73fc
[    7.926744] urngd: v1.0.2 started.
[    8.091380] random: crng init done
[    8.094828] random: 23 urandom warning(s) missed due to ratelimiting
[    8.104062] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20221208201745a
[    8.104062]
[    8.324876] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20221208201806
[    8.434726] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20221208202048
[    8.525125] mt798x-wmac 18000000.wifi: registering led 'mt76-phy0'
[    8.565885] mt798x-wmac 18000000.wifi: registering led 'mt76-phy1'
[   10.802812] PPP generic driver version 2.4.2
[   10.808894] NET: Registered PF_PPPOX protocol family
[   10.819774] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.980929] mtdblock: MTD device 'Bdata' is NAND, please consider using UBI block devices instead.
[   17.734847] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   17.756351] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   17.765540] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   17.767482] an8855 mdio-bus:01 lan2: configuring for phy/gmii link mode
[   17.781807] br-lan: port 1(lan2) entered blocking state
[   17.787114] br-lan: port 1(lan2) entered disabled state
[   17.793546] device lan2 entered promiscuous mode
[   17.798316] device eth0 entered promiscuous mode
[   17.808556] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   17.827337] an8855 mdio-bus:01 lan3: configuring for phy/gmii link mode
[   17.834520] br-lan: port 2(lan3) entered blocking state
[   17.839757] br-lan: port 2(lan3) entered disabled state
[   17.846587] device lan3 entered promiscuous mode
[   17.860995] an8855 mdio-bus:01 lan4: configuring for phy/gmii link mode
[   17.868483] br-lan: port 3(lan4) entered blocking state
[   17.873722] br-lan: port 3(lan4) entered disabled state
[   17.880893] device lan4 entered promiscuous mode
[   17.897290] an8855 mdio-bus:01 wan: configuring for phy/gmii link mode
[   22.004126] an8855 mdio-bus:01 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[   22.004149] br-lan: port 2(lan3) entered blocking state
[   22.016835] br-lan: port 2(lan3) entered forwarding state
[   22.023166] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready



BusyBox v1.36.1 (2024-10-08 20:20:23 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------------------------------
 |                                                                           |
 | OpenWrt 23.05-SNAPSHOT, r24117-1efcdb2446                                 |
 |                                                                           |
 | Build time: 2024-10-12 15:27 CEST                                         |
 | Cezary Jackiewicz, https://eko.one.pl                                     |
 |                                                                           |
 -----------------------------------------------------------------------------
 | Machine: Xiaomi Mi Router AX3000T                                         |
 | Uptime: 0d, 00:00:28                                                      |
 | Load: 0.25 0.06 0.02                                                      |
 | Flash: total: 61.5MB, free: 58.2MB, used: 0%                              |
 | Memory: total: 236.1MB, free: 156.8MB, used: 33%                          |
 | Leases: 0                                                                 |
 | lan: static, 192.168.1.1                                                  |
 | wan: dhcp, ?                                                              |
 | wan6: dhcpv6, ?                                                           |
 -----------------------------------------------------------------------------
 | CPU temp: 41.55 C                                                         |
 | Wi-Fi chip temp: 21.00 C, 21.00 C                                         |
 -----------------------------------------------------------------------------
 === WARNING! ================================================================
 There is no root password defined on this device!
 Use the "passwd" command to set up a new password
 in order to prevent unauthorized SSH logins.
 -----------------------------------------------------------------------------

652

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Poleceniem fw_printenv

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

653 (edytowany przez MiG25 2024-10-12 18:14:34)

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Najpierw może w konsoli Uboota ( 0 w uboocie) wpisz printenv , ew help i tam poszukaj co może to wyświetlić.

654

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Mam tak:

  Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
Hit any key to stop autoboot:  0
RD03> print_env
Unknown command 'print_env' - try 'help'
RD03> fw_printenv
Unknown command 'fw_printenv' - try 'help'
RD03> printenv
CountryCode=CN
Router_unconfigured=0
SN=49850/F4QW43325
arch=arm
baudrate=115200
boot_auto=bootxq
boot_fw0=run boot_rd_img;bootm
boot_fw1=run boot_rd_img2;bootm
boot_rd_img=nand read ${loadaddr} 0x2C0000 2000;image_blks 2048;nand read ${loadaddr} 0x2C0000 ${img_align_size}
boot_rd_img2=nand read ${loadaddr} 0x20C0000 2000;image_blks 2048;nand read ${loadaddr} 0x20C0000 ${img_align_size}
boot_wait=on
bootargs=console=ttyS0,115200n1 loglevel=8 swiotlb=512 rootfstype=squashfs firmware=0 mtd=ubi uart_en=1
bootcmd=bootxq
bootdelay=3
bootmenu_0=Startup system (Default)=bootxq
bootmenu_1=Startup firmware0=bootxq 0
bootmenu_2=Startup firmware1=bootxq 1
bootmenu_3=Upgrade firmware=mtkupgrade fw
bootmenu_4=Upgrade ATF BL2=mtkupgrade bl2
bootmenu_5=Upgrade ATF FIP=mtkupgrade fip
bootmenu_6=Upgrade single image=mtkupgrade simg
bootmenu_7=Load image=mtkload
bootmenu_delay=5
color=101
ethaddr=58:ea:1f:91:51:a8
ethaddr_wan=44:f7:70:78:54:6a
ethaddr_wan2=58:ea:1f:91:51:a9
ethprime=eth1
fdt_high=0x6c000000
fdtcontroladdr=4ffc4490
flag_boot_rootfs=0
flag_boot_success=1
flag_boot_type=2
flag_last_success=0
flag_ota_reboot=0
flag_try_sys1_failed=12
flag_try_sys2_failed=167
invaild_env=no
ipaddr=192.168.10.1
loadaddr=0x46000000
mode=Router
model=RD03
mtdids=nmbm0=nmbm0
mtdparts=nmbm0:1024k(bl2),256k(Nvram),256k(Bdata),2048k(factory),2048k(fip),256k(crash),256k(crash_log),34816k(ubi),34816k(ubi1),32768k(overlay),12288k(data),256k(KF)
no_wifi_dev_times=0
nv_channel_secret=VedRyH5LbBbzawWLzKxjmzAMvD8NqxOqB5CcctkdHM4=
nv_device_id=bea3d654-f969-c113-bd67-dc5353a524d0
pcbasn=515DMID03M07/1010860809-02279
rand_key=Oemf5slweWTmzMAzVLqVlQGhHvCi4V15nM5+vgb1Vyjj+F3ui5dptQ==
rand_nonce=+mPM6YAg6PbaR6TuuHhwzqTvWSAS30bhQitPVZeRWVh0yEDOrAwuDJqH3XH04qlin4MteDsqQeQIfKxAOALQm2r3LxvDhrqYc0gSyhe4TJYN0GEkTU6RfaUw9cI/ZcuGecgO7h8jvFkj4HT6/3DKqQmqwNN3d+QjSVLQsKsa24N1vVKVAXJ8aO2TUfo5bytQmIV0yJ1Sc0U62F3GzDLMCU3dZJHnj5ac+qfes9gl01bQwcVv0e7OHLB/CzZE2iRDRPViahSRJURdE+hkLGdcf0KUbQBiQTe8WOXBdOcbdptFyRakbrUj16moMA7ErPNXQW5vuNUppAaaX3A/7BSvZa5fVTbpx5UPPIP1S3VuoarNCWNSuHR2w5S8lJJfLWgdJlxMaV+8ATOfzLjFOrGTvuvNQyIzQrjotcjn+J7fO/E5ipIcZn2Y8mddnQBJI9688OMkuzottYDGBTvA725ziuHoX0anJWYNnP6UoQc9MWStEanLw5K+6fNzViy6tCm3Ex3S3Mn6yBmow2dcatDk/dDh/0wPY24MQMdcTljkqANX7dPlMwp+LszK1s9l4wazWl4EaobFzCUjztKkWFGGyKydNOZeJK/9ZQxCeekwBYsGlqGJqfT6CzeN1XKFIEy0yNlwUzY7gDaMMOzSGb+6T/HC6yx/ZKBIILpiiw0BcHjpvKjJ4FjtMs5g1fF+Xfkx9C1bzjlhGm2pSPpAxHaQS3zIPXNLYW7lIEg0vquB4JfdVOf8htST1pF1jQoqZA7N+AcM16NGjLJflfTz1XzwqMO3R6unEc/35enekjULtJt4SQO3+b2rlJf7P+00DO8N1a5c64bb9r2myy61AWIDFZZEAmwe91Eo006rDqe9hQeYVoZzVElhMp6Jcbw2zwnvCv1HdkPsJFSyYAuF4SGFPtMW0LvTaLsUJK51FN+vjMQnkYYoWm22MzAuoESaM1FTqyxM72o3IZnC2aZkU+CdqvLDtLqkCVRIJfoxIDBNdZBkwiJYXCQp815rHyi/G/9XcCwbN5Fd2rly+hO2uqPGX5Zc52tPy8+VtMbMa/SyIpGZJaPCC7w9h0MZaOGVVWbNNPLGBtinq1Wpbr65HIucgh1K08Ov3MAGBM3VfoPPtDLjkbKPK8P21xD08qf5DaPPqN1fMH6Da+4HGpqMs8cxP9S/1qfVGHLumYIRlCaulIV6uSaF8RmDZEYqhelOLkQ/cIFoYB9YTR/DpH+rZ5NlOV1whUrLxYHRAtEWZrIt0Nm0lSnea/wRVXoLF33UrqYaZIWAEqio+/SNAzBKjB1XxrkYP7Tgktfe4nHFwFz03HhKS8qfJSALU2u2C4QcI9DgcynE/txFCGT5T0CKhLwuCw==
restore_defaults=0
serverip=192.168.10.100
ssh_en=1
stderr=serial@11002000
stdin=serial@11002000
stdout=serial@11002000
telnet_en=0
uart_en=1
wl0_radio=1
wl0_ssid=rd03_minet_546a
wl1_radio=1
wl1_ssid=rd03_minet_546a

Environment size: 3269/65532 bytes

655

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Ale to co 6 reboot i flaga flag_try_sys1_failed jak jest podzielna przez 6 to wpada w bootloop  ,a w pozostałych przypadkach jest dobrze ?

656 (edytowany przez xury 2024-11-12 23:53:16)

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Da sie edytować flagi:

editenv flag_last_success

i zamieniamy 0 na 1

--edited--
to są chyba wszystkie flagi do boot

flag_boot_rootfs=0
flag_boot_success=1
flag_boot_type=2
flag_last_success=1
flag_ota_reboot=0
flag_try_sys1_failed=12
flag_try_sys2_failed=167

co znaczy flag_boot_type=2 ?
oraz
flag_try_sys1_failed=12
flag_try_sys2_failed=167

--edited2--
flag_last_success=1 oznacza z której partycji był ostatni poprawny boot a nie jak myślałem, że 1 oznacza sukcess.

657

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Po edycji tej flagi dałem:
RD03> saveenv
Saving Environment to MTD... Erasing on MTD device 'nmbm0'... OK
Writing to MTD device 'nmbm0'... OK

a potem boot i poszło. Po reboocie z systemu też poszło

658

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

No te ostatnie dwie to ile było nieudanych prób startu z systemu 1 a ile z systemu 2. Tu ciągle widać , że uboot przełącza te systemy  w zależności od tego ,czy aktualny bootuje się poprawnie ,czy nie ( czyli wystawia flagę last_succes). Jak system nie wystawi flagi 6 razy z rzędu pewnie , to jest zmiana na drugi.
Więc faktycznie w rc.local wpisz ustawianie flagi flag_boot_success=1 i powinno być ok ( do następnego przywrócenia ustawień fabrycznych , bo wtedy rc.local się wyczyści...)

659 (edytowany przez MiG25 2024-10-12 18:40:52)

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

xury napisał/a:

Po edycji tej flagi dałem:
RD03> saveenv
Saving Environment to MTD... Erasing on MTD device 'nmbm0'... OK
Writing to MTD device 'nmbm0'... OK

a potem boot i poszło. Po reboocie z systemu też poszło

Jak poszło , to teraz licz, ile razy zrebootujesz zanim zmieni znowu system.

EDIT: Można zmienić wpis boot_rd_img2 na taki sam z rd_img .... wtedy może sobie przełączać ile chce ,a i tak wystartować powinno to samo...

660

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Ja to wyczytałem na openwrt, tu nie przypominam sobie żeby ktoś o tym wspomniał. Więc co, xiaomi coś osttanio zmieniło że wszystkim innym działała do tej pory?

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

661 (edytowany przez MiG25 2024-10-12 18:43:59)

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Uboot jest na pewno inny (obsługujęcy ten an8855) , więc to może zaraz wyjść , bo nikt tego nie wgrywał jeszcze do routerów z an8855 i softem 1.0.83....

662

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Ha jestem jeden z pierwszych smile Niespodziankę będą mieli ci co sobie ustawią wszystko i zresetują kilka razy smile
Flaga flag_try_sys1_failed zwiększa się pomimo prawidłowego boota
a dodany wpis w rc.local znika po reboocie.
Robię to przez UART i dlatego? czy jescze coś muszę zrobić by się zapisało? Ustawić hasło roota etc?

663

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Cezary napisał/a:

Don't run this command if the issue doesn't affect you, and your router keeps its settings after 6 reboots!

Może już teraz za każdym razem jest czyszczony....
Ustaw w uboocie te dwie flagi flag_try_sys1_failed i flag_try_sys2_failed na 0 ,może wtedy będzie ok do szóstego razu...

664

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

I jeszcze ciekawe rzeczy po fw_printsys:
pcbasn=515DMID03M07/1010860809-02279
color=101
CountryCode=CN
ethaddr_wan=44:f7:70:78:54:6a
ethaddr=58:ea:1f:91:51:a8
ethaddr_wan2=58:ea:1f:91:51:a9
SN=49850/F4QW43325
model=RD03
miot_did=diddomiotedytowalem==
miot_key=kluczdomiotedytowalem==
wl1_ssid=rd03_minet_546a
wl0_ssid=rd03_minet_546a
telnet_en=0
ssh_en=0
uart_en=0

Zastanawiam się czy mogę zmienić countrycode i model skoro niczym się mają nie różnić od globala

665

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

To i ak są wpisy z których korzystał orginalny FW ,a ty go już nie masz. Więc równie dobrze może ich w ogóle nie być. Skup się na tym co się dzieje po rebootach smile

666

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Dobra chyba odkryłem, że nie może być wartość 0 w tych flagach
więc dałem na stałe by było:
flag_try_sys1_failed=2

teraz rc.local nie znika po reboocie:

 cat /etc/rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.

sleep 5
fw_setenv flag_try_sys1_failed 2
exit 0

667

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Ustawiłem już go jako główny. Wydaje mi się, że działa OK tylko niepokoi mnie kilka wpisów z logread:

Sat Oct 12 22:21:26 2024 kern.err kernel: [    2.154458] mt7530-mdio mdio-bus:1f: reset timeout
Sat Oct 12 22:21:26 2024 kern.warn kernel: [    2.159311] mt7530-mdio: probe of mdio-bus:1f failed with error -110

Sat Oct 12 22:21:28 2024 daemon.notice procd: /etc/rc.d/S25packet_steering: uci: Entry not found

Sat Oct 12 22:21:26 2024 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8 swiotlb=512 rootfstype=squashfs firmware=0 mtd=ubi uart_en=1
Sat Oct 12 22:21:26 2024 kern.notice kernel: [    0.000000] Unknown kernel command line parameters "firmware=0 mtd=ubi uart_en=1", will be passed to user space.

Najbardziej to:   mt7530-mdio: probe of mdio-bus:1f failed with error -110

668

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Niejaki Ser9ei zapodał fix do bootloopa: https://drive.google.com/drive/folders/ … jvAg?hl=en
Pisał że:

About the bootloop issue with the new version of the stock firmware
(bootloader)

I have the script (bootcount + platforms.sh) in my build to properly update the boot flags (from boot env), but missed info about the issue from SNAPSHOT (absent in the 23.5 branch):
"mediatek: filogic: Update bootcount init script permissions" -

669 (edytowany przez MiG25 2024-10-13 09:42:44)

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Tyle ,że on nie ustawia tej konkretnej flagi co ty flag_try_sys1_failed  na 2 , tylko inną i to na 0 , więc bezużyteczne w AX3000T z an8855...

Wygląda na to ,że wgrywając starego bootloadera tracimy "tylko" tftp ,ale z flasha system ciągle startuje , a jak we flashu będzie openwrt z patchem an8855 to wszystko jest ok.
Stąd propozycja ,żeby zrobić jeszcze wersję uboot-mod z tym patchem , i nie trzeba będzie nic z flagami robić ( tylko wgrać uboota , który nie obsługuje an8855 , więc traci się tftp).
Jeśli coś się uwali , to zawsze jest  backup bootloadera i mtd_uart przy pomocy kopii się wystartuje z obsługą lanu... Tak mi się wydaje.

A w miedzyczasie moze ktoś do uboot_moda doda obsługę an8855 też..

670

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Ja tam widzę w pliku bootcount  w FW jest ten plik ale nie ma nic o xiaomi.  Ustawia te flagi na 0. Być może ja się mylę i te flagi mogą mieć wartość 0, albo w pliku rc.local jest to robione w zły sposób.
Poza tym widzę, że plik platform.sh jest już w FW tylko nieco inny w katalogu /lib/upgrade.

671

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Nie ma to znaczenia w jakim pliku , najważniejsze ,żeby się komenda wykonała i ustawiła odpowiednią flagę ,więc jak widać rc.local też jest dobry. Chodzi mi o to ,że tam jest zła flaga i na złą wartość ustawiana , więc nic nie da.

672

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Witam, posiadam model RD23, wersja softu v1.0.31 (INT). Zrobiłem wszystko według easy method i wgrałem OpenWRT w v23.05.5 według poniższej instrukcji:
* Download XMiR-Patcher 1.8k and unpack into any directory
* Copy UBInized image openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-initramfs-factory.ubi into directory firmware
* Execute !START.bat (or run.sh on *nix machine)
* Execute 2
* Execute 7
* Wait 40...70 seconds
* Browse 192.168.1.1
* Using LuCI flash sysupgrade image openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-squashfs-sysupgrade.bin
* Wait 40...70 seconds
 
Niestety, po reboocie już nie wstał i teraz świeci się tylko pomarańczowa dioda, po chwili szybko miga i tak w kolko, próbowałem zrobić debricking poprzez tftp, ale w logach Tftpd64 w ogóle nie ma śladów połączenia. Czy jest jakieś inne wyjście niż uart, czy zostaję tylko to? Dziękuję

673

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Oficjalne wersje nie mają wsparcia dla nowego chipu flash, może właśnie to jest przyczyną że nie wstał.

Próbuj tego tftpd, jak nie nie uda to niestety zostaje uart.

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

674 (edytowany przez MiG25 2024-10-13 18:34:13)

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Model RD23 to nie jest z Chin , to jakiś zakup z lokalnego sklepu typu mediaexpert ?


Próbuj tego https://eko.one.pl/forum/viewtopic.php? … 81#p306981
A szczególnie adresów IP do ustawienia i daj znac co wyszło.
No i wiresharka od razu może nie instaluj jak nie masz , po ustawieniu adresów i być może tego dhcp w logach powie jaki chce plik.
EDIT: No i daj znać ,czy faktycznie jest tam Winbond .... Albo zajrzyj przez kratki ( jak się poświeci latarką to widać ) , albo jak już przywrócisz , to w logach.

675 (edytowany przez xury 2024-10-13 19:24:36)

Odp: Xiaomi AX3000T - kiedy wsparcie na eko.one.pl?

Jeśli próbujesz używać tftpd na Windows to przez switcha ponieważ Windows wyłącza kartę sieciową na chwilę co skutkuje przełączeniem się na 127.0.0.1
Poza tym nie wiem czy XMiR-Patcher ustawia dobrze flagi.
Ja robię tak:
1. ustawiam adres jeśli trzeba 192.168.31.1
2 connect - jeśli się połączy i zapyta o web pasword do podaję
8 - other
2 change root password i ustawiam
Teraz odpalam Putty  i loguję się na router
Odpalam WinSCP i przesyłąm obraz FW factory do /tmp
A następnie jak w oficialnym opisie od punktu nr 4

Jeśli coś nie poszło to poresetuj go kilka razy i powinien powrocić do orginału. O ile Openwrt niegdy poprawnie nie zabootował.
Potem jak już Openwrt poprawnie odpali proponuję sprawdzić czy flagi bootloadera się zwiększają po każdym reboocie:

 fw_printenv flag_boot_rootfs flag_boot_success flag_last_success flag_ota_reboot flag_ota_root flag_try_sys1_failed flag_try_sys2_failed

Te dwie ostatnie flagi nie powinny się zwiększać o 1.
Możesz podmienić plik bootcount i dać mu chmod +x (link do google drive kilka postów wcześniej)
Testowałem go i  działa dobrze.