Skip to content

Instantly share code, notes, and snippets.

@MateuszKrawczuk
Created August 22, 2015 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MateuszKrawczuk/17f04e23a6152edf091a to your computer and use it in GitHub Desktop.
Save MateuszKrawczuk/17f04e23a6152edf091a to your computer and use it in GitHub Desktop.
Witaj w minicomie 2.7
OPCJE: I18n
Skompilowany dnia Jan 1 2014, 17:13:19.
Port /dev/ttyUSB3, 16:30:18
Wciśnij CTRL-A Z po pomoc na temat specjalnych klawiszy
U-Boot 1.1.4 (Nov 3 2014 - 17:48:25)
ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x2, 0x1b)
Tap values = (0xe, 0xe, 0xe, 0xe)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environment
*** Warning *** : PCIe WLAN Module not found !!!
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x58b1214f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
Uncompressing Kernel Image ... OK
Starting kernel ...
Booting QCA955x
Linux version 2.6.31--LSDK-9.2.0_U6.616 (tplink@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #1 Mon Nov 3 17:52:38 CST 2014
Ram size passed from bootloader =128M
flash_size passed from bootloader = 8
CPU revision is: 00019750 (MIPS 74Kc)
cpu apb ddr apb ath_sys_frequency: cpu 720 ddr 600 ahb 200
Determined 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),1024k(kernel),6912k(rootfs),64k(config),64k(ART) 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: 112868k/131072k available (1891k kernel code, 18036k reserved, 441k data, 120k 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: 802794e0 (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
===@@@@@@@@@@@=>use GPIO13 as wifi button control!
bio: create slab <bio-0> at 0
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
msgmni has been set to 220
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline 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
PPP generic driver version 2.4.2
NET: Registered protocol family 24
5 cmdlinepart partitions found on MTD device ath-nor0
Creating 5 MTD partitions on "ath-nor0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000120000 : "kernel"
0x000000120000-0x0000007e0000 : "rootfs"
0x0000007e0000-0x0000007f0000 : "config"
0x0000007f0000-0x000000800000 : "ART"
->Oops: flash id 0xef4017 .
Ooops, why the devices couldn't been initialed?
TCP cubic registered
NET: Registered protocol family 10
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>
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: 120k freed
init started: BusyBox v1.01 (2014.11.03-10:01+0000) multi-call binary
This Board use 2.6.31
xt_time: kernel timezone is -0000
nf_conntrack version 0.5.0 (2048 buckets, 81920 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
insmod: cannot open module `/lib/modules/2.6.31/kernel/iptable_raw.ko': No such file or directory
insmod: cannot open module `/lib/modules/2.6.31/kernel/flashid.ko': No such file or directory
PPPoL2TP kernel driver, V1.0
PPTP driver version 0.8.3
insmod: cannot open module `/lib/modules/2.6.31/kernel/harmony.ko': No such file or directory
(none) mips #1 Mon Nov 3 17:52:38 CST 2014 (none)
(none) login: 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 0x87950000
athr_gmac_ring_alloc Allocated 3520 at 0x87a8d000
955x_GMAC: eth1 in SGMII MODE
Scorpion -----> S17 PHY
ttl zero adding rule #0
ACL is not yet enabled. Enabling...
ttl one adding rule #1
UDP checksum 0 adding rule #3
Hello, nat helper module for 1.08!
netlink_kernel_create succeeded at tp_rule_nl_prot: [29]
######## S17 SSDK init succeeded! ########
_athrs17_mac0_intf SGMII done
athrs17_reg_init:done
955x_SGMII::athr_gmac_sgmii_setup Done
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
Phy setup Complete
ADDRCONF(NETDEV_UP): eth0: link is not ready
device eth0.1 entered promiscuous mode
device eth0 entered promiscuous mode
SET INTF MAC 0:88-25-93-33-77-b4
SET INTF MAC 1:88-25-93-33-77-b5
br0: port 1(eth0.1) entering forwarding state
Adding ACL rules 2 - wan to lan, dst ip is lan net
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading
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, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_ahb: 10.1.467 (Atheros/multi-bss)
__ath_attach: Set global_scn[0]
Enterprise mode: 0x43fc0000
Restoring Cal data from Flash
Green-AP : Green-AP : Attached
ath_get_caps[5956] rx chainmask mismatch actual 7 sc_chainmak 0
ath_get_caps[5931] tx chainmask mismatch actual 7 sc_chainmak 0
ath_attach_dfs[11935] dfsdomain 1
SC Callback Registration for wifi0
wifi0: Atheros ???: mem=0xb8100000, irq=2
ath_pci: 10.1.467 (Atheros/multi-bss)
ath_pci_probe
PCI device id is 003c :003c
ath_pci 0000:01:00.0: ath DEBUG: sc=0x86eb8e00
ol_ath_pci_configure : num_desired MSI set to 0
Using PCI Legacy Interrupt
__ol_ath_attach: ath_attach TODO
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: 0xb256
ol_transfer_bin_file 1687: Download Flash data len 2116
ol_transfer_bin_file 1634: Download Firmware data len 190448
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 86e30000
+HWT
CE_recv_buf_enqueue 457 Populate last entry 512 for CE 5
CE_recv_buf_enqueue 466 CE 5 wi 511 dest_ptr 0x5eb500 nbytes 0 recv_ctxt 0x86c30800
-HWT
HTC Service:0x0300 ep:1 TX flow control disabled
CE_pkt_dl_len_set CE 4 Pkt download length 42
TXRX: Created pdev 86eb8800
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 404 actual units 145
chunk 0 len 58580 requested ,ptr 0x6f20000
FIRMWARE:P 145 V 16 T 443
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.
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
Skipping VHT80 channel 5825
ol_ath_phyerr_attach: called
OL Resmgr Init-ed
Green-AP : Green-AP : Attached
Green-AP : Attached
ol_if_dfs_setup: called
ol_if_dfs_attach: called; ptr=86f05974, radar_info=87aedbe8
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
__ol_ath_attach: dev name wifi1
SC Callback Registration for wifi1
ath_attach_dfs[11935] dfsdomain 1
VAP device ath0 created
DES SSID SET=TP-LINK_77B3
ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
Invoking ACS module for Best channel selection
Channel 1 average beacon RSSI 3 noisefloor -106 ieee80211_acs_find_best_11ng_centerchan chan: 1 beacon RSSI + weighted noisefloor: -209
Channel 6 average beacon RSSI 2 noisefloor -107 ieee80211_acs_find_best_11ng_centerchan chan: 6 beacon RSSI + weighted noisefloor: -212
Channel 6 average beacon RSSI 2 noisefloor -107 ieee80211_acs_find_best_11ng_centerchan chan: 6 beacon RSSI + weighted noisefloor: -212
Channel 11 average beacon RSSI 9 noisefloor -108 ieee80211_acs_find_best_11ng_centerchan chan: 11 beacon RSSI + weighted noisefloor: -207
ieee80211_acs_find_best_11ng_centerchan found best 11ng center chan: 6 rssi: -212
athr_gmac_ring_alloc Allocated 3520 at 0x86f03000
athr_gmac_ring_alloc Allocated 3520 at 0x86fed000
955x_GMAC: eth0 in RGMII MODE
Scorpion -----> S17 PHY
athrs17_reg_init_wan done
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
ADDRCONF(NETDEV_UP): eth1: link is not ready
device eth1 entered promiscuous mode
device ath0 entered promiscuous mode
br1: port 2(ath0) entering forwarding state
ieee80211_ioctl_siwmode: imr.ifm_active=918144, new mode=3, valid=1
br1: port 2(ath0) entering disabled state
DEVICE IS DOWN ifname=ath0
DEVICE IS DOWN ifname=ath0
br1: port 2(ath0) entering forwarding state
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
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
955x_GMAC: qca955x_soc_gmac_set_mac_duplex
955x_GMAC: qca955x_soc_gmac_set_link Done
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
br1: port 1(eth1) entering forwarding state
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment