找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2050|回复: 13

[k2t] ttl怎么跟坛友的不一样【解决了】

[复制链接]
发表于 2020-5-3 17:20 | 显示全部楼层 |阅读模式
本帖最后由 小小明哥仔 于 2020-5-3 22:08 编辑

这样算成功吗?是不是那里错了还是USB转TTL有问题???搞电~~~谢谢坛友



Xshell 6 (Build 0125)
Copyright (c) 2002 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.
[D:\~]$

Connecting to COM4...
Connected.

t

U-Boot 1.1.4-gbc73b198 (Mar 29 2018 - 15:36:58)

ap152 - Dragonfly 1.0DRAM:  
sri
ath_ddr_initial_config(278): (ddr2 init)
ath_sys_frequency: cpu 775 ddr 650 ahb 258
Tap values = (0xe, 0xe, 0xe, 0xe)
64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 202k for U-Boot at: 83fcc000
Reserving 192k for malloc() at: 83f9c000
Reserving 44 Bytes for Board Info at: 83f9bfd4
Reserving 36 Bytes for Global Data at: 83f9bfb0
Reserving 128k for boot params() at: 83f7bfb0
Stack Pointer at: 83f7bf98
Now running in RAM - U-Boot at: 83fcc000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 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 ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x4b962100
Hit any key to stop autoboot:  0
## Booting image at 9f090000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2018-06-08   3:53:19 UTC
   Image Type:   MIPS Linux Multi-File Image (lzma compressed)
   Data Size:    1046996 Bytes = 1022.5 kB
   Load Address: 80060000
   Entry Point:  80060000
   Contents:
   Image 0:  1046988 Bytes = 1022.4 kB
   Verifying Checksum at 0x9f090040 ...OK
   Uncompressing Multi-File Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

[    0.000000] Linux version 3.3.8 (szsw_jenkins@server-ubuntu) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Jun 8 11:53:07 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
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=AP152 console=ttyS0,115200 mtdparts=spi0.0:192k(u-boot)ro,64k(config),320k(permanent),1152k(kernel),14592k(rootfs),64k(art),15744k@0x90000(firmware) rootfstype=squashfs,jffs2 noinitrd crashkernel=10M@20M oops=panic
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 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: 61448k/65536k available (2227k kernel code, 4088k reserved, 544k data, 180k 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 0x83a00000- 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.310000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.320000] pci_bus 0000:00: root bus resource [io  0x0001]
[    0.320000] 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.330000] Switching to clocksource MIPS
[    0.340000] NET: Registered protocol family 2
[    0.340000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.340000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.350000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.350000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.360000] TCP reno registered
[    0.360000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.370000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.370000] NET: Registered protocol family 1
[    0.390000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.390000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.400000] msgmni has been set to 120
[    0.410000] io scheduler noop registered
[    0.410000] io scheduler deadline registered (default)
[    0.420000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.440000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.450000] console [ttyS0] enabled, bootconsole disabled
[    0.450000] console [ttyS0] enabled, bootconsole disabled
[    0.460000] m25p80 spi0.0: found gd25q128, expected m25p80
[    0.470000] m25p80 spi0.0: gd25q128 (16384 Kbytes)
[    0.470000] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.480000] Creating 7 MTD partitions on "spi0.0":
[    0.490000] 0x000000000000-0x000000030000 : "u-boot"
[    0.490000] 0x000000030000-0x000000040000 : "config"
[    0.500000] 0x000000040000-0x000000090000 : "permanent"
[    0.500000] 0x000000090000-0x0000001b0000 : "kernel"
[    0.510000] 0x0000001b0000-0x000000ff0000 : "rootfs"
[    0.520000] mtd: partition "rootfs" set to be root filesystem
[    0.520000] mtd: partition "rootfs_data" created automatically, ofs=940000, len=200000
[    0.530000] 0x000000940000-0x000000b40000 : "rootfs_data"
[    0.540000] 0x000000ff0000-0x000001000000 : "art"
[    0.540000] 0x000000090000-0x000000ff0000 : "firmware"
[    0.550000] m25p80 spi0.1: found pm25lv512, expected m25p80
[    0.560000] m25p80 spi0.1: pm25lv512 (64 Kbytes)
[    0.700000] ag71xx_mdio: probed
[    0.700000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.280000] eth0: Atheros AR8327 switch driver attached.
[    4.210000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    4.220000] init_module:price_compare!
[    4.230000] creat nlsock ok!
[    4.230000] TCP cubic registered
[    4.230000] NET: Registered protocol family 17
[    4.240000] Bridge firewalling registered
[    4.240000] 8021q: 802.1Q VLAN Support v1.8
[    4.250000] ### of_selftest(): No testcase data in device tree; not running tests
[    4.260000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    4.270000] Freeing unused kernel memory: 180k freed
- preinit -
- fac_mode=N -
- regular preinit -
[    6.820000] JFFS2 notice: (447) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 25 of xref (0 dead, 0 orphan) found.
switching to jffs2
[    7.230000] eth0: link up (1000Mbps/Full duplex)
- init -

Please press Enter to activate this console. [   16.080000] netlink_kernel_create netlink socket ok. 30
[   16.190000] Button Hotplug driver version 0.4.1
[   16.260000] PPP generic driver version 2.4.2
[   16.290000] NET: Registered protocol family 24
[   16.320000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.500000] nf_conntrack version 0.5.0 (962 buckets, 3848 max)
[   16.730000] xt_time: kernel timezone is +0800
[   17.070000] nf_conntrack_rtsp v0.6.21 loading
[   17.080000] nf_nat_rtsp v0.6.21 loading
[   21.480000] mem_manager: module license 'unspecified' taints kernel.
[   21.490000] Disabling lock debugging due to kernel taint
[   21.690000] ath_dfs: Version 2.0.0
[   21.690000] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
[   22.670000] ath_hal: 0.9.17.1 (AR9380, REGOPS_FUNC, PRIVATE_DIAG, WRITE_EEPROM, 11D)
[   22.690000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
[   22.710000] ath_tx99: Version 2.0
[   22.710000] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
[   22.890000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
[   22.920000]  JET_PRINT: init_ath_wmac[240]: Checking devid: 3f
[   22.920000] __ath_attach: Set global_scn[0]
[   22.930000] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead ***
[   22.940000] ACBKMinfree = 48
[   22.940000] ACBEMinfree = 32
[   22.940000] ACVIMinfree = 16
[   22.950000] ACVOMinfree = 0
[   22.950000] CABMinfree = 48
[   22.950000] UAPSDMinfree = 0
[   22.960000] ATH_TXBUF=1500
[   22.970000] Enterprise mode: 0x03bda000
[   22.970000] Restoring Cal data from FS
[   22.980000] qdf_fs_read[59], Open File /tmp/wifi0.caldata SUCCESS!!file system magic:16914836super blocksize:4096inode 194file size:12064qdf_fs_read[79]: caldata data size mismatch, fsize=12064, cal_size=1088
[   23.000000] ART Version : -48.0.0
[   23.000000] SW Image Version : -48.0.0.0.0
[   23.000000] Board Revision :  
[   23.010000] ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125
[   23.010000] Green-AP : Green-AP : Attached
[   23.010000]
[   23.020000] Starting random number generator thread
[   23.030000] ath_get_caps[6187] rx chainmask mismatch actual 3 sc_chainmak 0
[   23.040000] ath_get_caps[6162] tx chainmask mismatch actual 3 sc_chainmak 0
[   23.050000] ath_attach_dfs[12583] dfsdomain 1
[   23.060000] dfs_attach: event log enabled by default
[   23.070000] ath_attach: Set global_ic[1]..gloabl_ic ptr:82526850
[   23.080000] phicomm_wifi_netlink: create netlink socket ok.
[   23.090000] ath_tx_paprd_init sc 82e48000 PAPRD disabled in HAL
[   23.090000] wifi0: Atheros 956X: mem_start: =0xb8100000, mem_end: =0xb8120000, irq=47
[   23.100000] ath_da_pci:  (Atheros/multi-bss)
[   23.580000] ath_ol_pci:  (Atheros/multi-bss)
[   23.590000] hif_pci_enable_bus: con_mode = 0x0, device_id = 0x56
[   23.590000] ath_ol_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[   23.600000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   23.610000] hif_pci_enable_bus: hif_enable_pci done *********** QCA9888 *************hif_pci_enable_bus: hif_type = 0xe, target_type = 0xchif_pci_enable_bus: hif_pci_probe_tgt_wakeup donehif_target_sync: Loop checking FW signalhif_target_sync: Got FW signal, retries = 0hif_config_ce: ce_init donehif_config_ce: X, ret = 0hif_set_hia: Ehif_set_hia_extnd: E
[   23.650000] chip_id 0xc chip_revision 0x0
[   23.650000]
[   23.650000]  CLOCK PLL skipped
[   23.660000] hif_set_hia_extnd: setting the target pll frac ffffffff intval ffffffff
[   23.670000] hif_set_hia_extnd: no frac provided, skipping pre-configuring PLL
[   23.680000] hif_pci_bus_configure: hif_set_hia donehif_configure_irq: Ehif_pci_configure_legacy_irq: Ehif_pci_configure_legacy_irq: X, ret = 0hif_enable: X OKhif_napi_create: NAPI structures initializedhif_napi_create: NAPI id 6 created for pipe 5qca_napi_create: napi instance 32 created on pipe 4
[   23.700000] hif_napi_event: received evnt: CONF cmd; v = 1 (state=0x1)hif_napi_event: setting configuration to ON
[   23.720000] __ol_ath_attach() Allocated scn 82740380
[   23.720000] __ol_ath_attach: dev name wifi1
[   23.730000] ol_ath_attach interface_id 1
[   23.730000] ol_target_init() BMI inited.
[   23.740000] ol_target_init() BMI Get Target Info.
[   23.740000] Chip id: 0xc, chip version: 0x1000000
[   23.740000]
[   23.740000]  CE WAR Disabled
[   23.750000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[   23.760000] ol_target_init() configure Target .
[   23.760000]
[   23.760000]  Target Version is 1000000
[   23.770000]
[   23.770000]  Flash Download Address  c0000
[   23.770000] ol_transfer_bin_file: flash data file defined
[   23.780000] ol_transfer_bin_file[3797] Get Caldata for wifi1.
[   23.790000] qdf_fs_read[59], Open File /tmp/wifi1.caldata SUCCESS!!file system magic:16914836super blocksize:4096inode 195file size:12064qc98xx_verify_checksum: flash checksum passed: 0x161d
[   23.800000] ol_transfer_bin_file 3858: Download Flash data len 12064
[   23.810000] Board extended Data download address: 0x0
[   23.840000]
[   23.840000]  Board data initialized
[   23.840000] ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000
[   23.850000]
[   23.850000]  Selecting  OTP binary for CHIP Version 0
[   23.880000] ol_transfer_bin_file 3678: downloading file 0, Download data len 9116
[   23.920000]
[   23.920000]  First OTP send param 8000
[   24.170000] ol_ath_download_firmware :First OTP download and Execute is good address:0x5000 return param 4660
[   24.180000] ol_ath_download_firmware:##Board Id 20 , CHIP Id 0
[   24.190000] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000
[   24.190000] Warning : No board id matched. Selecting default boarddata file
[   24.200000]
[   24.200000]  wifi1: Selecting board data file name boarddata_0.bin
[   24.210000] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9888/hw.2/boarddata_0.bin
[   24.230000] ol_transfer_bin_file 3678: downloading file 3, Download data len 12064
[   24.240000] Board extended Data download address: 0x0
[   24.270000] ol_ath_download_firmware: Using 0x1234 for the remainder of init
[   24.270000]
[   24.270000]  Selecting  OTP binary for CHIP Version 0
[   24.290000] ol_transfer_bin_file 3678: downloading file 0, Download data len 9116
[   24.330000]
[   24.330000]  [Flash] : Ignore Module param
[   24.340000]
[   24.340000]  Second otp download Param 10000
[   24.600000] ol_ath_download_firmware : Second OTP download and Execute is good, param=0x0
[   24.610000]
[   24.610000]  Mission mode: Firmware CHIP Version 0
[   24.790000] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=262144
[   24.810000] ol_swap_wlan_memory_expansion: length:261907 size_left:261927 dma_size_left:262144 fw_temp:c07b5004 fw_entry_size:261931
[   24.830000] ol_swap_wlan_memory_expansion: dma_virt_addr :a2600000 fw_temp: c07b5008 length: 261907
[   24.840000] Swap: bytes_left to copy: fw:16; dma_page:237
[   24.840000] ol_swap_wlan_memory_expansion: length:0 size_left:12 dma_size_left:237 fw_temp:c07f4f1f fw_entry_size:261931
[   24.860000] Swap: wrong length read:0
[   24.860000] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 261907 Target address 41b0c8
[   24.870000] scn=82740380  target_write_addr=41b0c8 seg_info=826c7210
[   24.880000] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2
[   24.890000] bin_filename=QCA9888/hw.2/athwlan.bin swap_filename=/lib/firmware/QCA9888/hw.2/athwlan.codeswap.bin
[   24.900000] ol_transfer_bin_file: Downloading firmware file: QCA9888/hw.2/athwlan.bin
[   25.300000] ol_transfer_bin_file 3678: downloading file 1, Download data len 388448
[   26.790000] ol_target_init() Download FW done.
[   26.790000] ol_ath_attach() WMI attached. wmi_handle 83884000
[   26.800000] wmi_unified_register_event_handler: Event id 62 is unavailable
[   26.810000] +htc_create ..  HIF :826b8000-htc_create: (0x83953000)
[   26.810000] htc_wmi_init() HT Create . 83953000
[   26.820000] htc_wmi_init 7787 host_enable 0 nss_nwifi_offload 0
[   26.820000] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
[   26.830000]  OL_ACBKMinfree : 0
[   26.840000]  OL_ACBEMinfree : 0
[   26.840000]  OL_ACVIMinfree : 0
[   26.840000]  OL_ACVOMinfree : 0
[   26.850000] hif_enable_fastpath, Enabling fastpath mode
[   26.850000] +HWT
[   26.850000] hif_completion_thread_startup: pipe_num:0 pipe_info:0x826bb06chif_completion_thread_startup: pipe_num:3 pipe_info:0x826bb12chif_completion_thread_startup: pipe_num:4 pipe_info:0x826bb16c
[   26.870000] -HWT
[   26.880000] Startup Mode-0 set
[   26.880000]
[   26.880000] <=== cfg max peer id 288 ====>
[   26.890000] htt_peer_map_timer_init Enter pdev 81dbd000 hrtimer 81dbd9e0
[   26.890000]
[   26.890000]  htt_alloc_peer_map_mem : Alloc Success : host q vaddr 82ce6400 paddr 2ce6400
[   26.900000]
[   26.900000]  htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts
[   26.910000] ol_txrx_pdev_attach: 2500 tx desc's allocated ; range starts from 81840000
[   26.930000] Firmware_Build_Number:50
[   26.930000] FW wireless modes: 0x1f9001
[   26.940000] num_rf_chain:0x00000002  ht_cap_info:0x0000085b  vht_cap_info:0x339979b2  vht_supp_mcs:0x0000fffa
[   26.950000] wmi_service_coex_gpio 0, wmi_service_4_wire_coex_support 0, coex_version 0
[   26.960000]
[   26.960000] Sending Ext resource cfg: HOST PLATFORM as 1
[   26.960000] fw_feature_bitmap as 50 to TGT
[   26.970000] ol_ath_service_ready_event: tt_support: 1
[   26.970000] ol_ath_service_ready_event: periodic_chan_stats: 1
[   26.980000] ol_ath_service_ready_event: sw_cal_support_check_flag: 1
[   26.980000] Peer Caching Enabled ; num_peers = 38, num_active_peers = 25 num_tids = 50, num_vdevs = 5
[   26.990000] EXT NSS Supported
[   27.000000] idx 1 req 2  num_units 1 num_unit_info 12 unit size 256 actual units 26
[   27.010000] ol_ath_alloc_host_mem_chunk req_id 2 idx 0 num_units 26 unit_len 256,
[   27.010000] idx 2 req 3  num_units 1 num_unit_info 12 unit size 1024 actual units 26
[   27.020000] ol_ath_alloc_host_mem_chunk req_id 3 idx 1 num_units 26 unit_len 1024,
[   27.030000] idx 3 req 4  num_units 1 num_unit_info 12 unit size 4096 actual units 26
[   27.040000] ol_ath_alloc_host_mem_chunk req_id 4 idx 2 num_units 26 unit_len 4096,
[   27.050000] idx 0 req 1  num_units 0 num_unit_info 2 unit size 896 actual units 39
[   27.050000] ol_ath_alloc_host_mem_chunk req_id 1 idx 3 num_units 39 unit_len 896,
[   27.060000] idx 4 req 5  num_units 0 num_unit_info 2 unit size 2068 actual units 39
[   27.070000] ol_ath_alloc_host_mem_chunk req_id 5 idx 4 num_units 39 unit_len 2068,
[   27.080000] Support not added yet for Service 91
[   27.080000] Support not added yet for Service 92
[   27.090000] No EXT_MSG send INIT now
[   27.090000] chunk 0 len 6656 requested , ptr  0x2698000
[   27.100000] chunk 1 len 26624 requested , ptr  0x1830000
[   27.100000] chunk 2 len 106496 requested , ptr  0x18a0000
[   27.110000] chunk 3 len 34944 requested , ptr  0x18c0000
[   27.110000] chunk 4 len 80652 requested , ptr  0x18e0000
[   27.120000] chunk 5 len 0 requested , ptr  0xffffffff
[   27.120000] ol_ath_service_ready_event[4256] WAPI MBSSID 2
[   27.130000] smart_log_init: Smart logging Enabled buf=818d0000 (size=65536)
[   27.150000] Version = 16777216 3  status = 0
[   27.150000] ol_ath_connect_htc() WMI is ready
[   27.160000] htt_h2t_frag_desc_bank_cfg_msg - HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG sent to FW for radio ID = 1
[   27.170000] target uses HTT version 2.2; host uses 2.2
[   27.180000] ol_ath_attach() connect HTC.
[   27.180000] bypasswmi : 0
[   27.180000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
[   27.200000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
[   27.200000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
[   27.210000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
[   27.220000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
[   27.220000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
[   27.230000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
[   27.240000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
[   27.250000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
[   27.250000] Add VHT80 channel: 5210
[   27.260000] Add VHT80 channel: 5290
[   27.260000] Add VHT80 channel: 5530
[   27.270000] Add VHT80 channel: 5610
[   27.270000] Add VHT80 channel: 5690
[   27.270000] Add VHT80 channel: 5775
[   27.280000] Skipping VHT80 channel 5825
[   27.280000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x200000) flags 0x4000100
[   27.290000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x400000) flags 0x8000100
[   27.300000] freq=58
[   27.300000] freq=106
[   27.300000] freq=122
[   27.300000] freq=138
[   27.310000] OL Resmgr Init-ed
[   27.310000] Green-AP : Green-AP : Attached
[   27.310000]
[   27.320000] Green-AP : Attached
[   27.320000] rate power table override is only supported for AR98XX
[   27.330000] ol_if_dfs_attach: called; ptr=8192197c, radar_info=82e2db40
[   27.330000] dfs_attach: event log enabled by default
[   27.340000] >>>> CB Set   (null)
[   27.340000] ol_ath_attach() UMAC attach .
[   27.350000]
[   27.350000]  BURSTING enabled by default
[   27.350000] ol_ath_attach: Set global_ic[2] ..ptr:82526850
[   27.360000] phicomm_wifi_netlink: create netlink socket ok.
[   27.370000] __ol_ath_attach: needed_headroom reservation 60
[   27.370000] ol_ath_thermal_mitigation_attach: --
[   27.380000] ol_ath_pci_probe num_radios=0, wifi_radios[0].sc = 82740380 wifi_radio_type = 2
[   27.380000] ath_sysfs_diag_init: diag_fsattr
[   27.800000] JFFS2 notice: (670) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   27.830000] [wifi1] FWLOG: [31994] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x94c, 0x94c, 0x0 )
[   27.840000] [wifi1] FWLOG: [31994] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x94c, 0x94c, 0x0 )
[   27.840000] [wifi1] FWLOG: [31994] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x94c, 0x94c, 0x0 )
[   27.850000] [wifi1] FWLOG: [31994] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x94c, 0x94c, 0x0 )
[   27.860000] [wifi1] FWLOG: [31994] WAL_DBGID_TX_AC_BUFFER_SET ( 0x100, 0x11e1a300 )
[   27.870000] [wifi1] FWLOG: [32149] WAL_DBGID_PDEV_INFO_PRINT ( 0x3a, 0xa10, 0x160, 0x10, 0x0 )
[   27.880000] [wifi1] FWLOG: [32149] WAL_DBGID_PDEV_INFO_PRINT ( 0x3a, 0x10, 0x0, 0x10, 0x12 )
qcawifi disable radio wifi0
qcawifi disable radio wifi1
netifd_ubus_init(1262): connected as fc89b42e
proto_shell_add_handler(851): Add handler for script ./dhcp.sh: dhcp
proto_shell_add_handler(851): Add handler for script ./ppp.sh: ppp
proto_shell_add_handler(851): Add handler for script ./ppp.sh: pppoe
config_init_wireless(362): device wifi0 not found!
config_init_[   31.140000] device eth0.1 entered promiscuous mode
wireless(362): d[   31.150000] device eth0 entered promiscuous mode
evice wifi0 not found!
config_init_wireless(362): device wifi0 not found!
config_init_wireless(362): device wifi1 not found!
config_init_wireless(362): device wifi1 not found!
config_init_wireless(362): device wifi1 not found!
config_init_wireless(362): device wifi0 not found!
[   32.490000] br-lan: port 1(eth0.1) entered forwarding state
[   32.500000] br-lan: port 1(eth0.1) entered forwarding state
[   32.510000] eth0: link up (1000Mbps/Full duplex)
[   34.500000] br-lan: port 1(eth0.1) entered forwarding state
qcawifi disable radio wifi0
qcawifi disable radio wifi1
qcawifi disable radio wifi0
qcawifi disable radio wifi1
qcawifi: enable radio wifi0
[   37.250000] ath_net80211_dfs_clist_update: called, cmd=1, nollist=  (null), nentries=0
[   37.260000] ath_attach_dfs[12583] dfsdomain 1
[   37.270000] dfs_attach: event log enabled by default
[   37.320000]         DCS for CW interference mitigation:   0
[   37.320000]         DCS for WLAN interference mitigation: 0
[   37.390000]  Disconnect_timeout value entered:10
[   37.400000]  reconfiguration_timeout value entered:60
[   37.560000] wlan_vap_create : enter. devhandle=0x82cf0380, opmode=IEEE80211_M_HOSTAP, flags=0x1
[   37.570000] ieee80211_mbo_vattach:MBO Initialized
[   37.570000] ieee80211_oce_vattach: OCE Initialized
[   37.580000] wlan_vap_create : exit. devhandle=0x82cf0380, vap=0x82e78000, opmode=IEEE80211_M_HOSTAP, flags=0x1.
[   37.590000] VAP device ath00 created osifp: (81af6380) os_if: (82e78000)
[   37.620000] siwfreq
[   37.630000] Set freq vap 0 stop send + 82e78000
[   37.630000] Set freq vap 0 stop send -82e78000
[   37.660000] Set wait done --82e78000
[   37.760000] [DEBUG] vap-0(ath00):set SIOC80211NWID, 11 characters
[   37.770000]  
[   37.770000]  DES SSID SET=@PHICOMM_96
[   38.120000]  ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
[   38.130000]  DEVICE IS DOWN ifname=ath00
[   38.140000]  DEVICE IS DOWN ifname=ath00
[   38.210000] 8021q: adding VLAN 0 to HW filter on device ath00
[   38.250000] device ath00 entered promiscuous mode
[   38.260000] br-lan: port 2(ath00) entered forwarding state
[   38.260000] br-lan: port 2(ath00) entered forwarding state
qcawifi: enable radio wifi1
[   38.410000] [ol_ath_iw_setcountry][1832] *p=43, *(p+1)=4e
[   38.410000] isCountryCodeValid: EEPROM regdomain 0x0
[   38.420000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
[   38.430000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
[   38.430000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
[   38.440000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
[   38.450000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
[   38.460000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
[   38.460000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
[   38.470000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
[   38.480000] Add VHT80 channel: 5210
[   38.480000] Add VHT80 channel: 5290
[   38.490000] Add VHT80 channel: 5775
[   38.490000] Skipping VHT80 channel 5825
[   38.490000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x200000) flags 0x4000100
[   38.500000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x400000) flags 0x8000100
[   38.510000] freq=58
[   38.590000] set TXBF_SND_PERIOD: value 100 wmi_status 0
[   38.610000]  Disconnect_timeout value entered:10
[   38.620000]  reconfiguration_timeout value entered:60
[   38.690000] wlan_vap_create : enter. devhandle=0x82740380, opmode=IEEE80211_M_HOSTAP, flags=0x1
[   38.700000] send_vdev_create_cmd_non_tlv: ID = 0 Type = 1, Subtype = 0 VAP Addr = 98:bb:99:0a:6e:98:
[   38.710000] ieee80211_mbo_vattach:MBO Initialized
[   38.710000] ieee80211_oce_vattach: OCE Initialized
[   38.720000] wlan_vap_create : exit. devhandle=0x82740380, vap=0x82e08000, opmode=IEEE80211_M_HOSTAP, flags=0x1.
[   38.730000] Enabling TX checksum bit for the vap ath10 features 4000
[   38.730000] Enabling SG bit for the vap ath10 features 4000
[   38.740000] Enabling SG bit for the vap ath10 features 4000
[   38.750000] Enabling TSO bit for the vap ath10 features 4000
[   38.750000] Enabling LRO bit for the vap ath10 features 4000
[   38.760000] VAP device ath10 created osifp: (81af7380) os_if: (82e08000)
[   38.790000] siwfreq
[   38.800000] Set freq vap 0 stop send + 82e08000
[   38.800000] Set freq vap 0 stop send -82e08000
[   38.830000] [wifi1] FWLOG: [43630] WAL_DBGID_PDEV_INFO_PRINT ( 0x57, 0x199, 0x1180, 0x10, 0x0 )
[   38.840000] [wifi1] FWLOG: [43630] WAL_DBGID_PDEV_INFO_PRINT ( 0x57, 0x10, 0x0, 0x10, 0x0 )
[   38.850000] [wifi1] FWLOG: [43702] WAL_DBGID_DEV_RESET ( 0xc01d, 0x474 )
[   38.850000] Set wait done --82e08000
[   38.920000] ME Pool succesfully initialized vaddr - 81b26000 paddr - 0
[   38.920000] num_elems = 100 buf_size - 64 pool_size = 7200
[   38.930000] Enable MCAST_TO_UCAST
[   38.980000] [DEBUG] vap-0(ath10):set SIOC80211NWID, 14 characters
[   38.980000]  
[   38.980000]  DES SSID SET=@PHICOMM_96_5G
[   39.290000]  ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1
[   39.300000]  DEVICE IS DOWN ifname=ath10
[   39.310000]  DEVICE IS DOWN ifname=ath10
[   39.340000] Sending SCAN START cmd
[   39.340000] 8021q: adding VLAN 0 to HW filter on device ath10
[   39.370000] device ath10 entered promiscuous mode
[   39.380000] br-lan: port 3(ath10) entered forwarding state
[   39.380000] br-lan: port 3(ath10) entered forwarding state
[   39.840000] [wifi1] FWLOG: [44069] vap-0 WMI_CMD_PARAMS ( 0xff, 0x40, 0x1 )
[   39.850000] [wifi1] FWLOG: [44486] WAL channel change freq=5180, mode=0 flags=0 rx_ok=1 tx_ok=1
[   39.860000] [wifi1] FWLOG: [44800] WAL channel change freq=5200, mode=0 flags=0 rx_ok=1 tx_ok=1
[   40.260000] br-lan: port 2(ath00) entered forwarding state
[   40.830000] [wifi1] FWLOG: [45115] WAL channel change freq=5220, mode=0 flags=0 rx_ok=1 tx_ok=1
[   40.840000] [wifi1] FWLOG: [45429] WAL channel change freq=5240, mode=0 flags=0 rx_ok=1 tx_ok=1
[   40.850000] [wifi1] FWLOG: [45743] WAL channel change freq=5745, mode=0 flags=0 rx_ok=1 tx_ok=1
[   41.130000] Input domain:* ip:192.168.2.1 .
[   41.130000] hijack all domain name .
[   41.380000] br-lan: port 3(ath10) entered forwarding state
[   41.830000] [wifi1] FWLOG: [46051] WAL channel change freq=5765, mode=0 flags=0 rx_ok=1 tx_ok=1
[   41.840000] [wifi1] FWLOG: [46365] WAL channel change freq=5785, mode=0 flags=0 rx_ok=1 tx_ok=1
[   41.850000] [wifi1] FWLOG: [46679] WAL channel change freq=5805, mode=0 flags=0 rx_ok=1 tx_ok=1
[   41.860000] [wifi1] FWLOG: [46994] WAL channel change freq=5825, mode=0 flags=0 rx_ok=1 tx_ok=1
[   42.100000] send_vdev_down_cmd_non_tlv for vap 0
[   42.110000] OL vap_start +
[   42.110000] VDEV START
[   42.110000] OL vap_start -
[   42.110000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3
[   42.300000] ol_vdev_start_resp_ev for vap 0 (83884000)
[   42.300000] send_wmm_update_cmd_non_tlv:
[   42.310000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1
[   42.310000] send_vdev_up_cmd_non_tlv for vap 0
[   42.830000] [wifi1] FWLOG: [47312] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   42.840000] [wifi1] FWLOG: [47312] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   42.840000] [wifi1] FWLOG: [47317] vap-0 VDEV_MGR_VDEV_START ( 0x143c, 0x2, 0x0, 0x0 )
[   42.850000] [wifi1] FWLOG: [47318] WAL channel change freq=5180, mode=10 flags=0 rx_ok=1 tx_ok=1
[   42.860000] [wifi1] FWLOG: [47506] VDEV_MGR_VDEV_START_RESP ( 0x0 )
[   42.870000] [wifi1] FWLOG: [47529] VDEV_MGR_HP_START_TIME ( 0x0, 0x143c, 0xe8d000 )
[   42.880000] [wifi1] FWLOG: [47529] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
[   42.880000] [wifi1] FWLOG: [47529] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[   42.890000] [wifi1] FWLOG: [47529] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x143c, 0x0, 0x0 )
[   46.320000] fast-classifier: starting up
[   46.320000] fast-classifier: registered
[   50.590000] phicomm id:4(pid:1798) connect ok!



发表于 2020-5-3 17:24 | 显示全部楼层
什么东西?

点评

k2t搞个ttl连上就这样,想刷机,这样不知道 算不算连接成功,跟其他人好像不太一样  详情 回复 发表于 2020-5-3 17:30
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-3 17:30 | 显示全部楼层

k2t搞个ttl连上就这样,想刷机,这样不知道 算不算连接成功,跟其他人好像不太一样
回复 支持 反对

使用道具 举报

发表于 2020-5-3 18:02 | 显示全部楼层
本帖最后由 jjit 于 2020-5-3 18:04 编辑

教程:https://cyhour.com/745/
或者这个:https://www.right.com.cn/forum/thread-919848-1-1.html
出现启动信息,按几下回车键,中断自动启动
看到 ath> 字样表示中断自动启动成功

点评

是的,我也按了,就是停不了  详情 回复 发表于 2020-5-3 20:53
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-3 20:53 | 显示全部楼层
本帖最后由 小小明哥仔 于 2020-5-3 21:07 编辑

是的,我也按了,就是停不了,我的是win10,用的是340的usb转ttl
回复 支持 反对

使用道具 举报

发表于 2020-5-3 21:04 | 显示全部楼层
比你强点,我的停下来无法再输入命令行。乱码

点评

按什么都停不下来  详情 回复 发表于 2020-5-3 21:08
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-3 21:08 | 显示全部楼层
hnlk 发表于 2020-5-3 21:04
比你强点,我的停下来无法再输入命令行。乱码

按什么都停不下来
回复 支持 反对

使用道具 举报

发表于 2020-5-3 21:37 | 显示全部楼层
我的可以停下来,无法 继续下一步代码输入,一输入就是乱码。一会换台电脑试试

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

已经成功刷入breed  详情 回复 发表于 2020-5-4 00:10
回复 支持 反对

使用道具 举报

发表于 2020-5-3 21:41 | 显示全部楼层
看到这堆比较头疼
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-4 00:10 | 显示全部楼层
hnlk 发表于 2020-5-3 21:37
我的可以停下来,无法 继续下一步代码输入,一输入就是乱码。一会换台电脑试试

已经成功刷入breed

点评

过程分享一下  详情 回复 发表于 2020-5-4 01:26
回复 支持 反对

使用道具 举报

发表于 2020-5-4 01:26 | 显示全部楼层
本帖最后由 hnlk 于 2020-5-4 01:28 编辑

你用的什么芯片?过程分享一下

点评

跟教程走一遍,中断自启试下一下午不行,晚上不死心再试一试,先按住回车键再通电,果然行了,用的ch340芯,我主要卡在停不住自启,停住了后面的就没什么事了  详情 回复 发表于 2020-5-4 01:37
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-4 01:37 | 显示全部楼层
本帖最后由 小小明哥仔 于 2020-5-4 01:38 编辑
hnlk 发表于 2020-5-4 01:26
你用的什么芯片?过程分享一下

跟教程走一遍,中断自启试下一下午不行,晚上不死心再试一试,先按住回车键再通电,果然行了,用的ch340芯,串口117200.我主要卡在停不住自启,停住了后面的就没什么事了

点评

我还有最后一遍!  详情 回复 发表于 2020-5-4 02:04
回复 支持 反对

使用道具 举报

发表于 2020-5-4 02:04 | 显示全部楼层
小小明哥仔 发表于 2020-5-4 01:37
跟教程走一遍,中断自启试下一下午不行,晚上不死心再试一试,先按住回车键再通电,果然行了,用的ch340 ...

我还有最后一遍!
回复 支持 反对

使用道具 举报

发表于 2020-5-4 02:28 | 显示全部楼层
Connecting to COM4...
Connected.

t

U-Boot 1.1.4-gbc73b198 (Mar 29 2018 - 15:36:58)

ap152 - Dragonfly 1.0DRAM:  
sri
ath_ddr_initial_config(278): (ddr2 init)
ath_sys_frequency: cpu 775 ddr 650 ahb 258
Tap values = (0xf, 0xf, 0xf, 0xf)
64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 202k for U-Boot at: 83fcc000
Reserving 192k for malloc() at: 83f9c000
Reserving 44 Bytes for Board Info at: 83f9bfd4
Reserving 36 Bytes for Global Data at: 83f9bfb0
Reserving 128k for boot params() at: 83f7bfb0
Stack Pointer at: 83f7bf98
Now running in RAM - U-Boot at: 83fcc000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 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 ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x4b962100
Hit any key to stop autoboot:  0
## Booting image at 9f090000 ...
Bad Magic Number
ath> tftp 0x81000000 k2t_v10d_tftp.bin
Trying eth0
dup 1 speed 1000
Using eth0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.1
Filename 'k2t_v10d_tftp.bin'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###################################################
done
Bytes transferred = 8912900 (880004 hex)
ath> erase 0x9f090000 +0x880004
.........................................................................................................................................
ath> cp.b 0x81000000 0x9f090000 0x880004
Copy to Flash... done
ath> reboot
Unknown command 'reboot' - try 'help'
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-2 01:28

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表