1

(1,001 odpowiedzi, napisanych Sprzęt / Hardware)

Router startuje z Uboota.

U-Boot 1.1.4 (Sep 27 2017 - 19:55:03)

ap152 - Dragonfly 1.0DRAM:
sri
ath_ddr_initial_config(278): (ddr2 init)
ath_sys_frequency: cpu 775 ddr 650 ahb 258
Tap values = (0x10, 0x10, 0x10, 0x10)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 410k for U-Boot at: 87f98000
Reserving 192k for malloc() at: 87f68000
Reserving 44 Bytes for Board Info at: 87f67fd4
Reserving 36 Bytes for Global Data at: 87f67fb0
Reserving 128k for boot params() at: 87f47fb0
Stack Pointer at: 87f47f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x15
flash size 2MB, sector count = 32
Flash:  2 MB
*** Warning - bad CRC, using default environment

Power up PLL with outdiv = 0 then switch to 3
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init (MDC/MDIO config)::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
Max resets limit reached exiting...
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:ff:ff:ff
ath_gmac_phy_setup
eth0 up
eth0
Qualcomm Atheros SPI NAND Driver, Version 0.1 (c) 2014  Qualcomm Atheros Inc.
ath_spi_nand_ecc: furture feat = 0x18
ath_spi_nand_ecc: middle feat = 0x18
zte ath_spi_nand_read_id 0xefaa
zte ath_spi_nand_read_id 0xefaa21
====== NAND Parameters ======
sc addr = 0x87ff7430 page(write size) = 0x800 (erase size) block = 0x20000
Setting 0x181162c0 to 0x4b962100
Uaztemain: enter into !
zte_getHandOffState: read data=0x20 from 0x0
Uaztemain: no need to update '!▒i▒)▒i▒)▒i▒i▒)▒i▒!▒i▒i▒A▒i▒a▒I▒'
Hit any key to stop autoboot:  0

Błędy po potraktowaniu z buta czyli power off wink
Da się to bootowanie przerwać.
Potem ładuje się firmware:

Loading from device 0: ath-spi-nand (offset 0x1800000)
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2018-07-30   3:44:34 UTC
   Image Type:   MIPS Linux Multi-File Image (lzma compressed)
   Data Size:    1204601 Bytes =  1.1 MB
   Load Address: 80060000
   Entry Point:  80060000
   Contents:
   Image 0:  1204593 Bytes =  1.1 MB

Podstawowe parametry:

[    0.000000] Linux version 3.3.8 (scl@scl_xa243_241) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Mon Jul 30 11:43:55 CST 2018
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA956X rev 0
[    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz

df -H działa:

admin@(none):~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                   11.8M     11.8M         0 100% /
/dev/root                11.8M     11.8M         0 100% /
tmpfs                    61.5M      1.8M     59.7M   3% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
tmpfs                    61.5M    584.0K     61.0M   1% /etc
/dev/mtdblock11           9.0M      9.0M         0 100% /etc_ro/web
/dev/mtdblock8            4.0M      2.3M      1.7M  58% /etc_rw/log
/dev/mtdblock15          50.0M      1.2M     48.8M   2% /etc_rw/fota
/dev/mtdblock7            4.0M      1.1M      2.9M  27% /etc_rw/config
/dev/mtdblock10           5.0M      1.2M      3.8M  24% /zte_backup

Procesor:

cat /proc/cpuinfo
system type             : Qualcomm Atheros QCA956X rev 0
machine                 : Qualcomm Atheros AP152 reference board
processor               : 0
cpu model               : MIPS 74Kc V5.0
BogoMIPS                : 385.84
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0a48, 0x0928, 0x0158]
ASEs implemented        : mips16 dsp
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

dmesga

[    0.000000] Linux version 3.3.8 (scl@scl_xa243_241) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Mon Jul 30 11:43:55 CST 2018
[    0.000000] MyLoader: sysp=6db6e9b7, boardp=23f0e997, parts=e9946986
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA956X rev 0
[    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00008000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00008000
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 80389020, node_mem_map 81000000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32512 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=AP152 console=ttyS0,115200 mtdparts=spi0.0:640k(u-boot),128k(u-boot-env),1280k(reserved1);spi0.1:640k(fota-flag),512k(art),512k(mac),768k(reserved2),4m(cfg-param),4m(log),640k(oops),5m(reserved3),8m(web),3m(kernel),26m(rootfs),25m(data),50m(fota),29m@0x1800000(firmware) mem=128M rootfstype=squashfs,jffs2 noinitrd crashkernel=10M@20M oops=panic
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125808k/131072k available (2559k kernel code, 5264k reserved, 678k data, 228k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:83
[    0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.060000] Performance counters: mips/74K PMU enabled, 4 32-bit counters available to each CPU, irq 13
[    0.070000] NET: Registered protocol family 16
[    0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[    0.080000] MIPS: machine is Qualcomm Atheros AP152 reference board
[    0.090000]
[    0.090000] WLAN firmware dump buffer allocation of 2097152 bytes @ address 0x87a00000- SUCCESS !!!
[    0.100000] registering PCI controller with io_map_base unset
[    0.100000] ar71xx: using random MAC address for eth0
[    0.310000] bio: create slab <bio-0> at 0
[    0.310000] PCI host bridge to bus 0000:00
[    0.320000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.320000] pci_bus 0000:00: root bus resource [io  0x0001]
[    0.330000] pci 0000:00:00.0: [168c:0056] type 0 class 0x000280
[    0.330000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x001fffff 64bit]
[    0.330000] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.330000] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.330000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.340000] Switching to clocksource MIPS
[    0.340000] NET: Registered protocol family 2
[    0.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.350000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.360000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.360000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.370000] TCP reno registered
[    0.370000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] NET: Registered protocol family 1
[    0.390000] PCI: CLS 0 bytes, default 32
[    0.400000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.400000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.410000] yaffs built Jul 30 2018 11:39:46 Installing.
[    0.410000]
[    0.410000]
[    0.410000]
[    0.410000]
[    0.410000] YAFFS-WARNING CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED selected.
[    0.410000]
[    0.410000]
[    0.410000]
[    0.410000] msgmni has been set to 245
[    0.420000] io scheduler noop registered
[    0.420000] io scheduler deadline registered (default)
[    0.430000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.450000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.460000] console [ttyS0] enabled, bootconsole disabled
[    0.470000] m25p80 spi0.0: found gd25q16csig, expected m25p80
[    0.480000] m25p80 spi0.0: gd25q16csig (2048 Kbytes)
[    0.490000] 3 cmdlinepart partitions found on MTD device spi0.0
[    0.490000] Creating 3 MTD partitions on "spi0.0":
[    0.500000] 0x000000000000-0x0000000a0000 : "u-boot"
[    0.500000] 0x0000000a0000-0x0000000c0000 : "u-boot-env"
[    0.510000] 0x0000000c0000-0x000000200000 : "reserved1"
[    0.520000] ath79_spinand_read_id:id0=0xef  id1=0xaa id2=0x21
[    0.520000] ath79_spinand_read_id:id0=0xef  id1=0xaa id2=0x21
[    0.530000] ath79_spinand_read_id:id0=0xef  id1=0xaa id2=0x21
[    0.540000] ath79_spinand_read_id:id0=0xef  id1=0xaa id2=0x21
[    0.540000] zte type->pagesize not 0
[    0.550000] NAND device: Manufacturer ID: 0xef, Chip ID: 0xaa (Winbond W25N01GV 1G 3,3V 8-bit)
[    0.550000] Scanning device for bad blocks
[    0.570000] Bad eraseblock 127 at 0x000000fe0000
[    0.690000] 14 cmdlinepart partitions found on MTD device spi0.1
[    0.700000] Creating 14 MTD partitions on "spi0.1":
[    0.700000] 0x000000000000-0x0000000a0000 : "fota-flag"
[    0.710000] 0x0000000a0000-0x000000120000 : "art"
[    0.720000] 0x000000120000-0x0000001a0000 : "mac"
[    0.720000] 0x0000001a0000-0x000000260000 : "reserved2"
[    0.730000] 0x000000260000-0x000000660000 : "cfg-param"
[    0.740000] 0x000000660000-0x000000a60000 : "log"
[    0.740000] 0x000000a60000-0x000000b00000 : "oops"
[    0.750000] 0x000000b00000-0x000001000000 : "reserved3"
[    0.750000] 0x000001000000-0x000001800000 : "web"
[    0.760000] part[web]: logic[0]=phys[0]
[.......................................] -> resztę wrzucę w pliku
[   86.000000] /home/scl/ci/workspace/Soft4_MF286A_TMO_CPE/qsdk/build_dir/linux-ar71xx_generic/zte_genl_kernel-1.0/zte_genl_kernel_main.c[169]: INFO:send msg to user ok, cmd=3, msg=401
[   86.020000] FWLOG: [578485] WAL channel change freq=5680, mode=0 flags=0 rx_ok=1 tx_ok=1
[   86.030000] [wifi1] FWLOG: [578799] WAL channel change freq=5700, mode=0 flags=0 rx_ok=1 tx_ok=1
[   86.040000] [wifi1] FWLOG: [579119] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   86.050000] [wifi1] FWLOG: [579119] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   86.050000] [wifi1] FWLOG: [579124] vap-0 VDEV_MGR_VDEV_START ( 0x143c, 0x2, 0x0, 0x0 )
[   86.060000] [wifi1] FWLOG: [579124] WAL channel change freq=5180, mode=10 flags=0 rx_ok=1 tx_ok=1
[   86.980000] [wifi1] FWLOG: [579339] UNKNOWN 14:20 ( 0x0 )
[   86.990000] [wifi1] FWLOG: [579363] VDEV_MGR_HP_START_TIME ( 0x0, 0x143c, 0x12d9000 )
[   86.990000] [wifi1] FWLOG: [579363] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
[   87.000000] [wifi1] FWLOG: [579363] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   87.010000] [wifi1] FWLOG: [579363] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x143c, 0x0, 0x0 )
[   87.450000] ath00: no IPv6 routers present
[   89.500000] ath12: no IPv6 routers present
[  202.080000] Sending SCAN START cmd
[  202.080000] STOPPED EVENT for vap 0 (8725a000)
[  202.080000] send_vdev_down_cmd_non_tlv for vap 0 (8725a000)
[  203.000000] [wifi1] FWLOG: [698222] WAL channel change freq=5180, mode=0 flags=0 rx_ok=1 tx_ok=1
[  203.010000] [wifi1] FWLOG: [698236] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[  203.010000] [wifi1] FWLOG: [698236] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[  203.020000] [wifi1] FWLOG: [698537] WAL channel change freq=5200, mode=0 flags=0 rx_ok=1 tx_ok=1
[  203.030000] [wifi1] FWLOG: [698852] WAL channel change freq=5220, mode=0 flags=0 rx_ok=1 tx_ok=1
[  204.000000] [wifi1] FWLOG: [699166] WAL channel change freq=5240, mode=0 flags=0 rx_ok=1 tx_ok=1
[  204.010000] [wifi1] FWLOG: [699480] WAL channel change freq=5260, mode=0 flags=0 rx_ok=1 tx_ok=1
[  204.020000] [wifi1] FWLOG: [699793] WAL channel change freq=5280, mode=0 flags=0 rx_ok=1 tx_ok=1
[  204.030000] [wifi1] FWLOG: [700108] WAL channel change freq=5300, mode=0 flags=0 rx_ok=1 tx_ok=1
[  205.000000] [wifi1] FWLOG: [700422] WAL channel change freq=5320, mode=0 flags=0 rx_ok=1 tx_ok=1
[  205.010000] [wifi1] FWLOG: [700735] WAL channel change freq=5500, mode=0 flags=0 rx_ok=1 tx_ok=1
[  205.020000] [wifi1] FWLOG: [701049] WAL channel change freq=5520, mode=0 flags=0 rx_ok=1 tx_ok=1
[  206.000000] [wifi1] FWLOG: [701364] WAL channel change freq=5540, mode=0 flags=0 rx_ok=1 tx_ok=1
[  206.010000] [wifi1] FWLOG: [701678] WAL channel change freq=5560, mode=0 flags=0 rx_ok=1 tx_ok=1
[  206.020000] [wifi1] FWLOG: [701992] WAL channel change freq=5580, mode=0 flags=0 rx_ok=1 tx_ok=1
[  207.000000] [wifi1] FWLOG: [702306] WAL channel change freq=5600, mode=0 flags=0 rx_ok=1 tx_ok=1
[  207.010000] [wifi1] FWLOG: [702620] WAL channel change freq=5620, mode=0 flags=0 rx_ok=1 tx_ok=1
[  207.020000] [wifi1] FWLOG: [702935] WAL channel change freq=5640, mode=0 flags=0 rx_ok=1 tx_ok=1
[  207.030000] [wifi1] FWLOG: [703249] WAL channel change freq=5660, mode=0 flags=0 rx_ok=1 tx_ok=1
[  207.910000] send_vdev_down_cmd_non_tlv for vap 0 (8725a000)
[  207.920000] OL vap_start +
[  207.920000] VDEV START
[  207.920000] OL vap_start -
[  207.920000] [zte_debug] cur driver channel = 36
[  207.930000]
[  207.930000] /home/scl/ci/workspace/Soft4_MF286A_TMO_CPE/qsdk/build_dir/linux-ar71xx_generic/zte_genl_kernel-1.0/zte_genl_kernel_main.c[169]: INFO:send msg to user ok, cmd=4, msg=36
[  207.950000] ol_vdev_start_resp_ev for vap 0 (8725a000)
[  207.950000] send_wmm_update_cmd_non_tlv:
[  207.960000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1
[  207.960000] send_vdev_up_cmd_non_tlv for vap 0 (8725a000)
[  207.970000]
[  207.970000] /home/scl/ci/workspace/Soft4_MF286A_TMO_CPE/qsdk/build_dir/linux-ar71xx_generic/zte_genl_kernel-1.0/zte_genl_kernel_main.c[169]: INFO:send msg to user ok, cmd=3, msg=401
[  208.010000] [wifi1] FWLOG: [703563] WAL channel change freq=5680, mode=0 flags=0 rx_ok=1 tx_ok=1
[  208.020000] [wifi1] FWLOG: [703877] WAL channel change freq=5700, mode=0 flags=0 rx_ok=1 tx_ok=1
[  208.030000] [wifi1] FWLOG: [704197] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[  208.030000] [wifi1] FWLOG: [704197] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[  208.040000] [wifi1] FWLOG: [704202] vap-0 VDEV_MGR_VDEV_START ( 0x143c, 0x2, 0x0, 0x0 )
[  208.050000] [wifi1] FWLOG: [704202] WAL channel change freq=5180, mode=10 flags=0 rx_ok=1 tx_ok=1
[  208.060000] [wifi1] FWLOG: [704209] UNKNOWN 14:20 ( 0x0 )
[  208.060000] [wifi1] FWLOG: [704252] VDEV_MGR_HP_START_TIME ( 0x0, 0x143c, 0x8728000 )
[  208.070000] [wifi1] FWLOG: [704252] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
[  208.080000] [wifi1] FWLOG: [704252] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[  208.080000] [wifi1] FWLOG: [704252] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x143c, 0x0, 0x0 )

logread nie działa

USB

[  762.370000] usb 2-1: new high-speed USB device number 2 using ehci-platform
FOTA >> [update_control.c: 2518][LOW: COMM] net link recv add@/devices/platform/[  762.530000] scsi0 : usb-storage 2-1:1.0
ehci-platform.1/usb2/2-1
FOTA >> [update_control.c: 2518][LOW: COMM] net link recv add@/devices/platform/ehci-platform.1/usb2/2-1/2-1:1.0
FOTA >> [update_control.c: 2518][LOW: COMM] net link recv add@/devices/platform/ehci-platform.1/usb2/2-1/2-1:1.0/host0
FOTA >> [update_control.c: 2518][LOW: COMM] net link recv add@/devices/platform/ehci-platform.1/usb2/2-1/2-1:1.0/host0/scsi_host/host0
[  763.600000] scsi 0:0:0:0: Direct-Access     TOSHIBA  TransMemory      PMAP PQ: 0 ANSI: 0 CCS
FOTA >> [update_control.c: 2518][LOW: COMM] net link recv add@/devices/platform/ehci-platform.1/usb2/2-1/2-1:1.0/host0/target0:0:0
FOTA >> [update_control.c: 2518][LOW: COMM] net link recv add@/devices/platform/ehci-platform.1/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0
FOTA >> [update_control.c: 2518][LOW: COMM] net link recv add@/devices/platform/ehci-platform.1/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0
FOTA >> [update_control.c: 2518][LOW: COMM] net link recv add@/devices/platform/ehci-platform.1/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/scsi_device/0:0:0:0
[  764.340000] sd 0:0:0:0: [sda] 7669824 512-byte logical blocks: (3.92 GB/3.65 GiB)
[  764.350000] sd 0:0:0:0: [sda] Write Protect is off
[  764.360000] sd 0:0:0:0: [sda] No Caching mode page present
[  764.360000] sd 0:0:0:0: [sda] Assuming drive cache: write through
FOTA >> [update_control.c: 2518][LOW: COMM] net link recv add@/devices/virtual/bdi/8:0
[  764.380000] sd 0:0:0:0: [sda] No Caching mode page present
[  764.390000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  764.420000]  sda: sda1
FOTA >> [update_control.c: 2518][LOW: COMM] net link recv add@/devices/platform/ehci-platform.1/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/block[  764.430000] USBtest: sending ioctl 540d to a partition!
/sda
[  764.440000] USBtest: sending ioctl 540d to a partition!
[  764.440000] sd 0:0:0:0: [sda] No Caching mode page present
[  764.450000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  764.460000] sd 0:0:0:0: [sda] Attached SCSI removable disk
FOTA >> [update_control.c: 2518][LOW: COMM] net link recv add@/devices/platform/ehci-platform.1/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/block/sda/sda1
/bin/sh: samba_mod_conf.sh: not found

Pliki udostępnie najpóźniej we wtorek.
Pozdrawiam
Maciek


@ddox - problem występuje wyłącznie przy nieudanym flashowaniu routera - modem przechodzi w tryb serwisowy i trzeba go odblokować. Sam modem zapewne też da się przeflashować, ale należałoby go wyjąć, wpiąć w laptopa i dopiero działać.

2

(1,001 odpowiedzi, napisanych Sprzęt / Hardware)

Cześć.
Trafił do mnie uwalony router ZTE MF286 od T-Mobile. Właściciel nie wiadomo po co, próbował wgrać na niego firmware z jakiejś Fińskiej wersji.
Objawy: diody świecą, nie przyznaje IP.
Krok 1 - reset ustawień - należy wcisnąć jakimś drucikiem przycisk reset i poczekać 30 sekund, w razie braku poprawy (jak w tym egzemplarzu), należy wyłączyć router, wcisnąć reset, z wciśniętym resetem włączyć router i poczekać 30 sekund.
Po tej operacji dostałem IP. IP routera 192.168.0.1 hasło admin.
Niestety nie łączy się z LTE. Po kliknięciu na ikonkę połączenia, chwile mieli i wywala błąd.
Po telnecie nie da się połączyć.  Backdoor, który w niebrandowanych routerach pozwala na włączenie telnetu przez polecenie wydawane w HTTP nie działa na sofcie T-Mobile.

Rozbiórka routera dała taki efekt:
https://drive.google.com/file/d/1nIMa_I … sp=sharing
Żółtym kółkiem zaznaczyłem miejsce gdzie wlutowałem poczwórnego goldpina - tam wyprowadzony jest port szeregowy.
Po wlutowaniu goldpina, podpiąłem się konwerterem RS 3,3V na USB Jeśli chodzi o kabelkologię to:
czerwony - 3,3V
żółty - RX
pomarańczowy - TX
czarny - GND

Odpaliłem putty (115200, reszta domyślnie), włączyłem router.
Jak sytuacja na ekranie się uspokoiła nieśmiało wcisnąłem ENTER i oczom moim ukazał się:
https://drive.google.com/file/d/1aO8aAh … sp=sharing
BusyBox smile

Dużo mądrzejszy się od tego nie zrobiłem, więc zacząłem przeszukiwać sieć pod kątem podobnych problemów. Ostatecznie dowiedziałem się, że przyczyną problemu jest fakt, iż w czasie aktualizacji modem LTE (to srebrne wpięte w złącze mini PCI-E na płycie routera) przełącza się w tryb, w którym najzwyczajniej w świecie nie chce łączyć się z siecią, a jeśli aktualizacja się wyłoży, to żaden mechanizm nie przywraca prawidłowego trybu pracy.

Dwie komendy AT:
echo -e -n 'AT+ZCDRUN=9\r' > /dev/ttyUSB1
echo -e -n 'AT+ZCDRUN=F\r' > /dev/ttyUSB1
Uświadamiają nasz modem jak ma pracować.
Komendy sugeruję wpisywać z palca, żeby się żadne niewidoczne znaki (typu końca linii) nie przekopiowały.

Po wydaniu tych komend, trzeba chwilę odczekać i zresetować router.
Po resecie router się łączy:
https://drive.google.com/file/d/1lMAG1T … sp=sharing
Można składać klamota smile

Z ciekawostek - sam modem jest urządzeniem USB w porcie mini PCI-E. Jeśli dysponuje się odpowiednim konwerterem (może być na przykład stary OPTION ICON), można po prostu wyjąć go z routera, włożyć do Optiona i wydać komendy AT w postaci:
AT+ZCDRUN=9
AT+ZCDRUN=F
przez hyperterminal.

Pozdrawiam
Maciek.