Elektroda.pl
Elektroda.pl
X
Relpol
Proszę, dodaj wyjątek www.elektroda.pl do Adblock.
Dzięki temu, że oglądasz reklamy, wspierasz portal i użytkowników.

Archer D7 - Problem z UART - Brak reakcji na Rx w RS232-TTL

MrCiek4wski 16 Maj 2018 18:19 279 2
  • #1 16 Maj 2018 18:19
    MrCiek4wski
    Poziom 3  

    Witam wszystkich forumowiczów!
    Nie jestem profesorem z wydziału elektroniki na Politechnice. Dla Was czynności oczywiste mogą być dla mnie co najmniej niezrozumiałe, więc prosiłbym o dokładne omówienie kroków, które będą musiały zostać podjęte oraz o wyrozumiałość. :-)

    Jak w temacie, na RS232-TTL mam problemy z wysyłaniem danych do routera. Poniżej są moje obserwacje i przypuszczenia.

    Router:
    Archer D7 - Problem z UART - Brak reakcji na Rx w RS232-TTL

    Na płytce są 2 UART'y: od Soc'a (przylutowane goldpiny), który jest uszkodzony(?) i modemu.

    UART SoC (Tył):
    Archer D7 - Problem z UART - Brak reakcji na Rx w RS232-TTL

    Napięcia:
    VCC - 3.29V
    Tx - 2.55V
    Rx - 0V

    Rezystancja:
    GND - VCC 227Ω
    GND - Rx 566Ω
    GND - Tx 9.9 kΩ

    UART modem (Przód):
    Archer D7 - Problem z UART - Brak reakcji na Rx w RS232-TTL

    Napięcia:
    VCC - 3.28V
    Tx - 3.28-3.29V
    Rx - 3.27V

    Rezystancja:
    GND - VCC 227Ω
    Tx i Rx zachowują się bardzo dziwnie. Strasznie skacze, czasami w ogóle nie ma połączenia. Zauważyłem, że są ściągnięte do ziemi przez kondensatory C703 i C704 (?).

    Logi:

    Code:
    U-Boot 1.1.4 (Jan 22 2014 - 11:54:05)
    

    ap135 - Scorpion 1.0
    DRAM:  128 MB
    Flash Manuf Id 0x1, DeviceId0 0x20, DeviceId1 0x18
    S25FL128P recongnized...
    flash size 16MB, sector count = 256
    Flash: 16 MB
    Using default environment

    In:    serial
    Out:   serial
    Err:   serial
    Net:   ath_gmac_enet_initialize...




    athrs_sgmii_res_cal: cal value = 0xe
    ath_gmac_enet_initialize: reset mask:c02200
    Scorpion  ----> S17 PHY *
    athrs17_reg_init: complete
    : cfg1 0x80000000 cfg2 0x7114
    eth0: XX:XX:XX:XX:XX:XX
    eth0 up
    athrs17_reg_init_wan done
    SGMII in forced mode
    athr_gmac_sgmii_setup SGMII done
    : cfg1 0x800c0000 cfg2 0x7214
    eth1: XX:XX:XX:XX:XX:XX
    eth1 up
    eth0, eth1
    Setting 0x18116290 to 0x4081214f
    Hit any key to stop autoboot:  0
    ## Booting image at 80800000 ...
            Uncompressing Kernel Image ... OK

    Starting kernel ...

    Booting QCA955x
    Linux version 2.6.31--LSDK-9.5.2.18 (swd@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #14 Tue Dec 2 09:25:44 CST 2014
    flash_size passed from bootloader = 16
    arg 1: console=ttyS0,115200
    arg 2: root=31:02
    arg 3: rootfstype=squashfs
    arg 4: init=/sbin/init
    arg 5: mtdparts=ath-nor0:128k(u-boot),1152k(kernel),14848k(rootfs),64k(config),64k(romfs),64k(reserve),64k(radio)
    arg 6: mem=128M
    CPU revision is: 00019750 (MIPS 74Kc)
    cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 200
    Determined physical RAM map:
     memory: 02000000 @ 00000000 (usable)
    User-defined physical RAM map:
     memory: 08000000 @ 00000000 (usable)
    Zone PFN ranges:
      Normal   0x00000000 -> 0x00008000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00008000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:128k(u-boot),1152k(kernel),14848k(rootfs),64k(config),64k(romfs),64k(reserve),64k(radio) mem=128M
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    Writing ErrCtl register=00000000
    Readback ErrCtl register=00000000
    Memory: 112256k/131072k available (2268k kernel code, 18644k reserved, 600k data, 136k init, 0k highmem)
    NR_IRQS:128
    plat_time_init: plat time init done
    Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
    Mount-cache hash table entries: 512

    ****************ALLOC***********************
     Packet mem: 8030f300 (0xe00000 bytes)
    ********************************************

    NET: Registered protocol family 16
    ath_pcibios_init: bus 0
    ***** Warning PCIe 0 H/W not found !!!
    registering PCI controller with io_map_base unset
    ath_pcibios_init: bus 1
    ath_pcibios_init(232): PCI 1 CMD write: 0x356
    registering PCI controller with io_map_base unset
    bio: create slab <bio-0> at 0
    pci 0000:01:00.0: PME# supported from D0 D1 D3hot
    pci 0000:01:00.0: PME# disabled
    pcibios_map_irq: IRQ 76 for bus 1
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    ATH GPIOC major 0
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    fuse init (API version 7.12)
    msgmni has been set to 219
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    loop: module loaded
    PPP generic driver version 2.4.2
    NET: Registered protocol family 24
    7 cmdlinepart partitions found on MTD device ath-nor0
    Creating 7 MTD partitions on "ath-nor0":
    0x000000000000-0x000000020000 : "u-boot"
    0x000000020000-0x000000140000 : "kernel"
    0x000000140000-0x000000fc0000 : "rootfs"
    0x000000fc0000-0x000000fd0000 : "config"
    0x000000fd0000-0x000000fe0000 : "romfs"
    0x000000fe0000-0x000000ff0000 : "reserve"
    0x000000ff0000-0x000001000000 : "radio"
    Mirror/redirect action on
    u32 classifier
        Actions configured
    Netfilter messages via NETLINK v0.30.
    nf_conntrack version 0.5.0 (2048 buckets, 10240 max)
    CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
    nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
    sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 10
    ip6_tables: (C) 2000-2006 Netfilter Core Team
    IPv6 over IPv4 tunneling driver
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    Ebtables v2.0 registered
    802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
    All bugs added by David S. Miller <davem@redhat.com>
    arch/mips/atheros/gpio.c (ath_simple_config_init) JUMPSTART_GPIO: 16
    athwdt_init: Registering WDT success
    ath_otp_init: Registering OTP success
    VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
    Freeing unused kernel memory: 136k freed
    starting pid 162, tty '': '/etc/init.d/rcS'
    mount: mounting devpts on /dev/pts failed: No such device
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    Port Status 1c000004
    ath-ehci ath-ehci.0: ATH EHCI
    ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000
    ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000
    ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    Port Status 1c000000
    ath-ehci1 ath-ehci1.1: ATH EHCI
    ath-ehci1 ath-ehci1.1: new USB bus registered, assigned bus number 2
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000
    ath-ehci1 ath-ehci1.1: irq 3, io mem 0x1b400000
    ehci_reset Intialize USB CONTROLLER in host mode: 13
    ehci_reset Port Status 1c000000
    ath-ehci1 ath-ehci1.1: USB 2.0 started, EHCI 1.00
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    dns_init
    domain_name:tplinkmodem.net
    PPPoL2TP kernel driver, V1.0

    Please press Enter to activate this console. [ dm_readFile ] 2042:  can not open xml file /var/tmp/pc/reduced_data_model.xml!, about to open file /etc/reduced_data_model.xml
    init system mode
    qca955x_GMAC: Length per segment 1536
    955x_GMAC: qca955x_gmac_attach
    955x_GMAC: qca955x_set_gmac_caps
    Currently in polling mode unit1
    mac:1 Registering S17....
    qca955x_GMAC: RX TASKLET - Pkts per Intr:200
    qca955x_GMAC: Max segments per packet :   1
    qca955x_GMAC: Max tx descriptor count :   220
    qca955x_GMAC: Max rx descriptor count :   220
    qca955x_GMAC: Mac capability flags    :   12002200
    955x_GMAC: qca955x_gmac_attach
    955x_GMAC: qca955x_set_gmac_caps
    Currently in polling mode unit0
    mac:0 Registering S17....
    qca955x_GMAC: RX TASKLET - Pkts per Intr:200
    qca955x_GMAC: Max segments per packet :   1
    qca955x_GMAC: Max tx descriptor count :   220
    qca955x_GMAC: Max rx descriptor count :   220
    qca955x_GMAC: Mac capability flags    :   10002A00
    955x_GMAC: Serdes PLL is locked value 0x1f038116
    athr_gmac_ring_alloc Allocated 3520 at 0x87a3e000 for 1 (RX=0)
    athr_gmac_ring_alloc Allocated 3520 at 0x87a05000 for 0 (RX=0)
    @@[athr_gmac_rx_alloc]: r->ring_desc is a7bc1000 , r->ring_desc_dma is 7bc1000 ,  r->ring_buffer is 87a05000
    955x_GMAC: eth1 in SGMII MODE
    Scorpion -----> S17 PHY
    [athrs17_reg_init]: entering
    _athrs17_mac0_intf SGMII done
    [athrs17_reg_init]: complete
    955x_SGMII::athr_gmac_sgmii_setup  Done
    Setting Drop CRC Errors, Pause Frames and Length Error frames
    Setting PHY...
    [athrs17_disable_vlan_dsl]: Doing Basic init for Vlan for Grouping not enable
    Phy setup Complete
    955x_GMAC: enet unit:1 is up...
    eth1  SGMII  1000Mbps  full duplex
    955x_GMAC: qca955x_soc_gmac_set_mac_duplex
    955x_GMAC: qca955x_soc_gmac_set_link Done
    955x_GMAC: done cfg2 0x7215 ifctl 0x0 miictrl
    [ oal_sys_getOldTZInfo ] 359:  Open TZ file error!
    ioctl: No such device
    device eth0.2 entered promiscuous mode
    device eth0 entered promiscuous mode
    br0: port 1(eth0.2) entering forwarding state
    device eth0.3 entered promiscuous mode
    br0: port 2(eth0.3) entering forwarding state
    device eth0.4 entered promiscuous mode
    br0: port 3(eth0.4) entering forwarding state
    device eth0.5 entered promiscuous mode
    br0: port 4(eth0.5) entering forwarding state
    *********cal_data_2g*******
    020200023537707500000000
    *********cal_data_end*******
    *********cal_data_5g*******
    4408ce929999090000080808
    *********cal_data_end*******
    adf: module license 'Proprietary' taints kernel.
    Disabling lock debugging due to kernel taint
    ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_DATA_SWAP, 11D)
    ath_spectral: Version 2.0.0
    Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
    SPECTRAL module built on Dec 18 2014 16:51:08
    ath_tx99: Version 2.0
    Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
    ath_dfs: Version 2.0.0
    Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    ath_ahb: 10.2-00155-8 (Atheros/multi-bss)
    __ath_attach: Set global_scn[0]
    Enterprise mode: 0x43fc0000
    Restoring Cal data from Flash
    SPECTRAL : get_capability not registered
    HAL_CAP_PHYDIAG : Capable
    SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
    SPECTRAL : get_capability not registered
    HAL_CAP_RADAR   : Capable
    SPECTRAL : Need to fix the capablity check for SPECTRAL
     (spectral_attach : 236)
    SPECTRAL : get_capability not registered
    HAL_CAP_SPECTRAL_SCAN : Capable
    SPECTRAL : get_tsf64 not registered
    spectral_init_netlink 52 NULL SKB
    SPECTRAL : No ADVANCED SPECTRAL SUPPORT
    SPECTRAL :----- module attached
    Green-AP : Green-AP : Attached

    ath_get_caps[6148] rx chainmask mismatch actual 7 sc_chainmak 0
    ath_get_caps[6123] tx chainmask mismatch actual 7 sc_chainmak 0
    ath_attach_dfs[12558] dfsdomain 1
    SPECTRAL : module already attached
    wifi0: Atheros ???: mem=0xb8100000, irq=2
    ath_pci: 10.2-00155-8 (Atheros/multi-bss)
    ath_pci_probe
    PCI device id is 003c :003c
    ath_pci 0000:01:00.0: ath DEBUG: sc=0x86f6f000

     ol_ath_pci_configure : num_desired MSI set to 0

     Using PCI Legacy Interrupt
    __ol_ath_attach: ath_attach TODO
    __ol_ath_attach: dev name wifi1
    ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
     OL_ACBKMinfree : 0
     OL_ACBEMinfree : 0
     OL_ACVIMinfree : 0
     OL_ACVOMinfree : 0
    ol_ath_attach() BMI inited.
    ol_ath_attach() BMI Get Target Info.
    ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016c
    NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
    ol_ath_attach() configure Target .
    qc98xx_verify_checksum: flash checksum passed: 0x92ce
    ol_transfer_bin_file 1881: Download Flash data len 2116
    ol_transfer_bin_file 1826: Download Firmware data len 227288
    ol_ath_attach() Download FW.
    ol_ath_attach() HT Create .
    ol_ath_attach() HIF Claim.
    ol_ath_attach() BMI Done.
    ol_ath_attach() WMI attached. wmi_handle 86d10000
    +HWT
    CE_recv_buf_enqueue 653 Populate last entry 512 for CE 5
    CE_recv_buf_enqueue 662 CE 5 wi 511 dest_ptr 0x64d320 nbytes 0 recv_ctxt 0x86d29180
    -HWT
    HTC Service:0x0300 ep:1 TX flow control disabled
    CE_pkt_dl_len_set CE 4 Pkt download length 64
    ol_txrx_pdev_attach: 1424 tx desc's allocated ; range starts from 86dc0000
    HTC Service:0x0100 ep:2 TX flow control disabled
    wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event
    num_rf_chain : 00000003
    ht_cap_info: : 0000085b
    vht_cap_info : 338001b2
    vht_supp_mcs : 0000ffea
    LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
    idx 0 req 1  num_units 0 num_unit_info 2 unit size 444 actual units 145
    chunk 0 len 64380 requested ,ptr  0x6dd0000
    FIRMWARE:P 145 V 16 T 443

    FIRMWARE:_wlan_rtt_enable
    wmi_ready_event_rx:  WMI UNIFIED READY event
    ol_ath_connect_htc() WMI is ready
    ol_ath_set_host_app_area TODO
    target uses HTT version 2.1; host uses 2.1
    ol_ath_attach() connect HTC.
    bypasswmi : 0
    ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    Add VHT80 channel: 5210
    Add VHT80 channel: 5290
    Add VHT80 channel: 5530
    Add VHT80 channel: 5610
    Add VHT80 channel: 5690
    Add VHT80 channel: 5775
    Skipping VHT80 channel 5825
    ol_ath_phyerr_attach: called
    OL Resmgr Init-ed
    ol_if_spectral_setup
    SPECTRAL : get_capability not registered
    HAL_CAP_PHYDIAG : Capable
    SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
    SPECTRAL : get_capability not registered
    HAL_CAP_RADAR   : Capable
    SPECTRAL : Need to fix the capablity check for SPECTRAL
     (spectral_attach : 236)
    SPECTRAL : get_capability not registered
    HAL_CAP_SPECTRAL_SCAN : Capable
    SPECTRAL : get_tsf64 not registered
    spectral_init_netlink 52 NULL SKB
    Green-AP : Green-AP : Attached

    Green-AP : Attached
    ol_if_dfs_setup: called
    ol_if_dfs_attach: called; ptr=86db9974, radar_info=86c7fbe0
    ol_ath_rtt_meas_report_attach: called
    ol_ath_attach() UMAC attach .
    ol_if_dfs_configure: called
    ol_if_dfs_configure: FCC domain
    ol_if_dfs_disable: called
    ol_ath_attach: Calling ol_if_dfs_configure
    __ol_ath_attach: init tx/rx TODO
    __ol_ath_attach: hard_header_len reservation 58
    VAP device ath0 created
    ath0
    VAP device ath1 created
    ath1
    VAP device ath2 created
    ath2

     DES SSID SET=TP-LINK_2.4GHz_XXXXXX
    ath_attach_dfs[12558] dfsdomain 1
    Set freq vap stop send + 86284000
    Set freq vap stop send -86284000
    Set wait done --86284000
    Set freq vap stop send + 8629c000
    Set freq vap stop send -8629c000
    Set wait done --8629c000
    Set freq vap stop send + 862ac000
    Set freq vap stop send -862ac000
    Set wait done --862ac000
    WARNING: Fragmentation with HT mode NOT ALLOWED!!
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
        SET failed on device ath0 ; Invalid argument.
    Setting Max Stations:32

     DES SSID SET=TP-LINK_Guest_2.4GHz
    Set freq vap stop send + 86284000
    Set freq vap stop send -86284000
    Set wait done --86284000
    Set freq vap stop send + 8629c000
    Set freq vap stop send -8629c000
    Set wait done --8629c000
    Set freq vap stop send + 862ac000
    Set freq vap stop send -862ac000
    FWLOG: [17172] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x460, 0x460, 0x0 )
    FWLOG: [17172] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x460, 0x460, 0x0 )
    FWLOG: [17172] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x460, 0x460, 0x0 )
    FWLOG: [17172] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x460, 0x460, 0x0 )
    FWLOG: [17177] WHAL_ERROR_RECV_STOPPCU ( 0x110298a, 0x3 )
    FWLOG: [17177] WHAL_ERROR_RESET_PM (  )
    Set wait done --862ac000
    WARNING: Fragmentation with HT mode NOT ALLOWED!!
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
        SET failed on device ath2 ; Invalid argument.
    Setting Max Stations:32
    Reading topology file /var/Wireless/2_4G_topology.conf ...
    012.947: Reading radio configuration file /var/Wireless/2_4G_80211g.ap_radio ...

    012.948: Reading bss configuration file /var/Wireless/ath0.ap_bss ...

     ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
    Using interface ath0 with hwaddr XX:XX:XX:XX:XX:XX and ssid 'TP-LINK_2.4GHz_XXXXXX'

     DES SSID SET=TP-LINK_2.4GHz_XXXXXX
    013.138: upnp_wps_device_init called
    l2_packet_receive - recvfrom: Network is down
    device ath0 entered promiscuous mode
    device ath1 entered promiscuous mode
    device ath2 entered promiscuous mode
    *********cal_data_2g*******
    020200023537707500000000
    *********cal_data_end*******
    *********cal_data_5g*******
    4408ce929999090000080808
    *********cal_data_end*******
    ath_ioctl: SIOC80211IFCREATE CALLED
    wmi_unified_vdev_create_send: ID = 0 VAP Addr = XX:XX:XX:XX:XX:XX:
    Setting dscp for vap id: 0
    VAP device ath5 created
    ath5
    ath_ioctl: SIOC80211IFCREATE CALLED
    wmi_unified_vdev_create_send: ID = 1 VAP Addr = XX:XX:XX:XX:XX:XX:
    wmi_unified_set_psmode:set psmode=1
    Setting dscp for vap id: 1
    VAP device ath6 created
    ath6
    wmi_unified_set_psmode:set psmode=0
    wmi_unified_set_psmode:set psmode=0
    wmi_unified_set_psmode:set psmode=0
    wmi_unified_set_psmode:set psmode=0
    ath_ioctl: SIOC80211IFCREATE CALLED
    wmi_unified_vdev_create_send: ID = 2 VAP Addr = XX:XX:XX:XX:XX:XX:
    Setting dscp for vap id: 2
    VAP device ath7 created
    ath7

     DES SSID SET=TP-LINK_5GHz_XXXXXX
    [ol_ath_iw_setcountry][1438] *p=55, *(p+1)=53
    isCountryCodeValid: EEPROM regdomain 0x0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    Add VHT80 channel: 5210
    Add VHT80 channel: 5290
    Add VHT80 channel: 5530
    Add VHT80 channel: 5610
    Add VHT80 channel: 5690
    Add VHT80 channel: 5775
    Skipping VHT80 channel 5825
    Set freq vap stop send + 862a0000
    OL vap_stop +
    wmi_unified_vdev_stop_send for vap 0 (86d10000)
    OL vap_stop -
    STOPPED EVENT for vap 0 (86d10000)
    Set freq vap stop send -862a0000
    Set wait done --862a0000
    Set freq vap stop send + 862e8000
    Set freq vap stop send -862e8000
    Set wait done --862e8000
    Set freq vap stop send + 86300000
    OL vap_stop +
    wmi_unified_vdev_stop_send for vap 2 (86d10000)
    OL vap_stop -
    STOPPED EVENT for vap 2 (86d10000)
    Set freq vap stop send -86300000
    Set wait done --86300000
    ol_ath_desc_alloc_and_mark_for_mcast_clone: VAP Mcast to Unicast buffer allocated: 400
    ol_ath_vap_set_param: VAP param is now supported param:66 value:2
    WARNING: Fragmentation with HT mode NOT ALLOWED!!
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
        SET failed on device ath5 ; Invalid argument.
    Setting Max Stations:32

     DES SSID SET=TP-LINK_Guest_5GHz
    Set freq vap stop send + 862a0000
    OL vap_stop +
    wmi_unified_vdev_stop_send for vap 0 (86d10000)
    OL vap_stop -
    STOPPED EVENT for vap 0 (86d10000)
    Set freq vap stop send -862a0000
    Set wait done --862a0000
    Set freq vap stop send + 862e8000
    Set freq vap stop send -862e8000
    Set wait done --862e8000
    Set freq vap stop send + 86300000
    OL vap_stop +
    wmi_unified_vdev_stop_send for vap 2 (86d10000)
    OL vap_stop -
    STOPPED EVENT for vap 2 (86d10000)
    Set freq vap stop send -86300000
    Set wait done --86300000
    ol_ath_vap_set_param: VAP param is now supported param:66 value:2
    WARNING: Fragmentation with HT mode NOT ALLOWED!!
    Error for wireless request "Set Fragmentation Threshold" (8B24) :
        SET failed on device ath7 ; Invalid argument.
    Setting Max Stations:32
    Reading topology file /var/Wireless/5G_topology. ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1
    conf ...
    014.571: Reading radio configuration file /var/Wireless/5G_80211g.ap_radio ...

    014.571: Reading bss configuration file /var/Wireless/ath5.ap_bss ...

    Using interface ath5 with hwaddr XX:XX:XX:XX:XX:XX and ssid 'TP-LINK_5GHz_XXXXXX'

     DES SSID SET=TP-LINK_5GHz_XXXXXX
    014.741: upnp_wps_device_init called
    l2_packet_receive - recvfrom: Network is down
    FWLOG: [20428] WAL_DBGID_SECURITY_ENCR_EN (  )
    FWLOG: [20428] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
    device ath5 entered promiscuous mode
    device ath6 entered promiscuous mode
    device ath7 entered promiscuous mode
    iptables: Bad rule (does a matching rule exist in that chain?).
    radvd starting
    device eth0.2000 entered promiscuous mode
    br0: port 11(eth0.2000) entering forwarding state
    device eth0.2000 left promiscuous mode
    br0: port 11(eth0.2000) entering disabled state
    device eth0.2000 entered promiscuous mode
    br0: port 11(eth0.2000) entering forwarding state
    [ getPidFromPidFile ] 112:  Cann't open file: /var/run/zebra.pid.
    [ getPidFromPidFile ] 112:  Cann't open file: /var/run/ripd.pid.
    iptables: Bad rule (does a matching rule exist in that chain?).
    iptables: Bad rule (does a matching rule exist in that chain?).
    iptables: Bad rule (does a matching rule exist in that chain?).
    ip6tables: Bad rule (does a matching rule exist in that chain?).
    [ rsl_initDslIptvCfgObj ] 1965:  DSL IPTV not enable or not firstInit.
    [ rsl_setStorageServiceObj ] 1019:  mountFlag is 3,We start usb server

    killall: ushare: no process killed
    uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
    Benjamin Zores (C) 2005-2007, for GeeXboX Team.
    See http://ushare.geexbox.org/ for updates.
    iptables: Bad rule (does a matching rule exist in that chain?).
    iptables: Bad rule (does a matching rule exist in that chain?).
    kcg 323 :GPL NetUSB up!
    kc   90 : run_telnetDBGDServer start
    kc  227 : init_DebugD end
    INFO17EA: NetUSB 1.02.44, 0002061F : Dec 20 2013 11:05:15
    INFO17EC:  AUTH ISOC
    INFO17ED:  filterAudio
    usbcore: registered new interface driver KC NetUSB General Driver
    INFO0135:  init proc : PAGE_SIZE 4096
    INFO16BE:  infomap 85ccca1c
    INFO16C1:  sleep to wait br0 to wake up
    INFO02D0:  use dev Name br0
    INFO16CA:  sleep to wait br0 end.
    INFO16E3:  UDP_BROAD 7437 tcpPort:625868800
    INFO02D0:  use dev Name br0
    INFO15CA: tcpConnector() started...
    Enable forwarding
    INFO14A7: Bind to br0
    Will output 1024 bit rsa secret key to '/var/tmp/dropbear/dropbear_rsa_host_key'
    Generating key, this may take a while...
    Public key portion is:
    ssh-rsa [***] admin@Archer D7
    Fingerprint: md5 XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX
    Will output 1024 bit dss secret key to '/var/tmp/dropbear/dropbear_dss_host_key'
    Generating key, this may take a while...
    Public key portion is:
    ssh-dss [***] admin@Archer D7
    Fingerprint: md5 XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX


    Code:
    HELO
    
    LEDS
    CPUI
    L1CI
    DRAM
    ----
    PHYS
    PHYE
    SDR
    167H
    SIZ3
    SIZ2
    SIZ1
    RACE
    PASS
    ----
    ZBSS
    CODE
    DATA
    L12F
    MAIN


    CFE version 1.0.38-114.185 for BCM96318 (32bit,SP,BE)
    Build Date: Tue Jul  2 16:31:30 HKT 2013 (root@localhost.localdomain)
    Copyright (C) 2000-2011 Broadcom Corporation.

    HS Serial flash device: name ID_W25X16, id 0xef15 size 2048KB
    Total Flash size: 2048K with 512 sectors
    Flash not used for Auxillary File System
    Chip ID: BCM6318B0, MIPS: 333MHz, SDRAM: 166MHz, Bus: 167MHz
    Main Thread: TP0
    Total Memory: 16777216 bytes (16MB)
    Boot Address: 0xb8000000

    Board IP address                  : 192.168.1.2:ffffff00
    Host IP address                   : 192.168.1.100
    Gateway IP address                :
    Run from flash/host (f/h)         : f
    Default host run file name        : vmlinux
    Default host flash file name      : bcm963xx_fs_kernel
    Boot delay (0-9 seconds)          : 1
    Board Id (0-4)                    : 96318REF
    Number of MAC Addresses (1-32)    : 11
    Base MAC Address                  : XX:XX:XX:XX:XX:XX
    PSI Size (1-64) KBytes            : 24
    Enable Backup PSI [0|1]           : 0
    System Log Size (0-256) KBytes    : 0
    Auxillary File System Size Percent: 0
    Main Thread Number [0|1]          : 0

    *** Press any key to stop auto run (1 seconds) ***
    Auto run second count down: 0
    Booting from only image (0xb8010000) ...
    Code Address: 0x80010000, Entry Address: 0x801d22e0
    Decompression OK!
    Entry at 0x801d22e0
    Closing network.
    Disabling Switch ports.
    Flushing Receive Buffers...
    0 buffers found.
    Closing DMA Channels.
    Starting program at 0x801d22e0
    Linux version 2.6.30 (root@localhost.localdomain) (gcc version 4.4.2 (Buildroot 2010.02-git) ) #1 Tue Sep 30 17:37:59 CST 2014
    HS Serial flash device: name ID_W25X16, id 0xef15 size 2048KB
    96318REF prom init
    CPU revision is: 00029033 (Broadcom BCM3302)
    DSL SDRAM reserved: 0xc0000
    Determined physical RAM map:
     memory: 00f40000 @ 00000000 (usable)
    Zone PFN ranges:
      DMA      0x00000000 -> 0x00001000
      Normal   0x00001000 -> 0x00001000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00000f40
    On node 0 totalpages: 3904
    free_area_init_node: node 0, pgdat 80225ee0, node_mem_map 80268000
      DMA zone: 31 pages used for memmap
      DMA zone: 0 pages reserved
      DMA zone: 3873 pages, LIFO batch:0
    Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 3873
    Kernel command line: root=31:0 ro noinitrd console=ttyS0,115200
    Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
    Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
    NR_IRQS:128
    PID hash table entries: 64 (order: 6, 256 bytes)
    console [ttyS0] enabled
    Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
    Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Memory: 13008k/15616k available (1823k kernel code, 2608k reserved, 317k data, 108k init, 0k highmem)
    Calibrating delay loop... 331.77 BogoMIPS (lpj=165888)
    Mount-cache hash table entries: 512
    --Kernel Config--
      SMP=0
      PREEMPT=0
      DEBUG_SPINLOCK=0
      DEBUG_MUTEXES=0
    net_namespace: 532 bytes
    NET: Registered protocol family 16
    Total Flash size: 2048K with 512 sectors
    Flash not used for Auxillary File System
    registering PCI controller with io_map_base unset
    registering PCI controller with io_map_base unset
    bio: create slab <bio-0> at 0
    pci 0000:01:00.0: PME# supported from D0 D3hot
    pci 0000:01:00.0: PME# disabled
    pci 0000:01:00.0: PCI bridge, secondary bus 0000:02
    pci 0000:01:00.0:   IO window: disabled
    pci 0000:01:00.0:   MEM window: disabled
    pci 0000:01:00.0:   PREFETCH window: disabled
    PCI: Setting latency timer of device 0000:01:00.0 to 64
    BLOG v3.0 Initialized
    BLOG Rule v1.0 Initialized
    Broadcom IQoS v0.1 Sep 30 2014 17:37:12 initialized
    NET: Registered protocol family 8
    NET: Registered protocol family 20
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 512 (order: 0, 4096 bytes)
    TCP bind hash table entries: 512 (order: -1, 2048 bytes)
    TCP: Hash tables configured (established 512 bind 512)
    TCP reno registered
    NET: Registered protocol family 1
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    squashfs: version 4.0 with LZMA457 ported by BRCM
    msgmni has been set to 25
    io scheduler noop registered (default)
    pcieport-driver 0000:01:00.0: device [14e4:6318] has invalid IRQ; check vendor BIOS
    PCI: Setting latency timer of device 0000:01:00.0 to 64
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    PPP BSD Compression module registered
    NET: Registered protocol family 24
    bcm963xx_mtd driver v2.0
    File system address: 0xb8010100
    Registered device mtd[BCM63XX RootFS] dev[0] Flash[0xb8010100,1171456]
    brcmboard: brcm_board_init entry
    PCIe: No device found - Powering down
    brcm_board_init: isShared=0, rstToDflt_irq=1
    irq.c: reset_fac_irq is set to low_trigger.
    Serial: BCM63XX driver $Revision: 3.00 $
    ttyS0 at MMIO 0xb0000100 (irq = 36) is a BCM63XX
    bcmPktDmaBds_init: Broadcom Packet DMA BDs initialized

    bcmxtmrt: Broadcom BCM6318B0 ATM/PTM Network Device v0.4 Sep 30 2014 17:36:09
    TCP cubic registered
    NET: Registered protocol family 17
    802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
    All bugs added by David S. Miller <davem@redhat.com>
    VFS: Mounted root (squashfs filesystem) readonly on device 31:0.
    Freeing unused kernel memory: 108k freed
    init started: BusyBox v1.17.2 (2014-09-30 17:40:46 CST)
    starting pid 79, tty '': '/etc/init.d/rcS'
    starting pid 82, tty '': '-/bin/sh'


    BusyBox v1.17.2 (2014-09-30 17:40:46 CST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.


    Loading drivers and kernel modules...

    chipinfo: module license 'proprietary' taints kernel.
    Disabling lock debugging due to kernel taint
    brcmchipinfo: brcm_chipinfo_init entry
    NBUFF v1.0 Initialized
    Initialized fcache state
    Broadcom Packet Flow Cache  Char Driver v2.2 Sep 30 2014 17:35:43 Registered<242>
    Created Proc FS /procfs/fcache
    Broadcom Packet Flow Cache registered with netdev chain
    Broadcom Packet Flow Cache learning via BLOG enabled.
    Constructed Broadcom Packet Flow Cache v2.2 Sep 30 2014 17:35:43
    bcmxtmcfg: bcmxtmcfg_init entry
    adsl: adsl_init entry
    Broadcom BCM6318B0 Ethernet Network Device v0.1 Sep 30 2014 17:35:59
    ETH Init: Ch:0 - 200 tx BDs at 0xa0f2b000
    ETH Init: Ch:0 - 400 rx BDs at 0xa082d000
    dgasp: kerSysRegisterDyingGaspHandler: bcmsw registered
    eth0: MAC Address: XX:XX:XX:XX:XX:XX
    eth1: MAC Address: XX:XX:XX:XX:XX:XX
    eth2: MAC Address: XX:XX:XX:XX:XX:XX
    eth3: MAC Address: XX:XX:XX:XX:XX:XX
    Broadcom 802.1Q VLAN Interface, v0.1

    ===== Release Version 4.12L.08 (build timestamp 140930_1739) =====

    device eth0 entered promiscuous mode
    eth0 Link UP 100 mbps full duplex
    br0: port 1(eth0) entering forwarding state
    message received before monitor task is initialized kerSysSendtoMonitorTask
    BcmAdsl_Initialize=0xC00BB0A0, g_pFnNotifyCallback=0xC00E5CF4
    pSdramPHY=0xA0FFFFF8, 0x0 0x820
    *** XfaceOffset: 0x1C790 => 0x1C790 ***
    *** PhySdramSize got adjusted: 0x91DFC => 0xA7ECC ***
    AdslCoreSharedMemInit: shareMemSize=98573(98576)
    AdslCoreHwReset:  pLocSbSta=80bf0000 bkupThreshold=1600
    AdslCoreHwReset:  AdslOemDataAddr = 0xA0FC671C
    ***BcmDiagsMgrRegisterClient: 0 ***
    dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered
    XTM Init: Ch:0 - 400 rx BDs at 0xa0b08000
    XTM Init: Ch:1 - 16 rx BDs at 0xa0e68580
    bcmxtmrt: PTM/ATM Non-Bonding Mode configured in system
    monitor task is initialized pid= 157
    mii (phy addr 0x1) register 28 is 0x0827
    Auto-negotiation disabled, with
     Speed fixed at 100 mbps, full-duplex.
    Link is up
    device eth0 left promiscuous mode
    br0: port 1(eth0) entering disabled state
    oal_6332.c#dslStatusCheckHandler: dslStatusCheckHandler start.
    BcmAdsl_Initialize=0xC00BB0A0, g_pFnNotifyCallback=0xC00E5CF4
    dgasp(2IN1): kerSysRegisterDyingGaspHandler: dsl0 registered.


    Moje pytania:
    1. Czy ktoś zna powód tego zjawiska? Możliwa jest sytuacja, w której producent źle wlutował (albo nie wlutował) potrzebne oporniki?
    2. Dlaczego modemowy UART jest połączony z GND kondensatorami?
    3. Moje przypuszczenie jest takie, że jakoś spaliłem pin. Jeśli okaże się, że to prawda, to mogę zmusić U-boot'a żeby wejście UART przypisał do innego GPIO? Mam programator, więc nie będzie problemów z modyfikacją bootloader'a.

    0 2
  • Relpol
  • #2 17 Maj 2018 07:47
    kiko80
    Poziom 24  

    D7 ma te samą specyfikację jak C7 v2 może to ciebie jakoś naprowadzi. Czy podłączałeś inny rs232-ttl(uart) możliwe że ten co masz nie działa prawidłowo.

    0
  • Relpol
  • #3 17 Maj 2018 13:52
    MrCiek4wski
    Poziom 3  

    Dzięki, ale już wiem że D7 ma to samo, co C7v2. Na C7v2 nigdy nie było takich problemów. To nie przejściówka, bo działa na innych połączeniach, chociażby na modemowym UART, o którym pisałem w 1. poście.

    0
  Szukaj w 5mln produktów