LB-LINK BL-W1200/Serial info

Boot log
{{SCollapse|Boot log • >> U-Boot 1.1.3 (Aug 24 2016 - 10:14:04)

Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fb8000 enable ephy clock...done. rf reg 29 = 5 SSC disabled. spi_wait_nsec: 29 spi device id: ef 40 17 0 0 (40170000) find flash: W25Q64BV raspi_read: from:30000 len:1000
 * Warning - bad CRC, using default environment

=
=============================== Ralink UBoot Version: 4.3.0.0

ASIC 7620_MP (Port5<->GigaSW) DRAM component: 512 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 64 MBytes Flash component: SPI Flash Date:Aug 24 2016 Time:10:14:04

=
=============================== icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768

estimate memory size =64 Mbytes
 * 1) The CPU freq = 580 MHZ ####

GPIO pin 10 reset to switch set LAN/WAN WLLLL
 * 1) Reset_MT7530

Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. default: 3 >>>Chip type is MT7620A, GPIO is 13<<<

You choosed 3 0

3: System Boot system code via Flash. raspi_read: from:50000 len:40 Image Name:  Linux Kernel Image Image Type:  MIPS Linux Kernel Image (lzma compressed) Data Size:   6634887 Bytes =  6.3 MB   Load Address: 80000000 Entry Point: 8000c310 raspi_read: from:50040 len:653d87 Verifying Checksum ... OK  Uncompressing Kernel Image ... OK No initrd
 * 1) Booting image at bc050000 ...
 * 1) Transferring control to Linux (at address 8000c310) ...
 * 2) Giving linux memsize in MB, 64

Starting kernel ...

LINUX started...

THIS IS ASIC Linux version 2.6.36 (wangguilin@localhost.localdomain) (gcc version 3.4.2) #44 Mon Mar 20 13:55:18 CST 2017

The CPU feqenuce set to 580 MHz

MIPS CPU sleep mode enabled. PCIE: bypass PCIe DLL. PCIE: Elastic buffer control: Addr:0x68 -> 0xB4 disable all power about PCIe CPU revision is: 00019650 (MIPS 24Kc) Software DMA cache coherency Determined physical RAM map: memory: 04000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal  0x00000000 -> 0x00004000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00004000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: console=ttyS1,57600n8 root=/dev/ram0 console=ttyS0 PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Primary instruction cache 64kB, VIPT,, 4-waylinesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes Writing ErrCtl register=0001ffca Readback ErrCtl register=0001ffca Memory: 53500k/65536k available (5534k kernel code, 12036k reserved, 1085k data, 4528k init, 0k highmem) NR_IRQS:128 console [ttyS1] enabled Calibrating delay loop... 386.04 BogoMIPS (lpj=772096) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 NET: Registered protocol family 16 RALINK_GPIOMODE = 1a101f RALINK_GPIOMODE = 18101f PPLL_CFG1=0xe64000 MT7620 PPLL lock PPLL_DRV =0x80080504 start PCIe register access RALINK_RSTCTRL = 2400000 RALINK_CLKCFG1 = 75afffc0

PCIE0 enabled Port 0 N_FTS = 1b105000 init_rt2880pci done bio: create slab  at 0 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000) pci 0000:00:00.0: BAR 14: assigned [mem 0x20000000-0x200fffff] pci 0000:00:00.0: BAR 15: assigned [mem 0x20100000-0x201fffff pref] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff] pci 0000:00:00.0: BAR 1: set to [mem 0x20200000-0x2020ffff] (PCI address [0x20200000-0x2020ffff] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit] pci 0000:01:00.0: BAR 0: set to [mem 0x20000000-0x200fffff 64bit] (PCI address [0x20000000-0x200fffff] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref] pci 0000:00:00.0: PCI bridge to [bus 01-01] pci 0000:00:00.0:  bridge window [io  disabled] pci 0000:00:00.0:  bridge window [mem 0x20000000-0x200fffff] pci 0000:00:00.0:  bridge window [mem 0x20100000-0x201fffff pref] BAR0 at slot 0 = 0 bus=0x0, slot = 0x0 res[0]->start = 0 res[0]->end = 0 res[1]->start = 20200000 res[1]->end = 2020ffff res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 bus=0x1, slot = 0x0 res[0]->start = 20000000 res[0]->end = 200fffff res[1]->start = 0 res[1]->end = 0 res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 Switching to clocksource Ralink Systick timer NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. RT3xxx EHCI/OHCI init. NTFS driver 2.1.29 [Flags: R/W]. fuse init (API version 7.15) msgmni has been set to 104 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered (default) pci-stub: invalid id string "" Ralink gpio driver initialized Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A brd: module loaded deice id : ef 40 17 0 0 (40170000) W25Q64BV(ef 40170000) (8192 Kbytes) mtd .name = raspi, .size = 0x00800000 (0M) .erasesize = 0x00000008 (0K) .numeraseregions = 65536 Creating 5 MTD partitions on "raspi": 0x000000000000-0x000000800000 : "ALL" 0x000000000000-0x000000030000 : "Bootloader" 0x000000030000-0x000000040000 : "Config" 0x000000040000-0x000000050000 : "Factory" 0x000000050000-0x000001000000 : "Kernel" mtd: partition "Kernel" extends beyond the end of device "raspi" -- size truncated to 0x7b0000 rdm_major = 253 SMACCR1 -- : 0x000010a4 SMACCR0 -- : 0xbefd8b68 Ralink APSoC Ethernet Driver Initilization. v3.1 256 rx/tx descriptors allocated, mtu = 1500! SMACCR1 -- : 0x000010a4 SMACCR0 -- : 0xbefd8b68 PROC INIT OK! PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 PPTP driver version 0.8.5 IMQ driver loaded successfully. Hooking IMQ before NAT on PREROUTING. Hooking IMQ after NAT on POSTROUTING.
 * MT7620 PCIe RC mode *************

pAd = c0147000, size = 917856
<-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 AP Driver version-2.7.2.0_change_by_limin_20160817-SyncECOS usbmon: debugfs is not available ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1 rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000 rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: Ralink EHCI Host Controller usb usb1: Manufacturer: Linux 2.6.36 ehci_hcd usb usb1: SerialNumber: rt3xxx hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2 rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000 usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: RT3xxx OHCI Controller usb usb2: Manufacturer: Linux 2.6.36 ohci_hcd usb usb2: SerialNumber: rt3xxx-ohci hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. MTK MSDC device init. mtk-sd: MediaTek MT6575 MSDC Driver u32 classifier Performance counters on Netfilter messages via NETLINK v0.30. nf_conntrack version 0.5.0 (835 buckets, 3340 max) matchsize=264 IPVS: Registered protocols IPVS: Connection hash table configured (size=4096, memory=32Kbytes) IPVS: ipvs loaded. GRE over IPv4 demultiplexor driver gre: can't add protocol ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone arp_tables: (C) 2002 David S. Miller TCP cubic registered NET: Registered protocol family 10 NET: Registered protocol family 17 L2TP core driver, V2.0 PPPoL2TP kernel driver, V2.0 802.1Q VLAN Support v1.8 Ben Greear  All bugs added by David S. Miller  msdc0 -> ops_get_cd return<1> <- msdc_ops_get_cd : L PID Warning: unable to open an initial console. Freeing unused kernel memory: 4528k freed msdc0 -> ================ <- msdc_set_mclk : L PID msdc0 -> !!! Set<400KHz> Source<48000KHz> -> sclk<400KHz> <- msdc_set_mclk : L PID msdc0 -> ================ <- msdc_set_mclk : L PID Algorithmics/MIPS FPU Emulator v1.5 msdc0 -> XXX CMD<52> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> XXX CMD<52> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> XXX CMD<8> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> XXX CMD<5> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> XXX CMD<5> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> XXX CMD<5> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> XXX CMD<5> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> XXX CMD<55> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> XXX CMD<55> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> XXX CMD<55> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> XXX CMD<55> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> XXX CMD<1> MSDC_INT_CMDTMO <- msdc_irq : L msdc0 -> set mclk to 0!!! <- msdc_set_mclk : L PID Welcome to    ______         __    __          _   ___ | ___ \       |  |  |__| ______ | | /  /    | |___| | ____ |  |   __ |  __  || |/  /    |  ___  ||____||  |_ |  || |  | ||    |    | |___| |      |    ||  || |  | || |\  \    |______/       |____||__||_|  |_||_| \__\

=System Architecture Department=

init: can't log to /dev/tty5 starting pid 123, tty '/dev/ttyS1': '/bin/sh'

BusyBox v1.12.1 (2017-03-20 13:45:51 CST) built-in shell (ash) Enter 'help' for a list of built-in commands.


 * 1) register rt2860

pAd = c0782000, size = 2207280
<-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 pAd->CSRBaseAddress =0xc0680000, csr_addr=0xc0680000! device_id =0x7662 ====> mt76x2_ePA_per_rate_compensate_init: 5871 is_ePA: 1 cfg_mode=14 cfg_mode=14 wmode_band_equal: Band Not Equal! Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) WiFi Mcast disabled=0 RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5 NVM is FLASH mode (pAd->flash_offset = 0x48000) ===> rt2880_probe

pAd = c099f000, size = 2207280
<-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 cfg_mode=9 cfg_mode=9 wmode_band_equal: Band Not Equal! Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) WiFi Mcast disabled=0 RtmpChipOpsEepromHook::e2p_type=0, inf_Type=4 RtmpEepromGetDefault::e2p_dafault=2 NVM is FLASH mode (pAd->flash_offset = 0x40000) ra1: at CSR addr 0xb0180000, IRQ 4. <=== rt2880_probe RX DESC a263a000 size = 4096 RTMPSetDefaultChannel : default channel to 1 1. Phy Mode = 9 2. Phy Mode = 9 E2PROM: D0 target power=0xff20 E2PROM: 40 MW Power Delta= -1 3. Phy Mode = 9 AntCfgInit: primary/secondary ant 0/1 Initialize RF Central Registers for E2 !!! Initialize RF Central Registers for E3 !!! Initialize RF Channel Registers for E2 !!! Initialize RF Channel Registers for E3 !!! Initialize RF DCCal Registers for E2 !!! Initialize RF DCCal Registers for E3 !!! D1 = -3, D2 = 4, CalCode = 16 !!! RT6352_Temperature_Init : BBPR49 = 0xfffffffd RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff3 Current Temperature from BBP_R49=0xfffffff9 TX BW Filter Calibration !!! RX BW Filter Calibration !!! LOFT Calibration Done! IQCalibration Start! IQCalibration Done! CH = 0, (gain= f, phase= 2) IQCalibration Start! IQCalibration Done! CH = 1, (gain= e, phase= 2) TX IQ Calibration Done! MCS Set = ff ff 00 00 01 SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l Main bssid = 10:a4:be:fd:8b:68 <==== rt28xx_init, Status=0 0x1300 = 00064380 build time = 20141115060606a rom patch for E3 IC

platform = ALPS hw/sw version = ▒▒ patch version =

FW Version:0.0.00 Build:1 Build Time:201507311614____ fw for E3 IC RX[0] DESC a2014000 size = 4096 RX[1] DESC a2015000 size = 4096 cfg_mode=14 cfg_mode=14 wmode_band_equal: Band Not Equal! Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) WiFi Mcast disabled=0 1. Phy Mode = 49 get_chl_grp:illegal channel (167) get_chl_grp:illegal channel (167) get_chl_grp:illegal channel (169) get_chl_grp:illegal channel (169) get_chl_grp:illegal channel (171) get_chl_grp:illegal channel (171) Country Region from e2p = ffff 2. Phy Mode = 49 3. Phy Mode = 49 andes_pci_fw_init 0x1300 = 00073200 AntCfgInit: primary/secondary ant 0/1 andes_load_cr:cr_type(2) ChipStructAssign: MT76x2 hook ! RTMPSetPhyMode: channel is out of range, use first channel=0 MCS Set = ff ff 00 00 01 [PMF]APStartUp:: apidx=0, MFPC=0, MFPR=0, SHA256=0 mt76x2_bbp_adjust:rf_bw=2, ext_ch=1, PrimCh=52, HT-CentCh=54, VHT-CentCh=58 APStartUp: AP Set CentralFreq at 58(Prim=52, HT-CentCh=54, VHT-CentCh=58, BBP_BW=2) Main bssid = 10:a4:be:fd:8b:6a <==== rt28xx_init, Status=0 RTMPDrvOpen(1):Check if PDMA is idle! RTMPDrvOpen(2):Check if PDMA is idle! Raeth v3.1 (Tasklet,SkbRecycle)

phy_tx_ring = 0x014e2000, tx_ring = 0xa14e2000

phy_rx_ring0 = 0x014e3000, rx_ring0 = 0xa14e3000 SMACCR1 -- : 0x000010a4 SMACCR0 -- : 0xbefd8b68 ESW: Link Status Changed - Port5 Link UP CDMA_CSG_CFG = 81000000 GDMA1_FWD_CFG = 20710000 >kill_sig_workq, 1145!!! nl socket is null ! device eth2 entered promiscuous mode device ra0 entered promiscuous mode nl socket is null ! device eth2.1 entered promiscuous mode device rai0 entered promiscuous mode nl socket is null ! br0: port 3(rai0) entering learning state br0: port 3(rai0) entering learning state br0: port 2(eth2.1) entering learning state br0: port 2(eth2.1) entering learning state br0: port 1(ra0) entering learning state br0: port 1(ra0) entering learning state br0: port 3(rai0) entering forwarding state br0: port 2(eth2.1) entering forwarding state br0: port 1(ra0) entering forwarding state Jan 1 00:00:39 miniupnpd[1843]: WPS listening on port 8888 ADDRCONF(NETDEV_UP): imq0: link is not ready ADDRCONF(NETDEV_UP): imq1: link is not ready ADDRCONF(NETDEV_UP): ra1: link is not ready ADDRCONF(NETDEV_UP): wds0: link is not ready ADDRCONF(NETDEV_UP): wds1: link is not ready ADDRCONF(NETDEV_UP): wds2: link is not ready ADDRCONF(NETDEV_UP): wds3: link is not ready ADDRCONF(NETDEV_UP): apcli0: link is not ready ADDRCONF(NETDEV_UP): wdsi0: link is not ready ADDRCONF(NETDEV_UP): wdsi1: link is not ready ADDRCONF(NETDEV_UP): wdsi2: link is not ready ADDRCONF(NETDEV_UP): wdsi3: link is not ready ADDRCONF(NETDEV_UP): apclii0: link is not ready

}}