BPI-R2 boot / power suppy


(john) #22

Thought I might be able to use it without the HDMI but now it just floods the network taking every device offline including my PC. Then it goes into a reboot loop.


(john) #23

Well after several attempts at reburning images I now have it working without xorg but there seems to be a problem with the kernel features. iptables always comes up with the below error

root@bpi-iot-ros-ai:/home/pi# iptables --list

modprobe: ERROR: ../libkmod/libkmod-module.c:192 kmod_module_parse_depline() ctx=0x7f5ec008 path=/lib/modules/4.4.70-BPI-R2-Kernel/kernel/net/netfilter/x_tables.ko error=No such file or directory
modprobe: ERROR: ../libkmod/libkmod-module.c:192 kmod_module_parse_depline() ctx=0x7f5ec008 path=/lib/modules/4.4.70-BPI-R2-Kernel/kernel/net/netfilter/x_tables.ko error=No such file or directory
modprobe: ERROR: could not insert 'ip_tables': Unknown symbol in module, or unknown parameter (see dmesg)
iptables v1.6.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

(gary) #24

I don’t see this problem, Can you please try the latest firmware? (get it from this link http://www.banana-pi.org/r2-download.html)


(john) #25

I have been doing all my testing from preview2, preview3 (https://drive.google.com/drive/folders/0B_YnvHgh2rwjbUNpZXIzMnlKSGM) and a manual build from git. I will go back to preview2 once more and try again but fairly certain.


(Benoit) #26

Hi all, I have just received a BPI-R2 V1.1 And When I try to boot with SDCard, during 4seconds I have a green screen and after I lost the display. No activity on LAN and WLAN port. A red led is ON near the HDMI port Leds green and blue is ON

I have tried with img:

  • ubuntu-16.04-mate-desktop-docker-preview2-bpi-r2-sd-emmc.img-2017-08-01
  • Raspbian :2017-03-10-raspbian-jessie-preview-bpi-r2-sd-emmc.img

(gary) #27

I’m so sorry for this.

Can you please share us the boot log when the issue happens? I guess this is an known issue, please see https://github.com/BPI-SINOVOIP/BPI-R2-bsp/issues/5 for details, we’re debugging it.

Can you please try below image ?


(Benoit) #28

No, it’s appears directly after the power ON:

  1. T0: I push Power ON during 10s: Leds blue,green,red is ON
  2. T+10s: a green screen: Leds blue,green is ON, red is OFF and HDMI red led is ON, I unpush powerON button
  3. T+14s: display power OFF: Leds blue,green is ON, red is OFF and HDMI red led is ON

#29

could you provide any console log?


(gary) #30

I guess the HDMI LED is the LED shown in below picture, if yes, that means the bootloader is loaded and ran correctly when RED LED(near HDMI) is on. After unpushing power button key, it will take a few minutes to boot Ubuntu system if the Kernel doesn’t hang. So now I need the serial port log to see what happens?


(Benoit) #31

hello, I have tried to boot with serial console, but I have only a lot of special caracters I have tried to change UTF8 to other caracters code without results!


(dorabmon) #32

what did you use baud rate for you case ? please try 115200n8


(Benoit) #33

After changed my usb/uart cable the Bananapi boot, but Hi have not a display on hdmi port The bootlog is ok


(dorabmon) #34

Could you post more log from uart console, might be @garywang could give you a hand and also help other guy involving this project using the board


(Benoit) #35
[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 = 0xF, con = 0xBDBA
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=1792
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 = 0xF, con = 0x426, cali = 0x700
pl pmic powerkey Release
[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=0x9
[EMI] pinmux = 4
===============================================================================

        dramc_write_leveling_swcal
===============================================================================
delay  byte0  byte1  byte2  byte3
-----------------------------
0    0    0    0    0
1    0    0    0    1
2    0    0    0    1
3    0    0    1    1
4    0    0    1    1
5    0    1    1    1
6    0    1    1    1
7    0    1    1    1
8    0    1    1    1
9    1    1    1    1
10    1    1    1    1
11    1    1    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    9
1    2    5
2    2    3
3    2    1
========================================
[write leveling]DQS: 0x1359, DQM: 0x1359
[write leveling after remap]DQ byte0 reg: 0x200 val: 0x99995555
[write leveling after remap]DQ byte1 reg: 0x204 val: 0x55559999
[write leveling after remap]DQ byte2 reg: 0x208 val: 0x33331111
[write leveling after remap]DQ byte3 reg: 0x20C val: 0x11113333
=============================================
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    0    1    1    1    1    1    1
0012:|    0    0    0    1    1    1    1    1    1    1    1    1    1    1    1    1
0013:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0
0014:|    1    1    1    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    0    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 =55 DQS1 = 46 DQS2 =57 DQS3 = 51
==================================================================
bit     DQS0     bit      DQS1     bit     DQS2     bit     DQS3
0  (18~80)49  8  (10~73)41  16  (21~79)50  24  (17~73)45
1  (18~80)49  9  (11~72)41  17  (23~80)51  25  (17~73)45
2  (20~86)53  10  (13~73)43  18  (25~80)52  26  (19~78)48
3  (19~79)49  11  (13~75)44  19  (20~79)49  27  (20~76)48
4  (21~83)52  12  (17~76)46  20  (25~86)55  28  (23~79)51
5  (21~80)50  13  (16~73)44  21  (23~80)51  29  (19~71)45
6  (21~79)50  14  (11~74)42  22  (26~84)55  30  (18~76)47
7  (24~86)55  15  (16~76)46  23  (31~84)57  31  (20~76)48
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
0 |    6 6 2 6 3 5 5 0 5 5
10 |    3 2 0 2 4 0 7 6 5 8
20 |    2 6 2 0 6 6 3 3 0 6
30 |    4 3
==================================================================
*DQIDLY1 = 0x6020606
*DQIDLY2 = 0x50503
*DQIDLY3 = 0x2030505
*DQIDLY4 = 0x40200
*DQIDLY5 = 0x8050607
*DQIDLY6 = 0x20602
*DQIDLY7 = 0x3030606
*DQIDLY8 = 0x3040600
*DRAMC_R0DELDLY = 0x33392E37

[MEM]CONA:F3A2,conf1:F07486A3
DM4BitMux = 1
DQSO 0 in TX per-bit = 0 <= DQSO 0 in WL = 9
DQSO 1 in TX per-bit = 0 <= DQSO 1 in WL = 5
[Warning] DQSO 2 in TX per-bit = 6 > DQSO 2 in WL = 3
[Warning] DQSO 3 in TX per-bit = 5 > DQSO 3 in WL = 1
Tx DQM dly  = 0x119B
Tx DQM dly bit4 = 0x0
DRAMC_DQODLY1=9BDCA9B9h
DRAMC_DQODLY2=9A9ADABCh
DRAMC_DQODLY3=1112022h
DRAMC_DQODLY4=21103123h
Tx DQ dly bit4 = 0x0
Tx DQS dly = 0x5659
Tx DQS dly bit4 = 0x0
TX Byte0: DQ - 22, DQS - 18. win_sum= 39
TX Byte1: DQ - 27, DQS - 16. win_sum= 42
TX Byte2: DQ - 17, DQS - 25. win_sum= 41
TX Byte3: DQ - 16, DQS - 24. win_sum= 39
DRAMC calibration takes 653258524 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:0x1DACC00
[BlkDev.c 101 ]partition block erase size 0x200

[PART] load "UBOOT" from 0x0000000000050000 (dev) to 0x81E00000 (mem) [SUCCESS]
[PART] load speed: 5633KB/s, 300000 bytes, 52ms
[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: 2952ms
[PLFM] DDR reserve mode: enable = 0, success = 0

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


U-Boot  (Aug 01 2017 - 09:59:52)

================== 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] 40 86 e7 7d 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          7de78640-01     0c
  2     729088          14538752        7de78640-02     83
mmc1 is available
Interface:  MMC
  Device 1: Vendor: Man 000003 Snr 450d1e01 Rev: 1.5 Prod: SL16G▒
            Type: Removable Hard Disk
            Capacity: 15193.5 MB = 14.8 GB (31116288 x 512)
Filesystem: FAT16 "BPI-BOOT   "
Boot from SD
reading bananapi/bpi-r2/linux/uEnv.txt
771 bytes read in 7 ms (107.4 KiB/s)
Loaded environment from uEnv.txt
Banana Pi bpi-r2 chip: mt7623n Service: linux
reading bananapi/bpi-r2/linux/uImage
7515732 bytes read in 964 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.70-BPI-R2-Kernel
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7515668 Bytes = 7.2 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] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.70-BPI-R2-Kernel (root@bpi-iot-ros-ai) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP Tue Aug 1 10:03:02 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 c0f5f900, node_mem_map df5f9000
[    0.000000]   Normal zone: 1170 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 @df5a5000 s22348 r8192 d22708 u53248
[    0.000000] pcpu-alloc: s22348 r8192 d22708 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: 523117
[    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: 1996236K/2097148K available (10104K kernel code, 741K rwdata, 3444K rodata, 688K init, 390K bss, 35376K 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 - 0xc09e64bc   (10106 kB)
[    0.000000]       .init : 0xc0e04000 - 0xc0eb0000   ( 688 kB)
[    0.000000]       .data : 0xc0eb0000 - 0xc0f694b0   ( 742 kB)
[    0.000000]        .bss : 0xc0f6b000 - 0xc0fcc8ec   ( 391 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.000191] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 147020034397 ns
[    0.000647] Console: colour dummy device 80x30
[    0.001435] console [tty1] enabled
[    0.001472] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.001515] pid_max: default: 32768 minimum: 301
[    0.001661] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001688] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002364] Initializing cgroup subsys io
[    0.002404] Initializing cgroup subsys memory
[    0.002451] Initializing cgroup subsys devices
[    0.002480] Initializing cgroup subsys freezer
[    0.002509] Initializing cgroup subsys net_cls
[    0.002534] Initializing cgroup subsys perf_event
[    0.002561] Initializing cgroup subsys net_prio
[    0.002596] Initializing cgroup subsys pids
[    0.002634] CPU: Testing write buffer coherency: ok
[    0.002692] ftrace: allocating 33545 entries in 99 pages
[    0.052981] CPU0: update cpu_capacity 1024
[    0.053022] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.053120] Setting up static identity map for 0x80008280 - 0x800082d8
[    0.054815] CPU1: update cpu_capacity 1024
[    0.054822] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.055280] CPU2: update cpu_capacity 1024
[    0.055285] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.055721] CPU3: update cpu_capacity 1024
[    0.055725] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.055788] Brought up 4 CPUs
[    0.055905] SMP: Total of 4 processors activated (104.00 BogoMIPS).
[    0.055924] CPU: All CPU(s) started in SVC mode.
[    0.055981] CPU3: update max cpu_capacity 1024
[    0.056957] devtmpfs: initialized
[    0.064704] CPU0: update max cpu_capacity 1024
[    0.065057] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
[    0.065374] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.065424] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.068199] xor: measuring software checksum speed
[    0.162759]    arm4regs  :  1288.800 MB/sec
[    0.262820]    8regs     :   897.600 MB/sec
[    0.362884]    32regs    :   871.600 MB/sec
[    0.462942]    neon      :  1299.200 MB/sec
[    0.462962] xor: using function: neon (1299.200 MB/sec)
[    0.463095] pinctrl core: initialized pinctrl subsystem
[    0.464068] NET: Registered protocol family 16
[    0.465768] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.476519] irq: no irq domain found for /pinctrl@10005000 !
[    0.477330] No ATAGs?
[    0.477370] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.477410] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.683351] raid6: int32x1  gen()   182 MB/s
[    0.853508] raid6: int32x1  xor()   166 MB/s
[    1.023458] raid6: int32x2  gen()   219 MB/s
[    1.193678] raid6: int32x2  xor()   178 MB/s
[    1.363813] raid6: int32x4  gen()   226 MB/s
[    1.533844] raid6: int32x4  xor()   177 MB/s
[    1.704149] raid6: int32x8  gen()   211 MB/s
[    1.874197] raid6: int32x8  xor()   145 MB/s
[    2.044231] raid6: neonx1   gen()   510 MB/s
[    2.214326] raid6: neonx1   xor()   374 MB/s
[    2.384501] raid6: neonx2   gen()   670 MB/s
[    2.554615] raid6: neonx2   xor()   486 MB/s
[    2.724742] raid6: neonx4   gen()   744 MB/s
[    2.894852] raid6: neonx4   xor()   513 MB/s
[    3.065004] raid6: neonx8   gen()   703 MB/s
[    3.235099] raid6: neonx8   xor()   496 MB/s
[    3.235119] raid6: using algorithm neonx4 gen() 744 MB/s
[    3.235137] raid6: .... xor() 513 MB/s, rmw enabled
[    3.235155] raid6: using intx1 recovery algorithm
[    3.240758] iommu: Adding device 14007000.ovl to group 0
[    3.240830] iommu: Adding device 14008000.rdma to group 0
[    3.240878] iommu: Adding device 14009000.wdma to group 0
[    3.240932] iommu: Adding device 14012000.rdma to group 0
[    3.241340] vgaarb: loaded
[    3.241744] SCSI subsystem initialized
[    3.241997] usbcore: registered new interface driver usbfs
[    3.242072] usbcore: registered new interface driver hub
[    3.242165] usbcore: registered new device driver usb
[    3.242863] Linux cec interface: v0.10
[    3.243970] Advanced Linux Sound Architecture Driver Initialized.
[    3.245248] clocksource: Switched to clocksource arch_sys_counter
[    3.300370] FS-Cache: Loaded
[    3.300651] CacheFiles: Loaded
[    3.310733] NET: Registered protocol family 2
[    3.311395] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    3.311462] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    3.311537] TCP: Hash tables configured (established 4096 bind 4096)
[    3.311617] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    3.311662] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    3.311871] NET: Registered protocol family 1
[    3.312223] RPC: Registered named UNIX socket transport module.
[    3.312251] RPC: Registered udp transport module.
[    3.312269] RPC: Registered tcp transport module.
[    3.312286] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.312322] PCI: CLS 0 bytes, default 64
[    3.315385] audit: initializing netlink subsys (disabled)
[    3.315455] audit: type=2000 audit(3.300:1): initialized
[    3.324883] VFS: Disk quotas dquot_6.6.0
[    3.325121] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    3.326846] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.329081] NFS: Registering the id_resolver key type
[    3.329155] Key type id_resolver registered
[    3.329173] Key type id_legacy registered
[    3.329205] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.330052] ntfs: driver 2.1.32 [Flags: R/W].
[    3.330596] fuse init (API version 7.23)
[    3.331575] JFS: nTxBlock = 8192, nTxLock = 65536
[    3.339293] SGI XFS with ACLs, security attributes, no debug enabled
[    3.345126] bounce: pool size: 64 pages
[    3.345476] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    3.345635] io scheduler noop registered
[    3.345661] io scheduler deadline registered
[    3.345721] io scheduler cfq registered (default)
[    3.475263] mt2701-pcie 1a000000.pcie: mtk_pcie_preinit: PCIE1 link up
[    3.475299] mt2701-pcie 1a000000.pcie: PCIE1 Setup OK
[    3.475323] mt2701-pcie 1a000000.pcie: BAR0 at bus 0, slot 1, val 0x80000000
[    3.475553] mt2701-pcie 1a000000.pcie: PCI host bridge to bus 0000:00
[    3.475583] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    3.475608] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.475630] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    3.475685] pci 0000:00:01.0: [14c3:0801] type 01 class 0x060400
[    3.475740] pci 0000:00:01.0: reg 0x10: [mem 0x80000000-0xffffffff]
[    3.475769] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    3.475863] pci 0000:00:01.0: supports D1
[    3.475885] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    3.476190] PCI: bus0: Fast back to back transfers disabled
[    3.476217] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.476425] pci 0000:01:00.0: [1b21:0611] type 00 class 0x010185
[    3.476501] pci 0000:01:00.0: reg 0x10: [io  0x0000-0x0007]
[    3.476535] pci 0000:01:00.0: reg 0x14: [io  0x0000-0x0003]
[    3.476568] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x0007]
[    3.476601] pci 0000:01:00.0: reg 0x1c: [io  0x0000-0x0003]
[    3.476634] pci 0000:01:00.0: reg 0x20: [io  0x0000-0x000f]
[    3.476668] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    3.476702] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    3.477006] PCI: bus1: Fast back to back transfers disabled
[    3.477034] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.477108] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    3.477133] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.477158] pci 0000:00:01.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    3.477183] pci 0000:00:01.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    3.477214] pci 0000:00:01.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    3.477242] pci 0000:00:01.0: BAR 7: assigned [io  0x0000-0x0fff]
[    3.477270] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    3.477302] pci 0000:01:00.0: BAR 5: assigned [mem 0x60000000-0x600001ff]
[    3.477331] pci 0000:01:00.0: BAR 4: assigned [io  0x0000-0x000f]
[    3.477358] pci 0000:01:00.0: BAR 0: assigned [io  0x0010-0x0017]
[    3.477386] pci 0000:01:00.0: BAR 2: assigned [io  0x0018-0x001f]
[    3.477413] pci 0000:01:00.0: BAR 1: assigned [io  0x0020-0x0023]
[    3.477441] pci 0000:01:00.0: BAR 3: assigned [io  0x0024-0x0027]
[    3.477468] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.477491] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    3.477517] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.477542] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.477606] mt2701-pcie 1a000000.pcie: ==>mtk_pcie_probe done
[    3.535909] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.537861] console [ttyS0] disabled
[    3.558083] 11004000.serial: ttyS0 at MMIO 0x11004000 (irq = 27, base_baud = 1625000) is a ST16650V2
[    4.683163] console [ttyS0] enabled
[    4.687181] [drm] Initialized drm 1.1.0 20060810
[    4.692042] mediatek-ddp 1400e000.mutex: Failed to get clock
[    4.698078] mediatek-disp-ovl 14007000.ovl: Failed to initialize component: -517
[    4.705770] mediatek-disp-rdma 14008000.rdma: Failed to initialize component: -517
[    4.713393] mediatek-disp-rdma 14012000.rdma: Failed to initialize component: -517
[    4.721319] mediatek-dpi 14014000.dpi: Failed to get engine clock: -517
[    4.729038] mediatek-drm 14000000.dispsys: Adding component match for /ovl@14007000
[    4.736706] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14008000
[    4.745551] mediatek-hdmi-phy 10209100.hdmi-phy: Using default TX DRV impedance: 4.2k/36
[    4.755357] [drm] hdmi-audio-codec driver bound to HDMI
[    4.760581] mediatek-drm-hdmi 14015000.hdmi: Failed to get clocks: -517
[    4.767468] Mali: ERR: drivers/gpu/arm/mali/linux/mali_kernel_linux.c
[    4.773870]            mali_probe() 523
           mali_probe(): Failed to initialize platform device.
[    4.783371] Mali: Mali device driver loaded
[    4.801100] brd: module loaded
[    4.810885] loop: module loaded
[    4.817814] nbd: registered device at major 43
[    4.830562] mt_usb 11200000.usb: Cannot get usb power from the device tree!
[    4.830562]
[    4.839202] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    4.846182] mt6323-regulator mt6323-regulator: Chip ID = 0x2023
[    4.860577] SCSI Media Changer driver v0.25
[    4.865611] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    4.874480] libphy: Fixed MDIO Bus: probed
[    4.880060] PPP generic driver version 2.4.2
[    4.884577] PPP BSD Compression module registered
[    4.889298] PPP Deflate Compression module registered
[    4.894339] PPP MPPE Compression module registered
[    4.899128] NET: Registered protocol family 24
[    4.903649] usbcore: registered new interface driver asix
[    4.909098] usbcore: registered new interface driver ax88179_178a
[    4.915204] usbcore: registered new interface driver cdc_ether
[    4.921100] usbcore: registered new interface driver smsc95xx
[    4.926877] usbcore: registered new interface driver net1080
[    4.932551] usbcore: registered new interface driver cdc_subset
[    4.938498] usbcore: registered new interface driver zaurus
[    4.944126] usbcore: registered new interface driver cdc_ncm
[    4.950418] 1a1c0000.usb supply vbus not found, using dummy regulator
[    4.956976] xhci-mtk 1a1c0000.usb: fail to get sys_ck
[    4.962181] 1a240000.usb supply vbus not found, using dummy regulator
[    4.968717] xhci-mtk 1a240000.usb: fail to get sys_ck
[    4.973966] usbcore: registered new interface driver usb-storage
[    4.980004] usbcore: registered new interface driver ums-alauda
[    4.985946] usbcore: registered new interface driver ums-cypress
[    4.991952] usbcore: registered new interface driver ums-datafab
[    4.997977] usbcore: registered new interface driver ums_eneub6250
[    5.004157] usbcore: registered new interface driver ums-freecom
[    5.010182] usbcore: registered new interface driver ums-isd200
[    5.016126] usbcore: registered new interface driver ums-jumpshot
[    5.022219] usbcore: registered new interface driver ums-karma
[    5.028085] usbcore: registered new interface driver ums-onetouch
[    5.034195] usbcore: registered new interface driver ums-realtek
[    5.040222] usbcore: registered new interface driver ums-sddr09
[    5.046164] usbcore: registered new interface driver ums-sddr55
[    5.052084] usbcore: registered new interface driver ums-usbat
[    5.058316] mousedev: PS/2 mouse device common for all mice
[    5.065552] mediatek-mt7623-pinctrl 1000b000.pinctrl: invalid function 1 on pin 77 .
[    5.074421] IR NEC protocol handler initialized
[    5.078981] IR RC5(x/sz) protocol handler initialized
[    5.084009] IR RC6 protocol handler initialized
[    5.088547] IR JVC protocol handler initialized
[    5.093055] IR Sony protocol handler initialized
[    5.097666] IR SANYO protocol handler initialized
[    5.102349] IR Sharp protocol handler initialized
[    5.107044] IR MCE Keyboard/mouse protocol handler initialized
[    5.112845] IR XMP protocol handler initialized
[    5.117657] MTK_WDT_NONRST_REG(0)
[    5.121620] mtk-wdt 10007000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    5.130640] device-mapper: uevent: version 1.0.3
[    5.135618] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    5.144716] msdc_drv_probe!
[    5.147583] mtk-msdc 11240000.mmc: Got CD GPIO
[    5.186161] msdc_drv_probe!
[    5.189561] mtk-msdc 11230000.mmc: Regulator set error -22: 3300000 - 3300000
[    5.226737] mmc0: host does not support reading read-only switch, assuming write-enable
[    5.236045] hidraw: raw HID events driver (C) Jiri Kosina
[    5.240706] mmc0: new high speed SDHC card at address aaaa
[    5.241386] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    5.243612]  mmcblk0: p1 p2
[    5.254773] usbcore: registered new interface driver usbhid
[    5.260334] usbhid: USB HID core driver
[    5.270194] ipip: IPv4 over IPv4 tunneling driver
[    5.275693] Initializing XFRM netlink socket
[    5.278018] mmc1: MAN_BKOPS_EN bit is not set
[    5.280036] mmc1: new high speed MMC card at address 0001
[    5.280751] mmcblk1: mmc1:0001 8WPD3R 7.28 GiB
[    5.281123] mmcblk1boot0: mmc1:0001 8WPD3R partition 1 4.00 MiB
[    5.285600] mmcblk1boot1: mmc1:0001 8WPD3R partition 2 4.00 MiB
[    5.286026] mmcblk1rpmb: mmc1:0001 8WPD3R partition 3 512 KiB
[    5.312477] NET: Registered protocol family 10
[    5.317945] sit: IPv6 over IPv4 tunneling driver
[    5.323208] NET: Registered protocol family 17
[    5.327760] Key type dns_resolver registered
[    5.332299] ThumbEE CPU extension supported.
[    5.336580] Registering SWP/SWPB emulation handler
[    5.344722] Btrfs loaded
[    5.348361] Key type encrypted registered
[    5.353439] mtk-iommu 10205000.mmsys_iommu: bound 14010000.larb (ops mtk_smi_larb_component_ops)
[    5.362241] mtk-iommu 10205000.mmsys_iommu: bound 16010000.larb (ops mtk_smi_larb_component_ops)
[    5.371004] mtk-iommu 10205000.mmsys_iommu: bound 15001000.larb (ops mtk_smi_larb_component_ops)
[    5.380772] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000
[    5.388535] mediatek-drm 14000000.dispsys: Adding component match for /ovl@14007000
[    5.396206] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14008000
[    5.404206] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14012000
[    5.411955] mediatek-drm 14000000.dispsys: Adding component match for /dpi@14014000
[    5.420737] mali-utgard 13040000.mali: power_table 0/4 (107250000, 1150000, 280)
[    5.428137] mali-utgard 13040000.mali: power_table 1/4 (214500000, 1150000, 560)
[    5.435512] mali-utgard 13040000.mali: power_table 2/4 (312000000, 1150000, 815)
[    5.442874] mali-utgard 13040000.mali: power_table 3/4 (416000000, 1150000, 1087)
[    5.450472] mali-utgard 13040000.mali: mali_set_initial_clock [3] 416000000
[    5.459938] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    5.467451] musb probe
[    5.469935] musb probe reg: 0xe1adc000 ,0xe1ade000 , irq: 36
[    5.488946] musb core probe done base 0xe1ade000
[    5.494739] libphy: mdio: probed
[    5.953677] mt7530 reset completed!!
[    5.958107] mt7623-gsw gswsys@1b100000: mac [0] is fixed link
[    5.963821] mt7623-gsw gswsys@1b100000: mac [1] is fixed link
[    5.969633] mt7623-gsw gswsys@1b100000: Setting MHWTRAP to 0x01017e9f
[    6.004741] MT7530 0th bit  Tap_a = 0
[    6.008944] MT7530 1th bit  Tap_a = 0
[    6.013132] MT7530 2th bit  Tap_a = 0
[    6.017334] MT7530 3th bit  Tap_a = 0
[    6.021522] MT7530 4th bit  Tap_a = 0
[    6.093288] MT7530 0th bit  Tap_b = 128
[    6.165298] MT7530 1th bit  Tap_b = 128
[    6.237339] MT7530 2th bit  Tap_b = 128
[    6.309344] MT7530 3th bit  Tap_b = 128
[    6.381341] MT7530 4th bit  Tap_b = 128
[    6.575656] mt7623_gsw_config> WLLLL
[    6.581476] mtk_eth_soc 1b100000.ethernet: generated random MAC address 4e:74:10:ae:78:20
[    6.665260] mtk_eth_soc 1b100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    6.676237] mtk_eth_soc 1b100000.ethernet eth0: mediatek frame engine at 0xe1b00000, irq 62
[    6.684576] mtk_eth_soc 1b100000.ethernet: generated random MAC address b2:3c:a3:ea:b1:89
[    6.765258] mtk_eth_soc 1b100000.ethernet: connected mac 1 to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY]
[    6.776156] mtk_eth_soc 1b100000.ethernet eth1: mediatek frame engine at 0xe1b00000, irq 62
[    6.784466] netif_napi_add() called with weight 128 on device
[    6.790654] 1a1c0000.usb supply vbus not found, using dummy regulator
[    6.797528] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    6.802950] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 1
[    6.810826] xhci-mtk 1a1c0000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    6.819226] xhci-mtk 1a1c0000.usb: irq 60, io mem 0x1a1c0000
[    6.825734] hub 1-0:1.0: USB hub found
[    6.829509] hub 1-0:1.0: 1 port detected
[    6.833792] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    6.839208] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 2
[    6.846675] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.855450] hub 2-0:1.0: USB hub found
[    6.859217] hub 2-0:1.0: 1 port detected
[    6.863743] 1a240000.usb supply vbus not found, using dummy regulator
[    6.870567] xhci-mtk 1a240000.usb: xHCI Host Controller
[    6.875988] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 3
[    6.883807] xhci-mtk 1a240000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    6.892218] xhci-mtk 1a240000.usb: irq 61, io mem 0x1a240000
[    6.898667] hub 3-0:1.0: USB hub found
[    6.902437] hub 3-0:1.0: 1 port detected
[    6.906743] xhci-mtk 1a240000.usb: xHCI Host Controller
[    6.912111] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 4
[    6.919572] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.928428] hub 4-0:1.0: USB hub found
[    6.932195] hub 4-0:1.0: 1 port detected
[    6.939104] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000
[    6.946090] mediatek-drm 14000000.dispsys: bound 14007000.ovl (ops mtk_disp_ovl_component_ops)
[    6.954667] mediatek-drm 14000000.dispsys: bound 14008000.rdma (ops mtk_disp_rdma_component_ops)
[    6.963445] mediatek-drm 14000000.dispsys: bound 14012000.rdma (ops mtk_disp_rdma_component_ops)
[    6.972242] mediatek-drm 14000000.dispsys: bound 14014000.dpi (ops mtk_dpi_component_ops)
[    6.980449] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    6.987038] [drm] No driver support for vblank timestamp query.
[    6.993050] mediatek-drm 14000000.dispsys: No connectors reported connected with modes
[    7.000954] [drm] Cannot find any crtc or sizes - going 1024x768
[    7.021768] Console: switching to colour frame buffer device 128x48
[    7.040164] mediatek-drm 14000000.dispsys: fb0:  frame buffer device
[    7.098326] vgp1: disabling
[    7.101242] vcamaf: disabling
[    7.104799] ALSA device list:
[    7.107856]   No soundcards found.
[    7.111987] md: Waiting for all devices to be available before autodetect
[    7.118921] md: If you don't use raid, use raid=noautodetect
[    7.125728] md: Autodetecting RAID arrays.
[    7.129903] md: Scanned 0 and added 0 devices.
[    7.134413] md: autorun ...
[    7.137272] md: ... autorun DONE.
[    7.153051] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    7.160743] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    7.177751] devtmpfs: mounted
[    7.181446] Freeing unused kernel memory: 688K (c0e04000 - c0eb0000)
[    7.187927] This architecture does not have kernel memory protection.
[    7.451871] systemd[1]: System time before build time, advancing clock.
[    7.538878] random: systemd: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.559090] random: systemd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.578485] 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)
[    7.608924] systemd[1]: Detected architecture arm.

(Benoit) #36
Welcome to Ubuntu 16.04.2 LTS!

[    7.659010] systemd[1]: Set hostname to <bpi-iot-ros-ai>.
[    7.726063] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.742909] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
[    7.752982] random: systemd-cryptse: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
[    7.753279] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
[    7.761946] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[    7.791912] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[    7.886526] random: systemd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[    7.902528] random: systemd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[    8.120156] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    8.155700] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    8.186242] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[    8.225753] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    8.255526] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    8.285397] systemd[1]: Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    8.315370] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    8.347232] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    8.375545] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    8.405605] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    8.435544] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    8.465400] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    8.497003] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    8.529156] systemd[1]: Started Read required files in advance.
[  OK  ] Started Read required files in advance.
[    8.574587] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    8.609875] 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...
[    8.647402] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    8.679473] systemd[1]: Started Braille Device Support.
[  OK  ] Started Braille Device Support.
[    8.709872] systemd[1]: Starting Uncomplicated firewall...
         Starting Uncomplicated firewall...
[    8.735536] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    8.769400] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    8.800015] systemd[1]: Starting Set console keymap...
         Starting Set console keymap...
[    8.829938] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    8.880714] systemd[1]: Starting Nameserver information manager...
         Starting Nameserver information manager...
[    8.915569] systemd[1]: Reached target User and Group Name Lookups.
[  OK  ] Reached target User and Group Name Lookups.
[    8.945575] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    8.975641] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    9.005661] systemd[1]: Started Trigger resolvconf update for networkd DNS.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[    9.043238] systemd[1]: Starting Restore / save the current clock...
         Starting Restore / save the current clock...
[    9.075746] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    9.109652] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    9.144475] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[    9.175696] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    9.206021] systemd[1]: ureadahead.service: Main process exited, code=exited, status=5/NOTINSTALLED
[    9.223526] systemd[1]: ureadahead.service: Unit entered failed state.
[    9.235059] systemd[1]: ureadahead.service: Failed with result 'exit-code'.
[    9.249776] systemd[1]: Started Load Kernel Modules.
[  OK  ] Started Load Kernel Modules.
[    9.278644] systemd[1]: Started Create list of required static device nodes for the current kernel.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[    9.322207] systemd[1]: Started Uncomplicated firewall.
[  OK  ] Started Uncomplicated firewall.
[    9.359836] systemd[1]: Started Set console keymap.
[  OK  ] Started Set console keymap.
[    9.392123] systemd[1]: Started Restore / save the current clock.
[  OK  ] Started Restore / save the current clock.
[    9.429111] systemd[1]: Started Nameserver information manager.
[  OK  ] Started Nameserver information manager.
[    9.469609] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Reached target Network (Pre).
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Mounting Configuration 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 Load/Save Random Seed...
         Starting udev Coldplug all Devices...
[  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...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started LSB: AppArmor initialization.
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Raise network interfaces.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Reached target Paths.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
         Starting Docker Socket for the API.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Listening on Docker Socket for the API.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting System Logging Service...
         Starting Initialize hardware monitoring sensors...
         Starting Login Service...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting LSB: Autogenerate and use a swap file...
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
         Starting Modem Manager...
[  OK  ] Started Run anacron jobs.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting LSB: Set up cgroupfs mounts....
         Starting Accounts Service...
         Starting Network Manager...
         Starting LSB: automatic crash report generation...
         Starting LSB: Banana Pi init script...
[  OK  ] Started Avahi DNS Configuration Daemon.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Make remote CUPS printers available locally.
         Starting Permit User Sessions...
[  OK  ] Started Deferred execution scheduler.
         Starting SSH key generation on first startup...
         Starting LSB: daemon to balance interrupts for SMP systems...
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: Speech Dispatcher...
         Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
[  OK  ] Started System Logging Service.
[  OK  ] Started LSB: Set up cgroupfs mounts..
[  OK  ] Started Permit User Sessions.
[  OK  ] Started SSH key generation on first startup.
[  OK  ] Started LSB: daemon to balance interrupts for SMP systems.
[  OK  ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[  OK  ] Started Initialize hardware monitoring sensors.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  OK  ] Started LSB: Autogenerate and use a swap file.
[  OK  ] Started LSB: automatic crash report generation.
[   14.934235] ioctl miss
[   14.942450] ioctl miss
[  OK  ] Started LSB: Speech Dispatcher.
[  OK  ] Started Network Manager.
[  OK  ] Started Login Service.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Reached target Network.
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting Network Manager Wait Online...
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         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 Accounts Service.
[  OK  ] Started OpenBSD Secure Shell server.
         Starting Hostname Service...
[  OK  ] Started Light Display Manager.
[  OK  ] Started Hostname Service.
[  OK  ] Started Modem Manager.
[   17.402360] vgaarb: this pci device is not a vga device
[   17.418398] 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.
[  OK  ] Started LSB: Banana Pi init script.
         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.
[  OK  ] Started crash report submission daemon.
         Starting Docker Application Container Engine...
         Starting LSB: Start NTP daemon...
         Starting LSB: disk temperature monitoring daemon...
         Starting LSB: Start xrdp and sesman daemons...
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
         Starting /etc/rc.local Compatibility...
[  OK  ] Started LSB: disk temperature monitoring 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 NTP daemon.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Starting Set console scheme...
[  OK  ] Started Set console scheme.
[  OK  ] Started LSB: Start xrdp and sesman daemons.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Docker Application Container Engine.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
[  OK  ] Started Stop ureadahead data collection 45s after completed startup.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started TLP system startup/shutdown.
[  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 Aug  1 10:50:57 CST 2017 on ttyS0
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.70-BPI-R2-Kernel armv7l)

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

root@bpi-iot-ros-ai:~#


(moore liu) #37

you can try to use another monitor/tv. maybe it was caused by hdmi interoperability issue, thanks.


(dorabmon) #38

The log shown something wrong on hdmi, I hope @garywang can provide his message output with successful running on HDMI to help comparing whether it’s critical issue or just interoperability problem.

[ 4.760581] mediatek-drm-hdmi 14015000.hdmi: Failed to get clocks: -517 [ 4.767468]


(gary) #39

Thanks for your information, I’m checking the log you provided, will update you later.


(gary) #40

@linkerosa the error " Failed to get clocks: -517) should be ignored, because error code -517(EPROBE_DEFER) means the driver request probe retry.

I guess the HDMI issue will be a compatibility issue, will check above log to see what happened


(Benoit) #41

Hi a small precision I use an HDMI->VGA converter behind a KVM but with other rasberry board is fine