richb-hanover

WiTi restart network with hnet

Jul 30th, 2016
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 29.11 KB | None | 0 0
  1. BusyBox v1.24.2 () built-in shell (ash)
  2.  
  3.      _________
  4.     /        /\      _    ___ ___  ___
  5.    /  LE    /  \    | |  | __|   \| __|
  6.   /    DE  /    \   | |__| _|| |) | _|
  7.  /________/  LE  \  |____|___|___/|___|                      lede-project.org
  8.  \        \   DE /
  9.   \    LE  \    /  -----------------------------------------------------------
  10.    \  DE    \  /    Reboot (HEAD, r1141)
  11.     \________\/    -----------------------------------------------------------
  12.  
  13. root@lede-WiTi:~# cat /etc/config/network
  14.  
  15. config interface 'loopback'
  16.     option ifname 'lo'
  17.     option proto 'static'
  18.     option ipaddr '127.0.0.1'
  19.     option netmask '255.0.0.0'
  20.  
  21. config globals 'globals'
  22.  
  23. #config interface 'lan'
  24. #   option type 'bridge'
  25. #   option ifname 'eth0.1'
  26. #   option proto 'static'
  27. #   option ipaddr '192.168.1.1'
  28. #   option netmask '255.255.255.0'
  29. #   option ip6assign '60'
  30.  
  31. config  interface 'E1'
  32.     option 'proto' 'hnet'
  33.     option ifname 'eth0.1'
  34.  
  35. config interface 'W24'
  36.     option proto 'hnet'
  37.  
  38. config interface 'W5'
  39.     option proto 'hnet'
  40.  
  41. config interface 'E0'
  42.     option ifname 'eth0.2'
  43. #   option _orig_ifname 'eth0.2'
  44. #   option _orig_bridge 'false'
  45. #   option proto 'dhcp'
  46.     option proto 'hnet'
  47.  
  48. config device 'lan_dev'
  49.     option name 'eth0.1'
  50.     option macaddr '76:77:d4:19:ab:e6'
  51.  
  52. config switch
  53.     option name 'switch0'
  54.     option reset '1'
  55.     option enable_vlan '1'
  56.  
  57. config switch_vlan
  58.     option device 'switch0'
  59.     option vlan '1'
  60.     option ports '0 1 2 3 6t'
  61.  
  62. config switch_vlan
  63.     option device 'switch0'
  64.     option vlan '2'
  65.     option ports '4 6t'
  66.  
  67. root@lede-WiTi:~# cat /etc/config/wireless
  68.  
  69. config wifi-device 'radio0'
  70.     option type 'mac80211'
  71.     option channel '36'
  72.     option hwmode '11a'
  73.     option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
  74.     option htmode 'VHT80'
  75.     option txpower '20'
  76.     option country '00'
  77.  
  78. config wifi-iface
  79.     option device 'radio0'
  80.     option network 'W5'
  81.     option mode 'ap'
  82.     option encryption 'none'
  83.     option ssid 'WiTi5'
  84.  
  85. config wifi-device 'radio1'
  86.     option type 'mac80211'
  87.     option channel '11'
  88.     option hwmode '11g'
  89.     option path 'pci0000:00/0000:00:01.0/0000:02:00.0'
  90.     option htmode 'HT20'
  91.     option txpower '20'
  92.     option country '00'
  93.  
  94. config wifi-iface
  95.     option device 'radio1'
  96.     option network 'W24'
  97.     option mode 'ap'
  98.     option encryption 'none'
  99.     option ssid 'WiTi'
  100.  
  101. root@lede-WiTi:~# cat /etc/config/firewall
  102.  
  103. config defaults
  104.     option syn_flood '1'
  105.     option input 'ACCEPT'
  106.     option output 'ACCEPT'
  107.     option forward 'REJECT'
  108.  
  109. config zone
  110.     option name 'lan'
  111. #   list network 'lan'
  112.     list network 'E1'
  113.     list network 'W24'
  114.     list network 'W5'
  115.     list network 'E0'
  116.     option input 'ACCEPT'
  117.     option output 'ACCEPT'
  118.     option forward 'ACCEPT'
  119.  
  120. config zone
  121.     option name 'wan'
  122. #   list network 'wan'
  123. #   list network 'wan6'
  124.     option input 'REJECT'
  125.     option output 'ACCEPT'
  126.     option forward 'REJECT'
  127.     option masq '1'
  128.     option mtu_fix '1'
  129.  
  130. config forwarding
  131.     option src 'lan'
  132.     option dest 'wan'
  133.  
  134. config rule
  135.     option name 'Allow-DHCP-Renew'
  136.     option src 'wan'
  137.     option proto 'udp'
  138.     option dest_port '68'
  139.     option target 'ACCEPT'
  140.     option family 'ipv4'
  141.  
  142. config rule
  143.     option name 'Allow-Ping'
  144.     option src 'wan'
  145.     option proto 'icmp'
  146.     option icmp_type 'echo-request'
  147.     option family 'ipv4'
  148.     option target 'ACCEPT'
  149.  
  150. config rule
  151.     option name 'Allow-IGMP'
  152.     option src 'wan'
  153.     option proto 'igmp'
  154.     option family 'ipv4'
  155.     option target 'ACCEPT'
  156.  
  157. config rule
  158.     option name 'Allow-DHCPv6'
  159.     option src 'wan'
  160.     option proto 'udp'
  161.     option src_ip 'fc00::/6'
  162.     option dest_ip 'fc00::/6'
  163.     option dest_port '546'
  164.     option family 'ipv6'
  165.     option target 'ACCEPT'
  166.  
  167. config rule
  168.     option name 'Allow-MLD'
  169.     option src 'wan'
  170.     option proto 'icmp'
  171.     option src_ip 'fe80::/10'
  172.     list icmp_type '130/0'
  173.     list icmp_type '131/0'
  174.     list icmp_type '132/0'
  175.     list icmp_type '143/0'
  176.     option family 'ipv6'
  177.     option target 'ACCEPT'
  178.  
  179. config rule
  180.     option name 'Allow-ICMPv6-Input'
  181.     option src 'wan'
  182.     option proto 'icmp'
  183.     list icmp_type 'echo-request'
  184.     list icmp_type 'echo-reply'
  185.     list icmp_type 'destination-unreachable'
  186.     list icmp_type 'packet-too-big'
  187.     list icmp_type 'time-exceeded'
  188.     list icmp_type 'bad-header'
  189.     list icmp_type 'unknown-header-type'
  190.     list icmp_type 'router-solicitation'
  191.     list icmp_type 'neighbour-solicitation'
  192.     list icmp_type 'router-advertisement'
  193.     list icmp_type 'neighbour-advertisement'
  194.     option limit '1000/sec'
  195.     option family 'ipv6'
  196.     option target 'ACCEPT'
  197.  
  198. config rule
  199.     option name 'Allow-ICMPv6-Forward'
  200.     option src 'wan'
  201.     option dest '*'
  202.     option proto 'icmp'
  203.     list icmp_type 'echo-request'
  204.     list icmp_type 'echo-reply'
  205.     list icmp_type 'destination-unreachable'
  206.     list icmp_type 'packet-too-big'
  207.     list icmp_type 'time-exceeded'
  208.     list icmp_type 'bad-header'
  209.     list icmp_type 'unknown-header-type'
  210.     option limit '1000/sec'
  211.     option family 'ipv6'
  212.     option target 'ACCEPT'
  213.  
  214. config include
  215.     option path '/etc/firewall.user'
  216.  
  217. config rule
  218.     option src 'wan'
  219.     option dest 'lan'
  220.     option proto 'esp'
  221.     option target 'ACCEPT'
  222.  
  223. config rule
  224.     option src 'wan'
  225.     option dest 'lan'
  226.     option dest_port '500'
  227.     option proto 'udp'
  228.     option target 'ACCEPT'
  229.  
  230. config include 'miniupnpd'
  231.     option type 'script'
  232.     option path '/usr/share/miniupnpd/firewall.include'
  233.     option family 'any'
  234.     option reload '1'
  235.  
  236. root@lede-WiTi:~# cat /etc/config/dhcp
  237.  
  238. config dnsmasq
  239.     option domainneeded '1'
  240.     option filterwin2k '0'
  241.     option localise_queries '1'
  242.     option rebind_protection '1'
  243.     option rebind_localhost '1'
  244.     option local '/lan/'
  245.     option domain 'lan'
  246.     option expandhosts '1'
  247.     option nonegcache '0'
  248.     option authoritative '1'
  249.     option readethers '1'
  250.     option leasefile '/tmp/dhcp.leases'
  251.     option resolvfile '/tmp/resolv.conf.auto'
  252.     option localservice '0'
  253.     option boguspriv '0'
  254.  
  255. config dhcp 'lan'
  256.     option interface 'lan'
  257.     option start '100'
  258.     option limit '150'
  259.     option leasetime '12h'
  260.     option dhcpv6 'server'
  261.     option ra 'server'
  262.  
  263. config dhcp 'wan'
  264.     option interface 'wan'
  265.     option ignore '1'
  266.  
  267. config odhcpd 'odhcpd'
  268.     option leasefile '/tmp/hosts/odhcpd'
  269.     option leasetrigger '/usr/sbin/odhcpd-update'
  270.     option maindhcp '1'
  271.  
  272. root@lede-WiTi:~# /etc/init.d/network restart
  273.  
  274. ----- ...and serial console shows -----
  275.  
  276. [  995.350000] br-lan: port 1(eth0.1) entered disabled state
  277. [  995.380000] device eth0.1 left promiscuous mode
  278. [  995.390000] br-lan: port 1(eth0.1) entered disabled state
  279. [  995.420000] device eth0 left promiscuous mode
  280. [  995.440000] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
  281. [  998.110000] device eth0 entered promiscuous mode
  282. [  999.340000] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
  283. [  999.660000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
  284. [ 1000.070000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  285. [ 1000.740000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  286.  
  287. ===== Full serial console output from boot =====
  288.  
  289. ===================================================================
  290.                 MT7621   stage1 code 10:33:55 (ASIC)
  291.                 CPU=500000000 HZ BUS=166666666 HZ
  292. ==================================================================
  293. Change MPLL source from XTAL to CR...
  294. do MEMPLL setting..
  295. MEMPLL Config : 0x31100000
  296. 3PLL mode + External loopback
  297. === XTAL-40Mhz === DDR-800Mhz ===
  298. PLL3 FB_DL: 0x4, 1/0 = 516/508 11000000
  299. PLL2 FB_DL: 0xc, 1/0 = 566/458 31000000
  300. PLL4 FB_DL: 0xc, 1/0 = 689/335 31000000
  301. do DDR setting..[01F40000]
  302. Apply DDR3 Setting...(use customer AC)
  303.           0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
  304.       --------------------------------------------------------------------------------
  305. 0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  306. 0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  307. 0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  308. 0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  309. 0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  310. 0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  311. 0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  312. 0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  313. 0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  314. 0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  315. 000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  316. 000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  317. 000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  318. 000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  319. 000E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1
  320. 000F:|    0    0    0    0    0    0    0    1    1    1    1    1    1    1    1    1
  321. 0010:|    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    0
  322. 0011:|    1    1    1    1    1    1    1    0    0    0    0    0    0    0    0    0
  323. 0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  324. 0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  325. 0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  326. 0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  327. 0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  328. 0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  329. 0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  330. 0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  331. 001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  332. 001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  333. 001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  334. 001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  335. 001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  336. 001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
  337. rank 0 coarse = 16
  338. rank 0 fine = 56
  339. B:|    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0
  340. opt_dle value:9
  341. DRAMC_R0DELDLY[018]=00003131
  342. ==================================================================
  343.                 RX      DQS perbit delay software calibration
  344. ==================================================================
  345. 1.0-15 bit dq delay value
  346. ==================================================================
  347. bit|     0  1  2  3  4  5  6  7  8  9
  348. --------------------------------------
  349. 0 |    11 9 11 11 11 9 11 7 8 9
  350. 10 |    9 11 8 13 7 11
  351. --------------------------------------
  352.  
  353. ==================================================================
  354. 2.dqs window
  355. x=pass dqs delay value (min~max)center
  356. y=0-7bit DQ of every group
  357. input delay:DQS0 =49 DQS1 = 49
  358. ==================================================================
  359. bit     DQS0     bit      DQS1
  360. 0  (1~97)49  8  (1~94)47
  361. 1  (1~95)48  9  (2~94)48
  362. 2  (1~95)48  10  (2~94)48
  363. 3  (1~95)48  11  (2~92)47
  364. 4  (1~95)48  12  (1~92)46
  365. 5  (1~97)49  13  (2~96)49
  366. 6  (1~97)49  14  (1~96)48
  367. 7  (1~98)49  15  (1~94)47
  368. ==================================================================
  369. 3.dq delay value last
  370. ==================================================================
  371. bit|    0  1  2  3  4  5  6  7  8   9
  372. --------------------------------------
  373. 0 |    11 10 12 12 12 9 11 7 10 10
  374. 10 |    10 13 11 13 8 13
  375. ==================================================================
  376. ==================================================================
  377.      TX  perbyte calibration
  378. ==================================================================
  379. DQS loop = 15, cmp_err_1 = ffff0000
  380. dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1
  381. dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2
  382. DQ loop=15, cmp_err_1 = ffff0000
  383. dqs_perbyte_dly.last_dqdly_pass[0]=15,  finish count=1
  384. dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=2
  385. byte:0, (DQS,DQ)=(8,8)
  386. byte:1, (DQS,DQ)=(8,8)
  387. 20,data:88
  388. [EMI] DRAMC calibration passed
  389.  
  390. ===================================================================
  391.                 MT7621   stage1 code done
  392.                 CPU=500000000 HZ BUS=166666666 HZ
  393. ===================================================================
  394.  
  395.  
  396. U-Boot 1.1.3 (May 17 2015 - 18:53:31)
  397.  
  398. Board: Ralink APSoC DRAM:  256 MB
  399. relocate_code Pointer at: 8ffb8000
  400.  
  401. Config XHCI 40M PLL
  402. flash manufacture id: c8, device id 40 18
  403. find flash: GD25Q128C
  404. *** Warning - bad CRC, using default environment
  405.  
  406. ============================================
  407. Ralink UBoot Version: 4.3.0.0
  408. --------------------------------------------
  409. ASIC MT7621A DualCore (MAC to MT7530 Mode)
  410. DRAM_CONF_FROM: Auto-Detection
  411. DRAM_TYPE: DDR3
  412. DRAM bus: 16 bit
  413. Xtal Mode=3 OCP Ratio=1/3
  414. Flash component: SPI Flash
  415. Date:May 17 2015  Time:18:53:31
  416. ============================================
  417. icache: sets:256, ways:4, linesz:32 ,total:32768
  418. dcache: sets:256, ways:4, linesz:32 ,total:32768
  419.  
  420.  ##### The CPU freq = 880 MHZ ####
  421.  estimate memory size =256 Mbytes
  422. #Reset_MT7530
  423.  
  424. Please choose the operation:
  425.    1: Load system code to SDRAM via TFTP.
  426.    2: Load system code then write to Flash via TFTP.
  427.    3: Boot system code via Flash (default).
  428.    4: Entr boot command line interface.
  429.    7: Load Boot Loader code then write to Flash via Serial.
  430.    9: Load Boot Loader code then write to Flash via TFTP.                                                                                               0
  431.  
  432. 3: System Boot system code via Flash.
  433. ## Booting image at bfc50000 ...
  434.    Image Name:   MIPS LEDE Linux-4.4.15
  435.    Image Type:   MIPS Linux Kernel Image (lzma compressed)
  436.    Data Size:    1581109 Bytes =  1.5 MB
  437.    Load Address: 80001000
  438.    Entry Point:  80001000
  439.    Verifying Checksum ... OK
  440.    Uncompressing Kernel Image ... OK
  441. No initrd
  442. ## Transferring control to Linux (at address 80001000) ...
  443. ## Giving linux memsize in MB, 256
  444.  
  445. Starting kernel ...
  446.  
  447. [    0.000000] Linux version 4.4.15 (buildbot@builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1122) ) #1 SMP Thu Jul 28 17:17:23 UTC 2016
  448. [    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
  449. [    0.000000] bootconsole [early0] enabled
  450. [    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
  451. [    0.000000] MIPS: machine is MQmaker WiTi
  452. [    0.000000] Determined physical RAM map:
  453. [    0.000000]  memory: 10000000 @ 00000000 (usable)
  454. [    0.000000] Initrd not found or empty - disabling initrd
  455. [    0.000000] Zone ranges:
  456. [    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
  457. [    0.000000]   HighMem  empty
  458. [    0.000000] Movable zone start for each node
  459. [    0.000000] Early memory node ranges
  460. [    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
  461. [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
  462. [    0.000000] VPE topology {2,2} total 4
  463. [    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  464. [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  465. [    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  466. [    0.000000] PERCPU: Embedded 10 pages/cpu @8120c000 s8448 r8192 d24320 u40960
  467. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
  468. [    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
  469. [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
  470. [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  471. [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  472. [    0.000000] Writing ErrCtl register=0005b800
  473. [    0.000000] Readback ErrCtl register=0005b800
  474. [    0.000000] Memory: 254456K/262144K available (3654K kernel code, 170K rwdata, 844K rodata, 248K init, 252K bss, 7688K reserved, 0K cma-reserved, 0K highmem)
  475. [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  476. [    0.000000] Hierarchical RCU implementation.
  477. [    0.000000] NR_IRQS:256
  478. [    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
  479. [    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
  480. [    0.010000] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
  481. [    0.070000] pid_max: default: 32768 minimum: 301
  482. [    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  483. [    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  484. [    0.100000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  485. [    0.100000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  486. [    0.100000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  487. [    0.100000] CPU1 revision is: 0001992f (MIPS 1004Kc)
  488. [    0.190000] Synchronize counters for CPU 1: done.
  489. [    0.200000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  490. [    0.200000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  491. [    0.200000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  492. [    0.200000] CPU2 revision is: 0001992f (MIPS 1004Kc)
  493. [    0.290000] Synchronize counters for CPU 2: done.
  494. [    0.300000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  495. [    0.300000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  496. [    0.300000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  497. [    0.300000] CPU3 revision is: 0001992f (MIPS 1004Kc)
  498. [    0.390000] Synchronize counters for CPU 3: done.
  499. [    0.400000] Brought up 4 CPUs
  500. [    0.400000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  501. [    0.410000] pinctrl core: initialized pinctrl subsystem
  502. [    0.420000] NET: Registered protocol family 16
  503. [    0.460000] pull PCIe RST: RALINK_RSTCTRL = 4000000
  504. [    0.690000] release PCIe RST: RALINK_RSTCTRL = 7000000
  505. [    0.700000] ***** Xtal 40MHz *****
  506. [    0.710000] release PCIe RST: RALINK_RSTCTRL = 7000000
  507. [    0.720000] Port 0 N_FTS = 1b102800
  508. [    0.720000] Port 1 N_FTS = 1b102800
  509. [    0.730000] Port 2 N_FTS = 1b102800
  510. [    1.600000]  -> 21007f2
  511. [    1.600000] PCIE0 enabled
  512. [    1.610000] PCIE1 enabled
  513. [    1.610000] PCIE2 enabled
  514. [    1.620000] PCI host bridge /pcie@1e140000 ranges:
  515. [    1.620000]  MEM 0x0000000060000000..0x000000006fffffff
  516. [    1.640000]   IO 0x000000001e160000..0x000000001e16ffff
  517. [    1.650000] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
  518. [    1.690000] mt7621_gpio 1e000600.gpio: registering 32 gpios
  519. [    1.700000] mt7621_gpio 1e000600.gpio: registering 32 gpios
  520. [    1.710000] mt7621_gpio 1e000600.gpio: registering 32 gpios
  521. [    1.720000] PCI host bridge to bus 0000:00
  522. [    1.720000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
  523. [    1.730000] pci_bus 0000:00: root bus resource [io  0xffffffff]
  524. [    1.740000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
  525. [    1.750000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
  526. [    1.760000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
  527. [    1.770000] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
  528. [    1.780000] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
  529. [    1.790000] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
  530. [    1.800000] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
  531. [    1.810000] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
  532. [    1.820000] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
  533. [    1.830000] pci 0000:00:02.0: BAR 0: no space for [mem size 0x80000000]
  534. [    1.840000] pci 0000:00:02.0: BAR 0: failed to assign [mem size 0x80000000]
  535. [    1.850000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
  536. [    1.860000] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
  537. [    1.870000] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
  538. [    1.880000] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
  539. [    1.890000] pci 0000:00:02.0: BAR 8: assigned [mem 0x60400000-0x604fffff]
  540. [    1.900000] pci 0000:00:02.0: BAR 9: assigned [mem 0x60500000-0x605fffff pref]
  541. [    1.910000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff]
  542. [    1.920000] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff]
  543. [    1.930000] pci 0000:00:02.0: BAR 1: assigned [mem 0x60620000-0x6062ffff]
  544. [    1.940000] pci 0000:00:02.0: BAR 7: no space for [io  size 0x1000]
  545. [    1.950000] pci 0000:00:02.0: BAR 7: failed to assign [io  size 0x1000]
  546. [    1.960000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
  547. [    1.970000] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
  548. [    1.980000] pci 0000:00:00.0: PCI bridge to [bus 01]
  549. [    1.980000] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
  550. [    1.990000] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
  551. [    2.000000] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit]
  552. [    2.010000] pci 0000:02:00.0: BAR 6: assigned [mem 0x60300000-0x6030ffff pref]
  553. [    2.020000] pci 0000:00:01.0: PCI bridge to [bus 02]
  554. [    2.020000] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
  555. [    2.030000] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
  556. [    2.040000] pci 0000:03:00.0: BAR 6: assigned [mem 0x60500000-0x6050ffff pref]
  557. [    2.050000] pci 0000:03:00.0: BAR 5: assigned [mem 0x60400000-0x604001ff]
  558. [    2.060000] pci 0000:03:00.0: BAR 4: no space for [io  size 0x0020]
  559. [    2.070000] pci 0000:03:00.0: BAR 4: failed to assign [io  size 0x0020]
  560. [    2.080000] pci 0000:03:00.0: BAR 0: no space for [io  size 0x0008]
  561. [    2.090000] pci 0000:03:00.0: BAR 0: failed to assign [io  size 0x0008]
  562. [    2.100000] pci 0000:03:00.0: BAR 2: no space for [io  size 0x0008]
  563. [    2.110000] pci 0000:03:00.0: BAR 2: failed to assign [io  size 0x0008]
  564. [    2.120000] pci 0000:03:00.0: BAR 1: no space for [io  size 0x0004]
  565. [    2.130000] pci 0000:03:00.0: BAR 1: failed to assign [io  size 0x0004]
  566. [    2.140000] pci 0000:03:00.0: BAR 3: no space for [io  size 0x0004]
  567. [    2.150000] pci 0000:03:00.0: BAR 3: failed to assign [io  size 0x0004]
  568. [    2.160000] pci 0000:00:02.0: PCI bridge to [bus 03]
  569. [    2.160000] pci 0000:00:02.0:   bridge window [mem 0x60400000-0x604fffff]
  570. [    2.170000] pci 0000:00:02.0:   bridge window [mem 0x60500000-0x605fffff pref]
  571. [    2.180000] BAR0 at slot 0 = 0
  572. [    2.180000] bus=0x0, slot = 0x0
  573. [    2.190000] BAR0 at slot 1 = 0
  574. [    2.190000] bus=0x0, slot = 0x1
  575. [    2.200000] BAR0 at slot 2 = 0
  576. [    2.200000] bus=0x0, slot = 0x2
  577. [    2.210000] bus=0x1, slot = 0x0, irq=0xff
  578. [    2.210000] bus=0x2, slot = 0x1, irq=0xff
  579. [    2.220000] bus=0x3, slot = 0x2, irq=0x0
  580. [    2.220000] clocksource: Switched to clocksource GIC
  581. [    2.230000] NET: Registered protocol family 2
  582. [    2.240000] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
  583. [    2.250000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
  584. [    2.260000] TCP: Hash tables configured (established 2048 bind 2048)
  585. [    2.280000] UDP hash table entries: 256 (order: 1, 8192 bytes)
  586. [    2.290000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  587. [    2.300000] NET: Registered protocol family 1
  588. [    2.310000] futex hash table entries: 1024 (order: 3, 32768 bytes)
  589. [    2.330000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  590. [    2.340000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  591. [    2.370000] io scheduler noop registered
  592. [    2.370000] io scheduler deadline registered (default)
  593. [    2.380000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
  594. [    2.400000] console [ttyS0] disabled
  595. [    2.410000] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 33, base_baud = 3125000) is a 16550A
  596. [    2.420000] console [ttyS0] enabled
  597. [    2.420000] console [ttyS0] enabled
  598. [    2.440000] bootconsole [early0] disabled
  599. [    2.440000] bootconsole [early0] disabled
  600. [    2.460000] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
  601. [    2.470000] spi-mt7621 1e000b00.spi: sys_freq: 50000000
  602. [    2.480000] m25p80 spi32766.0: using chunked io (size=32)
  603. [    2.490000] m25p80 spi32766.0: gd25q128 (16384 Kbytes)
  604. [    2.500000] 4 ofpart partitions found on MTD device spi32766.0
  605. [    2.510000] Creating 4 MTD partitions on "spi32766.0":
  606. [    2.530000] 0x000000000000-0x000000030000 : "u-boot"
  607. [    2.540000] 0x000000030000-0x000000040000 : "u-boot-env"
  608. [    2.550000] 0x000000040000-0x000000050000 : "factory"
  609. [    2.560000] 0x000000050000-0x000001000000 : "firmware"
  610. [    2.600000] 2 uimage-fw partitions found on MTD device firmware
  611. [    2.610000] 0x000000050000-0x0000001d2075 : "kernel"
  612. [    2.630000] 0x0000001d2075-0x000001000000 : "rootfs"
  613. [    2.640000] mtd: device 5 (rootfs) set to be root filesystem
  614. [    2.650000] 1 squashfs-split partitions found on MTD device rootfs
  615. [    2.660000] 0x0000003d0000-0x000001000000 : "rootfs_data"
  616. [    2.670000] netif_napi_add() called with weight 128 on device eth%d
  617. [    2.700000] mtk_soc_eth 1e100000.ethernet: generated random MAC address 0e:f1:45:93:74:04
  618. [    2.720000] libphy: mdio: probed
  619. [    2.730000] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
  620. [    2.740000] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 10
  621. [    2.760000] mt7621_wdt 1e000100.wdt: Initialized
  622. [    2.770000] NET: Registered protocol family 10
  623. [    2.780000] NET: Registered protocol family 17
  624. [    2.790000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
  625. [    2.820000] Bridge firewalling registered
  626. [    2.820000] 8021q: 802.1Q VLAN Support v1.8
  627. [    2.840000] hctosys: unable to open rtc device (rtc0)
  628. [    2.850000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
  629. [    2.870000] Freeing unused kernel memory: 248K (80492000 - 804d0000)
  630. [    3.030000] random: nonblocking pool is initialized
  631. [    3.830000] init: Console is alive
  632. [    3.840000] init: - watchdog -
  633. [    4.600000] usbcore: registered new interface driver usbfs
  634. [    4.610000] usbcore: registered new interface driver hub
  635. [    4.620000] usbcore: registered new device driver usb
  636. [    4.640000] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
  637. [    4.650000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
  638. [    4.670000] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
  639. [    4.690000] xhci-mtk 1e1c0000.xhci: irq 29, io mem 0x1e1c0000
  640. [    4.700000] hub 1-0:1.0: USB hub found
  641. [    4.710000] hub 1-0:1.0: 2 ports detected
  642. [    4.710000] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
  643. [    4.730000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
  644. [    4.740000] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
  645. [    4.760000] hub 2-0:1.0: USB hub found
  646. [    4.760000] hub 2-0:1.0: 1 port detected
  647. [    4.780000] init: - preinit -
  648. Press the [f] key and hit [enter] to enter failsafe mode
  649. Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
  650. [    8.390000] jffs2: notice: (399) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
  651. [    8.430000] mount_root: switching to jffs2 overlay
  652. [    8.450000] urandom-seed: Seeding with /etc/urandom.seed
  653. [    8.620000] procd: - early -
  654. [    8.630000] procd: - watchdog -
  655. [    9.290000] procd: - ubus -
  656. [    9.450000] procd: - init -
  657. Please press Enter to activate this console.
  658. [   10.000000] ip6_tables: (C) 2000-2006 Netfilter Core Team
  659. [   10.020000] Netfilter messages via NETLINK v0.30.
  660. [   10.040000] ip_set: protocol 6
  661. [   10.140000] Loading modules backported from Linux version wt-2016-06-20-0-gbc17424
  662. [   10.150000] Backport generated by backports.git backports-20160216-7-g5735958
  663. [   10.210000] mt76x2e 0000:01:00.0: ASIC revision: 76120044
  664. [   10.240000] ROM patch already applied
  665. [   10.250000] Firmware Version: 0.0.00
  666. [   10.250000] Build: 1
  667. [   10.260000] Build Time: 201507311614____
  668. [   10.290000] Firmware running!
  669. [   10.300000] mt76x2e 0000:02:00.0: ASIC revision: 76020044
  670. [   10.330000] ROM patch already applied
  671. [   10.340000] Firmware Version: 0.0.00
  672. [   10.340000] Build: 1
  673. [   10.350000] Build Time: 201507311614____
  674. [   10.380000] Firmware running!
  675. [   10.390000] ip_tables: (C) 2000-2006 Netfilter Core Team
  676. [   10.420000] nf_conntrack version 0.5.0 (3979 buckets, 15916 max)
  677. [   10.550000] xt_time: kernel timezone is -0000
  678. [   10.570000] PPP generic driver version 2.4.2
  679. [   10.580000] NET: Registered protocol family 24
  680. [   14.930000] device eth0 entered promiscuous mode
  681. [   17.030000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  682. [   17.370000] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
  683. [   17.700000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
  684. [   18.100000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Advertisement
Add Comment
Please, Sign In to add comment