Cześć. Odkopię trochę. Wpadł mi w ręce czarny sprzęt. Podłączyłem serial i rozumiem, że mam wersję R?
U-Boot 1.1.4 (May 13 2021 - 05:37:00)
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 659k for U-Boot at: 87f58000
Reserving 192k for malloc() at: 87f28000
Reserving 44 Bytes for Board Info at: 87f27fd4
Reserving 36 Bytes for Global Data at: 87f27fb0
Reserving 128k for boot params() at: 87f07fb0
Stack Pointer at: 87f07f98
Now running in RAM - U-Boot at: 87f58000
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 = 0x10
ath_spi_nand_ecc: middle feat = 0x10
zte ath_spi_nand_read_id 0xc8d1
zte ath_spi_nand_read_id 0xc8d1c8
zte debug gd 128 oob
====== NAND Parameters ======
sc addr = 0x87fa6d10 page(write size) = 0x800 (erase size) block = 0x20000
Setting 0x181162c0 to 0x4b962100
Uaztemain: enter into !
ZTE_InitFotaFlashPara: nand_curr_device=0
zte_getHandOffState: read data=0x20 from 0x0
Hit any key to stop autoboot: 0
Loading from device 0: ath-spi-nand (offset 0x1800000)
Image Name: MIPS OpenWrt Linux-3.3.8
Created: 2022-06-10 18:13:55 UTC
Image Type: MIPS Linux Multi-File Image (lzma compressed)
Data Size: 1210077 Bytes = 1.2 MB
Load Address: 80060000
Entry Point: 80060000
Contents:
Image 0: 1210069 Bytes = 1.2 MB
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
## Booting image at 81000000 ...
Image Name: MIPS OpenWrt Linux-3.3.8
Created: 2022-06-10 18:13:55 UTC
Image Type: MIPS Linux Multi-File Image (lzma compressed)
Data Size: 1210077 Bytes = 1.2 MB
Load Address: 80060000
Entry Point: 80060000
Contents:
Image 0: 1210069 Bytes = 1.2 MB
Verifying Checksum at 0x81000040 ...OK
Uncompressing Multi-File Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728
Starting kernel ...
[ 0.000000] Linux version 3.3.8 (zte@scl_xa24_241) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jun 11 02:13:06 CST 2022
[ 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] 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: 125784k/131072k available (2574k kernel code, 5288k reserved, 687k 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.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: 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.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] 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.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] zte gd nand
[ 0.520000] NAND device: Manufacturer ID: 0xc8, Chip ID: 0xd1 (Giga Device NAND 128MiB 3,3V 8-bit)
[ 0.530000] Scanning device for bad blocks
[ 0.560000] Bad eraseblock 127 at 0x000000fe0000
[ 0.750000] Bad eraseblock 1023 at 0x000007fe0000
[ 0.750000] 14 cmdlinepart partitions found on MTD device spi0.1
[ 0.760000] Creating 14 MTD partitions on "spi0.1":
[ 0.760000] 0x000000000000-0x0000000a0000 : "fota-flag"
[ 0.770000] 0x0000000a0000-0x000000120000 : "art"
[ 0.770000] 0x000000120000-0x0000001a0000 : "mac"
[ 0.780000] 0x0000001a0000-0x000000260000 : "reserved2"
[ 0.790000] 0x000000260000-0x000000660000 : "cfg-param"
[ 0.790000] 0x000000660000-0x000000a60000 : "log"
[ 0.800000] 0x000000a60000-0x000000b00000 : "oops"
[ 0.810000] 0x000000b00000-0x000001000000 : "reserved3"
[ 0.810000] 0x000001000000-0x000001800000 : "web"
[ 0.820000] 0x000001800000-0x000001b00000 : "kernel"
[ 0.820000] 0x000001b00000-0x000003500000 : "rootfs"
[ 0.830000] mtd: partition "rootfs" set to be root filesystem
[ 0.840000] 0x000003500000-0x000004e00000 : "data"
[ 0.840000] 0x000004e00000-0x000008000000 : "fota"
[ 0.850000] 0x000001800000-0x000003500000 : "firmware"
[ 0.990000] ag71xx_mdio: probed
[ 1.000000] zte_nand_local_read():Reading Flash for Calibraton data from 0x0 and partition name is mac
[ 1.010000] ***********************************************
[ 1.010000] AG71XX using MAC@ - using b4:1c:30:74:25:6d
[ 1.020000] ***********************************************
[ 1.030000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.610000] eth0: Atheros AR8327 switch driver attached.
[ 4.500000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[ 4.510000] *************tian.zb test err=0***********************
[ 4.520000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[ 4.530000] zte gpio_keys_polled_check_state:report code=358 state=0
[ 4.530000] zte gpio_keys_polled_check_state:report code=352 state=0
[ 4.540000] zte gpio_keys_polled_check_state:report code=238 state=0
[ 4.550000] netem: version 1.3
[ 4.550000] u32 classifier
[ 4.550000] Performance counters on
[ 4.560000] input device check on
[ 4.560000] Actions configured
[ 4.560000] TCP cubic registered
[ 4.570000] NET: Registered protocol family 17
[ 4.570000] 8021q: 802.1Q VLAN Support v1.8
[ 4.580000] ### of_selftest(): No testcase data in device tree; not running tests
[ 4.610000] VFS: Mounted root (squashfs filesystem) readonly on device 31:13.
[ 4.620000] Freeing unused kernel memory: 228k freed
init started: BusyBox v1.19.4 (2022-06-11 00:24:04 CST)
*****************ZTE rcS********************
call startup scripts here\n
[ 11.190000] ssdk_plat_init start
[ 11.200000] Register QCA PHY driver
[ 11.200000] PHY ID is 0x4dd036
[ 11.300000] qca probe f1 phy driver succeeded!
[ 11.310000] qca-ssdk module init succeeded!
[ 11.850000] NET: Registered protocol family 10
[ 12.260000] SCSI subsystem initialized
[ 12.890000] usbcore: registered new interface driver usbfs
[ 12.900000] usbcore: registered new interface driver hub
[ 12.910000] usbcore: registered new device driver usb
[ 12.920000] Button Hotplug driver version 0.4.1
[ 13.270000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[ 13.590000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[ 14.020000] PPP generic driver version 2.4.2
[ 14.270000] tun: Universal TUN/TAP device driver, 1.6
[ 14.280000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 14.300000] NET: Registered protocol family 24
[ 14.380000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 14.450000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.760000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 14.760000] ehci-platform ehci-platform.0: Generic Platform EHCI Controller
[ 14.770000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[ 14.810000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[ 14.830000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[ 14.830000] hub 1-0:1.0: USB hub found
[ 14.840000] hub 1-0:1.0: 1 port detected
[ 14.840000] ehci-platform ehci-platform.1: Generic Platform EHCI Controller
[ 14.850000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[ 14.890000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[ 14.910000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[ 14.910000] hub 2-0:1.0: USB hub found
[ 14.920000] hub 2-0:1.0: 1 port detected
[ 15.160000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 15.260000] nf_conntrack version 0.5.0 (1968 buckets, 7872 max)
[ 15.640000] ZTE Generic Netlink Module Inserted without Lock
[ 15.700000] xt_time: kernel timezone is -0000
[ 16.120000] nf_conntrack_rtsp v0.6.21 loading
[ 16.130000] nf_nat_rtsp v0.6.21 loading
[ 16.210000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 16.370000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 16.800000] AR71XX_RESET_REG_WDOG_CTRL: 0x0
[ 16.800000]
[ 16.880000] cdc_acm 1-1:1.2: This device cannot do calls on its own. It is not a modem.
[ 16.880000] cdc_acm 1-1:1.2: ttyACM0: USB ACM device
[ 16.890000] usbcore: registered new interface driver cdc_acm
[ 16.900000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 16.990000] usbcore: registered new interface driver usbserial
[ 16.990000] USB Serial support registered for generic
[ 17.000000] usbcore: registered new interface driver usbserial_generic
[ 17.000000] usbserial: USB Serial Driver core
[ 17.060000] Initializing USB Mass Storage driver...
[ 17.060000] usbcore: registered new interface driver usb-storage
[ 17.070000] USB Mass Storage support registered.
[ 17.090000] driver_info->flags 1020 idVendor 19d2 idProduct 1489
[ 17.100000] cdc_ether 1-1:1.6: ecm0: register 'cdc_ether' at usb-ehci-platform.0-1, CDC Ethernet Device, 86:b7:2d:b0:cc:67
[ 17.110000] usbcore: registered new interface driver cdc_ether
[ 17.190000] generic_rndis_bind: rx_urb_size: 0x3e80
[ 17.190000] generic_rndis_bind: data zero copy=1
[ 17.200000] driver_info->flags 3238 idVendor 19d2 idProduct 1489
[ 17.210000] rndis_host 1-1:1.0: usb0: register 'rndis_host' at usb-ehci-platform.0-1, RNDIS device, 26:d0:0c:42:88:f4
[ 17.220000] usbcore: registered new interface driver rndis_host
[ 17.280000] USB Serial support registered for GSM modem (1-port)
[ 17.290000] usbcore: registered new interface driver option
[ 17.290000] option: v0.7.2:USB Driver for GSM modems
[ 17.360000] fuse init (API version 7.18)
[ 18.150000] yaffs: dev is 32505864 name is "mtdblock8" rw
[ 18.150000] yaffs: passed flags ""
[ 18.270000] yaffs: dev is 32505871 name is "mtdblock15" rw
[ 18.270000] yaffs: passed flags ""
rm: can't remove '/etc_rw/fota/cp_failure_flag': No such file or directory
SOS: FLAG is mtdblock7
SOS: /etc_rw/fota/cfg_partiton_flag has content
[ 19.600000] yaffs: dev is 32505863 name is "mtdblock7" rw
[ 19.610000] yaffs: passed flags ""
space usage of /etc_rw/config is 28%
[ 19.740000] yaffs: dev is 32505866 name is "mtdblock10" rw
[ 19.740000] yaffs: passed flags ""
[ 19.770000] ath79_spinand_read_page ecc err status=0x2
SOS: /etc_rw/config use mtdblock7, /zte_backup use mtdblock10, now doing backup!
rm: can't remove '/zte_backup/lost+found': Directory not empty
[ 21.820000] Load cfg new driver...
[ 21.830000] cfg init, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[ 21.840000]
[ 21.840000] wifi_chip1_ssid2_acc
[ 21.850000] 776966695f63686970315f73736964325f616363
[ 21.950000]
[ 21.950000] cfg init end, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[ 21.960000] cfg init, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[ 21.980000]
[ 21.980000] TESTBITSIGNINFO=0000
[ 21.980000] 544553544249545349474e494e464f3d30303030
[ 21.990000]
[ 21.990000] cfg init end, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[ 22.000000] cfg init, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[ 22.010000] cfg driver error: /etc_rw/inic/cert open failure, file: /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c, line: 857!
[ 22.030000]
[ 22.030000]
[ 22.030000] 0000000000000000000000000000000000000000
[ 22.040000]
[ 22.040000] cfg init end, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[ 22.050000] cfg init, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[ 22.070000] cfg driver error: /etc_rw/inic/wapi open failure, file: /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c, line: 857!
[ 22.080000]
[ 22.080000]
[ 22.090000] 0000000000000000000000000000000000000000
[ 22.090000]
[ 22.090000] cfg init end, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[ 22.130000] usbcore: registered new interface driver cdc_wdm
[ 22.570000] usbcore: registered new interface driver qmi_wwan
mkdir: can't create directory '/dev/net': File exists
mknod: dev/net/tun: File exists
killall: syslogd: no process killed
*************ZTE Init Script*************
insmod: can't insert '/lib/modules/3.3.8/xt_time.ko': File exists
rmmod: can't unload 'shortcut_fe_drv': unknown symbol in module, or unknown parameter
[ 24.050000] ipt_TRIGGER: module license 'unspecified' taints kernel.
[ 24.050000] Disabling lock debugging due to kernel taint
[ 24.060000] iptables target:TRIGGER __init
[ 24.140000] usbcore: registered new interface driver cdc_ncm
enter is_fota_update_successed.
find a good block.
last find blk_num = 0
****fota_update_flag in /dev/mtd3 is ****
Unable to open pidfile /var/run/nvramd.pid: No such file or directory
reboot_schedule is disabled
Create bridge br0..........
monitor:add@/devices/virtual/net/br0
monitor:ACTION=add
monitor:DEVPATH=/devices/virtual/net/br0
monitor:SUBSYSTEM=net
monitor:DEVTYPE=bridge
monitor:INTERFACE=br0
monitor:IFINDEX=7
monitor:SEQNUM=630
monitor:event { 'add', '' }
monitor:add@/devices/virtual/net/br0/queues/tx-0
monitor:ACTION=add
monitor:DEVPATH=/devices/virtual/net/br0/queues/tx-0
monitor:SUBSYSTEM=queues
monitor:SEQNUM=631
monitor:event { 'add', '' }
/etc/init.d/rcS: /etc/init.d/zte_init.sh: line 85: telnetd: not found
[ 36.470000] ADDRCONF(NETDEV_UP): eth0: link is not ready
Dawno nie używałem seriala i mam problem z zatrzymaniem boota.
Cokolwiek bym nie wciskał system startuje dalej. Coś się zmieniło w tej kwestii?