BPI-R2 boot with kernel 4.4.59 log


(bpi team) #1
[USBD] USB PRB0 LineState: 0

[USBD] USB cable/ No Cable inserted!

[PLFM] Keep stay in USB Mode
Platform initialization is ok
wait for frequency meter finish, CLK26CALI = 0x81
mt_pll_post_init: mt_get_cpu_freq = 1040000Khz
wait for frequency meter finish, CLK26CALI = 0x90
mt_pll_post_init: mt_get_bus_freq = 273000Khz
wait for frequency meter finish, CLK26CALI = 0x81
mt_pll_post_init: mt_get_mem_freq = 133250Khz
[PWRAP] pwrap_init_preloader
[PWRAP] pwrap_init
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=0,rdata=2D52
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=1,rdata=2D52
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=2,rdata=2D52
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=3,rdata=800
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=4 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=5 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=6 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=7 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=8 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=9 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=10 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=11,rdata=1001
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=12,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=13,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=14,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=15,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=16,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=17,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=18,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=19,rdata=2003
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=20,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=21,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=22,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=23,rdata=6A97
[PWRAP] _pwrap_init_reg_clock
[PMIC_WRAP]wrap_init pass,the return value=0.
[pmic6323_init] Preloader Start..................
[pmic6323_init] PMIC CHIP Code = 0x2023
INT_MISC_CON: 0  TOP_RST_MISC: 0
pl pmic powerkey Press
[pmic6323_init] powerKey = 1
[pmic6323_init] is USB in = 0xB004
[pmic6323_init] Reg[0x11A]=0x1B
pmic setup LED
[pmic6323_init] Done...................
mt7623 disable long press reset ->>>>>
mt7623 disable long press reset <<<<<-
mt7623 VPA supplied by 1.0V to MT7530 ->
mt7623 VPA supplied by 1.0V to MT7530 <-
mt7623 enables RG_VGP1_EN for LCM ->
mt7623 enables RG_VGP1_EN for LCM <-
MT7623 E2 setting =>
MT7623 E2 setting <=
[PLFM] Init I2C: OK(0)
[PLFM] Init PWRAP: OK(0)
[PLFM] Init PMIC: OK(0)
[PLFM] chip[CA00]

[BLDR] [Support SD/eMMC] Build Time: 20170210-093340
==== Dump RGU Reg ========
RGU MODE:     4D
RGU LENGTH:   FFE0
RGU STA:      0
RGU INTERVAL: FFF
RGU SWSYSRST: 0
==== Dump RGU Reg End ====
RGU: g_rgu_satus:0
 mtk_wdt_mode_config  mode value=10, tmp:22000010
PL P ON
WDT does not trigger reboot
RGU mtk_wdt_init:MTK_WDT_DEBUG_CTL(590200F3)
kpd read addr: 0x0040: data:0x4001
Enter mtk_kpd_gpio_set!
kpd debug column : 0, 0, 0, 0, 0, 0, 0, 0
kpd debug row : 0, 0, 0, 0, 0, 0, 0, 0
after set KP enable: KP_SEL = 0x0 !
MTK_PMIC_RST_KEY is used for this project!
[RTC] get_frequency_meter: input=0x0, ouput=5
[RTC] get_frequency_meter: input=0x0, ouput=3968
[RTC] get_frequency_meter: input=0x0, ouput=5
[RTC] get_frequency_meter: input=0x0, ouput=0
[RTC] get_frequency_meter: input=0x0, ouput=0
[RTC] bbpu = 0xD, con = 0x8427
rtc_first_boot_init
[RTC] get_frequency_meter: input=0x0, ouput=5
[RTC] get_frequency_meter: input=0x0, ouput=3968
[RTC] get_frequency_meter: input=0x0, ouput=5
[RTC] get_frequency_meter: input=0x0, ouput=0
[RTC] get_frequency_meter: input=0x0, ouput=0
rtc_2sec_stat_clear
rtc_2sec_reboot_check cali=256
rtc_2sec_stat_clear
[RTC] irqsta = 0x0, pdn1 = 0x0, pdn2 = 0x201, spar0 = 0xC0, spar1 = 0x800
[RTC] new_spare0 = 0x0, new_spare1 = 0x1, new_spare2 = 0x1, new_spare3 = 0x1
[RTC] bbpu = 0xD, con = 0x426, cali = 0x100
pl pmic powerkey Press
power key is pressed
[PLFM] Power key boot!
[RTC] rtc_bbpu_power_on done
[EMI] mcp_dram_num:0,discrete_dram_num:1,enable_combo_dis:0
[EMI] PCDDR3
[Check]mt_get_mdl_number 0x0
[EMI] eMMC/NAND ID = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
[EMI] MDL number = 0
[EMI] emi_set eMMC/NAND ID = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
[EMI][Vcore]0x21E=0x48,0x220=0x48
[EMI][Vmem]0x554=0x0
wait for frequency meter finish, CLK26CALI = 0x81
[EMI] PCDDR3 DRAM Clock = 1333004 KHz, MEMPLL MODE = 2
[EMI] PCDDR3 RXTDN Calibration:
Start REXTDN SW calibration...
drvp=0xB,drvn=0x8
[EMI] pinmux = 4
===============================================================================

        dramc_write_leveling_swcal
===============================================================================
delay  byte0  byte1  byte2  byte3
-----------------------------
0    0    0    0    0
1    0    0    1    0
2    1    0    1    0
3    1    0    1    0
4    1    0    1    0
5    1    0    1    0
6    1    0    1    0
7    1    0    1    0
8    1    0    1    1
9    1    0    1    1
10    1    0    1    1
11    1    0    1    1
12    1    1    1    1
13    1    1    1    1
14    1    1    1    1
15    1    1    1    1
pass bytecount = 4
byte_i    status    best delay
0    2    2
1    2    12
2    2    1
3    2    8
========================================
[write leveling]DQS: 0x81C2, DQM: 0x81C2
[write leveling after remap]DQ byte0 reg: 0x200 val: 0x2222CCCC
[write leveling after remap]DQ byte1 reg: 0x204 val: 0xCCCC2222
[write leveling after remap]DQ byte2 reg: 0x208 val: 0x11118888
[write leveling after remap]DQ byte3 reg: 0x20C val: 0x88881111
=============================================
X-axis: DQS Gating Window Delay (Fine Scale)
Y-axis: DQS Gating Window Delay (Coarse Scale)
=============================================
          0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
      --------------------------------------------------------------------------------
0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0010:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0011:|    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1    1
0012:|    0    0    0    1    1    1    1    1    1    1    1    1    1    1    0    0
0013:|    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0    0
0014:|    1    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
Rank 0 coarse tune value selection : 18, 18
18
64
rank 0 coarse = 18
rank 0 fine = 64
00:|    0    0    0    0    0    0    0    1    1    1    1    0
opt_dle value:12
==================================================================
                RX      DQS perbit delay software calibration
==================================================================
1.0-31 bit dq delay value
==================================================================
bit|     0  1  2  3  4  5  6  7  8  9
--------------------------------------
0 |    0 0 0 0 0 0 0 0 0 0
10 |    0 0 0 0 0 0 0 0 0 0
20 |    0 0 0 0 0 0 0 0 0 0
30 |    0 0
--------------------------------------
==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =52 DQS1 = 44 DQS2 =53 DQS3 = 50
==================================================================
bit     DQS0     bit      DQS1     bit     DQS2     bit     DQS3
0  (18~78)48  8  (11~71)41  16  (20~79)49  24  (17~73)45
1  (17~78)47  9  (9~69)39  17  (19~76)47  25  (15~68)41
2  (19~81)50  10  (13~75)44  18  (20~84)52  26  (19~79)49
3  (18~74)46  11  (15~74)44  19  (21~78)49  27  (17~72)44
4  (21~80)50  12  (15~74)44  20  (23~80)51  28  (23~78)50
5  (20~79)49  13  (16~73)44  21  (20~80)50  29  (19~72)45
6  (20~78)49  14  (14~71)42  22  (23~80)51  30  (17~71)44
7  (21~84)52  15  (16~71)43  23  (24~82)53  31  (19~76)47
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
0 |    4 5 2 6 2 3 3 0 3 5
10 |    0 0 0 0 2 1 4 6 1 4
20 |    2 3 2 0 5 9 1 6 0 5
30 |    6 3
==================================================================
*DQIDLY1 = 0x6020504
*DQIDLY2 = 0x30302
*DQIDLY3 = 0x503
*DQIDLY4 = 0x1020000
*DQIDLY5 = 0x4010604
*DQIDLY6 = 0x20302
*DQIDLY7 = 0x6010905
*DQIDLY8 = 0x3060500
*DRAMC_R0DELDLY = 0x32352C34

[MEM]CONA:F3A2,conf1:F07486A3
DM4BitMux = 1
DQSO 0 in TX per-bit = 0 <= DQSO 0 in WL = 2
DQSO 1 in TX per-bit = 0 <= DQSO 1 in WL = 12
[Warning] DQSO 2 in TX per-bit = 5 > DQSO 2 in WL = 1
DQSO 3 in TX per-bit = 6 <= DQSO 3 in WL = 8
Tx DQM dly  = 0x31F3
Tx DQM dly bit4 = 0x0
DRAMC_DQODLY1=33530F00h
DRAMC_DQODLY2=1F05345h
DRAMC_DQODLY3=10425244h
DRAMC_DQODLY4=44422222h
Tx DQ dly bit4 = 0xD00B
Tx DQS dly = 0x85C2
Tx DQS dly bit4 = 0x0
TX Byte0: DQ - 22, DQS - 18. win_sum= 39
TX Byte1: DQ - 24, DQS - 16. win_sum= 39
TX Byte2: DQ - 17, DQS - 24. win_sum= 40
TX Byte3: DQ - 16, DQS - 26. win_sum= 41
DRAMC calibration takes 652624420 CPU cycles

[EMI] DRAMC calibration passed

[MEM] complex R/W mem test pass
0:dram_rank_size:80000000
[Dram_Buffer] dram size:-2147483648
[Dram_Buffer] structure size: 1725560
[Dram_Buffer] MAX_TEE_DRAM_SIZE: 0
Boot from SD Card!!
[PLFM] Init Boot Device: OK(0)

[PART] blksz: 512B
[PART] [0x0000000000000000-0x000000000003FFFF] "PRELOADER" (512 blocks)
[PART] [0x0000000000000000-0x000000000003FFFF] "MBR" (512 blocks)
[PART] [0x0000000000040000-0x00000000000BFFFF] "UBOOT" (1024 blocks)
[PART] [0x00000000000C0000-0x00000000000FFFFF] "CONFIG" (512 blocks)
[PART] [0x0000000000100000-0x000000000013FFFF] "FACTORY" (512 blocks)
[PART] [0x0000000000140000-0x000000000213FFFF] "BOOTIMG" (65536 blocks)
[PART] [0x0000000002140000-0x000000000413FFFF] "RECOVERY" (65536 blocks)
[PART] [0x0000000004140000-0x000000004413FFFF] "ROOTFS" (2097152 blocks)
[PART] [0x0000000044140000-0x000001FFC413FFFF] "USER" (-4194304 blocks)
[platform_vusb_on] PASS
[TOOL] PMIC not dectect usb cable!
[TOOL] <UART> listen  ended, receive size:0!
[TOOL] <UART> wait sync time 150ms->5ms
[TOOL] <UART> receieved data: ()

Device APC domain init setup:

 bootloader load uboot ,the address of uboot is 81E00000
[PART]partition name UBOOT
[PART]partition start block 0x200
[PART]partition size 0x80000
[PART]partition blks 0x400
[PART]partition flags 0x0
[PART]partition name 0x8
[bean] part->startblk(0x200) bdev->blksz(0x200) part->part_id(8) hdr(0xFFB50000)
[BlkDev.c 101 ]partition block size 0x200 ,blks:0xECE000
[BlkDev.c 101 ]partition block erase size 0x200

[PART] load "UBOOT" from 0x0000000000050000 (dev) to 0x81E00000 (mem) [SUCCESS]
[PART] load speed: 6103KB/s, 300000 bytes, 48ms
[BT_SD_PG] device info 0x8590 0x8A00 0xCB01 0x102
0:dram_rank_size:80000000
[PLFM] md_type[0] = 255
[PLFM] md_type[1] = 255

[PLFM] boot reason: 0
[PLFM] boot mode: 0
[PLFM] META COM0: 0
[PLFM] <0xFFB7CC10>: 0x0
[PLFM] boot time: 2945ms
[PLFM] DDR reserve mode: enable = 0, success = 0

[BLDR] jump to 0x81E00000
[BLDR] <0x81E00000>=0xEA00000F
[BLDR] <0x81E00004>=0xE59FF014


U-Boot  (Mar 09 2017 - 17:12:46)

================== Iverson debug. ===========================
g_nr_bank = 1.
g_total_rank_size = 0x80000000
DRAM:  2 GiB
WARNING: Caches not enabled
dev_num = 0
***size=4096, offset=1536, blk_start=3, blk_cnt=8
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
dev_num = 0
***size=4096, offset=1536, blk_start=3, blk_cnt=8
*** Warning - bad CRC, using default environment

bootargs = board=bpi-r2 earlyprintk console=tty1 fbcon=map:0 console=ttyS0,115200 vmalloc=496M debug=7 initcall_debug=0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
Net:   Eth0
Uip activated

  *** U-Boot Boot Menu ***

     1. System Load Linux to SDRAM via TFTP.
     2. System Load Linux Kernel then write to Flash via TFTP.
     3. Boot Linux from SD.
     4. System Load Boot Loader then write to Flash via TFTP.
     5. System Load Linux Kernel then write to Flash via Serial.
     6. System Load Boot Loader then write to Flash via Serial.
     7. Boot system code via Flash.
     U-Boot console


  Press UP/DOWN to move, ENTER to select
BPI: SD/eMMC SD=1 eMMC=0 id = 1 (drivers/mmc/mediatek/mtk_mmc.c)
__mmc_init ret = 0
ret2 = 1
ret2 = 1
BPI: g_mtk_mmc_block.dev = 1
<= [mmc1 block 0] =>
[0x00000000] 53 44 4d 4d 43 5f 42 4f
[0x00000008] 4f 54 00 00 01 00 00 00
[0x00000010] 00 02 00 00 ff ff ff ff
[0x00000018] ff ff ff ff ff ff ff ff
[0x00000020] ff ff ff ff ff ff ff ff
[0x00000028] ff ff ff ff ff ff ff ff
[0x00000030] ff ff ff ff ff ff ff ff
[0x00000038] ff ff ff ff ff ff ff ff
[0x00000040] ff ff ff ff ff ff ff ff
[0x00000048] ff ff ff ff ff ff ff ff
[0x00000050] ff ff ff ff ff ff ff ff
[0x00000058] ff ff ff ff ff ff ff ff
[0x00000060] ff ff ff ff ff ff ff ff
[0x00000068] ff ff ff ff ff ff ff ff
[0x00000070] ff ff ff ff ff ff ff ff
[0x00000078] ff ff ff ff ff ff ff ff
[0x00000080] ff ff ff ff ff ff ff ff
[0x00000088] ff ff ff ff ff ff ff ff
[0x00000090] ff ff ff ff ff ff ff ff
[0x00000098] ff ff ff ff ff ff ff ff
[0x000000a0] ff ff ff ff ff ff ff ff
[0x000000a8] ff ff ff ff ff ff ff ff
[0x000000b0] ff ff ff ff ff ff ff ff
[0x000000b8] ff ff ff ff ff ff ff ff
[0x000000c0] ff ff ff ff ff ff ff ff
[0x000000c8] ff ff ff ff ff ff ff ff
[0x000000d0] ff ff ff ff ff ff ff ff
[0x000000d8] ff ff ff ff ff ff ff ff
[0x000000e0] ff ff ff ff ff ff ff ff
[0x000000e8] ff ff ff ff ff ff ff ff
[0x000000f0] ff ff ff ff ff ff ff ff
[0x000000f8] ff ff ff ff ff ff ff ff
[0x00000100] ff ff ff ff ff ff ff ff
[0x00000108] ff ff ff ff ff ff ff ff
[0x00000110] ff ff ff ff ff ff ff ff
[0x00000118] ff ff ff ff ff ff ff ff
[0x00000120] ff ff ff ff ff ff ff ff
[0x00000128] ff ff ff ff ff ff ff ff
[0x00000130] ff ff ff ff ff ff ff ff
[0x00000138] ff ff ff ff ff ff ff ff
[0x00000140] ff ff ff ff ff ff ff ff
[0x00000148] ff ff ff ff ff ff ff ff
[0x00000150] ff ff ff ff ff ff ff ff
[0x00000158] ff ff ff ff ff ff ff ff
[0x00000160] ff ff ff ff ff ff ff ff
[0x00000168] ff ff ff ff ff ff ff ff
[0x00000170] ff ff ff ff ff ff ff ff
[0x00000178] ff ff ff ff ff ff ff ff
[0x00000180] ff ff ff ff ff ff ff ff
[0x00000188] ff ff ff ff ff ff ff ff
[0x00000190] ff ff ff ff ff ff ff ff
[0x00000198] ff ff ff ff ff ff ff ff
[0x000001a0] ff ff ff ff ff ff ff ff
[0x000001a8] ff ff ff ff ff ff ff ff
[0x000001b0] ff ff ff ff ff ff ff ff
[0x000001b8] 90 4b 7d 01 00 00 00 be
[0x000001c0] 33 0c 0c 61 34 2d 00 20
[0x000001c8] 03 00 00 00 08 00 00 61
[0x000001d0] 35 2d 83 60 ea b6 00 20
[0x000001d8] 0b 00 00 d8 dd 00 00 00
[0x000001e0] 00 00 00 00 00 00 00 00
[0x000001e8] 00 00 00 00 00 00 00 00
[0x000001f0] 00 00 00 00 00 00 00 00
[0x000001f8] 00 00 00 00 00 00 55 aa

Partition Map for MMC device 1  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     204800          524288          017d4b90-01     0c
  2     729088          14538752        017d4b90-02     83
mmc1 is available
Interface:  MMC
  Device 1: Vendor: Man 000003 Snr 0d102200 Rev: 7.13 Prod: SL08G▒
            Type: Removable Hard Disk
            Capacity: 7580.0 MB = 7.4 GB (15523840 x 512)
Filesystem: FAT16 "BPI-BOOT   "
Boot from SD
reading bananapi/bpi-r2/linux/uEnv.txt
771 bytes read in 8 ms (93.8 KiB/s)
Loaded environment from uEnv.txt
Banana Pi bpi-r2 chip: mt7623n Service: linux
reading bananapi/bpi-r2/linux/uImage
5026201 bytes read in 645 ms (7.4 MiB/s)
reading bananapi/berryboot.img
** Unable to read file bananapi/berryboot.img **
bootm flag=0, states=70f
## Booting kernel from Legacy Image at 84000000 ...
   Image Name:   Linux-4.4.59-BPI-R2-Kernel
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5026137 Bytes = 4.8 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.59-BPI-R2-Kernel (root@gary) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) ) #1 SMP Mon Jun 5 22:28:14 CST 2017
[    0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Banana Pi BPI-R2 (MediaTek MT7623N 20170301)
[    0.000000] cma: Reserved 64 MiB at 0xfb800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 524287
[    0.000000] free_area_init_node: node 0, pgdat c0a8e200, node_mem_map df7f9000
[    0.000000]   Normal zone: 1040 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 133120 pages, LIFO batch:31
[    0.000000]   HighMem zone: 391167 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 13 pages/cpu @df7a7000 s21888 r8192 d23168 u53248
[    0.000000] pcpu-alloc: s21888 r8192 d23168 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 523247
[    0.000000] Kernel command line: board=bpi-r2 console=earlyprintk console=tty1 fbcon=map:0 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait service=linux vmalloc=496M debug=7 initcall_debug=0
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 2003288K/2097148K available (6793K kernel code, 522K rwdata, 2340K rodata, 556K init, 344K bss, 28324K reserved, 65536K cma-reserved, 1499132K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe1000000 - 0xff800000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0800000   ( 520 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc06aa724   (6794 kB)
[    0.000000]       .init : 0xc0987000 - 0xc0a12000   ( 556 kB)
[    0.000000]       .data : 0xc0a12000 - 0xc0a94ad0   ( 523 kB)
[    0.000000]        .bss : 0xc0a96000 - 0xc0aec228   ( 345 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000006] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000017] Switching to timer-based delay loop, resolution 76ns
[    0.000206] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 147020034397 ns
[    0.000636] Console: colour dummy device 80x30
[    0.001372] console [tty1] enabled
[    0.001409] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.001452] pid_max: default: 32768 minimum: 301
[    0.001582] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001611] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002235] CPU: Testing write buffer coherency: ok
[    0.002291] ftrace: allocating 25064 entries in 74 pages
[    0.039326] /cpus/cpu@0 missing clock-frequency property
[    0.039377] /cpus/cpu@1 missing clock-frequency property
[    0.039404] /cpus/cpu@2 missing clock-frequency property
[    0.039431] /cpus/cpu@3 missing clock-frequency property
[    0.039453] CPU0: update cpu_capacity 1024
[    0.039472] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.039570] Setting up static identity map for 0x80008280 - 0x800082d8
[    0.041115] CPU1: update cpu_capacity 1024
[    0.041121] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.041539] CPU2: update cpu_capacity 1024
[    0.041544] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.041943] CPU3: update cpu_capacity 1024
[    0.041948] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.042007] Brought up 4 CPUs
[    0.042124] SMP: Total of 4 processors activated (104.00 BogoMIPS).
[    0.042143] CPU: All CPU(s) started in SVC mode.
[    0.042197] CPU3: update max cpu_capacity 1024
[    0.043116] devtmpfs: initialized
[    0.049691] CPU0: update max cpu_capacity 1024
[    0.049973] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
[    0.050275] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.050328] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.052925] pinctrl core: initialized pinctrl subsystem
[    0.053766] NET: Registered protocol family 16
[    0.055340] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.065371] irq: no irq domain found for /pinctrl@10005000 !
[    0.066157] No ATAGs?
[    0.066193] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.066232] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.104378] iommu: Adding device 14007000.ovl to group 0
[    0.104458] iommu: Adding device 14008000.rdma to group 0
[    0.104509] iommu: Adding device 14009000.wdma to group 0
[    0.104565] iommu: Adding device 14012000.rdma to group 0
[    0.104960] vgaarb: loaded
[    0.105301] SCSI subsystem initialized
[    0.105571] usbcore: registered new interface driver usbfs
[    0.105659] usbcore: registered new interface driver hub
[    0.105744] usbcore: registered new device driver usb
[    0.106170] Linux cec interface: v0.10
[    0.107183] Advanced Linux Sound Architecture Driver Initialized.
[    0.108261] clocksource: Switched to clocksource arch_sys_counter
[    0.155793] NET: Registered protocol family 2
[    0.156405] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.156471] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.156545] TCP: Hash tables configured (established 4096 bind 4096)
[    0.156629] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.156672] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.156862] NET: Registered protocol family 1
[    0.157181] RPC: Registered named UNIX socket transport module.
[    0.157208] RPC: Registered udp transport module.
[    0.157226] RPC: Registered tcp transport module.
[    0.157243] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.157276] PCI: CLS 0 bytes, default 64
[    0.160045] audit: initializing netlink subsys (disabled)
[    0.160111] audit: type=2000 audit(0.140:1): initialized
[    0.170484] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.170835] fuse init (API version 7.23)
[    0.174415] bounce: pool size: 64 pages
[    0.174647] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.174684] io scheduler noop registered
[    0.174706] io scheduler deadline registered
[    0.174749] io scheduler cfq registered (default)
[    0.176460] mediatek-mt2701-pinctrl 1000b000.pinctrl: invalid function 3 on pin 208 .
[    0.298171] mt2701-pcie 1a000000.pcie: mtk_pcie_preinit: PCIE0 link up
[    0.298204] mt2701-pcie 1a000000.pcie: PCIE0 Setup OK
[    0.298229] mt2701-pcie 1a000000.pcie: BAR0 at bus 0, slot 0, val 0x80000000
[    0.298443] mt2701-pcie 1a000000.pcie: PCI host bridge to bus 0000:00
[    0.298475] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    0.298501] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.298523] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.298579] pci 0000:00:00.0: [14c3:0801] type 01 class 0x060400
[    0.298633] pci 0000:00:00.0: reg 0x10: [mem 0x80000000-0xffffffff]
[    0.298664] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    0.298757] pci 0000:00:00.0: supports D1
[    0.298779] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.299055] PCI: bus0: Fast back to back transfers disabled
[    0.299084] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.299280] pci 0000:01:00.0: [1b21:0612] type 00 class 0x010601
[    0.299356] pci 0000:01:00.0: reg 0x10: [io  0x0000-0x0007]
[    0.299391] pci 0000:01:00.0: reg 0x14: [io  0x0000-0x0003]
[    0.299425] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x0007]
[    0.299458] pci 0000:01:00.0: reg 0x1c: [io  0x0000-0x0003]
[    0.299492] pci 0000:01:00.0: reg 0x20: [io  0x0000-0x001f]
[    0.299526] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    0.299561] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.299847] PCI: bus1: Fast back to back transfers disabled
[    0.299874] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.299948] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    0.299973] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    0.299999] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    0.300025] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    0.300057] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    0.300086] pci 0000:00:00.0: BAR 7: assigned [io  0x0000-0x0fff]
[    0.300115] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    0.300148] pci 0000:01:00.0: BAR 5: assigned [mem 0x60000000-0x600001ff]
[    0.300177] pci 0000:01:00.0: BAR 4: assigned [io  0x0000-0x001f]
[    0.300205] pci 0000:01:00.0: BAR 0: assigned [io  0x0020-0x0027]
[    0.300234] pci 0000:01:00.0: BAR 2: assigned [io  0x0028-0x002f]
[    0.300262] pci 0000:01:00.0: BAR 1: assigned [io  0x0030-0x0033]
[    0.300290] pci 0000:01:00.0: BAR 3: assigned [io  0x0034-0x0037]
[    0.300319] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.300343] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    0.300369] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    0.300395] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    0.300460] mt2701-pcie 1a000000.pcie: ==>mtk_pcie_probe done
[    0.355294] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.357201] console [ttyS0] disabled
[    0.377423] 11004000.serial: ttyS0 at MMIO 0x11004000 (irq = 27, base_baud = 1625000) is a ST16650V2
[    1.322177] console [ttyS0] enabled
[    1.326185] [drm] Initialized drm 1.1.0 20060810
[    1.331039] mediatek-ddp 1400e000.mutex: Failed to get clock

Banana Pi BPI-R2 Open Source smart router with MTK 7623N design
(bpi team) #2
[    1.337014] mediatek-disp-ovl 14007000.ovl: Failed to initialize component: -517
[    1.344715] mediatek-disp-rdma 14008000.rdma: Failed to initialize component: -517
[    1.352365] mediatek-disp-rdma 14012000.rdma: Failed to initialize component: -517
[    1.360300] mediatek-dpi 14014000.dpi: Failed to get engine clock: -517
[    1.367880] mediatek-drm 14000000.dispsys: Adding component match for /ovl@14007000
[    1.375560] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14008000
[    1.384329] mediatek-hdmi-phy 10209100.hdmi-phy: Using default TX DRV impedance: 4.2k/36
[    1.394009] [drm] hdmi-audio-codec driver bound to HDMI
[    1.399276] mediatek-drm-hdmi 14015000.hdmi: Failed to get clocks: -517
[    1.406136] Mali: ERR: drivers/gpu/arm/mali/linux/mali_kernel_linux.c
[    1.412563]            mali_probe() 523
           mali_probe(): Failed to initialize platform device.
[    1.422053] Mali: Mali device driver loaded
[    1.432337] loop: module loaded
[    1.437269] nbd: registered device at major 43
[    1.449134] mt_usb 11200000.usb: Cannot get usb power from the device tree!
[    1.449134]
[    1.457718] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    1.464610] mt6323-regulator mt6323-regulator: Chip ID = 0x2023
[    1.478934] SCSI Media Changer driver v0.25
[    1.484210] libphy: Fixed MDIO Bus: probed
[    1.489744] usbcore: registered new interface driver asix
[    1.495188] usbcore: registered new interface driver ax88179_178a
[    1.501334] usbcore: registered new interface driver cdc_ether
[    1.507201] usbcore: registered new interface driver smsc95xx
[    1.512984] usbcore: registered new interface driver net1080
[    1.518682] usbcore: registered new interface driver cdc_subset
[    1.524616] usbcore: registered new interface driver zaurus
[    1.530270] usbcore: registered new interface driver cdc_ncm
[    1.536295] 1a1c0000.usb supply vbus not found, using dummy regulator
[    1.542845] xhci-mtk 1a1c0000.usb: fail to get sys_ck
[    1.548085] 1a240000.usb supply vbus not found, using dummy regulator
[    1.554637] xhci-mtk 1a240000.usb: fail to get sys_ck
[    1.559917] usbcore: registered new interface driver usb-storage
[    1.566475] mousedev: PS/2 mouse device common for all mice
[    1.574835] IR NEC protocol handler initialized
[    1.579389] IR RC5(x/sz) protocol handler initialized
[    1.584418] IR RC6 protocol handler initialized
[    1.588954] IR JVC protocol handler initialized
[    1.593462] IR Sony protocol handler initialized
[    1.598053] IR SANYO protocol handler initialized
[    1.602748] IR Sharp protocol handler initialized
[    1.607429] IR MCE Keyboard/mouse protocol handler initialized
[    1.613243] IR XMP protocol handler initialized
[    1.617993] MTK_WDT_NONRST_REG(0)
[    1.621979] mtk-wdt 10007000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.631080] msdc_drv_probe!
[    1.633939] mtk-msdc 11240000.mmc: Got CD GPIO
[    1.679183] usbcore: registered new interface driver usbhid
[    1.684733] usbhid: USB HID core driver
[    1.716949] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.728918] mmc0: new high speed SDHC card at address aaaa
[    1.734841] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[    1.740666]  mmcblk0: p1 p2
[    1.837698] mt8521p-audio mediatek,mt7623_audio: mt8521p_audio_probe()
[    1.844229] mt8521p_audio_probe set dev name mt8521p-audio
[    1.849898] mt8521p_dai_probe()
[    1.853024] mt8521p_dai_probe set dev name mt8521p-dai
[    1.858370] dummy_codec_probe set dev name dummy-codec
[    1.864017] asrc_mod_init()
[    1.876765] audrtc_mod_init()
[    1.880115] mt7623_wm8960_probe()
[    1.883483] afe_base_address = 0xe14fc000 from 0x11220000
[    1.888907] topckgen_base_address = 0xe14fa000
[    1.893327] cmsys_base_address = 0xe1f2c000
[    1.897484] infracfg_base_address = 0xe1f2e000
[    1.901917] pctrl_base_address = 0xe1f30000
[    1.906075] afe_sram_address = 0xe1f40000 from 0x112a0000
[    1.911451] mt_afe_init_clock
[    1.916193] mt8521p_gpio_probe
[    1.919259] mt8521p_gpio_probe pinctrl_lookup_state default fail -19
[    1.925574] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode0-gpio fail -19
[    1.933201] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode1-i2s0 fail -19
[    1.940827] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode1-i2s2 fail -19
[    1.948095] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode4-dmic fail -19
[    1.955374] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode1-pcm fail -19
[    1.962474] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode2-mrg fail -19
[    1.969588] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode0-gpio fail -19
[    1.977202] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode1-spdif fail -19
[    1.984916] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode0-gpio fail -19
[    1.992555] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode1-spdif fail -19
[    2.000308] mt7623-wm8960-machine 11220000.sound: ASoC: CODEC DAI wm8960-hifi not registered
[    2.010112] NET: Registered protocol family 10
[    2.015295] sit: IPv6 over IPv4 tunneling driver
[    2.020617] NET: Registered protocol family 17
[    2.025254] ThumbEE CPU extension supported.
[    2.029538] Registering SWP/SWPB emulation handler
[    2.036126] mtk-iommu 10205000.mmsys_iommu: bound 14010000.larb (ops mtk_smi_larb_component_ops)
[    2.044910] mtk-iommu 10205000.mmsys_iommu: bound 16010000.larb (ops mtk_smi_larb_component_ops)
[    2.053668] mtk-iommu 10205000.mmsys_iommu: bound 15001000.larb (ops mtk_smi_larb_component_ops)
[    2.063410] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000
[    2.071067] mediatek-drm 14000000.dispsys: Adding component match for /ovl@14007000
[    2.078731] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14008000
[    2.086724] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14012000
[    2.094465] mediatek-drm 14000000.dispsys: Adding component match for /dpi@14014000
[    2.103199] mali-utgard 13040000.mali: power_table 0/4 (107250000, 1150000, 280)
[    2.110585] mali-utgard 13040000.mali: power_table 1/4 (214500000, 1150000, 560)
[    2.117945] mali-utgard 13040000.mali: power_table 2/4 (312000000, 1150000, 815)
[    2.125315] mali-utgard 13040000.mali: power_table 3/4 (416000000, 1150000, 1087)
[    2.132897] mali-utgard 13040000.mali: mali_set_initial_clock [3] 416000000
[    2.142277] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    2.149710] musb probe
[    2.152185] musb probe reg: 0xe1fa8000 ,0xe1faa000 , irq: 35
[    2.171360] musb core probe done base 0xe1faa000
[    2.177112] libphy: mdio: probed
[    2.616471] mt7530 reset completed!!
[    2.620897] mt7623-gsw gswsys@1b100000: mac [0] is fixed link
[    2.626612] mt7623-gsw gswsys@1b100000: mac [1] is not fixed link
[    2.632853] mt7623-gsw gswsys@1b100000: Setting MHWTRAP to 0x0101fedf
[    2.670857] MT7530 0th bit  Tap_a = 0
[    2.675047] MT7530 1th bit  Tap_a = 0
[    2.679247] MT7530 2th bit  Tap_a = 0
[    2.683435] MT7530 3th bit  Tap_a = 0
[    2.687621] MT7530 4th bit  Tap_a = 0
[    2.759386] MT7530 0th bit  Tap_b = 128
[    2.831387] MT7530 1th bit  Tap_b = 128
[    2.903411] MT7530 2th bit  Tap_b = 128
[    2.975427] MT7530 3th bit  Tap_b = 128
[    3.047448] MT7530 4th bit  Tap_b = 128
[    3.241775] mt7623_gsw_config> LLLLL
[    3.249845] mt7623_gsw_config<
[    3.252930] mtk_eth_soc 1b100000.ethernet: generated random MAC address 36:c9:26:21:94:72
[    3.338169] mtk_eth_soc 1b100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    3.349125] mtk_eth_soc 1b100000.ethernet eth0: mediatek frame engine at 0xe2000000, irq 60
[    3.357465] mtk_eth_soc 1b100000.ethernet: generated random MAC address aa:b4:02:89:4a:08
[    3.438251] mtk_eth_soc 1b100000.ethernet: connected mac 1 to PHY at mdio-bus:05 [uid=00000000, driver=Generic PHY]
[    3.449338] mtk_eth_soc 1b100000.ethernet eth1: mediatek frame engine at 0xe2000000, irq 60
[    3.457650] netif_napi_add() called with weight 128 on device
[    3.463818] 1a1c0000.usb supply vbus not found, using dummy regulator
[    3.470640] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    3.475859] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 1
[    3.483777] xhci-mtk 1a1c0000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    3.492179] xhci-mtk 1a1c0000.usb: irq 58, io mem 0x1a1c0000
[    3.498690] hub 1-0:1.0: USB hub found
[    3.502463] hub 1-0:1.0: 1 port detected
[    3.506728] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    3.511957] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 2
[    3.519404] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.528126] hub 2-0:1.0: USB hub found
[    3.531908] hub 2-0:1.0: 1 port detected
[    3.536423] 1a240000.usb supply vbus not found, using dummy regulator
[    3.543245] xhci-mtk 1a240000.usb: xHCI Host Controller
[    3.548487] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 3
[    3.556377] xhci-mtk 1a240000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    3.564763] xhci-mtk 1a240000.usb: irq 59, io mem 0x1a240000
[    3.571183] hub 3-0:1.0: USB hub found
[    3.574951] hub 3-0:1.0: 1 port detected
[    3.579222] xhci-mtk 1a240000.usb: xHCI Host Controller
[    3.584428] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 4
[    3.591878] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.600713] hub 4-0:1.0: USB hub found
[    3.604475] hub 4-0:1.0: 1 port detected
[    3.611269] mt7623_wm8960_probe()
[    3.614650] afe_base_address = 0xe1ffc000 from 0x11220000
[    3.620084] topckgen_base_address = 0xe2036000
[    3.624505] cmsys_base_address = 0xe2038000
[    3.628681] infracfg_base_address = 0xe203a000
[    3.633100] pctrl_base_address = 0xe203c000
[    3.637255] afe_sram_address = 0xe2080000 from 0x112a0000
[    3.642630] mt_afe_init_clock
[    3.647381] mt_afe_debug_init failed to create mtksocaudio debugfs file
[    3.653969] mt8521p_gpio_probe
[    3.657019] mt8521p_gpio_probe pinctrl_lookup_state default fail -19
[    3.663345] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode0-gpio fail -19
[    3.670970] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode1-i2s0 fail -19
[    3.678597] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode1-i2s2 fail -19
[    3.685865] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode4-dmic fail -19
[    3.693144] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode1-pcm fail -19
[    3.700250] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode2-mrg fail -19
[    3.707339] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode0-gpio fail -19
[    3.714965] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode1-spdif fail -19
[    3.722675] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode0-gpio fail -19
[    3.730299] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode1-spdif fail -19
[    3.738042] mt7623-wm8960-machine 11220000.sound: ASoC: CODEC DAI wm8960-hifi not registered
[    3.746771] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000
[    3.753710] mediatek-drm 14000000.dispsys: bound 14007000.ovl (ops mtk_disp_ovl_component_ops)
[    3.762335] mediatek-drm 14000000.dispsys: bound 14008000.rdma (ops mtk_disp_rdma_component_ops)
[    3.771094] mediatek-drm 14000000.dispsys: bound 14012000.rdma (ops mtk_disp_rdma_component_ops)
[    3.807615] mediatek-cec 10012000.cec: phy_addr is 0x2000
[    3.813037] mediatek-drm 14000000.dispsys: bound 14014000.dpi (ops mtk_dpi_component_ops)
[    3.821240] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.827812] [drm] No driver support for vblank timestamp query.
[    3.834612] mt7623_wm8960_probe()
[    3.837961] afe_base_address = 0xe2074000 from 0x11220000
[    3.843388] topckgen_base_address = 0xe2078000
[    3.847808] cmsys_base_address = 0xe207a000
[    3.852001] infracfg_base_address = 0xe207c000
[    3.856425] pctrl_base_address = 0xe20b0000
[    3.860596] afe_sram_address = 0xe20c0000 from 0x112a0000
[    3.865961] mt_afe_init_clock
[    3.870708] mt_afe_debug_init failed to create mtksocaudio debugfs file
[    3.877281] mt8521p_gpio_probe
[    3.880352] mt8521p_gpio_probe pinctrl_lookup_state default fail -19
[    3.886666] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode0-gpio fail -19
[    3.894291] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode1-i2s0 fail -19
[    3.901914] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode1-i2s2 fail -19
[    3.909193] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode4-dmic fail -19
[    3.916462] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode1-pcm fail -19
[    3.923559] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode2-mrg fail -19
[    3.930657] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode0-gpio fail -19
[    3.938279] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode1-spdif fail -19
[    3.945978] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode0-gpio fail -19
[    3.953600] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode1-spdif fail -19
[    3.961340] mt7623-wm8960-machine 11220000.sound: ASoC: CODEC DAI wm8960-hifi not registered
[    3.968194] usb 3-1: new full-speed USB device number 2 using xhci-mtk
[    3.968225] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[    3.990214] usb-storage 2-1:1.0: USB Mass Storage device detected
[    3.994868] vemc3v3: disabling
[    3.994886] vgp1: disabling
[    3.994920] vcamaf: disabling
[    3.995470] ALSA device list:
[    3.995472]   No soundcards found.
[    4.011996] scsi host0: usb-storage 2-1:1.0
[    4.016824] mt7623_wm8960_probe()
[    4.020247] afe_base_address = 0xe20e4000 from 0x11220000
[    4.025679] topckgen_base_address = 0xe20e8000
[    4.026371] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    4.026412] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    4.033915] devtmpfs: mounted
[    4.034473] Freeing unused kernel memory: 556K (c0987000 - c0a12000)
[    4.034475] This architecture does not have kernel memory protection.
[    4.060049] cmsys_base_address = 0xe20ea000
[    4.064224] infracfg_base_address = 0xe20ec000
[    4.068675] pctrl_base_address = 0xe20f0000
[    4.072844] afe_sram_address = 0xe2100000 from 0x112a0000
[    4.078231] mt_afe_init_clock
[    4.083001] mt_afe_debug_init failed to create mtksocaudio debugfs file
[    4.089604] mt8521p_gpio_probe
[    4.092668] mt8521p_gpio_probe pinctrl_lookup_state default fail -19
[    4.099003] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode0-gpio fail -19
[    4.106620] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode1-i2s0 fail -19
[    4.114274] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode1-i2s2 fail -19
[    4.121566] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode4-dmic fail -19
[    4.122108] usb 3-1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[    4.125011] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/1a240000.usb/usb3/3-1/3-1:1.0/0003:062A:4101.0001/input/input0
[    4.149677] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode1-pcm fail -19
[    4.156779] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode2-mrg fail -19
[    4.163897] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode0-gpio fail -19
[    4.171537] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode1-spdif fail -19
[    4.178428] hid-generic 0003:062A:4101.0001: input: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on usb-1a240000.usb-1/input0
[    4.182476] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/1a240000.usb/usb3/3-1/3-1:1.1/0003:062A:4101.0002/input/input1
[    4.203804] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode0-gpio fail -19
[    4.211458] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode1-spdif fail -19
[    4.219253] mt7623-wm8960-machine 11220000.sound: ASoC: CODEC DAI wm8960-hifi not registered
[    4.228083] mt7623_wm8960_probe()
[    4.231529] afe_base_address = 0xe20fc000 from 0x11220000
[    4.236948] topckgen_base_address = 0xe218a000
[    4.238561] hid-generic 0003:062A:4101.0002: input: USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on usb-1a240000.usb-1/input1
[    4.253534] cmsys_base_address = 0xe218c000
[    4.257710] infracfg_base_address = 0xe218e000
[    4.262163] pctrl_base_address = 0xe2190000
[    4.266323] afe_sram_address = 0xe21c0000 from 0x112a0000
[    4.271724] mt_afe_init_clock
[    4.276462] mt_afe_debug_init failed to create mtksocaudio debugfs file
[    4.283066] mt8521p_gpio_probe
[    4.286124] mt8521p_gpio_probe pinctrl_lookup_state default fail -19
[    4.292486] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode0-gpio fail -19
[    4.292504] systemd[1]: System time before build time, advancing clock.
[    4.306705] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode1-i2s0 fail -19
[    4.314354] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode1-i2s2 fail -19
[    4.321644] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode4-dmic fail -19
[    4.328933] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode1-pcm fail -19
[    4.336025] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode2-mrg fail -19
[    4.343130] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode0-gpio fail -19
[    4.350779] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode1-spdif fail -19
[    4.358525] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode0-gpio fail -19
[    4.363064] random: systemd: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    4.375247] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode1-spdif fail -19
[    4.375293] mt7623-wm8960-machine 11220000.sound: ASoC: CODEC DAI wm8960-hifi not registered
[    4.375686] mt7623_wm8960_probe()
[    4.375759] afe_base_address = 0xe2194000 from 0x11220000
[    4.375827] topckgen_base_address = 0xe2198000
[    4.375833] cmsys_base_address = 0xe219a000
[    4.375836] infracfg_base_address = 0xe219c000
[    4.375840] pctrl_base_address = 0xe21a0000
[    4.375843] afe_sram_address = 0xe2200000 from 0x112a0000
[    4.375846] mt_afe_init_clock
[    4.377616] mt_afe_debug_init failed to create mtksocaudio debugfs file
[    4.377618] mt8521p_gpio_probe
[    4.377631] mt8521p_gpio_probe pinctrl_lookup_state default fail -19
[    4.377635] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode0-gpio fail -19
[    4.377638] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode1-i2s0 fail -19
[    4.377641] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode1-i2s2 fail -19
[    4.377643] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode4-dmic fail -19
[    4.377646] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode1-pcm fail -19
[    4.377649] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode2-mrg fail -19
[    4.377652] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode0-gpio fail -19
[    4.377655] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode1-spdif fail -19
[    4.377658] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode0-gpio fail -19
[    4.377661] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode1-spdif fail -19
[    4.377688] mt7623-wm8960-machine 11220000.sound: ASoC: CODEC DAI wm8960-hifi not registered
[    4.525682] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    4.544410] systemd[1]: Detected architecture arm.

Welcome to Ubuntu 16.04.2 LTS!

[    4.583082] systemd[1]: Set hostname to <bpi-iot-ros-ai>.
[    4.606566] random: systemd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    4.624055] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.634407] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.660352] random: systemd-cryptse: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.676697] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    4.785574] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    4.831522] random: systemd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[    4.840985] random: systemd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[    4.851388] random: systemd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[    5.008864] scsi 0:0:0:0: Direct-Access     SanDisk  Extreme          0001 PQ: 0 ANSI: 6
[    5.017829] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    5.018044] mt7623_wm8960_probe()
[    5.018119] afe_base_address = 0xe21b8000 from 0x11220000
[    5.018233] topckgen_base_address = 0xe219e000
[    5.018239] cmsys_base_address = 0xe21b6000
[    5.018243] infracfg_base_address = 0xe21bc000
[    5.018247] pctrl_base_address = 0xe21e4000
[    5.018250] afe_sram_address = 0xe2240000 from 0x112a0000
[    5.018254] mt_afe_init_clock
[    5.020039] mt_afe_debug_init failed to create mtksocaudio debugfs file
[    5.020041] mt8521p_gpio_probe
[    5.020056] mt8521p_gpio_probe pinctrl_lookup_state default fail -19
[    5.020060] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode0-gpio fail -19
[    5.020063] mt8521p_gpio_probe pinctrl_lookup_state audi2s0lrck-mode1-i2s0 fail -19
[    5.020066] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode1-i2s2 fail -19
[    5.020069] mt8521p_gpio_probe pinctrl_lookup_state audi2s2-mode4-dmic fail -19
[    5.020072] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode1-pcm fail -19
[    5.020075] mt8521p_gpio_probe pinctrl_lookup_state audpcm-mode2-mrg fail -19
[    5.020078] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode0-gpio fail -19
[    5.020080] mt8521p_gpio_probe pinctrl_lookup_state audspdifin0-mode1-spdif fail -19
[    5.020083] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode0-gpio fail -19
[    5.020086] mt8521p_gpio_probe pinctrl_lookup_state audspdifin1-mode1-spdif fail -19
[    5.020136] mt7623-wm8960-machine 11220000.sound: ASoC: CODEC DAI wm8960-hifi not registered
[    5.027509] sd 0:0:0:0: [sda] 62533296 512-byte logical blocks: (32.0 GB/29.8 GiB)
[    5.027904] sd 0:0:0:0: [sda] Write Protect is off
[    5.027914] sd 0:0:0:0: [sda] Mode Sense: 33 00 00 08
[    5.028248] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.037539] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.070476] systemd[1]: Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    5.208631] systemd[1]: Started Trigger resolvconf update for networkd DNS.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[    5.238334] systemd[1]: Reached target User and Group Name Lookups.
[  OK  ] Reached target User and Group Name Lookups.
[    5.268543] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    5.288517] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.318505] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    5.338480] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    5.368388] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    5.398362] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    5.428286] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    5.458289] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    5.478369] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.498431] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    5.526306] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    5.551695] systemd[1]: Starting Restore / save the current clock...
         Starting Restore / save the current clock...
[    5.580227] systemd[1]: Started Read required files in advance.
[  OK  ] Started Read required files in advance.
[    5.653386] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required st... nodes for the current kernel...
[    5.690100] systemd[1]: Starting Nameserver information manager...
         Starting Nameserver information manager...
[    5.720225] systemd[1]: Started Braille Device Support.
[  OK  ] Started Braille Device Support.
[    5.750635] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    5.778454] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    5.798790] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    5.830220] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    5.848564] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.878709] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    5.908468] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    5.930118] systemd[1]: Starting Set console keymap...
         Starting Set console keymap...
[    5.960233] systemd[1]: Starting Uncomplicated firewall...
         Starting Uncomplicated firewall...
[    5.988743] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    6.020793] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[    6.048786] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[    6.141774] mt7623-gsw gswsys@1b100000: port 3 link up
[  OK  ] Started Set console keymap.
[  OK  ] Started Uncomplicated firewall.
[  OK  ] Started Nameserver information manager.
[  OK  ] Reached target Network (Pre).
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Mounting Configuration File System...
         Mounting FUSE Control File System...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting File System Check on Root Device...
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Started File System Check on Root Device.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting udev Coldplug all Devices...
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting LSB: AppArmor initialization...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started LSB: AppArmor initialization.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Reached target System Time Synchronized.
         Starting Raise network interfaces...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started udev Coldplug all Devices.
[    7.731030] mt7623-wm8960-machine 11220000.sound: ASoC: CODEC DAI wm8960-hifi not registered
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
[    8.248442] mt7623-wm8960-machine 11220000.sound: ASoC: CODEC DAI wm8960-hifi not registered
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily apt activities.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Reached target Sockets.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Basic System.
         Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
[  OK  ] Started Run anacron jobs.
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
         Starting Modem Manager...
         Starting Login Service...
         Starting LSB: Banana Pi init script...
         Starting LSB: Autogenerate and use a swap file...
         Starting LSB: Speech Dispatcher...
         Starting LSB: automatic crash report generation...
[  OK  ] Started crash report submission daemon.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started Avahi DNS Configuration Daemon.
         Starting Permit User Sessions...
[  OK  ] Started CUPS Scheduler.
         Starting System Logging Service...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Make remote CUPS printers available locally.
         Starting Network Manager...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[    9.594093] mt7623-wm8960-machine 11220000.sound: ASoC: CODEC DAI wm8960-hifi not registered
         Starting LSB: daemon to balance interrupts for SMP systems...
         Starting SSH key generation on first startup...
         Starting Accounts Service...
[  OK  ] Started Deferred execution scheduler.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started System Logging Service.
[  OK  ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: daemon to balance interrupts for SMP systems.
[  OK  ] Started SSH key generation on first startup.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  OK  ] Started LSB: Banana Pi init script.
[  OK  ] Started LSB: Speech Dispatcher.
[  OK  ] Started LSB: automatic crash report generation.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started LSB: Autogenerate and use a swap file.
[  OK  ] Started Network Manager.
[  OK  ] Started Login Service.
         Starting Network Manager Script Dispatcher Service...
         Starting Network Manager Wait Online...
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Reached target Network.
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting OpenBSD Secure Shell server...
         Starting Light Display Manager...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Accounts Service.
         Starting Hostname Service...
[  OK  ] Started Modem Manager.
[  OK  ] Started Light Display Manager.
[  OK  ] Started Hostname Service.
[   11.775294] vgaarb: this pci device is not a vga device
[   13.044906] vgaarb: this pci device is not a vga device
[  OK  ] Created slice User Slice of pi.
         Starting User Manager for UID 1000...
[  OK  ] Started Session c1 of user pi.
[  OK  ] Started User Manager for UID 1000.
         Starting RealtimeKit Scheduling Policy Service...
[  OK  ] Started RealtimeKit Scheduling Policy Service.
         Starting Disk Manager...
[  OK  ] Started Disk Manager.
         Starting Daemon for power management...
[  OK  ] Started Daemon for power management.
[FAILED] Failed to start Network Manager Wait Online.
See 'systemctl status NetworkManager-wait-online.service' for details.
[  OK  ] Reached target Network is Online.
         Starting LSB: Start NTP daemon...
         Starting /etc/rc.local Compatibility...
         Starting LSB: disk temperature monitoring daemon...
         Starting LSB: Start xrdp and sesman daemons...
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started /etc/rc.local Compatibility.
         Starting Hold until boot process finishes up...
[  OK  ] Started Hold until boot process finishes up.
[  OK  ] Started LSB: Start xrdp and sesman daemons.
         Starting Set console scheme...
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
[  OK  ] Started Stop ureadahead data collection 45s after completed startup.
[  OK  ] Started TLP system startup/shutdown.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Set console scheme.
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 16.04.2 LTS bpi-iot-ros-ai ttyS0

bpi-iot-ros-ai login: root
Password:
Last login: Tue May 23 15:20:27 CST 2017 on ttyS0
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.59-BPI-R2-Kernel armv7l)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

0 packages can be updated.
0 updates are security updates.


root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~# lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 062a:4101 Creative Labs Wireless Keyboard/Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0781:5580 SanDisk Corp. SDCZ80 Flash Drive
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~# fdisk -l
Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x017d4b90

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1      204800   729087   524288  256M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      729088 15267839 14538752    7G 83 Linux


Disk /dev/sda: 29.8 GiB, 32017047552 bytes, 62533296 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~# dd if=/dev/zero of=/dev/sda bs=1M count=512
512+0 records in
512+0 records out
536870912 bytes (537 MB, 512 MiB) copied, 5.75219 s, 93.3 MB/s
root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~# lspci
00:00.0 PCI bridge: MEDIATEK Corp. Device 0801 (rev 01)
01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~# dd if=/dev/zero of=/dev/sdb bs=1M count=512
512+0 records in
512+0 records out
536870912 bytes (537 MB, 512 MiB) copied, 8.23068 s, 65.2 MB/s
root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 36:c9:26:21:94:72
          inet6 addr: fe80::5977:5b53:dc87:17bf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:264 errors:0 dropped:0 overruns:0 frame:0
          TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:24734 (24.7 KB)  TX bytes:16376 (16.3 KB)
          Interrupt:60

root@bpi-iot-ros-ai:~# ifconfig eth0 192.168.0.1 up
root@bpi-iot-ros-ai:~#
root@bpi-iot-ros-ai:~# ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
64 bytes from 192.168.0.2: icmp_seq=1 ttl=128 time=2.17 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=128 time=1.03 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=128 time=1.03 ms
64 bytes from 192.168.0.2: icmp_seq=4 ttl=128 time=1.03 ms
^C
--- 192.168.0.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 1.030/1.318/2.179/0.498 ms
root@bpi-iot-ros-ai:~#

Banana Pi BPI-R2 Open Source smart router with MTK 7623N design