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 BLdump 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 00000000dump 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 56U-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 BLdump 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 00000000dump 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 56U-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 environmentIn: 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 ... OKStarting 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 BLdump 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 00000000dump 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 56U-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 environmentIn: 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 BLdump 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 00000000dump 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 56U-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 environmentIn: 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]