1 (edytowany przez Dabman 2024-08-02 17:24:05)

Temat: GL-MT2500 Brume2 uwalony

Dzien Dobry, mam GL-MT2500 3 urzadzenia, 2 ucglone.
Dostalem obecnie juz nowy sprzet od producenta, natomiast chcialem sie dowiedziec jak postawic.
Do jednego wlutowalem piny do UART i za pomoca CP210x USB to UART Bridge odpalilem putty.

Proces bootowania wyglada tak:

F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 103F 0000
F3: 1006 0033 [0200]
F3: 4001 00E0 [0200]
F3: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [2000]
T0: 0000 027D [010F]
Jump to BL


dump toprgu registers data:
1001c000 | 00000000 0000ffe0 00000000 00000000
1001c010 | 00000fff 00000000 00f00000 00000000
1001c020 | 00000000 00000000 00000000 00000000
1001c030 | 003c0003 003c0003 00000000 00000000
1001c040 | 00000000 00000000 00000000 00000000
1001c050 | 00000000 00000000 00000000 00000000
1001c060 | 00000000 00000000 00000000 00000000
1001c070 | 00000000 00000000 00000000 00000000
1001c080 | 00000000 00000000 00000000 00000000

dump drm registers data:
1001d000 | 00000000 00000000 00000000 00000000
1001d010 | 00000000 00000000 00000000 00000000
1001d020 | 00000000 00000000 00000000 00000000
1001d030 | 00a083f1 000003ff 00100000 00000000
1001d040 | 00000000 00000000 00020303 000000ff
1001d050 | 00000000 00000000 00000000 00000000
1001d060 | 00000002 00000000 00000000 00000000
drm: 500 = 0x8
[DDR Reserve] ddr reserve mode not be enabled yet
DDR RESERVE Success 0
[EMI] ComboMCP not ready, using default setting
BYTE_swap:0
BYTE_swap:0
Window Sum 584, worse bit 0, min window 72
Window Sum 584, worse bit 8, min window 72
[TxChooseVref] Worse bit 1, Min win 26, Win sum 445, Final Vref 24
Window Sum 212, worse bit 5, min window 8
Window Sum 232, worse bit 11, min window 20
Window Sum 268, worse bit 5, min window 26
Window Sum 272, worse bit 10, min window 26
Window Sum 292, worse bit 3, min window 32
Window Sum 298, worse bit 10, min window 34
Window Sum 324, worse bit 3, min window 36
Window Sum 322, worse bit 10, min window 34
Window Sum 344, worse bit 3, min window 40
Window Sum 344, worse bit 10, min window 40
Window Sum 366, worse bit 3, min window 42
Window Sum 358, worse bit 10, min window 40
Window Sum 376, worse bit 2, min window 44
Window Sum 378, worse bit 10, min window 42
Window Sum 394, worse bit 3, min window 46
Window Sum 398, worse bit 10, min window 44
Window Sum 408, worse bit 3, min window 48
Window Sum 408, worse bit 10, min window 46
Window Sum 418, worse bit 3, min window 50
Window Sum 422, worse bit 10, min window 50
Window Sum 428, worse bit 3, min window 52
Window Sum 434, worse bit 10, min window 50
Window Sum 440, worse bit 1, min window 54
Window Sum 448, worse bit 10, min window 54
Window Sum 452, worse bit 3, min window 54
Window Sum 460, worse bit 8, min window 56
Window Sum 458, worse bit 1, min window 56
Window Sum 464, worse bit 10, min window 56
Window Sum 460, worse bit 3, min window 56
Window Sum 472, worse bit 10, min window 56
Window Sum 468, worse bit 1, min window 56
Window Sum 476, worse bit 10, min window 56


U-Boot 2022.07-rc3 (Sep 12 2022 - 19:58:08 -0700)

CPU:   MediaTek MT7981
Model: mt7981-rfb
DRAM:  1 GiB
Core:  43 devices, 20 uclasses, devicetree: embed
MMC:   mmc@11230000: 0
Loading Environment from MMC... GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
f
F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 103F 0000
F3: 1006 0033 [0200]
F3: 4001 00E0 [0200]
F3: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [2000]
T0: 0000 027B [010F]
Jump to BL


dump toprgu registers data:
1001c000 | 00000000 0000ffe0 00000000 00000000
1001c010 | 00000fff 00000000 00f00000 00000000
1001c020 | 00000000 00000000 00000000 00000000
1001c030 | 003c0003 003c0003 00000000 00000000
1001c040 | 00000000 00000000 00000000 00000000
1001c050 | 00000000 00000000 00000000 00000000
1001c060 | 00000000 00000000 00000000 00000000
1001c070 | 00000000 00000000 00000000 00000000
1001c080 | 00000000 00000000 00000000 00000000

dump drm registers data:
1001d000 | 00000000 00000000 00000000 00000000
1001d010 | 00000000 00000000 00000000 00000000
1001d020 | 00000000 00000000 00000000 00000000
1001d030 | 00a083f1 000003ff 00100000 00000000
1001d040 | 00000000 00000000 00020303 000000ff
1001d050 | 00000000 00000000 00000000 00000000
1001d060 | 00000002 00000000 00000000 00000000
drm: 500 = 0x8
[DDR Reserve] ddr reserve mode not be enabled yet
DDR RESERVE Success 0
[EMI] ComboMCP not ready, using default setting
BYTE_swap:0
BYTE_swap:0
Window Sum 580, worse bit 0, min window 72
Window Sum 576, worse bit 8, min window 72
[TxChooseVref] Worse bit 0, Min win 25, Win sum 430, Final Vref 24
Window Sum 218, worse bit 5, min window 16
Window Sum 228, worse bit 11, min window 16
Window Sum 270, worse bit 5, min window 26
Window Sum 282, worse bit 10, min window 30
Window Sum 298, worse bit 3, min window 32
Window Sum 298, worse bit 10, min window 32
Window Sum 324, worse bit 3, min window 36
Window Sum 320, worse bit 10, min window 36
Window Sum 342, worse bit 3, min window 40
Window Sum 342, worse bit 10, min window 38
Window Sum 364, worse bit 3, min window 42
Window Sum 358, worse bit 10, min window 42
Window Sum 382, worse bit 4, min window 44
Window Sum 380, worse bit 10, min window 44
Window Sum 396, worse bit 3, min window 46
Window Sum 394, worse bit 10, min window 44
Window Sum 408, worse bit 3, min window 48
Window Sum 408, worse bit 8, min window 48
Window Sum 412, worse bit 3, min window 50
Window Sum 418, worse bit 10, min window 48
Window Sum 428, worse bit 3, min window 50
Window Sum 438, worse bit 10, min window 52
Window Sum 438, worse bit 2, min window 54
Window Sum 444, worse bit 10, min window 54
Window Sum 450, worse bit 3, min window 54
Window Sum 458, worse bit 10, min window 56
Window Sum 456, worse bit 1, min window 56
Window Sum 462, worse bit 10, min window 56
Window Sum 458, worse bit 2, min window 56
Window Sum 470, worse bit 10, min window 56
Window Sum 468, worse bit 3, min window 56
Window Sum 474, worse bit 10, min window 56
Window Sum 470, worse bit 1, min window 56


U-Boot 2022.07-rc3 (Sep 12 2022 - 19:58:08 -0700)

CPU:   MediaTek MT7981
Model: mt7981-rfb
DRAM:  1 GiB
Core:  43 devices, 20 uclasses, devicetree: embed
MMC:   mmc@11230000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
Net:
Warning: ethernet@15100000 (eth0) using random MAC address - 8e:ec:fc:e9:38:aa
eth0: ethernet@15100000
gpio: pin 12 (gpio 12) value is 0
RESET button is pressed for:  5 second(s)

Web failsafe UI started
ethernet@15100000 Waiting for PHY auto negotiation to complete..... TIMEOUT !
Enter "gl" to stop autoboot in 2 seconds

*** Upgrading Firmware ***

ethernet@15100000 Waiting for PHY auto negotiation to complete..... TIMEOUT !

*** TFTP client failure: -110 ***
*** Operation Aborted! ***
GUID Partition Table Entry Array CRC is wrong: 0x2cae7145 != 0x258070bd
find_valid_gpt: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
*** Partition 'kernel' not found! ***
*** Please update GPT first! ***
Reading from 0x880000 to 0x46000000, size 0x200 ... OK
Reading from 0x880000 to 0x46000000, size 0x37d90b ... OK
## Loading kernel from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.4.211
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    3641352 Bytes = 3.5 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x48080000
     Entry Point:  0x48080000
     Hash algo:    crc32
     Hash value:   fdb97c8e
     Hash algo:    sha1
     Hash value:   e2eeadc616e4039ae2285e0e6a573847752b7f41
   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 glinet_gl-mt2500 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x46379230
     Data Size:    16641 Bytes = 16.3 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   d17bd563
     Hash algo:    sha1
     Hash value:   674f4867ae1b210c0607445106dc27dfac9eafbb
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x46379230
   Uncompressing Kernel Image
   Loading Device Tree to 000000007f7f4000, end 000000007f7fb100 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.211 (glinet@glinet) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15812+899-46b6ee7ffc)) #0 SMP Fri Jun 28 06:42:11 2024
[    0.000000] Machine model: GL.iNet GL-MT2500
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] On node 0 totalpages: 261200
[    0.000000]   DMA32 zone: 4096 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 261200 pages, LIFO batch:63
[    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.0
[    0.000000] percpu: Embedded 20 pages/cpu s44504 r8192 d29224 u81920
[    0.000000] pcpu-alloc: s44504 r8192 d29224 u81920 alloc=20*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: 257104
[    0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8                           earlycon=uart8250,mmio32,0x11002000                         root=PARTLABEL=rootfs rootwait rootfstype=squashfs,f2fs                          block2mtd.block2mtd=/dev/mmcblk0p1,65536,log
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1013592K/1044800K available (7550K kernel code, 490K rwdata, 2100K rodata, 448K init, 306K bss, 31208K 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:     CONFIG_RCU_FANOUT set to non-default value of 32.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    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] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    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.000003] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.008183] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=52000)
[    0.018504] pid_max: default: 32768 minimum: 301
[    0.023235] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.030675] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.039456] ASID allocator initialised with 65536 entries
[    0.044960] rcu: Hierarchical SRCU implementation.
[    0.050068] smp: Bringing up secondary CPUs ...
[    0.054947] Detected VIPT I-cache on CPU1
[    0.054968] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.054990] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.055056] smp: Brought up 1 node, 2 CPUs
[    0.076670] SMP: Total of 2 processors activated.
[    0.081395] CPU features: detected: 32-bit EL0 Support
[    0.086558] CPU features: detected: CRC32 instructions
[    0.091826] CPU: All CPU(s) started at EL2
[    0.095949] alternatives: patching kernel code
[    0.102620] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.112434] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.119335] pinctrl core: initialized pinctrl subsystem
[    0.125301] NET: Registered protocol family 16
[    0.130032] DMA: preallocated 256 KiB pool for atomic allocations
[    0.152653] SCSI subsystem initialized
[    0.156598] libata version 3.00 loaded.
[    0.160733] usbcore: registered new interface driver usbfs
[    0.166308] usbcore: registered new interface driver hub
[    0.171691] usbcore: registered new device driver usb
[    0.176794] videodev: Linux video capture interface: v2.00
[    0.183106] Bluetooth: Core ver 2.22
[    0.186762] NET: Registered protocol family 31
[    0.191231] Bluetooth: HCI device and connection manager initialized
[    0.197623] Bluetooth: HCI socket layer initialized
[    0.202524] Bluetooth: L2CAP socket layer initialized
[    0.207607] Bluetooth: SCO socket layer initialized
[    0.212753] rbus 18000000.wbsys: PCI host bridge to bus 0000:00
[    0.218714] pci_bus 0000:00: root bus resource [mem 0x18000000-0x18ffffff]
[    0.225626] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.231139] pci_bus 0000:00: scanning bus
[    0.235177] pci 0000:00:00.0: [14c3:7981] type 00 class 0x000280
[    0.241223] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit]
[    0.248047] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f]
[    0.254347] pci 0000:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f]
[    0.260646] pci 0000:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f]
[    0.266946] pci 0000:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f]
[    0.273924] pci_bus 0000:00: fixups for bus
[    0.278135] pci_bus 0000:00: bus scan returning with max=00
[    0.284784] clocksource: Switched to clocksource arch_sys_counter
[    0.291524] thermal_sys: Registered thermal governor 'fair_share'
[    0.291527] thermal_sys: Registered thermal governor 'bang_bang'
[    0.297671] thermal_sys: Registered thermal governor 'step_wise'
[    0.303710] thermal_sys: Registered thermal governor 'user_space'
[    0.309746] thermal_sys: Registered thermal governor 'power_allocator'
[    0.316108] NET: Registered protocol family 2
[    0.327172] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.335141] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.343584] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.351418] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.358769] TCP: Hash tables configured (established 8192 bind 8192)
[    0.365243] mptcp init
[    0.365297] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear)
[    0.375137] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.381804] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.389001] NET: Registered protocol family 1
[    0.393403] PCI: CLS 0 bytes, default 64
[    0.398153] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.407642] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.413527] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.435495] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.443500] phy phy-usb-phy@11e10000.1: type_sw - reg 0x218, index 0
[    0.450255] gpio-export gpio-export: 1 gpio(s) exported
[    0.464583] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.472946] printk: console [ttyS0] disabled
[    0.497371] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 12, base_baud = 2500000) is a ST16650V2
[    0.506587] printk: console [ttyS0] enabled
[    0.506587] printk: console [ttyS0] enabled
[    0.514947] printk: bootconsole [uart8250] disabled
[    0.514947] printk: bootconsole [uart8250] disabled
[    0.525279] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.533857] loop: module loaded
[    0.537129] mediatek,mt2701-ice_debug ice_debug: get dbg_sel clock fail: -2
[    0.544091] mediatek,mt2701-ice_debug: probe of ice_debug failed with error -2
[    0.551333] Loading iSCSI transport class v2.0-870.
[    0.558614] [mtk_hw_init] reset_lock:0, force:0
[    0.563199] [mtk_hw_init] execute fe cold reset
[    0.800343] mtk_soc_eth 15100000.ethernet: generated random MAC address 86:dc:a5:2f:89:4f
[    0.808832] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc011b00000, irq 75
[    0.817913] mtk_soc_eth 15100000.ethernet: generated random MAC address 82:8d:42:02:18:59
[    0.826364] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc011b00000, irq 75
[    0.835408] (unnamed net_device) (dummy): netif_napi_add() called with weight 256
[    0.843228] xhci-mtk 11200000.xhci: 11200000.xhci supply vbus not found, using dummy regulator
[    0.851881] xhci-mtk 11200000.xhci: 11200000.xhci supply vusb33 not found, using dummy regulator
[    0.860783] phy phy-usb-phy@11e10000.0: try to get sw efuse
[    0.866354] phy phy-usb-phy@11e10000.1: try to get sw efuse
[    0.871917] phy phy-usb-phy@11e10000.1: try to get sw efuse+
[    0.877590] phy phy-usb-phy@11e10000.1: u3 efuse - intr 2c, rx_imp 12, tx_imp 12
[    0.885012] phy_efuse_set set efuse, tx_imp 12, rx_imp 12 intr 2c
[    0.891178] xhci-mtk 11200000.xhci: xHCI Host Controller
[    0.896537] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus number 1
[    0.907004] xhci-mtk 11200000.xhci: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010
[    0.916271] xhci-mtk 11200000.xhci: irq 84, io mem 0x11200000
[    0.922489] hub 1-0:1.0: USB hub found
[    0.926309] hub 1-0:1.0: 1 port detected
[    0.930488] xhci-mtk 11200000.xhci: xHCI Host Controller
[    0.935814] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus number 2
[    0.943301] xhci-mtk 11200000.xhci: Host supports USB 3.2 Enhanced SuperSpeed
[    0.950487] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.958928] hub 2-0:1.0: USB hub found
[    0.962722] hub 2-0:1.0: 1 port detected
[    0.967116] usbcore: registered new interface driver uas
[    0.972507] usbcore: registered new interface driver usb-storage
[    0.978618] i2c /dev entries driver
[    0.983028] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    0.991024] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[    0.999598] Bluetooth: HCI UART driver ver 2.3
[    1.004071] Bluetooth: HCI UART protocol H4 registered
[    1.009201] Bluetooth: HCI UART protocol BCSP registered
[    1.014502] Bluetooth: HCI UART protocol ATH3K registered
[    1.019977] Bluetooth: HCI UART protocol Broadcom registered
[    1.025650] Bluetooth: HCI UART protocol QCA registered
[    1.058771] NET: Registered protocol family 10
[    1.063975] Segment Routing with IPv6
[    1.067834] NET: Registered protocol family 17
[    1.072328] Bridge firewalling registered
[    1.076499] 8021q: 802.1Q VLAN Support v1.8
[    1.155817] mmc0: switch to bus width 8 failed
[    1.160390] mmc0: switch to bus width 4 failed
[    1.164946] mmc0: new high speed MMC card at address 0001
[    1.171361] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    1.176634] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    1.183275] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    1.189269] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (249:0)
[    1.245029] mmc0: switch to bus width 8 failed
[    1.249601] mmc0: switch to bus width 4 failed
[    1.254319] blk_update_request: I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    1.264713] blk_update_request: I/O error, dev mmcblk0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    1.275104] blk_update_request: I/O error, dev mmcblk0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    1.285495] blk_update_request: I/O error, dev mmcblk0, sector 3 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    1.296222] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[    1.303926] blk_update_request: I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    1.314316] blk_update_request: I/O error, dev mmcblk0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    1.324706] blk_update_request: I/O error, dev mmcblk0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    1.335100] blk_update_request: I/O error, dev mmcblk0, sector 3 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    1.345822] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[    1.352961]  mmcblk0: unable to read partition table
[    4.164798] block2mtd: error: cannot open device /dev/mmcblk0p1
[    4.170904] hctosys: unable to open rtc device (rtc0)
[    4.176458] Waiting for root device PARTLABEL=rootfs...

Natomiast gdy odpale w trybie recovery

F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 103F 0000
F3: 1006 0033 [0200]
F3: 4001 00E0 [0200]
F3: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [2000]
T0: 0000 027D [010F]
Jump to BL


dump toprgu registers data:
1001c000 | 00000000 0000ffe0 00000000 00000000
1001c010 | 00000fff 00000000 00f00000 00000000
1001c020 | 00000000 00000000 00000000 00000000
1001c030 | 003c0003 003c0003 00000000 00000000
1001c040 | 00000000 00000000 00000000 00000000
1001c050 | 00000000 00000000 00000000 00000000
1001c060 | 00000000 00000000 00000000 00000000
1001c070 | 00000000 00000000 00000000 00000000
1001c080 | 00000000 00000000 00000000 00000000

dump drm registers data:
1001d000 | 00000000 00000000 00000000 00000000
1001d010 | 00000000 00000000 00000000 00000000
1001d020 | 00000000 00000000 00000000 00000000
1001d030 | 00a083f1 000003ff 00100000 00000000
1001d040 | 00000000 00000000 00020303 000000ff
1001d050 | 00000000 00000000 00000000 00000000
1001d060 | 00000002 00000000 00000000 00000000
drm: 500 = 0x8
[DDR Reserve] ddr reserve mode not be enabled yet
DDR RESERVE Success 0
[EMI] ComboMCP not ready, using default setting
BYTE_swap:0
BYTE_swap:0
Window Sum 568, worse bit 0, min window 68
Window Sum 580, worse bit 14, min window 68
[TxChooseVref] Worse bit 0, Min win 25, Win sum 425, Final Vref 26
Window Sum 216, worse bit 5, min window 16
Window Sum 244, worse bit 11, min window 22
Window Sum 270, worse bit 3, min window 28
Window Sum 284, worse bit 10, min window 32
Window Sum 296, worse bit 5, min window 32
Window Sum 302, worse bit 10, min window 34
Window Sum 324, worse bit 3, min window 36
Window Sum 314, worse bit 10, min window 34
Window Sum 346, worse bit 3, min window 40
Window Sum 340, worse bit 10, min window 38
Window Sum 360, worse bit 4, min window 42
Window Sum 362, worse bit 10, min window 42
Window Sum 380, worse bit 3, min window 44
Window Sum 374, worse bit 10, min window 44
Window Sum 390, worse bit 3, min window 46
Window Sum 390, worse bit 10, min window 44
Window Sum 408, worse bit 3, min window 48
Window Sum 406, worse bit 10, min window 48
Window Sum 418, worse bit 3, min window 50
Window Sum 418, worse bit 8, min window 50
Window Sum 430, worse bit 3, min window 50
Window Sum 436, worse bit 10, min window 50
Window Sum 434, worse bit 3, min window 52
Window Sum 442, worse bit 10, min window 52
Window Sum 444, worse bit 3, min window 54
Window Sum 456, worse bit 8, min window 56
Window Sum 452, worse bit 4, min window 54
Window Sum 460, worse bit 3, min window 56
Window Sum 468, worse bit 8, min window 56
Window Sum 468, worse bit 1, min window 58
Window Sum 474, worse bit 10, min window 56


U-Boot 2022.07-rc3 (Sep 12 2022 - 19:58:08 -0700)

CPU:   MediaTek MT7981
Model: mt7981-rfb
DRAM:  1 GiB
Core:  43 devices, 20 uclasses, devicetree: embed
MMC:   mmc@11230000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
Net:
Warning: ethernet@15100000 (eth0) using random MAC address - 6a:77:06:26:c3:55
eth0: ethernet@15100000
gpio: pin 12 (gpio 12) value is 0
RESET button is pressed for:  0 second(s)▒▒▒▒▒▒ΘDL▒▒

F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 103F 0000
F3: 1006 0033 [0200]
F3: 4001 00E0 [0200]
F3: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [2000]
T0: 0000 027D [010F]
Jump to BL


dump toprgu registers data:
1001c000 | 00000000 0000ffe0 00000000 00000000
1001c010 | 00000fff 00000000 00f00000 00000000
1001c020 | 00000000 00000000 00000000 00000000
1001c030 | 003c0003 003c0003 00000000 00000000
1001c040 | 00000000 00000000 00000000 00000000
1001c050 | 00000000 00000000 00000000 00000000
1001c060 | 00000000 00000000 00000000 00000000
1001c070 | 00000000 00000000 00000000 00000000
1001c080 | 00000000 00000000 00000000 00000000

dump drm registers data:
1001d000 | 00000000 00000000 00000000 00000000
1001d010 | 00000000 00000000 00000000 00000000
1001d020 | 00000000 00000000 00000000 00000000
1001d030 | 00a083f1 000003ff 00100000 00000000
1001d040 | 00000000 00000000 00020303 000000ff
1001d050 | 00000000 00000000 00000000 00000000
1001d060 | 00000002 00000000 00000000 00000000
drm: 500 = 0x8
[DDR Reserve] ddr reserve mode not be enabled yet
DDR RESERVE Success 0
[EMI] ComboMCP not ready, using default setting
BYTE_swap:0
BYTE_swap:0
Window Sum 580, worse bit 5, min window 68
Window Sum 584, worse bit 8, min window 72
[TxChooseVref] Worse bit 0, Min win 25, Win sum 431, Final Vref 24
Window Sum 220, worse bit 5, min window 16
Window Sum 246, worse bit 10, min window 24
Window Sum 268, worse bit 5, min window 26
Window Sum 278, worse bit 10, min window 30
Window Sum 300, worse bit 5, min window 32
Window Sum 298, worse bit 10, min window 34
Window Sum 324, worse bit 3, min window 36
Window Sum 322, worse bit 10, min window 36
Window Sum 342, worse bit 3, min window 40
Window Sum 340, worse bit 10, min window 38
Window Sum 358, worse bit 3, min window 42
Window Sum 358, worse bit 10, min window 42
Window Sum 378, worse bit 4, min window 44
Window Sum 370, worse bit 10, min window 42
Window Sum 394, worse bit 1, min window 48
Window Sum 388, worse bit 8, min window 46
Window Sum 404, worse bit 3, min window 48
Window Sum 402, worse bit 10, min window 46
Window Sum 414, worse bit 3, min window 50
Window Sum 418, worse bit 10, min window 48
Window Sum 426, worse bit 4, min window 50
Window Sum 430, worse bit 10, min window 50
Window Sum 436, worse bit 3, min window 52
Window Sum 444, worse bit 10, min window 54
Window Sum 446, worse bit 3, min window 54
Window Sum 456, worse bit 10, min window 54
Window Sum 450, worse bit 3, min window 54
Window Sum 460, worse bit 10, min window 56
Window Sum 472, worse bit 10, min window 58
Window Sum 468, worse bit 1, min window 56


U-Boot 2022.07-rc3 (Sep 12 2022 - 19:58:08 -0700)

CPU:   MediaTek MT7981
Model: mt7981-rfb
DRAM:  1 GiB
Core:  43 devices, 20 uclasses, devicetree: embed
MMC:   mmc@11230000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
Net:
Warning: ethernet@15100000 (eth0) using random MAC address - 1e:07:e3:48:00:9f
eth0: ethernet@15100000
gpio: pin 12 (gpio 12) value is 0
RESET button is pressed for:  5 second(s)

Web failsafe UI started
T T T T T T T T T T T T T T T T T T T T T T T T T T

I te literki T sobie biegaja

wtedy wchodze na 192.168.1.1 i wrzucam firmware

Web failsafe UI started
T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T GET /
GET /style.css
GET /index.js
GET /version
T T T T T T T T POST /upload
    Content-Length: 45409089
T T T T T T T T T T T T T T

i daje update

GET /version
GET /result
GET /undefined
T Writing from 0x460008b8 to 0x880000, size 0x37d90b ... OK
Verifying from 0x880000 to 0xbfd90a, size 0x37d90b ... OK
Writing from 0x4637e4b8 to 0x2880000, size 0x27ce400 ... OK
Verifying from 0x2880000 to 0x504e3ff, size 0x27ce400 ... OK
T resetting ...

i to samo update faild i reboot do tego co w pierwszym logu.

natomiast jeszcze mozna wgrac plik gpt
i tutaj

Writing from 0x46000098 to 0x0, size 0x4400 ... OK
Verifying from 0x0 to 0x43ff, size 0x4400 ... OK
resetting ...

I znow powrot do pierwszrgo loga.
Jakies pomysly?

EDIT: TFTPD w tym czasie gdy zaczytuje plik nie konczy go (tez pomyslalem o tym aby wystawic plik tftpd jakiego potrzebuje)

Connection received from 192.168.1.1 on port 1661 [02/08 17:22:38.737]
Read request for file <openwrt-gl-mt2500.bin>. Mode octet [02/08 17:22:38.738]
OACK: <timeout=1,blksize=1468,> [02/08 17:22:38.765]
Using local port 61029 [02/08 17:22:38.765]
Ack block 14 ignored (received twice) [02/08 17:22:39.773]
TIMEOUT waiting for Ack block #15  [02/08 17:22:45.818]

2

Odp: GL-MT2500 Brume2 uwalony

Wg logów to wygląda tak jak by pamięć poleciała, bo startuje z niej ale roofs już nie wczytuje.

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

3 (edytowany przez Dabman 2024-08-02 17:31:31)

Odp: GL-MT2500 Brume2 uwalony

tylko ze to jest ciagly problem z tym modelem.
Przy upgrade do 4.5 siada, niemozliwe aby update uwalal pamiec masowo.

Mozna wgrac jakiegos mniejszego flasha/repartycjonowac to? zrobic cos z tym po za podstawka pod papier smile

Zobacz prosze koncowke posta, dodalem log z TFTPd

pocudowac z EXroot na usb?

4

Odp: GL-MT2500 Brume2 uwalony

Odrzucił  część obrazu? Spróbuj mu wgrać czyste openwrt bez gui, np. https://firmware-selector.openwrt.org/? … _gl-mt2500 i zobacz co będzie.

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

5 (edytowany przez Dabman 2024-08-02 17:47:59)

Odp: GL-MT2500 Brume2 uwalony

przez stronke wgralem
openwrt-mediatek-filogic-glinet_gl-mt2500-squashfs-sysupgrade.bin

plik openwrt-mediatek-filogic-glinet_gl-mt2500-initramfs-kernel.bin zmienilem nazwe na
openwrt-gl-mt2500.bin

i po reboocie zassal ale

Connection received from 192.168.1.1 on port 1713 [02/08 17:39:10.710]
Read request for file <openwrt-gl-mt2500.bin>. Mode octet [02/08 17:39:10.711]
OACK: <timeout=1,blksize=1468,> [02/08 17:39:10.735]
Using local port 63272 [02/08 17:39:10.735]
TIMEOUT waiting for Ack block #533  [02/08 17:39:16.994]

I wyglada teraz to tak

F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 103F 0000
F3: 1006 0033 [0200]
F3: 4001 00E0 [0200]
F3: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [2000]
T0: 0000 0268 [010F]
Jump to BL


dump toprgu registers data:
1001c000 | 00000000 0000ffe0 00000000 00000000
1001c010 | 00000fff 00000000 00f00000 00000000
1001c020 | 00000000 00000000 00000000 00000000
1001c030 | 003c0003 003c0003 00000000 00000000
1001c040 | 00000000 00000000 00000000 00000000
1001c050 | 00000000 00000000 00000000 00000000
1001c060 | 00000000 00000000 00000000 00000000
1001c070 | 00000000 00000000 00000000 00000000
1001c080 | 00000000 00000000 00000000 00000000

dump drm registers data:
1001d000 | 00000000 00000000 00000000 00000000
1001d010 | 00000000 00000000 00000000 00000000
1001d020 | 00000000 00000000 00000000 00000000
1001d030 | 00a003f1 000000ff 00100000 00000000
1001d040 | 00027e71 000200a0 00020303 000000ff
1001d050 | 00000000 00000000 00000000 00000000
1001d060 | 00000002 00000000 00000000 00000000
drm: 500 = 0xc
[DDR Reserve] ddr reserve mode not be enabled yet
DDR RESERVE Success 0
[EMI] ComboMCP not ready, using default setting
BYTE_swap:0
BYTE_swap:0
Window Sum 568, worse bit 0, min window 68
Window Sum 580, worse bit 8, min window 72
[TxChooseVref] Worse bit 5, Min win 26, Win sum 440, Final Vref 26
Window Sum 236, worse bit 5, min window 18
Window Sum 242, worse bit 10, min window 22
Window Sum 266, worse bit 5, min window 26
Window Sum 280, worse bit 10, min window 30
Window Sum 302, worse bit 5, min window 32
Window Sum 298, worse bit 10, min window 30
Window Sum 324, worse bit 4, min window 36
Window Sum 318, worse bit 10, min window 36
Window Sum 338, worse bit 3, min window 40
Window Sum 334, worse bit 10, min window 38
Window Sum 360, worse bit 3, min window 42
Window Sum 360, worse bit 10, min window 40
Window Sum 374, worse bit 4, min window 44
Window Sum 370, worse bit 10, min window 42
Window Sum 390, worse bit 3, min window 46
Window Sum 388, worse bit 10, min window 46
Window Sum 402, worse bit 3, min window 48
Window Sum 398, worse bit 10, min window 46
Window Sum 414, worse bit 3, min window 50
Window Sum 410, worse bit 10, min window 48
Window Sum 424, worse bit 3, min window 50
Window Sum 420, worse bit 10, min window 50
Window Sum 428, worse bit 3, min window 52
Window Sum 432, worse bit 10, min window 50
Window Sum 438, worse bit 1, min window 54
Window Sum 452, worse bit 10, min window 52
Window Sum 450, worse bit 4, min window 54
Window Sum 454, worse bit 10, min window 54
Window Sum 450, worse bit 1, min window 56
Window Sum 462, worse bit 11, min window 54
Window Sum 464, worse bit 10, min window 56
Window Sum 458, worse bit 1, min window 56
Window Sum 460, worse bit 1, min window 56


U-Boot 2022.07-rc3 (Sep 12 2022 - 19:58:08 -0700)

CPU:   MediaTek MT7981
Model: mt7981-rfb
DRAM:  1 GiB
Core:  43 devices, 20 uclasses, devicetree: embed
MMC:   mmc@11230000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
Net:
Warning: ethernet@15100000 (eth0) using random MAC address - 7a:a4:67:1a:aa:50
eth0: ethernet@15100000
gpio: pin 12 (gpio 12) value is 0
Enter "gl" to stop autoboot in 2 seconds

*** Upgrading Firmware ***

ethernet@15100000 Waiting for PHY auto negotiation to complete... done
Using ethernet@15100000 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-gl-mt2500.bin'.
Load address: 0x46000000
Loading: T T T ######################################################T
Retry count exceeded; starting again

*** TFTP client failure: -64 ***
*** Operation Aborted! ***
Reading from 0x880000 to 0x46000000, size 0x200 ... OK
Reading from 0x880000 to 0x46000000, size 0x416d74 ... OK
## Loading kernel from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-6.6.43
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    4264002 Bytes = 4.1 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x48000000
     Entry Point:  0x48000000
     Hash algo:    crc32
     Hash value:   ae50a4b1
     Hash algo:    sha1
     Hash value:   696aabfece2bf13a26b08d0077e7af9af401427f
   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 glinet_gl-mt2500 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4641126c
     Data Size:    21935 Bytes = 21.4 KiB
     Architecture: AArch64
     Load Address: 0x47000000
     Hash algo:    crc32
     Hash value:   db71f3cc
     Hash algo:    sha1
     Hash value:   375d19050dff54f966f9dcc4bc4e3391c670a635
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x4641126c to 0x47000000
   Booting using the fdt blob at 0x47000000
   Uncompressing Kernel Image
   Loading Device Tree to 000000007f7f2000, end 000000007f7fa5ae ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.43 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r27064-f20987c161) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Fri Aug  2 10:15:44 2024
[    0.000000] Machine model: GL.iNet GL-MT2500
[    0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
[    0.000000] OF: reserved mem: 0x0000000047c80000..0x0000000047d7ffff (1024 KiB) nomap non-reusable wmcpu-reserved@47c80000
[    0.000000] OF: reserved mem: 0x0000000047d80000..0x0000000047dbffff (256 KiB) nomap non-reusable wo-emi@47d80000
[    0.000000] OF: reserved mem: 0x0000000047dc0000..0x0000000047ffffff (2304 KiB) nomap non-reusable wo-data@47dc0000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-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-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    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 s35112 r8192 d30424 u73728
[    0.000000] pcpu-alloc: s35112 r8192 d30424 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] alternatives: applying boot alternatives
[    0.000000] Kernel command line:  root=PARTLABEL=rootfs rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: mapped [mem 0x000000007fb29000-0x000000007fc29000] (1MB)
[    0.000000] Memory: 1010384K/1048576K available (8768K kernel code, 900K rwdata, 2564K rodata, 384K init, 304K bss, 38192K 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] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    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.000075] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000084] pid_max: default: 32768 minimum: 301
[    0.003006] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.003016] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.005196] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.005721] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.005871] rcu: Hierarchical SRCU implementation.
[    0.005873] rcu:     Max phase no-delay instances is 1000.
[    0.006261] smp: Bringing up secondary CPUs ...
[    0.006619] Detected VIPT I-cache on CPU1
[    0.006663] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.006693] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.006762] smp: Brought up 1 node, 2 CPUs
[    0.006768] SMP: Total of 2 processors activated.
[    0.006771] CPU features: detected: 32-bit EL0 Support
[    0.006774] CPU features: detected: CRC32 instructions
[    0.006806] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.006809] CPU: All CPU(s) started at EL2
[    0.006811] alternatives: applying system-wide alternatives
[    0.010231] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010248] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.011541] pinctrl core: initialized pinctrl subsystem
[    0.012785] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.013099] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.013127] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.013147] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.013554] thermal_sys: Registered thermal governor 'fair_share'
[    0.013558] thermal_sys: Registered thermal governor 'bang_bang'
[    0.013560] thermal_sys: Registered thermal governor 'step_wise'
[    0.013563] thermal_sys: Registered thermal governor 'user_space'
[    0.013625] ASID allocator initialised with 65536 entries
[    0.014635] pstore: Using crash dump compression: deflate
[    0.014641] pstore: Registered ramoops as persistent store backend
[    0.014644] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.021671] Modules: 29504 pages in range for non-PLT usage
[    0.021679] Modules: 521024 pages in range for PLT usage
[    0.022616] cryptd: max_cpu_qlen set to 1000
[    0.023741] SCSI subsystem initialized
[    0.024396] libata version 3.00 loaded.
[    0.025890] clocksource: Switched to clocksource arch_sys_counter
[    0.028153] NET: Registered PF_INET protocol family
[    0.028280] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.030002] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.030078] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.030089] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.030142] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.030326] TCP: Hash tables configured (established 8192 bind 8192)
[    0.030440] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.030469] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.030783] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.030814] PCI: CLS 0 bytes, default 64
[    0.032327] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.037186] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.037195] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.070206] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.081291] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.084969] printk: console [ttyS0] disabled
[    0.105340] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 72, base_baud = 2500000) is a ST16650V2
[    0.105382] printk: console [ttyS0] enabled
[    0.846094] loop: module loaded
[    0.977559] i2c_dev: i2c /dev entries driver
[    0.983577] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    0.992660] NET: Registered PF_INET6 protocol family
[    0.998537] Segment Routing with IPv6
[    1.002226] In-situ OAM (IOAM) with IPv6
[    1.006226] NET: Registered PF_PACKET protocol family
[    1.011290] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.024461] 8021q: 802.1Q VLAN Support v1.8
[    1.053116] phy phy-soc:usb-phy@11e10000.1: type_sw - reg 0x218, index 0
[    1.108918] mmc0: switch to bus width 8 failed
[    1.113583] mmc0: new high speed MMC card at address 0001
[    1.120334] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    1.127565] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    1.134959] GPT:1 != 15269887
[    1.137934] GPT:Alternate GPT header not at the end of the disk.
[    1.143926] GPT:1 != 15269887
[    1.146889] GPT: Use GNU Parted to correct GPT errors.
[    1.152035]  mmcblk0: p1 p2 p3 p4 p5 p6
[    1.157440] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[    1.163323] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[    1.168783] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (250:0)
[    1.240606] Maxlinear Ethernet GPY211C mdio-bus:05: Firmware Version: 8.111 (0x886F)
[    1.251630] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc081f00000, irq 74
[    1.261672] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc081f00000, irq 74
[    1.271915] clk: Disabling unused clocks
[    1.279843] VFS: Mounted root (squashfs filesystem) readonly on device 179:6.
[    1.287191] Freeing unused kernel memory: 384K
[    1.291683] Run /sbin/init as init process
[    1.295767]   with arguments:
[    1.298735]     /sbin/init
[    1.301430]   with environment:
[    1.304557]     HOME=/
[    1.306909]     TERM=linux
[    1.487601] init: Console is alive
[    1.491131] init: - watchdog -
[    1.701686] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.732750] usbcore: registered new interface driver usbfs
[    1.738330] usbcore: registered new interface driver hub
[    1.743677] usbcore: registered new device driver usb
[    1.749445] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    1.761890] xhci-mtk 11200000.usb: xHCI Host Controller
[    1.767165] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    1.777611] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[    1.786809] xhci-mtk 11200000.usb: irq 79, io mem 0x11200000
[    1.792571] xhci-mtk 11200000.usb: xHCI Host Controller
[    1.797800] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    1.805190] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    1.812725] hub 1-0:1.0: USB hub found
[    1.816626] hub 1-0:1.0: 1 port detected
[    1.820924] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.829462] hub 2-0:1.0: USB hub found
[    1.833264] hub 2-0:1.0: 1 port detected
[    1.842107] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.859517] init: - preinit -
[    2.168759] mtk_soc_eth 15100000.ethernet eth0: PHY [mdio-bus:05] driver [Maxlinear Ethernet GPY211C] (irq=POLL)
[    2.184238] mtk_soc_eth 15100000.ethernet eth0: configuring for phy/2500base-x link mode
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
[    4.313105] loop0: detected capacity change from 0 to 15186944
[    4.375895] loop0: detected capacity change from 15186944 to 15180416
[    4.385187] mount_root: overlay filesystem in /dev/loop0 has not been formatted yet
[    9.487983] F2FS-fs (loop0): Found nat_bits in checkpoint
[    9.552503] F2FS-fs (loop0): Mounted with checkpoint version = 8f5dc87
[    9.559436] mount_root: overlay filesystem has not been fully initialized yet
[    9.566953] mount_root: switching to f2fs overlay
[    9.573796] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    9.585075] urandom-seed: Seed file not found (/etc/urandom.seed)
[    9.621692] random: procd: uninitialized urandom read (4 bytes read)
[    9.624575] procd: - early -
[    9.631187] procd: - watchdog -
[   10.171603] procd: - watchdog -
[   10.175193] procd: - ubus -
[   14.795900] random: crng init done
[   14.802607] procd: - init -
Please press Enter to activate this console.
[   15.073672] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.107474] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[   15.155756] PPP generic driver version 2.4.2
[   15.161535] NET: Registered PF_PPPOX protocol family
[   15.171017] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.272499] urngd: v1.0.2 started.
[   19.202992] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:00] driver [MediaTek MT7981 PHY] (irq=POLL)
[   19.217909] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/gmii link mode
[   19.230175] br-lan: port 1(eth1) entered blocking state
[   19.235410] br-lan: port 1(eth1) entered disabled state
[   19.240754] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   19.247839] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
[   19.267165] mtk_soc_eth 15100000.ethernet eth0: PHY [mdio-bus:05] driver [Maxlinear Ethernet GPY211C] (irq=POLL)
[   19.277438] mtk_soc_eth 15100000.ethernet eth0: configuring for phy/2500base-x link mode
[   23.436096] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
[   23.444569] br-lan: port 1(eth1) entered blocking state
[   23.449801] br-lan: port 1(eth1) entered forwarding state

Wstal ale bez gui
Using username "root".


BusyBox v1.36.1 (2024-08-02 10:15:44 UTC) built-in shell (ash)

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r27064-f20987c161
-----------------------------------------------------
=== 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.
--------------------------------------------------
root@OpenWrt:~#

6

Odp: GL-MT2500 Brume2 uwalony

Wstał z initramfs, to teraz prześlij przez scp/winscp plik sysupgrade do /tmp i zrób sysupgrade -n /tmp/nazwa-tego-pliku

Wersja rozwojowa openwrt (snapshot) nie ma gui domyślnie.

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

7 (edytowany przez Dabman 2024-08-02 18:04:58)

Odp: GL-MT2500 Brume2 uwalony

No wiec tak gl-inet obraz

root@OpenWrt:~# sysupgrade -v /tmp/openwrt-mt2500-4.6.2-0628-1719560735.bin
Fri Aug  2 15:57:12 UTC 2024 upgrade: Device glinet,gl-mt2500 not supported by this image
Fri Aug  2 15:57:12 UTC 2024 upgrade: Supported devices: glinet,mt2500-emmc
verifying sysupgrade tar file integrity
Image check failed.
root@OpenWrt:~#

natomiast
openwrt-mediatek-filogic-glinet_gl-mt2500-squashfs-sysupgrade.bin

U-Boot 2022.07-rc3 (Sep 12 2022 - 19:58:08 -0700)

CPU:   MediaTek MT7981
Model: mt7981-rfb
DRAM:  1 GiB
Core:  43 devices, 20 uclasses, devicetree: embed
MMC:   mmc@11230000: 0
Loading Environment from MMC... 2#

F0: 102B 0000

FA: 1040 0000

FA: 1040 0000 [0200]

F9: 103F 0000

F3: 1006 0033 [0200]

F3: 4001 00E0 [0200]

F3: 0000 0000

V0: 0000 0000 [0001]

00: 0000 0000

BP: 2400 0041 [0000]

G0: 1190 0000

EC: 0000 0000 [2000]

T0: 0000 028D [010F]

Jump to BL



dump toprgu registers data:
1001c000 | 00000000 0000ffe0 00000000 00000000
1001c010 | 00000fff 00000000 00f00000 00000000
1001c020 | 00000000 00000000 00000000 00000000
1001c030 | 003c0003 003c0003 00000000 00000000
1001c040 | 00000000 00000000 00000000 00000000
1001c050 | 00000000 00000000 00000000 00000000
1001c060 | 00000000 00000000 00000000 00000000
1001c070 | 00000000 00000000 00000000 00000000
1001c080 | 00000000 00000000 00000000 00000000

dump drm registers data:
1001d000 | 00000000 00000000 00000000 00000000
1001d010 | 00000000 00000000 00000000 00000000
1001d020 | 00000000 00000000 00000000 00000000
1001d030 | 00a083f1 000003ff 00100000 00000000
1001d040 | 00000000 00000000 00020303 000000ff
1001d050 | 00000000 00000000 00000000 00000000
1001d060 | 00000002 00000000 00000000 00000000
drm: 500 = 0x8
[DDR Reserve] ddr reserve mode not be enabled yet
DDR RESERVE Success 0
[EMI] ComboMCP not ready, using default setting
BYTE_swap:0
BYTE_swap:0
Window Sum 580, worse bit 0, min window 72
Window Sum 572, worse bit 14, min window 68
[TxChooseVref] Worse bit 5, Min win 26, Win sum 441, Final Vref 26
Window Sum 230, worse bit 3, min window 18
Window Sum 242, worse bit 10, min window 22
Window Sum 272, worse bit 3, min window 28
Window Sum 282, worse bit 10, min window 30
Window Sum 306, worse bit 3, min window 34
Window Sum 302, worse bit 10, min window 34
Window Sum 326, worse bit 3, min window 36
Window Sum 324, worse bit 10, min window 36
Window Sum 342, worse bit 3, min window 40
Window Sum 342, worse bit 10, min window 38
Window Sum 356, worse bit 2, min window 42
Window Sum 356, worse bit 8, min window 42
Window Sum 378, worse bit 3, min window 44
Window Sum 372, worse bit 10, min window 42
Window Sum 390, worse bit 3, min window 46
Window Sum 392, worse bit 10, min window 46
Window Sum 406, worse bit 3, min window 48
Window Sum 406, worse bit 10, min window 48
Window Sum 416, worse bit 3, min window 50
Window Sum 420, worse bit 10, min window 48
Window Sum 428, worse bit 3, min window 50
Window Sum 436, worse bit 10, min window 50
Window Sum 436, worse bit 3, min window 52
Window Sum 446, worse bit 10, min window 54
Window Sum 446, worse bit 3, min window 54
Window Sum 454, worse bit 10, min window 54
Window Sum 452, worse bit 4, min window 54
Window Sum 458, worse bit 10, min window 54
Window Sum 456, worse bit 1, min window 56
Window Sum 468, worse bit 10, min window 56
Window Sum 468, worse bit 1, min window 56


U-Boot 2022.07-rc3 (Sep 12 2022 - 19:58:08 -0700)

CPU:   MediaTek MT7981
Model: mt7981-rfb
DRAM:  1 GiB
Core:  43 devices, 20 uclasses, devicetree: embed
MMC:   mmc@11230000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
Net:   
Warning: ethernet@15100000 (eth0) using random MAC address - 0a:9c:6c:44:9f:a6
eth0: ethernet@15100000
gpio: pin 12 (gpio 12) value is 0
Enter "gl" to stop autoboot in 2 seconds

*** Upgrading Firmware ***

ethernet@15100000 Waiting for PHY auto negotiation to complete... done
Using ethernet@15100000 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-gl-mt2500.bin'.
Load address: 0x46000000
Loading: *T T T
ARP Retry count exceeded; starting again

*** TFTP client failure: -64 ***
*** Operation Aborted! ***
Reading from 0x880000 to 0x46000000, size 0x200 ... OK
Reading from 0x880000 to 0x46000000, size 0x416d74 ... OK
## Loading kernel from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-6.6.43
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    4264002 Bytes = 4.1 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x48000000
     Entry Point:  0x48000000
     Hash algo:    crc32
     Hash value:   ae50a4b1
     Hash algo:    sha1
     Hash value:   696aabfece2bf13a26b08d0077e7af9af401427f
   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 glinet_gl-mt2500 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4641126c
     Data Size:    21935 Bytes = 21.4 KiB
     Architecture: AArch64
     Load Address: 0x47000000
     Hash algo:    crc32
     Hash value:   db71f3cc
     Hash algo:    sha1
     Hash value:   375d19050dff54f966f9dcc4bc4e3391c670a635
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x4641126c to 0x47000000
   Booting using the fdt blob at 0x47000000
   Uncompressing Kernel Image
   Loading Device Tree to 000000007f7f2000, end 000000007f7fa5ae ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.43 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r27064-f20987c161) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Fri Aug  2 10:15:44 2024
[    0.000000] Machine model: GL.iNet GL-MT2500
[    0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
[    0.000000] OF: reserved mem: 0x0000000047c80000..0x0000000047d7ffff (1024 KiB) nomap non-reusable wmcpu-reserved@47c80000
[    0.000000] OF: reserved mem: 0x0000000047d80000..0x0000000047dbffff (256 KiB) nomap non-reusable wo-emi@47d80000
[    0.000000] OF: reserved mem: 0x0000000047dc0000..0x0000000047ffffff (2304 KiB) nomap non-reusable wo-data@47dc0000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-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-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    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 s35112 r8192 d30424 u73728
[    0.000000] pcpu-alloc: s35112 r8192 d30424 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] alternatives: applying boot alternatives
[    0.000000] Kernel command line:  root=PARTLABEL=rootfs rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: mapped [mem 0x000000007fb29000-0x000000007fc29000] (1MB)
[    0.000000] Memory: 1010384K/1048576K available (8768K kernel code, 900K rwdata, 2564K rodata, 384K init, 304K bss, 38192K 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] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    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.000075] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000084] pid_max: default: 32768 minimum: 301
[    0.002998] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.003009] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.005188] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.005715] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.005864] rcu: Hierarchical SRCU implementation.
[    0.005867] rcu: Max phase no-delay instances is 1000.
[    0.006257] smp: Bringing up secondary CPUs ...
[    0.006616] Detected VIPT I-cache on CPU1
[    0.006660] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.006691] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.006759] smp: Brought up 1 node, 2 CPUs
[    0.006764] SMP: Total of 2 processors activated.
[    0.006767] CPU features: detected: 32-bit EL0 Support
[    0.006770] CPU features: detected: CRC32 instructions
[    0.006803] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.006806] CPU: All CPU(s) started at EL2
[    0.006808] alternatives: applying system-wide alternatives
[    0.010232] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010249] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.011543] pinctrl core: initialized pinctrl subsystem
[    0.012792] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.013107] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.013137] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.013157] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.013573] thermal_sys: Registered thermal governor 'fair_share'
[    0.013577] thermal_sys: Registered thermal governor 'bang_bang'
[    0.013579] thermal_sys: Registered thermal governor 'step_wise'
[    0.013582] thermal_sys: Registered thermal governor 'user_space'
[    0.013644] ASID allocator initialised with 65536 entries
[    0.014655] pstore: Using crash dump compression: deflate
[    0.014660] pstore: Registered ramoops as persistent store backend
[    0.014663] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.021683] Modules: 29504 pages in range for non-PLT usage
[    0.021691] Modules: 521024 pages in range for PLT usage
[    0.022633] cryptd: max_cpu_qlen set to 1000
[    0.023761] SCSI subsystem initialized
[    0.024422] libata version 3.00 loaded.
[    0.025929] clocksource: Switched to clocksource arch_sys_counter
[    0.028200] NET: Registered PF_INET protocol family
[    0.028328] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.030115] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.030133] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.030144] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.030196] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.030380] TCP: Hash tables configured (established 8192 bind 8192)
[    0.030490] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.030519] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.030828] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.030860] PCI: CLS 0 bytes, default 64
[    0.032371] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.037232] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.037241] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.070253] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.081349] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.085040] printk: console [ttyS0] disabled
[    0.105428] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 72, base_baud = 2500000) is a ST16650V2
[    0.105470] printk: console [ttyS0] enabled
[    0.846219] loop: module loaded
[    0.977600] i2c_dev: i2c /dev entries driver
[    0.983602] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    0.992692] NET: Registered PF_INET6 protocol family
[    0.998570] Segment Routing with IPv6
[    1.002259] In-situ OAM (IOAM) with IPv6
[    1.006258] NET: Registered PF_PACKET protocol family
[    1.011320] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.024529] 8021q: 802.1Q VLAN Support v1.8
[    1.053277] phy phy-soc:usb-phy@11e10000.1: type_sw - reg 0x218, index 0
[    1.108805] mmc0: switch to bus width 8 failed
[    1.113470] mmc0: new high speed MMC card at address 0001
[    1.120215] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    1.127379] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    1.134773] GPT:1 != 15269887
[    1.137747] GPT:Alternate GPT header not at the end of the disk.
[    1.143740] GPT:1 != 15269887
[    1.146703] GPT: Use GNU Parted to correct GPT errors.
[    1.151850]  mmcblk0: p1 p2 p3 p4 p5 p6
[    1.157309] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[    1.163355] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[    1.168827] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (250:0)
[    1.240605] Maxlinear Ethernet GPY211C mdio-bus:05: Firmware Version: 8.111 (0x886F)
[    1.251645] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc081f00000, irq 74
[    1.261705] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc081f00000, irq 74
[    1.271896] clk: Disabling unused clocks
[    1.279882] VFS: Mounted root (squashfs filesystem) readonly on device 179:6.
[    1.287230] Freeing unused kernel memory: 384K
[    1.291719] Run /sbin/init as init process
[    1.295803]   with arguments:
[    1.298766]     /sbin/init
[    1.301460]   with environment:
[    1.304587]     HOME=/
[    1.306940]     TERM=linux
[    1.487611] init: Console is alive
[    1.491142] init: - watchdog -
[    1.701595] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.732738] usbcore: registered new interface driver usbfs
[    1.738321] usbcore: registered new interface driver hub
[    1.743669] usbcore: registered new device driver usb
[    1.749434] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    1.761912] xhci-mtk 11200000.usb: xHCI Host Controller
[    1.767215] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    1.777642] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[    1.786911] xhci-mtk 11200000.usb: irq 79, io mem 0x11200000
[    1.792669] xhci-mtk 11200000.usb: xHCI Host Controller
[    1.797901] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    1.805291] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    1.812917] hub 1-0:1.0: USB hub found
[    1.816732] hub 1-0:1.0: 1 port detected
[    1.821197] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.829749] hub 2-0:1.0: USB hub found
[    1.833537] hub 2-0:1.0: 1 port detected
[    1.842383] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.858063] init: - preinit -
[    2.166790] mtk_soc_eth 15100000.ethernet eth0: PHY [mdio-bus:05] driver [Maxlinear Ethernet GPY211C] (irq=POLL)
[    2.182185] mtk_soc_eth 15100000.ethernet eth0: configuring for phy/2500base-x link mode
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
[    4.313324] loop0: detected capacity change from 0 to 15186944
[    4.375928] loop0: detected capacity change from 15186944 to 15180416
[    4.963013] F2FS-fs (loop0): Disable nat_bits due to incorrect cp_ver (9461166534890478734, 0)
[    4.978778] F2FS-fs (loop0): Mounted with checkpoint version = 8f5dc8e
[    4.985955] mount_root: switching to f2fs overlay
[    4.991608] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    5.003165] urandom-seed: Seeding with /etc/urandom.seed
[    5.038160] random: procd: uninitialized urandom read (4 bytes read)
[    5.046104] procd: - early -
[    5.049053] procd: - watchdog -
[    5.592805] procd: - watchdog -
[    5.596427] procd: - ubus -
[   15.265933] random: crng init done
[   15.272649] procd: - init -
Please press Enter to activate this console.
[   15.537302] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.571036] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[   15.620132] PPP generic driver version 2.4.2
[   15.625860] NET: Registered PF_PPPOX protocol family
[   15.635461] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.733918] urngd: v1.0.2 started.
[   18.620052] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:00] driver [MediaTek MT7981 PHY] (irq=POLL)
[   18.635139] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/gmii link mode
[   18.661674] br-lan: port 1(eth1) entered blocking state
[   18.666944] br-lan: port 1(eth1) entered disabled state
[   18.672207] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   18.679268] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
[   18.698321] mtk_soc_eth 15100000.ethernet eth0: PHY [mdio-bus:05] driver [Maxlinear Ethernet GPY211C] (irq=POLL)
[   18.708564] mtk_soc_eth 15100000.ethernet eth0: configuring for phy/2500base-x link mode
[   22.876244] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
[   22.884719] br-lan: port 1(eth1) entered blocking state
[   22.889953] br-lan: port 1(eth1) entered forwarding state

lsblk

root@OpenWrt:~# lsblk
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
loop0          7:0    0  7.2G  0 loop /overlay
mmcblk0      179:0    0  7.3G  0 disk
├─mmcblk0p1  179:1    0    2M  0 part
├─mmcblk0p2  179:2    0  512K  0 part
├─mmcblk0p3  179:3    0    2M  0 part
├─mmcblk0p4  179:4    0    2M  0 part
├─mmcblk0p5  179:5    0   32M  0 part
└─mmcblk0p6  179:6    0  7.2G  0 part /rom
mmcblk0boot0 179:8    0    4M  1 disk
mmcblk0boot1 179:16   0    4M  1 disk
root@OpenWrt:~#

df -h

root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.3M      3.3M         0 100% /rom
tmpfs                   493.5M      1.2M    492.3M   0% /tmp
/dev/loop0                7.2G    192.1M      7.0G   3% /overlay
overlayfs:/overlay        7.2G    192.1M      7.0G   3% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~#

8

Odp: GL-MT2500 Brume2 uwalony

Obraz gl-inetu prawdopodobnie możesz wgrać robiąc systeupgrade -F -n /tmp/...

Jak uwalisz to wiesz jak reanimować.

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

9

Odp: GL-MT2500 Brume2 uwalony

no i uwalony, wrocilem do punktu wyjscia

[    1.327545] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[    1.334679]  mmcblk0: unable to read partition table
[    4.164813] block2mtd: error: cannot open device /dev/mmcblk0p1
[    4.170899] hctosys: unable to open rtc device (rtc0)
[    4.176450] Waiting for root device PARTLABEL=rootfs...

Inaczej jak moge zrobic backup partycji (gpt i wszystkigo) ze sprawnego i przeniesc na tego?
To samo z uboot'em?

10

Odp: GL-MT2500 Brume2 uwalony

Możesz, możesz. OpenWrt z initramfs Ci działa, więc z jego poziomu możesz sobie zapisać partycje.

Choć raczej uboota to ty nie ruszaj.

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

11

Odp: GL-MT2500 Brume2 uwalony

naprowadzisz mnie jak tego dokonac po za dd if=/dev/mmcblk0 of=/jakisPendive.bin ?
aby zgrac potrzebne dane wraz z podzialem partycji

12

Odp: GL-MT2500 Brume2 uwalony

No tak jak napisałeś. Zgrywasz do pliku do /tmp, przez winscp sobie do skopiuj do komputera a później robisz odwrotnie - kopiowanie do /tmp i przez dd zapis do emmc na poszczególne partycje.

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

13

Odp: GL-MT2500 Brume2 uwalony

zrobione, po reboocie wracamy do punktu wyjscia.
Co tam jest nie tak?

Zapisalo sie bez bledu.

Zrobilem if of na pendrive w exFAT
Przelozylem go pozniej na "uwalony" router i zapisalem na partycje, final - nie wstaje system, dokladnie to samo ze nie moze odczytac tabeli partycji.

14 (edytowany przez Cezary 2024-08-02 21:34:23)

Odp: GL-MT2500 Brume2 uwalony

Możesz spróbować wyzerować pierwsze kilkanaście KB z emmc i skopiować z dobrego zawartość, jeżeli z niego nagrywałeś partycje. Choć nie wiem czy to nie zbyć ryzykowane.

Uruchamia CI się openwrt, więc doinstaluj sobie luci i używaj. Albo pytaj na forum gl-inet, co narobili w sofcie że się nie chce tak uruchomić.

PS. No albo coś masz inaczej w zmiennych środowiskowych bootloadera.

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

15

Odp: GL-MT2500 Brume2 uwalony

Odkopuje bo zauwazylem ze problem rozwiazany przez GL.iNet
(Przetestowalem - dziala)

https://forum.gl-inet.com/t/critical-pr … /56261/187