1 (edytowany przez smereka 2023-08-10 09:36:38)

Temat: zyxel nr7101

Trafił mi się taki pacjent. Po kablu w ogóle nie dostaję IP. Po wpięciu kabla to kompa coś tam mieli niby i w logach w konsoli na OFW jest że link UP ale nie dostaje IP. Chce po uarcie zapuścić mu do ramu openwrt ale nie mogę zatrzymać uboota. Esc nie działa. Taki jest oczatek startu:



===================================================================
                MT7621   stage1 code 10:33:11 (ASIC)
                CPU=50000000 HZ BUS=16666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11100000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL2 FB_DL: 0xf, 1/0 = 557/467 3D000000
PLL4 FB_DL: 0x10, 1/0 = 563/461 41000000
PLL3 FB_DL: 0x17, 1/0 = 567/457 5D000000
do DDR setting..[00320381]
Apply DDR3 Setting...(use customer AC)
          0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
      --------------------------------------------------------------------------------
0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1
000E:|    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1    1
000F:|    0    0    0    0    1    1    1    1    1    1    1    1    1    1    0    0
0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0
0011:|    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0
0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
rank 0 coarse = 15
rank 0 fine = 72
B:|    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0
opt_dle value:9
DRAMC_R0DELDLY[018]=00002021
==================================================================
                RX      DQS perbit delay software calibration
==================================================================
1.0-15 bit dq delay value
==================================================================
bit|     0  1  2  3  4  5  6  7  8  9
--------------------------------------
0 |    10 10 8 15 9 11 9 9 9 8
10 |    12 10 12 12 11 12
--------------------------------------

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

===================================================================
                MT7621   stage1 code done
                CPU=50000000 HZ BUS=16666666 HZ
===================================================================


U-Boot 1.1.3 (Jun  3 2020 - 08:39:27)

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

Config XHCI 40M PLL
Allocate 16 byte aligned buffer: 8ffcb190
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C2 F1 80 95 02]
Device found in MTK table, ID: c2f1, EXT_ID: 809502
Support this Device in MTK table! c2f1
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
..============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=5 OCP Ratio=1/3
Flash component: 128 MBytes NOR Flash with NAND boot partition size
Date:Jun  3 2020  Time:08:39:27
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768

##### The CPU freq = 880 MHZ ####
estimate memory size =256 Mbytes
#Reset_MT7530
.## Starting application at 0x8402A800 ...


Z-LOADER V1.30 | 06/03/2020 08:39:30



NetLoop,call eth_halt !

NetLoop,call eth_init !
Trying Eth0 (10/100-M)

Waitting for RX_DMA_BUSY status Start... done


ETH_STATE_ACTIVE!!
Multiboot Listening...                                                                                                                                                                                                                      0
## Booting image at bc14017c ...
   Image Name:   OpenWrt Linux-3.10.14
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    14707522 Bytes = 14 MB
   Load Address: 80001000
   Entry Point:  80001000
.................................................................................................................................................................................................................................   Verifying RAS Image Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256

Starting kernel ...


LINUX started...

THIS IS ASIC

SDK 5.0.S.0
[    0.000000] Linux version 3.10.14 (aaron@aaron-OPALServer) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #1 SMP Fri Oct 15 15:18:58 CST 2021
[    0.000000]
[    0.000000]  The CPU feqenuce set to 880 MHz
[    0.000000] GCMP present
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] Software DMA cache coherency
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 10000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00000000-0x0bffffff]
[    0.000000]   Normal   [mem 0x0c000000-0x0fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x0fffffff]
[    0.000000] Detected 3 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] PERCPU: Embedded 7 pages/cpu @8c204000 s6464 r8192 d14016 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS1,57600n8 root=/dev/ram0 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Writing ErrCtl register=00031062
[    0.000000] Readback ErrCtl register=00031062
[    0.000000] Memory: 241712k/262144k available (4001k kernel code, 20432k reserved, 979k data, 12868k init, 0k highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] console [ttyS1] enabled
[    0.120000] Calibrating delay loop... 562.17 BogoMIPS (lpj=1124352)
[    0.152000] pid_max: default: 32768 minimum: 301
[    0.156000] Mount-cache hash table entries: 512
[    0.160000] launch: starting cpu1
[    0.164000] launch: cpu1 gone!
[    0.164000] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.164000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.164000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.164000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.196000] Synchronize counters for CPU 1: done.
[    0.204000] launch: starting cpu2
[    0.208000] launch: cpu2 gone!
[    0.208000] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.208000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.208000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.208000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.236000] Synchronize counters for CPU 2: done.
[    0.244000] launch: starting cpu3
[    0.248000] launch: cpu3 gone!
[    0.248000] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.248000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.248000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.248000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.276000] Synchronize counters for CPU 3: done.
[    0.284000] Brought up 4 CPUs
[    0.288000] NET: Registered protocol family 16
[    0.580000] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.584000] PCIE PHY initialize
[    0.588000] ***** Xtal 40MHz *****
[    0.592000] start MT7621 PCIe register access
[    1.168000] RALINK_RSTCTRL = 7000000
[    1.172000] RALINK_CLKCFG1 = 77ffeff8
[    1.176000]
[    1.176000] *************** MT7621 PCIe RC mode *************
[    1.656000] PCIE1 no card, disable it(RST&CLK)
[    1.660000] PCIE2 no card, disable it(RST&CLK)
[    1.664000] pcie_link status = 0x1
[    1.668000] RALINK_RSTCTRL= 1000000
[    1.672000] *** Configure Device number setting of Virtual PCI-PCI bridge ***
[    1.676000] RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
[    1.680000] PCIE0 enabled
[    1.684000] interrupt enable status: 100000
[    1.688000] Port 0 N_FTS = 1b105000
[    1.692000] config reg done
[    1.696000] init_rt2880pci done
[    1.720000] bio: create slab <bio-0> at 0
[    1.724000] SCSI subsystem initialized
[    1.728000] usbcore: registered new interface driver usbfs
[    1.732000] usbcore: registered new interface driver hub
[    1.736000] usbcore: registered new device driver usb
[    1.740000] PCI host bridge to bus 0000:00
[    1.744000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.748000] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.752000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.756000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.760000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
[    1.764000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.768000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60100000-0x6010ffff]
[    1.772000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    1.776000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.780000] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.784000] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
[    1.788000] BAR0 at slot 0 = 0
[    1.792000] bus=0x0, slot = 0x0
[    1.796000] res[0]->start = 0
[    1.800000] res[0]->end = 0
[    1.804000] res[1]->start = 60100000
[    1.808000] res[1]->end = 6010ffff
[    1.812000] res[2]->start = 0
[    1.816000] res[2]->end = 0
[    1.820000] res[3]->start = 0
[    1.824000] res[3]->end = 0
[    1.828000] res[4]->start = 0
[    1.832000] res[4]->end = 0
[    1.836000] res[5]->start = 0
[    1.840000] res[5]->end = 0
[    1.844000] bus=0x1, slot = 0x0, irq=0x4
[    1.848000] res[0]->start = 60000000
[    1.852000] res[0]->end = 600fffff
[    1.856000] res[1]->start = 0
[    1.860000] res[1]->end = 0
[    1.864000] res[2]->start = 0
[    1.868000] res[2]->end = 0
[    1.872000] res[3]->start = 0
[    1.876000] res[3]->end = 0
[    1.880000] res[4]->start = 0
[    1.884000] res[4]->end = 0
[    1.888000] res[5]->start = 0
[    1.892000] res[5]->end = 0
[    1.896000] Switching to clocksource MIPS
[    1.900000] NET: Registered protocol family 2
[    1.908000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    1.924000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    1.936000] TCP: Hash tables configured (established 2048 bind 2048)
[    1.948000] TCP: reno registered
[    1.956000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.968000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.980000] NET: Registered protocol family 1
[    3.316000] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    3.328000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.336000] jffs2: version 2.2. (NAND) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    3.356000] msgmni has been set to 472
[    3.364000] io scheduler noop registered (default)
[    3.372000] reg_int_mask=0, INT_MASK= 0
[    3.380000] HSDMA_init
[    3.384000]
[    3.384000]  hsdma_phy_tx_ring0 = 0x1bc00000, hsdma_tx_ring0 = 0xbbc00000
[    3.404000]
[    3.404000]  hsdma_phy_rx_ring0 = 0x1bc04000, hsdma_rx_ring0 = 0xbbc04000
[    3.420000] TX_CTX_IDX0 = 0
[    3.424000] TX_DTX_IDX0 = 0
[    3.432000] RX_CRX_IDX0 = 3ff
[    3.436000] RX_DRX_IDX0 = 0
[    3.444000] set_fe_HSDMA_glo_cfg
[    3.448000] HSDMA_GLO_CFG = 465
[    3.460000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    3.472000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
[    3.488000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
[    3.500000] Ralink gpio driver initialized
[    3.516000] brd: module loaded
[    3.524000] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    3.536000] Allocate 16 byte aligned buffer: 81182590
[    3.548000] Enable NFI Clock
[    3.552000] # MTK NAND # : Use HW ECC
[    3.560000] NAND ID [C2 F1 80 95 02, 00809502]
[    3.568000] Device found in MTK table, ID: c2f1, EXT_ID: 809502
[    3.580000] Support this Device in MTK table! c2f1
[    3.592000] NAND device: Manufacturer ID: 0xc2, Chip ID: 0xf1 (Macronix NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    3.616000] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    3.628000] Scanning device for bad blocks
[    3.876000] Signature matched and data read!
[    3.884000] load_fact_bbt success 1023
[    3.892000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.912000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.932000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.952000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.972000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.988000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    4.008000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    4.028000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    4.048000] Creating 10 MTD partitions on "MT7621-NAND":
[    4.060000] 0x000000000000-0x000007f80000 : "ALL"
[    4.072000] 0x000000000000-0x000000080000 : "Bootloader"
[    4.080000] 0x000000080000-0x000000100000 : "Config"
[    4.092000] 0x000000100000-0x000000140000 : "Factory"
[    4.104000] 0x000000140000-0x000002000000 : "Kernel"
[    4.116000] 0x000002140000-0x000004000000 : "Kernel2"
[    4.124000] 0x000004000000-0x000004100000 : "wwan"
[    4.136000] 0x000004100000-0x000005100000 : "data"
[    4.148000] 0x000005100000-0x000005200000 : "rom-d"
[    4.156000] 0x000005200000-0x000005280000 : "reserve"
[    4.168000] [mtk_nand] probe successfully!
[    4.180000] rdm_major = 253
[    4.184000] GMAC1_MAC_ADRH -- : 0x00004cc5
[    4.192000] GMAC1_MAC_ADRL -- : 0x3e7b8116
[    4.200000] Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 2048!
[    4.220000] GMAC1_MAC_ADRH -- : 0x00004cc5
[    4.228000] GMAC1_MAC_ADRL -- : 0x3e7b8116
[    4.236000] set proc_user_pid is ok
[    4.244000] PROC INIT OK!
[    4.252000] GobiNet: Quectel_Linux&Android_GobiNet_Driver_V1.6.2.9
[    4.264000] usbcore: registered new interface driver GobiNet
[    4.276000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.288000] ehci-pci: EHCI PCI platform driver
[    4.296000] *****run project phy.
[    4.316000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.332000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.352000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.372000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.392000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.412000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.432000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.452000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.472000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.492000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.536000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.556000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.576000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.596000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.616000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.636000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.656000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.676000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.696000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.716000] FM_OUT value: u4FmOut = 0(0x00000000)
[    4.856000] xhci-hcd xhci-hcd: xHCI Host Controller
[    4.864000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
[    4.880000] xhci-hcd xhci-hcd: irq 22, io mem 0x1e1c0000
[    4.892000] hub 1-0:1.0: USB hub found
[    4.900000] hub 1-0:1.0: 2 ports detected
[    4.908000] xhci-hcd xhci-hcd: xHCI Host Controller
[    4.916000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
[    4.932000] hub 2-0:1.0: USB hub found
[    4.940000] hub 2-0:1.0: 1 port detected
[    4.948000] usbcore: registered new interface driver usb-storage
[    4.960000] usbcore: registered new interface driver usbserial
[    4.972000] usbcore: registered new interface driver option
[    4.984000] usbserial: USB Serial support registered for GSM modem (1-port)
[    4.996000] TCP: cubic registered
[    5.004000] Initializing XFRM netlink socket
[    5.012000] NET: Registered protocol family 10
[    5.024000] NET: Registered protocol family 17
[    5.032000] NET: Registered protocol family 15
[    5.040000] 8021q: 802.1Q VLAN Support v1.8
[    5.080000] Freeing unused kernel memory: 12868K (804df000 - 81170000)


Jest jakiś sposób na przerwanie tego i wejście do uboota. Jak klikam esc to widze że mi na cp2102 miga i jak skończy wczytywanie tego softu to tez mogę pisać na konsoli więc to co piszę on widzi ale uboota nie przrywa...

2

Odp: zyxel nr7101

Na forum openwrt jest cały wątek poświęcony temu zyxelowi. To ten 5G, tak? Może tam znajdziesz więcej.

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

3 (edytowany przez smereka 2022-08-22 14:13:27)

Odp: zyxel nr7101

Pisza ze esc ale nie idzie sad  tak to ten z 5g

4

Odp: zyxel nr7101

Może to znów jakieś zależności czasowe i musisz w określonym miejscu esc nacisnąć. Spytaj bmork'a z forum openwrt, on dodał wsparcie dla niego.

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

5

Odp: zyxel nr7101

Generalnie moja sztuka ma uszkodzony ten port zasilający. Podpiąłem do switcha zarządzalnego poe hp i nie podaje mi napięcia na niego. Pokazuje usterkę. Natomiast na płycie głównej jest możliwość podania 12V. No i po takim zabiegu się odpala ale nie uzyskuję IP. Pomierzyłem wstępnie elementy elektroniczne i wydają się być ok. Nie wiem tylko jak zmierzyć transformatorek seprujący LAN. Cezary czy może być tak, że jeśli ten transformatorek jest uszkodzony to wyjęcie i włożenie wtyczki do kompa będzie widoczne w konsoli uart. Czy raczej jeśli takie wpisy mam to trafo jest ok a gdzie indziej np w chipie od lan leży?

Spójrz na proste porównanie logów z ich sprzętu i mojego:

Sprawny:

Z-LOADER V1.30 | 06/03/2020 08:39:30


Hit ESC key to stop autoboot:   1
ZLB> atgo
## Booting image at bc14017c ...
   Image Name:   OpenWrt Linux-3.10.14
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    14176596 Bytes = 13.5 MB
   Load Address: 80001000
   Entry Point:  80001000


Mój:

Z-LOADER V1.30 | 06/03/2020 08:39:30


NetLoop,call eth_halt !

NetLoop,call eth_init !
Trying Eth0 (10/100-M)

Waitting for RX_DMA_BUSY status Start... done

ETH_STATE_ACTIVE!!
Multiboot Listening...                                                                                                                                                                                                                      0
## Booting image at bc14017c ...
   Image Name:   OpenWrt Linux-3.10.14
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    14707522 Bytes = 14 MB
   Load Address: 80001000
   Entry Point:  80001000


Ten zapis mnie niepokoi:

NetLoop,call eth_halt !

NetLoop,call eth_init !
Trying Eth0 (10/100-M)


Czy widziałeś już coś takiego i wiesz może co go boli który układ, chip..?.

6

Odp: zyxel nr7101

Twój zgłasza się tylko na 100, więc równie dobrze może być trafo popalone. Przemierz miernikiem, tam po prostu powinny być przejścia pomiędzy pinami.

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

7 (edytowany przez smereka 2022-08-22 21:35:26)

Odp: zyxel nr7101

Pomiędzy którymi pinami? Po stronie wtórnej czyli tam gdzie są diody i do każdej z tych diod dochodzi para z trafka oznaczone jako k5 - to te pomierzyłem. Po przyłożeniu sond multimetru między nóżkami każdej z diod jest około 0,5ohma. Po stronie pierwotnej są jeszcze  warystory. Ale każdy z nich pokazuje nieskończoność więc zakładam że dobre. Tutaj masz zdjęcie tego trafka:


https://i.ibb.co/gWsZVY7/20220822-160225.jpg

8

Odp: zyxel nr7101

Znajdź datasheet jego i zobaczysz które piny są które. To nie jest uniwersalne niestety.

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

9 (edytowany przez smereka 2022-08-22 21:37:32)

Odp: zyxel nr7101

Właśnie problem że po wpisaniu w google tego badziewnego trafka w ogóle nie ma...

Może pod zyxela specjalnie robili

Może ktoś po logu (piktogramie) pozna choć producenta

10 (edytowany przez smereka 2022-08-22 22:36:33)

Odp: zyxel nr7101

Dobra doczytałem w wątku na openwrt org że ta wersja którą mam (telnor) może mieć wyłączone domyślnie dhcp. Trzeba sobie wyczaić z logów jaki ma adres a następnie odblokować gui i ssh w iptables które też są domyślnie blokowane. Ech chcą żeby ludzie brali ich sprzęt a rzucają kłody pod nogi. Jutro to wypróbuję. Fajnie jakby to nie był problem hardwear tylko z logiką i danymi - mniejsza o poe

11 (edytowany przez smereka 2022-08-23 09:54:26)

Odp: zyxel nr7101

Probuje pozyskac haslo supervisor doszedlem do kroku:

ad@ad-Latitude-D620:~/Pobrane/zyxel_pwgen$ sudo i
[sudo] password for ad:
sudo: i: command not found
ad@ad-Latitude-D620:~/Pobrane/zyxel_pwgen$ apt install qemu-user-static
E: Nie udało się otworzyć pliku blokady /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
ad@ad-Latitude-D620:~/Pobrane/zyxel_pwgen$ ^C
ad@ad-Latitude-D620:~/Pobrane/zyxel_pwgen$


O co tu chodzi?

12

Odp: zyxel nr7101

Też nie wiem co chcesz zrobić. Albo

sudo su

albo

sudo  apt install qemu-user-static

a nie sudo i

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

13 (edytowany przez smereka 2022-08-23 09:58:42)

Odp: zyxel nr7101

root@ad-Latitude-D620:~# sudo apt-get install qemu-arm-static
E: dpkg został przerwany, należy wykonać ręcznie "sudo dpkg --configure -a", aby naprawić problem.
root@ad-Latitude-D620:~# sudo dpkg --configure -a
Konfigurowanie pakietu gpg-agent (2.2.19-3ubuntu2.2) ...
Konfigurowanie pakietu gpgsm (2.2.19-3ubuntu2.2) ...
Konfigurowanie pakietu dirmngr (2.2.19-3ubuntu2.2) ...
Konfigurowanie pakietu gpg-wks-server (2.2.19-3ubuntu2.2) ...
Konfigurowanie pakietu gpg-wks-client (2.2.19-3ubuntu2.2) ...
Konfigurowanie pakietu gnupg (2.2.19-3ubuntu2.2) ...
Przetwarzanie wyzwalaczy pakietu man-db (2.9.1-1)...
Przetwarzanie wyzwalaczy pakietu install-info (6.7.0.dfsg.2-5)...
root@ad-Latitude-D620:~# sudo apt-get install qemu-arm-static
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu qemu-arm-static
root@ad-Latitude-D620:~# sudo apt-get install qemu-arm-static
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu qemu-arm-static

14

Odp: zyxel nr7101

Dobra coś poszło.... zobaczymy

15

Odp: zyxel nr7101

Po prostu nie masz pakietu o takiej nazwie. qemu-system-arm jest w ubunciaku

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

16

Odp: zyxel nr7101

Dobra pozyskałem te hasło supervisora. Dzięki

17

Odp: zyxel nr7101

I pyk, zaraz się okaże że masz sprawny działający router 5g,

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

18

Odp: zyxel nr7101

Ju działa logowanie okazuje się że u mnie jest 192.168.2.1. Iptable wyłączyłem zgodnie z forum openwrt. Ale nie działają żadne hasła. Na razie walcze z kopią zapasową zanim zaczne następne procedery. Za mało pamięci w /tmp i nie wiem gdzie to zgrać

19

Odp: zyxel nr7101

Jak w firmware masz nc (netcat) to możesz sobie zestawić "tunel" i tyle: https://forum.openwrt.org/t/backing-up- … er-x/84441
Jak nie masz to możesz ściągnąć ze strony buxyboxa statyczną binarkę, uruchomć ją będziesz miał nc.

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

20

Odp: zyxel nr7101

Dobra złe polecenia wydawałem. Już kopia leci....

21

Odp: zyxel nr7101

Dobra zgrałem kopię i postawiłem na normalnym sofcie openwrt. Mam połączenie przez wifi z siecią jako klient. Chce doinstalować qmi itp. Ale wywala mi to:

OpenWrt 21.02.3, r16554-1d4dea6d4f
-----------------------------------------------------
root@OpenWrt:~# ping wp.pl
PING wp.pl (212.77.98.9): 56 data bytes
64 bytes from 212.77.98.9: seq=0 ttl=54 time=12.136 ms
64 bytes from 212.77.98.9: seq=1 ttl=54 time=13.213 ms
64 bytes from 212.77.98.9: seq=2 ttl=54 time=15.355 ms
^C
--- wp.pl ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 12.136/13.568/15.355 ms
root@OpenWrt:~# opek update
-ash: opek: not found
root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/releases/ … ips/mt7621                                                                                                                                                             /packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/relea                                                                                                                                                             ses/21.02.3/targets/ramips/mt7621/packages/Packages.gz

Downloading https://downloads.openwrt.org/releases/ … psel_24kc/                                                                                                                                                             base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/relea                                                                                                                                                             ses/21.02.3/packages/mipsel_24kc/base/Packages.gz

Downloading https://downloads.openwrt.org/releases/ … psel_24kc/                                                                                                                                                             luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/relea                                                                                                                                                             ses/21.02.3/packages/mipsel_24kc/luci/Packages.gz

Downloading https://downloads.openwrt.org/releases/ … psel_24kc/                                                                                                                                                             packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/relea                                                                                                                                                             ses/21.02.3/packages/mipsel_24kc/packages/Packages.gz

Downloading https://downloads.openwrt.org/releases/ … psel_24kc/                                                                                                                                                             routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/relea                                                                                                                                                             ses/21.02.3/packages/mipsel_24kc/routing/Packages.gz

Downloading https://downloads.openwrt.org/releases/ … psel_24kc/                                                                                                                                                             telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/relea                                                                                                                                                             ses/21.02.3/packages/mipsel_24kc/telephony/Packages.gz

Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.0                                                                                                                                                             2.3/targets/ramips/mt7621/packages/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.0                                                                                                                                                             2.3/packages/mipsel_24kc/base/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.0                                                                                                                                                             2.3/packages/mipsel_24kc/luci/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.0                                                                                                                                                             2.3/packages/mipsel_24kc/packages/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.0                                                                                                                                                             2.3/packages/mipsel_24kc/routing/Packages.gz, wget returned 5.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.0                                                                                                                                                             2.3/packages/mipsel_24kc/telephony/Packages.gz, wget returned 5.
root@OpenWrt:~#


Cezary co go boli do jasnej ciasnej

22 (edytowany przez Cezary 2022-08-23 14:09:02)

Odp: zyxel nr7101

Błąd ssl. Ściągnij i zainstaluj ręcznie libustream-mbedtls ca-bundle, zainstaluj pakiet wget-ssl lub zmien sobie linki do repo z https na http.

PS. Tak w ogóle to zainstaluj 22.03.

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

23 (edytowany przez smereka 2022-08-23 14:11:54)

Odp: zyxel nr7101

Z mipsel_24kc pobrałem i to daje:

root@OpenWrt:~# opkg install /tmp/1.ipk
Unknown package 'libustream-mbedtls20201210'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libmbedtls12 for libustream-mbedtls20201210
* pkg_hash_fetch_best_installation_candidate: Packages for libustream-mbedtls20201210 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libustream-mbedtls20201210.
root@OpenWrt:~# opkg install /tmp/123.ipk
Package ca-bundle (20210119-1) installed in root is up to date.
root@OpenWrt:~#


A ok uaktualnie jeśli jest

24

Odp: zyxel nr7101

libmbedtls12  wcześniej.

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

25

Odp: zyxel nr7101

Nie ma 22.03 ma mt7621 albo ja nie widzę...