ShareVDI R1

From linux-sunxi.org
Jump to navigation Jump to search
ShareVDI R1
Sharevdi r1 top.jpg
Manufacturer ShareVDIi
Dimensions 160mm x 70mm x 27mm
Release Date N/A
Website R1 PRO
Specifications
SoC R40 @ 2.0Ghz (per vendor)
DRAM 256MiB (supposedly 2GiB) DDR3
NAND 4GB (?) (supposedly 8GB)
Power DC 5V
Features
LCD none
Touchscreen none
Video HDMI, VGA
Audio 3.5mm headphone plug, 3.5mm microphone plug
Network WiFi optional, 10/100Mbps Ethernet (RTL8201CP)
Storage SD card reader optional
USB 2x USB3.0 (?), 1x USB 2.0
Camera none

Identification

On the cover for VESA mount screws, the SHAREVDI logo is printed. Rebrands as vnopn are available.

A second product page exists, too.

The ShareVDI X1 is a similar product.

RAM

I bought the box off AliExpress. That might be the reason for my RAM to be just 256MB (2x Nanya NT5CC64M16GP-DI, see the photo). The seller claims that the product should come with 1GB, while the vendor's product page says 2GB.

Note that the silkscreen reads "R0_V1_3" and "2019/01/24". It may as well be the R0, which is not (or no longer) mentioned on the ShareVDI website(s).

Sunxi support

Current status

Not supported

Tips, Tricks, Caveats

Development setup

A USB hub with at least 3 ports is excellent for development. You can use a USB cable with a barrel connector on the other side to supply power. With everything plugged in, the whole setup draws about 500 mA for me.

Locating the UART

The UART header is unpopulated. There are 4 holes in a row, seen on the bottom left when opening the box from the bottom.

You will need to be gentle when getting the PCB out. Slightly bend the plastic around the VGA port, and start on the left (using the orientation in the photo).

From the edge of the PCB inwards: GND, RX, TX, VCC (?)

bottom open and UART header

Solder the UART header, an angled one so the PCB still fits in the box, and you can route out the wires through the hole that is meant for an optional antenna for the Wi-Fi variant of the product.

That hole is on one side of the box, and right next to it is the USB port that gives you access to FEL mode.

FEL mode

At the bottom of the box, right in the middle between the mount holes, is a more narrow hole with a button behind it, which triggers FEL mode on power-on. Keep it pressed when plugging in the power supply.

U-Boot

I could run U-Boot SPL via FEL mode when loading it to 0x2000 (also set that as text base for SPL). Stripping down from the Banana Pi M2 Berry, I got output on the UART:

U-Boot SPL 2023.04-rc2-00032-g775e48a0ca (Jul 22 2023 - 20:28:33 +0200)
DRAM (YOLO): 256 MiB
size=18, ptr=18, limit=100000: 4fd00000
Boot devices:
 - FEL
 - BOOTROM
Trying to boot from FEL
Jump to boot ROM

WIP hack to get back to : [1]

Script to run

Keep the button at the bottom pressed during power-on to enter FEL mode. Verify via `lsusb`. Release the button, and keep it pressed again, run this script, then release - and you'll be back in FEL mode, with DRAM initialized. This is roughly what `sunxi-fel uboot` does.

#!/bin/sh

FEL=sunxi-fel
ADDR=0x2000

$FEL write $ADDR spl/u-boot-spl.bin
$FEL exec $ADDR

Linux

WIP mainline support: [2]

Logs: [3]

Script to run (via FEL again after U-Boot)

Note that the first two attempts to obtain the chip ID take some time and fail, likely because of the hack in U-Boot. Help/fixes appreciated. Sometimes the transfer fails. Just power everything off and on again.

#!/bin/sh

FEL=sunxi-fel
BDIR=arch/arm/boot
KERNEL=$BDIR/Image
DTB=$BDIR/dts/sun8i-v40-sharevdi-r1-256m.dtb

# NOTE: Arm default text offset is 0x8000, see  `linux/arch/arm/Makefile`
KER_ADDR=0x40008000
# 15 MB offset for DTB
DTB_ADDR=0x40f08000

echo Chip ID:
$FEL sid
$FEL sid
$FEL sid

echo Transfer binary, takes ~60 seconds...
$FEL write $KER_ADDR $KERNEL
sleep 1
echo Transfer DTB...
$FEL write $DTB_ADDR $DTB
echo Run
$FEL exec $KER_ADDR
echo Done.

Run all scripts

#!/bin/sh
echo Press FEL button
(cd u-boot && ./run.sh)
echo Release FEL button
sleep 3
(cd linux-6.4 && ./run.sh)

Boot log (vendor firmware/kernel)

Note: I changed loglevel from 0 to 8 to get more output from Linux. Otherwise it would only be a few lines.

boot log from vendor firmware

HELLO! BOOT0 is starting!


U-Boot 2014.07 (Apr 26 2019 - 15:33:45) Allwinner Technology 

uboot commit : 8 
i2c_init: by cpux
i2c_init ok
[      0.248]pmbus:   ready
[      0.267]PMU: AXP221
[      0.267]PMU: AXP22x found
[      0.268]PMU: dcdc2 1160
[      0.269]PMU: cpux 1008 Mhz,AXI=336 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz  MBus=400Mhz
set power on vol to default
dcdc1_vol = 3300, onoff=1
dcdc2_vol = 1160, onoff=1
dcdc3_vol = 1200, onoff=1
dcdc4_vol = 1100, onoff=0
aldo1_vol = 3300, onoff=0
aldo2_vol = 1800, onoff=1
aldo3_vol = 3000, onoff=1
dc1sw_vol = 3000, onoff=0
dc5ldo_vol = 1100, onoff=0
dldo1_vol = 3300, onoff=1
dldo2_vol = 3300, onoff=0
dldo3_vol = 3300, onoff=0
dldo4_vol = 2500, onoff=0
eldo1_vol = 2800, onoff=1
eldo2_vol = 3300, onoff=1
eldo3_vol = 1200, onoff=0
gpio0_vol = 3300, onoff=0
gpio1_vol = 3300, onoff=0
find power_sply to end
vbus exist
run key detect
fel key configed
check_config_fel_key:get fel_key_max error: FDT_ERR_BADOFFSET
time out
key not pressed anymore
0xd
DRAM:  256 MiB
fdt addr: 0x46ecd1d8
Relocation Offset is: 05f23000
axp: get node[charger0] error
In:    serial
Out:   serial
Err:   serial
gic: normal mode
workmode = 0,storage type = 0
[      2.510]NAND: NAND_UbootInit
[      2.513]NAND_UbootInit start
[      2.516]NB1: enter NAND_LogicInit
[      2.636]uboot: nand version: 3 6005 20170624 1716 
[      2.637]not burn nand partition table!
[      2.641]NB1: nftl num: 1 
[      2.642]init nftl: 0
[      3.776][NE]not power on gc 1839!
[      3.776]NB1: NAND_LogicInit ok, result = 0x0
[      3.778]NAND_UbootInit end: 0x0
[      3.782]sunxi flash init ok
--------fastboot partitions--------
-total partitions:7-
-name-        -start-       -size-      
boot-resource: 1000000       2000000     
env         : 3000000       1000000     
boot        : 4000000       4000000     
rootfs      : 8000000       20000000    
ubuntufs    : 28000000      c0000000    
sharevdi    : e8000000      1000000     
UDISK       : e9000000      0           
-----------------------------------
[mmc]: MMC Device 2 not found
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_nand
key 13
cant find rcvy value
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_nand boot_normal
update dtb dram start
update dtb dram  end
PowerBus = 3( 2:vBus 3:acBus other: not exist)
normal dc exist, limit to dc
no battery exist
EnterNormalBootMode sunxi_bmp_display--
[      3.965]inter uboot shell
Hit any key to stop autoboot:  3 ��� 0 
sunxi#
sunxi#setenv loglevel 8
sunxi#boot
read partition: boot or recovery
[     14.790]sunxi flash read :offset 4000000, 16063631 bytes OK
Android's image name: sun8i_arm
Kernel load addr 0x40008000 size 13308 KiB
RAM disk load addr 0x41000000 size 1356 KiB
[     14.854]ready to boot
prepare for kernel
NAND_UbootExit
[     14.855]NB1: NAND_LogicExit
[    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 3.10.65 (root@sharevdi) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #327 SMP PREEMPT Thu Aug 15 17:39:13 CST 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun8iw11p1, model: sun8iw11p1
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: [KH]early_rootfs(/dev/system)
[    0.000000] cma: [KH]early_cma(40M),sys_type 0
[    0.000000] ==jp debug== early_init_disp_mode(Init_disp_mode = 1280x720p@60Hz-v)
[    0.000000] ==jp debug== early_init_disp_mode(xres = 1280,yres = 720,fps = 60)
[    0.000000] [KH DBG]meminfo.bank: start=0x40000000,size=0x10000000,nr_banks =1
[    0.000000] jp debug ---->>> memory reserve: Memory(base:0x4e800000 size:24M base_end:0x50000000) reserved for ION
[    0.000000] cma: dma_contiguous_reserve: reserving 48 MiB for global area
[    0.000000] cma: dma_contiguous_reserve_area(size 3000000, base 00000000, limit 50000000)
[    0.000000] cma: CMA: reserved 48 MiB at 4d000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c0d00f40, node_mem_map c0dfc000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] PERCPU: Embedded 9 pages/cpu @c1174000 s14272 r8192 d14400 u36864
[    0.000000] pcpu-alloc: s14272 r8192 d14400 u36864 alloc=9*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: 65024
[    0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c28000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/system init=/bin/sh partitions=boot-resource@nanda:env@nandb:boot@nandc:rootfs@nandd:ubuntufs@nande:sharevdi@nandf:UDISK@nandg cma=40M vmalloc=384MB Init_disp_mode=1280x720p@60Hz-v androidboot.serialno=<NULL> boot_type=0 androidboot.hardware=sun8iw11p1
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 145444k/145444k available, 116700k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0ae608c   (11129 kB)
[    0.000000]       .init : 0xc0ae7000 - 0xc0bbe7c0   ( 862 kB)
[    0.000000]       .data : 0xc0bc0000 - 0xc0d06d80   (1308 kB)
[    0.000000]        .bss : 0xc0d06d80 - 0xc0dfbf5c   ( 981 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[    0.000000] pll_audio-set_default_rate=24576000 success!
[    0.000000] pll_periph0-set_default_rate=600000000 success!
[    0.000000] pll_de-set_default_rate=297000000 success!
[    0.000000] ahb1-set_default_rate=200000000 success!
[    0.000000] apb1-set_default_rate=100000000 success!
[    0.000000] apb2-set_default_rate=24000000 success!
[    0.000000] de-set_default_rate=297000000 success!
[    0.000000] de_mp-set_default_rate=297000000 success!
[    0.000000] mbus-set_default_rate=400000000 success!
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: ARM arch timer >56 bits at 24000kHz, resolution 41ns
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
[    0.000000] Console: colour dummy device 80x30
[    0.020000] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.022594] pid_max: default: 32768 minimum: 301
[    0.028010] Mount-cache hash table entries: 512
[    0.031709] Initializing cgroup subsys debug
[    0.036003] Initializing cgroup subsys freezer
[    0.040172] CPU: Testing write buffer coherency: ok
[    0.045103] ftrace: allocating 29716 entries in 88 pages
[    0.080730] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.086418] Setting up static identity map for 0xc0795008 - 0xc0795060
[    0.020000] CPU1: Booted secondary processor
[    0.020000] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.020000] CPU2: Booted secondary processor
[    0.020000] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.020000] CPU3: Booted secondary processor
[    0.020000] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.093361] Brought up 4 CPUs
[    0.100019] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.106958] devtmpfs: initialized
[    0.124979] atomic64 test passed
[    0.130022] pinctrl core: initialized pinctrl subsystem
[    0.135516] jp debug alpu register i2c device OK !!!
[    0.140027] jp debug vga edid register i2c device OK !!!
[    0.145872] NET: Registered protocol family 16
[    0.151235] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.160205] dump_class_init,839, success
[    0.164094] sun8iw11p1-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.210426] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.210426] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.320411] bio: create slab <bio-0> at 0
[    0.324628] pwm module init!
[    0.324628] platform pwm0.6: there is no bind_pwm, set bind_pwm 255!
[    0.326874] platform pwm0.6: there is no dead time, set bind_pwm 255!
[    0.350965] SCSI subsystem initialized
[    0.350965] libata version 3.00 loaded.
[    0.360205] usbcore: registered new interface driver usbfs
[    0.360205] usbcore: registered new interface driver hub
[    0.370112] usbcore: registered new device driver usb
[    0.380621] Linux video capture interface: v2.00
[    0.390346] reserved carvout base=0x47000000,sz = 0x3000000
[    0.420185] Advanced Linux Sound Architecture Driver Initialized.
[    0.426374] Bluetooth: Core ver 2.16
[    0.430081] NET: Registered protocol family 31
[    0.434469] Bluetooth: HCI device and connection manager initialized
[    0.440051] Bluetooth: HCI socket layer initialized
[    0.444949] Bluetooth: L2CAP socket layer initialized
[    0.450096] Bluetooth: SCO socket layer initialized
[    0.460635] cfg80211: Calling CRDA to update world regulatory domain
[    0.460635] [pm]aw_pm_init!
[    0.462970] np name = /soc@01c00000/rtc@01c20400. 
[    0.467765] base = f1c20500, len = 4.
[    0.480050] pmu0 does not exist. 
[    0.483392] pmu1 does not exist. 
[    0.486740] add_sys_pwr_dm: get ldo name  for id: vdd-cpua failed
[    0.490015] add_sys_pwr_dm: get ldo name  for id: vcc-dram failed
[    0.496089] add_sys_pwr_dm: get ldo name  for id: vdd-sys failed
[    0.500017] add_sys_pwr_dm: get ldo name  for id: vdd-cpus failed
[    0.506093] add_sys_pwr_dm: get ldo name  for id: vcc-lpddr failed
[    0.510012] add_sys_pwr_dm: get ldo name  for id: vcc-pl failed
[    0.515915] add_sys_pwr_dm: get ldo name  for id: vcc-io failed
[    0.520013] add_sys_pwr_dm: get ldo name  for id: vcc-pll failed
[    0.526002] add_sys_pwr_dm: get ldo name  for id: vcc-pc failed
[    0.540021] after inited: sys_mask config = 0x0. 
[    0.544812] Warning: can not find np for dynamic_standby_para. 
[    0.550598] [pm]valid
[    0.552919] [pm]valid
[    0.555394] enter tr_probe
[    0.555394] exit tr_probe
[    0.560244] [VFE]Welcome to Video Front End driver
[    0.565044] [VFE]csi0 probe end!
[    0.568388] [VFE]csi1 probe end!
[    0.570269] [VFE]csi_init end
[    0.580077] [VFE]sunxi_isp_platform_register end
[    0.584867] [VFE]mipi_init end
[    0.584867] [VFE]flash_init end
[    0.585345] [VFE]pdev->id = 0
[    0.588350] [VFE]dev->cci_sel = 0
[    0.600016] [VFE]dev->csi_sel = 0
[    0.603358] [VFE]dev->mipi_sel = 0
[    0.606784] [VFE]dev->isp_sel = 0
[    0.610054] [VFE_WARN]fetch csi0_dev0_avdd from device_tree failed
[    0.616217] [VFE_WARN]fetch csi0_dev0_dvdd from device_tree failed
[    0.620019] [VFE_WARN]fetch csi0_dev0_afvdd from device_tree failed
[    0.626270] [VFE_WARN]fetch csi0_dev0_power_en from device_tree failed
[    0.630049] [VFE_WARN]fetch csi0_dev0_flash_en from device_tree failed
[    0.636551] [VFE_WARN]fetch csi0_dev0_flash_mode from device_tree failed
[    0.650016] [VFE_WARN]fetch csi0_dev0_flvdd from device_tree failed
[    0.656263] [VFE_WARN]fetch csi0_dev0_flvdd_vol from device_tree failed
[    0.660026] [VFE_WARN]fetch csi0_dev0_af_pwdn from device_tree failed
[    0.668698] [VFE]pdev->id = 1
[    0.670024] [VFE]dev->cci_sel = 0
[    0.673367] [VFE]dev->csi_sel = 1
[    0.676708] [VFE]dev->mipi_sel = 0
[    0.680048] [VFE]probe_work_handle start!
[    0.684473] [VFE]vfe_runtime_resume
[    0.688025] [VFE]dev->isp_sel = 0
[    0.690046] [VFE_WARN]fetch csi1_dev0_iovdd from device_tree failed
[    0.696294] [VFE_WARN]fetch csi1_dev0_avdd from device_tree failed
[    0.700263] [VFE_WARN]fetch csi1_dev0_dvdd from device_tree failed
[    0.706428] [VFE_WARN]fetch csi1_dev0_afvdd from device_tree failed
[    0.720015] [VFE]..........................vfe clk open!.......................
[    0.727299] [VFE]v4l2 subdev register input_num = 0
[    0.730026] [VFE_WARN]fetch csi1_dev0_power_en from device_tree failed
[    0.736565] [VFE_WARN]fetch csi1_dev0_flash_en from device_tree failed
[    0.740021] [VFE_WARN]fetch csi1_dev0_flash_mode from device_tree failed
[    0.746694] [VFE_WARN]fetch csi1_dev0_flvdd from device_tree failed
[    0.760022] [VFE_ERR]get regulator csi_iovdd error!
[    0.764900] [VFE_ERR]vfe_device_regulator_get error at input_num = 0
[    0.770029] [VFE]V4L2 device registered as (null)
[    0.774815] [VFE]vfe_runtime_suspend
[    0.778414] [VFE]..........................vfe clk close!.......................
[    0.780027] [VFE_WARN]fetch csi1_dev0_flvdd_vol from device_tree failed
[    0.786615] [VFE_WARN]fetch csi1_dev0_af_pwdn from device_tree failed
[    0.800581] [VFE]vfe_init end
[    0.803020] Welcome to tv decoder driver
[    0.807771] __tvd_probe_init: v4l2 subdev register.
[    0.810253] [VFE]probe_work_handle end!
[    0.814111] [VFE]probe_work_handle start!
[    0.818503] [VFE]vfe_runtime_resume
[    0.820183] V4L2 tvd device registered as video4
[    0.825260] __tvd_probe_init: v4l2 subdev register.
[    0.830361] V4L2 tvd device registered as video5
[    0.835236] __tvd_probe_init: v4l2 subdev register.
[    0.840022] [VFE]..........................vfe clk open!.......................
[    0.847305] [VFE]v4l2 subdev register input_num = 0
[    0.860126] [VFE]vfe sensor detect start! input_num = 0
[    0.860209] V4L2 tvd device registered as video6
[    0.860619] __tvd_probe_init: v4l2 subdev register.
[    0.860726] V4L2 tvd device registered as video7
[    0.860726] tvd_init end
[    0.860726] TVD_power_enable: some error happen, fail to get regulator vcc-tvin
[    0.860726] [axp221s] chip id detect 0x6 !
[    0.860726] [axp221s] enable dcdc2 dvm.
[    0.890549] sunxi budget cooling probe start !
[    0.890549] CPU freq cooling register Success
[    0.890549] CPU hotplug cooling register Success
[    0.890723] CPU budget cooling register Success
[    0.890835] input: sunxi-ths as /devices/virtual/input/input0
[    0.890835] thermal thermal_zone0: failed to read out thermal zone 0
[    0.890835] Switching to clocksource arch_sys_counter
[    0.930049] [VFE_WARN]Sensor info "bt656_sensor1" i2c_addr is different from sys_config!
[    0.938091] [VFE]Find sensor name is "bt656_sensor1", i2c address is 78, type is "YUV" !
[    0.946414] [VFE]Sub device register "bt656_sensor1" i2c_addr = 0x36 start!
[    0.950087] hpd :tvd_num[] = 4,g_status[] =401,tvd_onsingal=0
[    0.960519] [richard]sensor_probe
[    0.963891] [VFE]registered sensor subdev is OK!
[    0.968516] [VFE]Check sensor!
[    0.973103] FS-Cache: Loaded
[    0.976759] CacheFiles: Loaded
[    0.983941] [bt656_sensor1]CSI_SUBDEV_PWR_ON!
[    0.990406] [VFE]mclk on
[    1.005490] [bt656_sensor1]sensor_init
[    1.009269] [bt656_sensor1]CSI_SUBDEV_PWR_OFF!
[    1.013069] sunxi_i2c_do_xfer()902 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x50)
[    1.013078] jp debug vga edid failed,ret = 186 !!!
[    1.013081] ========================= vga edid info begin ========================
[    1.013084] ========================= vga edid info end  ========================
[    1.042374] [VFE]mclk off
[    1.045121] NET: Registered protocol family 2
[    1.051276] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    1.058342] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    1.065070] TCP: Hash tables configured (established 2048 bind 2048)
[    1.069925] [VFE]Sub device register "bt656_sensor1" is OK!
[    1.070604] [VFE]V4L2 device registered as video1
[    1.070659] [VFE]vfe_runtime_suspend
[    1.070662] [VFE]..........................vfe clk close!.......................
[    1.077060] [VFE]probe_work_handle end!
[    1.097358] TCP: reno registered
[    1.100724] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.106568] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.113757] NET: Registered protocol family 1
[    1.118170] [DISP]disp_module_init
[    1.123112] ==jp debug vga== Init_Disp_Type = 4,Init_Disp_Mode = 85
[    1.129377] [DISP] parser_disp_init_para,line:703: [kh dbg]fb1 width 0,height 0,fomat 0
[    1.137564] [DISP] boot_disp:0x0
[    1.141835] jp debug[DISP] disp_device_register:NAME = hdmi1,disp = 1,type = 4
[    1.149019] jp debug[DISP] disp_device_register:NAME = hdmi2,disp = 2,type = 4
[    1.156508] ==jp debug vga clock:disp_mgr_clk_init,471,DISP MANAGER CLOCK RATE = 297000000
[    1.164867] ==jp debug vga clock:disp_mgr_clk_init,471,DISP MANAGER CLOCK RATE = 297000000
[    1.173432] [DISP] fb_base:0x0
[    1.186240] [Fb_map_video_memory]jp debug fb mem ,fb addr = 0x4d100000,size = 0xa8c000
[    1.194358] jp debug fb mem :fb0,info->fix.smem_start = 0x4d100000,info->screen_base = 0xcd100000,info->fix.smem_len = 0xa8c000,fb_para->buffer_num=3
[    1.291760] [Fb_map_video_memory]jp debug fb mem ,fb addr = 0x4dc00000,size = 0x384000
[    1.299636] jp debug fb mem :fb1,info->fix.smem_start = 0x4dc00000,info->screen_base = 0xcdc00000,info->fix.smem_len = 0x384000,fb_para->buffer_num=1
[    1.316396] [DISP]disp_module_init finish
[    1.482247] Sharevdi R0 alpu Bypass OK !!!
[    1.507614] Trying to unpack rootfs image as initramfs...
[    1.668603] Freeing initrd memory: 1352K (c1000000 - c1152000)
[    1.675625] lock super standby defaultly!
[    1.679663] lookup_scene_lock_name: new scene lock super_standby
[    1.685859] scene_lock_init name=super_standby
[    1.690403] scene_lock: super_standby, type 5, count 1
[    1.808669] NTFS driver 2.1.30 [Flags: R/W].
[    1.813387] fuse init (API version 7.22)
[    1.818781] Registering sdcardfs 3.1.0
[    1.822968] msgmni has been set to 382
[    1.828494] io scheduler noop registered
[    1.832524] io scheduler deadline registered
[    1.836939] io scheduler cfq registered (default)
[    1.843256] OF: no ranges; cannot translate
[    1.847463] OF: no ranges; cannot translate
[    1.852310] OF: no ranges; cannot translate
[    1.856514] OF: no ranges; cannot translate
[    1.862050] sun8iw11p1-pinctrl 1c20800.pinctrl: pin PB0 already requested by 1c2ac00.twi; cannot claim for vdevice.11
[    1.872774] sun8iw11p1-pinctrl 1c20800.pinctrl: pin-32 (vdevice.11) status -22
[    1.880094] sun8iw11p1-pinctrl 1c20800.pinctrl: could not request pin 32 on device 1c20800.pinctrl
[    1.888983] Vdevice vdevice.11: Error applying setting, reverse things back
[    1.898295] uart0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a SUNXI
[    1.904418] sw_uart_pm()970 - uart0 clk is already enable
[    1.909817] sw_console_setup()1343 - console setup baud 115200 parity n bits 8, flow n
[    1.917930] console [ttyS0] enabled, bootconsole disabled
[    1.917930] console [ttyS0] enabled, bootconsole disabled
[    1.930465] uart2: ttyS2 at MMIO 0x1c28800 (irq = 35) is a SUNXI
[    1.938134] uart5: ttyS5 at MMIO 0x1c29400 (irq = 50) is a SUNXI
[    1.948843] golden init add awchip lock
[    1.953150] misc dump reg init
[    1.958167] G2D: drv_g2d_init
[    1.961854] G2D: Module initialized.major:248
[    1.985748] brd: module loaded
[    1.999231] loop: module loaded
[    2.003648] sunxi-wlan wlan.21: wlan_busnum (1)
[    2.008602] sunxi-wlan wlan.21: Missing wlan_power.
[    2.014132] sunxi-wlan wlan.21: wlan_power_name ((null))
[    2.020047] sunxi-wlan wlan.21: Missing wlan_power_ext.
[    2.025752] sunxi-wlan wlan.21: wlan_power_ext_name ((null))
[    2.032142] sunxi-wlan wlan.21: Missing wlan_io_regulator.
[    2.038135] sunxi-wlan wlan.21: io_regulator_name ((null))
[    2.044349] sunxi-wlan wlan.21: get gpio wlan_regon failed
[    2.050453] sunxi-wlan wlan.21: get gpio wlan_hostwake failed
[    2.056727] sunxi-wlan wlan.21: get gpio wlan_clk_gpio failed
[    2.063222] get gpio ls_uboot_power_on failed
[    2.067978] get gpio ls_uboot_lcd_power failed
[    2.072997] get gpio ls_uboot_blk_power failed
[    2.077845] get gpio ls_uboot_lcd_bl_en failed
[    2.082935] /wlan: could not find phandle
[    2.087316] sunxi-wlan wlan.21: clk not config
[    2.093945] sunxi-ril probe run ....
[    2.097858] sunxi-ril ril_para.15: ril_power_name (ril_vcc)
[    2.104800] sunxi-ril ril_para.15: check ril_power voltage: 3000000
[    2.111783] sunxi-ril ril_para.15: ril power on success
[    2.117516] sunxi-ril ril_para.15: ril_nstandby gpio=82  mul-sel=1  pull=-1  drv_level=-1  data=0
[    2.127535] sunxi-ril ril_para.15: ril_reset gpio=81  mul-sel=1  pull=-1  drv_level=-1  data=0
[    2.139631] sunxi-ahci 1c18000.sata: sata_regulator0 "vdd-sata-25"!
[    2.146740] sunxi-ahci 1c18000.sata: sata_regulator1 "vdd-sata-12"!
[    2.154803] sunxi-ahci 1c18000.sata: regulator "vdd-sata-25" voltage set: 2500000 to 2500000!
[    2.165272] sunxi-ahci 1c18000.sata: regulator "vdd-sata-12" voltage set: 1200000 to 1200000!
[    2.177013] sunxi-ahci 1c18000.sata: frequncy of module clk for AHCI: 100000000
[    2.185161] sunxi-ahci 1c18000.sata: frequncy of pll clk for AHCI: 100000000
[    2.260046] sunxi-ahci 1c18000.sata: SATA power enable do not exist!!
[    2.267084] sunxi-ahci 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    2.275526] sunxi-ahci 1c18000.sata: forcing PORTS_IMPL to 0x1
[    2.282188] sunxi-ahci 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    2.292162] sunxi-ahci 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc 
[    2.301465] dma_alloc_coherent mem = 0xcd040000, size = 0x16500, mem_dma=0x4d040000
[    2.311697] scsi0 : sunxi-ahci
[    2.316133] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c181ff] port 0x100 irq 88
[    2.325986] tun: Universal TUN/TAP device driver, 1.6
[    2.331615] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[    2.339676] WARNING: Get ephy clock is failed
[    2.344595] init power enable!!
[    2.349894] PPP generic driver version 2.4.2
[    2.355497] PPP BSD Compression module registered
[    2.360743] PPP Deflate Compression module registered
[    2.366267] PPP MPPE Compression module registered
[    2.371690] NET: Registered protocol family 24
[    2.376603] PPTP driver version 0.8.5
[    2.380982] RTL871X: module init start
[    2.385080] RTL871X: rtl8188eu driver version = v4.2.5_9909.20131204_beta
[    2.392700] RTL871X: build time: May 14 2019 09:52:30
[    2.498183] hci: ERR: sunxi_ehci is null
[    2.502683] hci: ERR: sunxi_ohci is null
[    2.507447] usbcore: registered new interface driver rtl8188eu
[    2.513936] RTL871X: module init ret=0
[    2.519087] usbcore: registered new interface driver asix
[    2.525134] usbcore: registered new interface driver brcmfmac
[    2.531829] usbcore: registered new interface driver ax88179_178a
[    2.538870] usbcore: registered new interface driver cdc_ether
[    2.545625] usbcore: registered new interface driver net1080
[    2.552186] usbcore: registered new interface driver cdc_subset
[    2.559009] usbcore: registered new interface driver zaurus
[    2.565535] usbcore: registered new interface driver cdc_ncm
[    2.571832] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.579219] get ehci0-controller, regulator_io is no nocare
[    2.585605] [sunxi-ehci0]: probe, pdev->name: 1c14000.ehci0-controller, sunxi_ehci: 0xc0ddb54c, 0x:f1c14000, irq_no:47
[    2.598291] sunxi-ehci 1c14000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.608399] sunxi-ehci 1c14000.ehci0-controller: new USB bus registered, assigned bus number 1
[    2.618628] sunxi-ehci 1c14000.ehci0-controller: irq 71, io mem 0xcc84bdc0
[    2.640055] sunxi-ehci 1c14000.ehci0-controller: USB 0.0 started, EHCI 1.00
[    2.647824] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.655519] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.663567] usb usb1: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.670058] ata1: SATA link down (SStatus 0 SControl 300)
[    2.677879] usb usb1: Manufacturer: Linux 3.10.65 ehci_hcd
[    2.683982] usb usb1: SerialNumber: sunxi-ehci
[    2.690362] hub 1-0:1.0: USB hub found
[    2.694486] hub 1-0:1.0: 1 port detected
[    2.699272] [ehci0-controller]: sunxi_usb_disable_ehci
[    2.705143] [sunxi-ehci0]: remove, pdev->name: 1c14000.ehci0-controller, sunxi_ehci: 0xc0ddb54c
[    2.714826] sunxi-ehci 1c14000.ehci0-controller: remove, state 1
[    2.721522] usb usb1: USB disconnect, device number 1
[    2.729452] sunxi-ehci 1c14000.ehci0-controller: USB bus 1 deregistered
[    2.737760] get ehci1-controller, regulator_io is no nocare
[    2.744095] [sunxi-ehci1]: probe, pdev->name: 1c19000.ehci1-controller, sunxi_ehci: 0xc0ddb744, 0x:f1c19000, irq_no:6c
[    2.756053] sunxi-ehci 1c19000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.766157] sunxi-ehci 1c19000.ehci1-controller: new USB bus registered, assigned bus number 1
[    2.776332] sunxi-ehci 1c19000.ehci1-controller: irq 108, io mem 0xcc84bdc0
[    2.800091] sunxi-ehci 1c19000.ehci1-controller: USB 0.0 started, EHCI 1.00
[    2.807840] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.815538] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.823576] usb usb1: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.831901] usb usb1: Manufacturer: Linux 3.10.65 ehci_hcd
[    2.837893] usb usb1: SerialNumber: sunxi-ehci
[    2.844252] hub 1-0:1.0: USB hub found
[    2.848376] hub 1-0:1.0: 1 port detected
[    2.853407] get ehci2-controller, regulator_io is no nocare
[    2.859538] [sunxi-ehci2]: probe, pdev->name: 1c1c000.ehci2-controller, sunxi_ehci: 0xc0ddb93c, 0x:f1c1c000, irq_no:6e
[    2.871604] sunxi-ehci 1c1c000.ehci2-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.881696] sunxi-ehci 1c1c000.ehci2-controller: new USB bus registered, assigned bus number 2
[    2.891795] sunxi-ehci 1c1c000.ehci2-controller: irq 110, io mem 0xcc84bdc0
[    2.910047] sunxi-ehci 1c1c000.ehci2-controller: USB 0.0 started, EHCI 1.00
[    2.917806] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.925495] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.933526] usb usb2: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.941849] usb usb2: Manufacturer: Linux 3.10.65 ehci_hcd
[    2.947838] usb usb2: SerialNumber: sunxi-ehci
[    2.954272] hub 2-0:1.0: USB hub found
[    2.958397] hub 2-0:1.0: 1 port detected
[    2.963884] ehci-platform: EHCI generic platform driver
[    2.970187] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.977172] get ohci0-controller, regulator_io is no nocare
[    2.983584] [sunxi-ohci0]: probe, pdev->name: 1c14000.ohci0-controller, sunxi_ohci: 0xc0ddad6c
[    2.993942] sunxi-ohci 1c14000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.003699] sunxi-ohci 1c14000.ohci0-controller: new USB bus registered, assigned bus number 3
[    3.013350] sunxi-ohci 1c14000.ohci0-controller: irq 72, io mem 0xc04519c8
[    3.084100] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    3.091735] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.099622] usb usb3: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.107685] usb usb3: Manufacturer: Linux 3.10.65 ohci_hcd
[    3.113789] usb usb3: SerialNumber: sunxi-ohci
[    3.120133] hub 3-0:1.0: USB hub found
[    3.124277] hub 3-0:1.0: 1 port detected
[    3.129041] [ohci0-controller]: sunxi_usb_disable_ohci
[    3.134915] [sunxi-ohci0]: remove, pdev->name: 1c14000.ohci0-controller, sunxi_ohci: 0xc0ddad6c
[    3.144585] sunxi-ohci 1c14000.ohci0-controller: remove, state 1
[    3.151280] usb usb3: USB disconnect, device number 1
[    3.158204] sunxi-ohci 1c14000.ohci0-controller: USB bus 3 deregistered
[    3.166488] get ohci1-controller, regulator_io is no nocare
[    3.172760] hci: request ohci1-controller gpio:257
[    3.178033] [sunxi-ohci1]: probe, pdev->name: 1c19000.ohci1-controller, sunxi_ohci: 0xc0ddaf64
[    3.187754] sunxi-ohci 1c19000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.197460] sunxi-ohci 1c19000.ohci1-controller: new USB bus registered, assigned bus number 3
[    3.207136] sunxi-ohci 1c19000.ohci1-controller: irq 96, io mem 0xc04519c8
[    3.274109] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    3.281733] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.289624] usb usb3: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.297695] usb usb3: Manufacturer: Linux 3.10.65 ohci_hcd
[    3.303801] usb usb3: SerialNumber: sunxi-ohci
[    3.309993] hub 3-0:1.0: USB hub found
[    3.314202] hub 3-0:1.0: 1 port detected
[    3.319052] get ohci2-controller, regulator_io is no nocare
[    3.325413] [sunxi-ohci2]: probe, pdev->name: 1c1c000.ohci2-controller, sunxi_ohci: 0xc0ddb15c
[    3.335039] sunxi-ohci 1c1c000.ohci2-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.344755] sunxi-ohci 1c1c000.ohci2-controller: new USB bus registered, assigned bus number 4
[    3.354405] sunxi-ohci 1c1c000.ohci2-controller: irq 97, io mem 0xc04519c8
[    3.424129] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    3.431755] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.439647] usb usb4: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.447714] usb usb4: Manufacturer: Linux 3.10.65 ohci_hcd
[    3.453819] usb usb4: SerialNumber: sunxi-ohci
[    3.460070] hub 4-0:1.0: USB hub found
[    3.464189] hub 4-0:1.0: 1 port detected
[    3.470148] usbcore: registered new interface driver cdc_acm
[    3.476328] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.485659] usbcore: registered new interface driver usblp
[    3.492130] usbcore: registered new interface driver usb-storage
[    3.499047] usbcore: registered new interface driver ums-alauda
[    3.505912] usbcore: registered new interface driver ums-cypress
[    3.512855] usbcore: registered new interface driver ums-datafab
[    3.519767] usbcore: registered new interface driver ums_eneub6250
[    3.526894] usbcore: registered new interface driver ums-freecom
[    3.533834] usbcore: registered new interface driver ums-isd200
[    3.540669] usbcore: registered new interface driver ums-jumpshot
[    3.547708] usbcore: registered new interface driver ums-karma
[    3.554453] usbcore: registered new interface driver ums-onetouch
[    3.561603] usbcore: registered new interface driver ums-realtek
[    3.568527] usbcore: registered new interface driver ums-sddr09
[    3.575371] usbcore: registered new interface driver ums-sddr55
[    3.582215] usbcore: registered new interface driver ums-usbat
[    3.589425] usbcore: registered new interface driver usbserial
[    3.596185] usbcore: registered new interface driver option
[    3.602633] usbserial: USB Serial support registered for GSM modem (1-port)
[    3.612111] mousedev: PS/2 mouse device common for all mice
[    3.620195] input: sunxi-keyboard as /devices/virtual/input/input1
[    3.628738] input: sunxi-keypad as /devices/virtual/input/kp0
[    3.636331] usbcore: registered new interface driver xpad
[    3.642663] usbcore: registered new interface driver usb_acecad
[    3.649493] usbcore: registered new interface driver aiptek
[    3.655974] usbcore: registered new interface driver gtco
[    3.662250] usbcore: registered new interface driver hanwang
[    3.668818] usbcore: registered new interface driver kbtab
[    3.675211] usbcore: registered new interface driver wacom
[    3.683212] rtc:before +++ tmp_data = 0x4000
[    3.688858] rtc:try set bit 0 times=1
[    3.693106] rtc:after +++ tmp_data = 0x9
[    3.698138] sunxi-rtc 1c20400.rtc: rtc core: registered sunxi-rtc as rtc0
[    3.705734] sunxi-rtc 1c20400.rtc: RTC enabled
[    3.711624] IR NEC protocol handler initialized
[    3.717085] [VFE]cci_init end
[    3.720761] usbcore: registered new interface driver uvcvideo
[    3.727071] USB Video Class driver (v1.0.25_SONiX_v3.10.56)
[    3.733382] sunxi cedar version 0.1 
[    3.737384] VE: install start!!!
[    3.737384] 
[    3.742773] cedar_ve: cedar-ve the get irq is 85
[    3.748755] VE: get debugfs_mpp_root is NULL, please check mpp
[    3.748755] 
[    3.756906] VE: sunxi ve debug register driver failed!
[    3.756906] 
[    3.765793] input: axp22-powerkey as /devices/soc.0/1c2ac00.twi/i2c-0/0-0034/axp22-powerkey/input/input3
[    3.800280] sunxi gpu cooling probe start !
[    3.804867] CPU gpu cooling register Success
[    3.810287] device-mapper: uevent: version 1.0.3
[    3.816116] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: [email protected]
[    3.829170] cpuidle: using governor ladder
[    3.833769] cpuidle: using governor menu
[    3.839579] sunxi-mmc 1c0f000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.56 2016-06-28 17:01) Compiled in May 14 2019 at 09:51:42
[    3.852803] sunxi-mmc 1c0f000.sdmmc: ***ctl-spec-caps*** 8
[    3.858810] sunxi-mmc 1c0f000.sdmmc: regulator prop vmmc,str vcc-sdcv
[    3.866088] sunxi-mmc 1c0f000.sdmmc: regulator prop vqmmc,str vcc-sdcvq33
[    3.873644] sunxi-mmc 1c0f000.sdmmc: regulator prop vdmmc,str vcc-sdcvd
[    3.882611] sunxi-mmc 1c0f000.sdmmc: Got CD GPIO #271.
[    3.889050] sunxi-mmc 1c0f000.sdmmc: base:0xf1c0f000 irq:64
[    3.895903] sunxi-mmc 1c12000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.56 2016-06-28 17:01) Compiled in May 14 2019 at 09:51:42
[    3.909099] sunxi-mmc 1c12000.sdmmc: ***ctl-spec-caps*** 1
[    3.915304] sunxi-mmc 1c12000.sdmmc: regulator prop vmmc,str vcc-sdcv-p3
[    3.922837] sunxi-mmc 1c12000.sdmmc: regulator prop vqmmc,str vcc-sdcvq33-p3
[    3.930687] sunxi-mmc 1c12000.sdmmc: regulator prop vdmmc,str vcc-sdcvd-p3
[    3.939931] sunxi-mmc 1c12000.sdmmc: Got CD GPIO #272.
[    3.946505] sunxi-mmc 1c12000.sdmmc: base:0xf1c12000 irq:67
[    3.954741] hidraw: raw HID events driver (C) Jiri Kosina
[    4.005233] usbcore: registered new interface driver usbhid
[    4.011470] usbhid: USB HID core driver
[    4.018358] zram: Created 1 device(s) ...
[    4.026222] ashmem: initialized
[    4.031013] logger: created 256K log 'log_main'
[    4.037371] logger: created 256K log 'log_events'
[    4.043900] logger: created 256K log 'log_radio'
[    4.050180] logger: created 256K log 'log_system'
[    4.061157] usbcore: registered new interface driver snd-usb-audio
[    4.071322] headphonevol:59, spkervol:27, maingain:4, pa_sleep_time:350
[    4.083303] jp debug R0 codec mic #########
[    4.091603] sunxi-codec-machine sound.3:  sun8iw11codec <-> 1c22c00.cpudai0-controller mapping ok
[    4.107858] sndhdmi sound.4:  sndhdmi <-> 1c22800.daudio mapping ok
[    4.117457] u32 classifier
[    4.120502]     Actions configured
[    4.124220] Netfilter messages via NETLINK v0.30.
[    4.129476] nf_conntrack version 0.5.0 (3061 buckets, 12244 max)
[    4.136789] ctnetlink v0.93: registering with nfnetlink.
[    4.144975] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    4.152795] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    4.160762] xt_time: kernel timezone is -0000
[    4.165664] ipip: IPv4 over IPv4 tunneling driver
[    4.172269] gre: GRE over IPv4 demultiplexor driver
[    4.177605] ip_gre: GRE over IPv4 tunneling driver
[    4.188212] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.194586] arp_tables: (C) 2002 David S. Miller
[    4.199748] TCP: bic registered
[    4.203343] TCP: cubic registered
[    4.206962] TCP: westwood registered
[    4.211016] TCP: htcp registered
[    4.214567] Initializing XFRM netlink socket
[    4.220755] NET: Registered protocol family 10
[    4.227832] mip6: Mobile IPv6
[    4.231434] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    4.237797] sit: IPv6 over IPv4 tunneling driver
[    4.245749] NET: Registered protocol family 17
[    4.250812] NET: Registered protocol family 15
[    4.255671] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.262361] Bluetooth: HIDP socket layer initialized
[    4.267783] lib80211: common routines for IEEE802.11 drivers
[    4.274170] lib80211_crypt: registered algorithm 'NULL'
[    4.279878] lib80211_crypt: registered algorithm 'WEP'
[    4.285688] lib80211_crypt: registered algorithm 'CCMP'
[    4.291589] lib80211_crypt: registered algorithm 'TKIP'
[    4.297905] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    4.311303] [DISP] boot_disp:0x0
[    4.317404] [HDMI] cec support = 0
[    4.430499] [DISP] disp_device_attached_and_enable,line:165:attched ok, mgr1<-->device1, type=4, mode=5
[    4.442477] jp debug vga (tv_probe),edid fb mospec is NULL
[    4.449517] tve1 have no dac 3
[    4.453017] tve1 have no type3
[    4.456378] [DISP] boot_disp:0x0
[    4.460487] +++ jp debug vga find best parent rate = 168000000,index clock = 74500000
[    4.469074] +++ jp debug vga find best parent rate = 168000000,index clock = 149000000
[    4.478120] +++ jp debug vga find best parent rate = 224000000,index clock = 223500000
[    4.487014] +++ jp debug vga find best parent rate = 296000000,index clock = 298000000
[    4.495908] +++ jp debug vga find best parent rate = 372000000,index clock = 372500000
[    4.504754] +++ jp debug vga find best parent rate = 450000000,index clock = 447000000
[    4.513637] +++ jp debug vga find best parent rate = 522000000,index clock = 521500000
[    4.522537] +++ jp debug vga find best parent rate = 594000000,index clock = 596000000
[    4.531378] +++ jp debug vga find best parent rate = 672000000,index clock = 670500000
[    4.540258] +++ jp debug vga find best parent rate = 744000000,index clock = 745000000
[    4.548916] +++ jp debug vga find best parent rate = 816000000,index clock = 819500000
[    4.557935] +++ jp debug vga find best parent rate = 888000000,index clock = 894000000
[    4.566858] +++ jp debug vga find best parent rate = 960000000,index clock = 968500000
[    4.575758] jp debug vga clk :pixclock = 74500000,find best parent clock = 522000000,n = 13
[    4.585687] tv_detect_enable()541 - tve_task is ok!
[    4.591203] jp debug[DISP vga]:tv_probe,1424
[    4.591260] tv_detect_thread()516 - hpd[1] = 1
[    4.600978] [DISP] disp_init_tv,line:641:screen 0 don't support TV!
[    4.607853] [DISP] disp_init_tv,line:641:screen 1 don't support TV!
[    4.615001] [DISP] disp_init_tv,line:651:disp0 not support tv
[    4.621578] [DISP] disp_init_tv,line:658:disp1 not support tv
[    4.627866] jp debug[DISP vga]:bsp_disp_tv_register,1106
[    4.633958] [DISP] disp_init_vga,line:616:screen 0 do not support VGA TYPE!
[    4.641720] [DISP] disp_init_vga,line:616:screen 1 do not support VGA TYPE!
[    4.649377] [DISP] disp_init_vga,line:625:disp0 not support vga
[    4.656079] jp debug[DISP] disp_device_register:NAME = vga1,disp = 1,type = 8
[    4.664069] jp debug[DISP vga]:tv_probe,1440
[    4.668748] [DISP] disp_device_attached_and_enable,line:165:attched ok, mgr0<-->device1, type=8, mode=85
[    4.679751] unable to find transceiver of type USB2 PHY
[    4.679759] otg_wakelock_init: No USB transceiver found
[    4.679863] usb_serial_number:20080411
[    4.682112] file system registered
[    4.692694] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    4.692702] android_usb gadget: Number of LUNs=3
[    4.692740]  lun0: LUN: removable file: (no medium)
[    4.692744]  lun1: LUN: removable file: (no medium)
[    4.692748]  lun2: LUN: removable file: (no medium)
[    4.695347] android_usb gadget: android_usb ready
[    4.733531] sunxi-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:18 UTC (18)
[    4.733608] tv_set_mode()1110 - tv 1
[    4.733615] tv_get_video_timing_info()1135 - tv 1
[    4.733847] tv_enable()1204 - tv 1
[    4.734157] +++ jp debug vga find best parent rate = 168000000,index clock = 74500000
[    4.734169] +++ jp debug vga find best parent rate = 168000000,index clock = 149000000
[    4.734180] +++ jp debug vga find best parent rate = 224000000,index clock = 223500000
[    4.734190] +++ jp debug vga find best parent rate = 296000000,index clock = 298000000
[    4.734200] +++ jp debug vga find best parent rate = 372000000,index clock = 372500000
[    4.734209] +++ jp debug vga find best parent rate = 450000000,index clock = 447000000
[    4.734219] +++ jp debug vga find best parent rate = 522000000,index clock = 521500000
[    4.734228] +++ jp debug vga find best parent rate = 594000000,index clock = 596000000
[    4.734237] +++ jp debug vga find best parent rate = 672000000,index clock = 670500000
[    4.734246] +++ jp debug vga find best parent rate = 744000000,index clock = 745000000
[    4.734254] +++ jp debug vga find best parent rate = 816000000,index clock = 819500000
[    4.734263] +++ jp debug vga find best parent rate = 888000000,index clock = 894000000
[    4.734272] +++ jp debug vga find best parent rate = 960000000,index clock = 968500000
[    4.734276] jp debug vga clk :pixclock = 74500000,find best parent clock = 522000000,n = 13
[    4.888925] ALSA device list:
[    4.892263]   #0: audiocodec
[    4.895404]   #1: sndhdmi
[    4.899160] Freeing unused kernel memory: 860K (c0ae7000 - c0bbe000)
[/init]: RootDevice is "/dev/system"
===== >>> load nand starti[    4.932829] jp debug[attr_set_watchdog_enable,59] ENABLE Watchdog !!!
ng .... <<< ======
>>> starting insmod nand.ko Enable Watchdog .....
>>> insmod nand.ko in background OK !!!!!,starting wait rootfs node ....
[/init]: Wait /dev/nandd ready ...
[    4.961801] Failed to get dragonboard_flag
[    4.966288] [NAND]nand init start
[    4.970074] nand_physic_init
[    4.973227] nand0_regulator1 vcc-nand
[    4.977337] nand:get voltage vcc-nand ok:cb80d440
[    4.982776] nand0_regulator2 none
[    4.986417] nand:fail to get regulator vcc-io!
[    4.991431] nand:has already get voltage
[    4.995720] print_level is no used
[    4.999439] NAND_ClkRequest
[    5.002756] NAND_ClkRequest: get pll6 rate 600000000HZ
[    5.008401] Reset NDFC start 0  0
[    5.012212] Reset NDFC end 0  0
[    5.017247] channel 0 chip 0: 2c 68 04 4a a9 00 00 00
[    5.023006] nand not support! channel 0 chip 1: 00 00 00 00 00 00 00 00
[    5.030569] nand not support! channel 0 chip 2: 00 00 00 00 00 00 00 00
[    5.037825] nand not support! channel 0 chip 3: 00 00 00 00 00 00 00 00
[    5.045323] id_number_ctl is no used
[    5.049229] build nand physical connection ok...
[    5.054437] CE: 0 
RB: 0 
[    5.057725] check scan data, first_check 4 0!
[    5.062641] interface change ddr_type:0 sclk0:40 sclk1:80 sdr_edo_bak:1 ddr_edo_bak:1 ddr_delay_bak:0 !
[    5.073102] _get right timing para, set edo to 1 for sdr nand.
[    5.079478]  m0 special init 
[    5.082888] physic_info_read start!!
[    5.087060] physic_info_get_offset start!!
[    5.092053] physic_info_get_one_copy start!!
[    5.096859] block 4 page 204
[    5.100344] block 4 page 205
[    5.103689] block 4 page 206
[    5.107008] block 4 page 207
[    5.110510] block 4 page 208
[    5.113842] block 4 page 209
[    5.117173] block 4 page 210
[    5.120680] block 4 page 211
[    5.124063] physic info copy is ok
[    5.127792] ==============show_nctri======================
[    5.134017] channel_id:            0
[    5.137926] type:                  1
[    5.141980] chip_cnt:              1
[    5.145883] chip_connect_info:     1
[    5.149784] rb_connect_info:       1
[    5.153910] ce: 0 
rb: 0 
[    5.156883] dma_type:              1
[    5.160915] dma_addr:              1275162624
[    5.165672] write_wait_rb_before:  1
[    5.169574] write_wait_rb_mode:    1
[    5.173698] rb_ready_flag:         0
[    5.177605] dma_ready_flag:        0
[    5.181645] timing ctl: 0x100 
[    5.184987] print ndfc reg:
[    5.188040] reg_ctl:               0x0f004219
[    5.192995] reg_sta:               0x00000f00
[    5.197751] reg_int:               0x00000000
[    5.202673] reg_timing_ctl:        0x00000100
[    5.207435] reg_timing_cfg:        0x00010095
[    5.212364] reg_addr_low:          0x04d30000
[    5.217120] reg_addr_high:         0x00000000
[    5.222137] reg_sect_num:          0x00000004
[    5.226906] reg_byte_cnt:          0x00000001
[    5.231831] reg_cmd:               0x85ec0000
[    5.236587] reg_read_cmd_set:      0x00e00530
[    5.241526] reg_write_cmd_set:     0x70008510
[    5.246335] reg_io:                0x70008510
[    5.251315] reg_ecc_ctl:           0x4a802018
[    5.256080] reg_ecc_sta:           0x00000000
[    5.261017] reg_debug:             0x00000100
[    5.265808] reg_err_cnt0:          0x00000000
[    5.270792] reg_err_cnt1:          0x00000000
[    5.275593] reg_err_cnt2:          0x00000000
[    5.280528] reg_err_cnt3:          0x00000000
[    5.285319] reg_user_data_base:    0x00000000
[    5.290318] reg_efnand_sta:        0x00000000
[    5.295080] reg_spare_area:        0x00001000
[    5.299837] reg_pat_id:            0x00000000
[    5.304869] reg_mbus_dma_addr:     0x4c017000
[    5.309631] reg_dma_cnt:           0x00001000
[    5.314558] reg_ram0_base:         0x00000000
[    5.319314] reg_ram1_base:         0x00000000
[    5.324242] reg_dma_sta:           0x10000000
[    5.329004] ==============show_nctri end======================
[    5.335568] ==============show_nci======================
[    5.341480] id: 2c 68 04 4a ff ff ff ff 
[    5.345809] chip_no:                   0
[    5.350245] nctri_chip_no:             0
[    5.354527] driver_no:                 0
[    5.358824] blk_cnt_per_chip:          4096
[    5.363616] sector_cnt_per_page:       8
[    5.367898] page_cnt_per_blk:          256
[    5.372529] page_offset_for_next_blk:  256
[    5.377006] randomizer:                0
[    5.381443] read_retry:                0
[    5.385725] interface_type:            0
[    5.390250] timing_mode:               4
[    5.394545] support_change_onfi_timing_mode:  0
[    5.399492] support_ddr2_specific_cfg:        0
[    5.404690] support_io_driver_strength:       0
[    5.409646] support_vendor_specific_cfg:      0
[    5.414786] support_onfi_sync_reset:   0
[    5.419068] support_toggle_only:       0
[    5.423507] frequency:                 40
[    5.427889] ecc_mode:                  2
[    5.432339] max_erase_times:           5000
[    5.436941] page_addr_bytes:           0
[    5.441455] sdata_bytes_per_page:      16
[    5.445839] nsci chip_no:              0x00000000
[    5.451144] nctri channel_id:          0x00000000
[    5.456286] multi_plane_read_cmd0:     0x00000000
[    5.461611] multi_plane_read_cmd1:     0x00000030
[    5.466747] multi_plane_write_cmd0:    0x00000011
[    5.472064] multi_plane_write_cmd1:    0x00000080
[    5.477208] bad_block_flag_position:   0x00000001
[    5.482525] multi_plane_block_offset:  0x00000001
[    5.487661] id_number:                 0x00030011
[    5.492998] ================show_nsi====================
[    5.498833] chip_cnt:      1
[    5.502190] block_nums:    0
[    5.505334] ================show_nssi====================
[    5.511423] super_chip_cnt:      1
[    5.515171] super_block_nums:    0
[    5.518891] support_two_plane:   1
[    5.522888] support_v_interleave:0
[    5.526607] support_dual_channel:0
[    5.530470] =================show_nsci===================
[    5.536402] chip_no:                       0
[    5.541320] blk_cnt_per_super_chip:        2048
[    5.546274] sector_cnt_per_super_page:     16
[    5.551217] page_cnt_per_super_blk:        256
[    5.556102] page_offset_for_next_super_blk:256
[    5.561233] spare_bytes:                   16
[    5.565996] two_plane:                     1
[    5.570848] channel_num:                   1
[    5.575589] vertical_interleave:           0
[    5.580472] dual_channel:                  0
[    5.585134] driver_no:                     0
[    5.589814] nci_first:                     0 0
[    5.594936] kernel: nand version: 3 6005 20170624 1726
[    5.600740] nand_physic_init end
[    5.616772] secure storage updata ok!
[    5.621028] nand secure storage ok: 24,25
[    5.625445] NandHwInit end
[    5.628556] start block:26
[    5.631719] [ND]boot start 
[    5.634789] [ND]boot :0xcbf50000
[    5.638333] [ND]boot->magic :0xaa55a5a5
[    5.642788] [ND]boot->len :0x8000
[    5.646407] [ND]boot->no_use_block :0x10
[    5.650848] [ND]boot->uboot_start_block :0x4
[    5.655546] [ND]boot->uboot_next_block :0x18
[    5.660453] [ND]boot->logic_start_block :0x10
[    5.665210] [ND]mbr len :4096
[    5.668449] [ND]_PARTITION len :2560
[    5.672594] [ND]_NAND_STORAGE_INFO len :512
[    5.677221] [ND]_FACTORY_BLOCK len :2048
[    5.681731] [NE]partition_num: 0,size :0x746000,cross_talk 0
[    5.687914] [NE]part mbr size: 0x8000 type: 0
[    5.692889] [NE]part boot-resource size: 0x10000 type: 0
[    5.698729] [NE]part env size: 0x8000 type: 0
[    5.703735] [NE]part boot size: 0x20000 type: 0
[    5.708724] [NE]part rootfs size: 0x100000 type: 0
[    5.714137] [NE]part ubuntufs size: 0x600000 type: 0
[    5.719559] [NE]part sharevdi size: 0x8000 type: 0
[    5.724983] [NE]part UDISK size: 0xffffe000 type: 0
[    5.730596] [ND]partition->size :7626752
[    5.734880] [ND]partition->cross_talk :0
[    5.739161] [ND]partition->attribute :0
[    5.743580] [ND]partition->start.Chip_NO :0
[    5.748148] [ND]partition->start.Block_NO :16
[    5.753069] [ND]partition->end.Chip_NO :0
[    5.757446] [ND]partition->end.Block_NO :2047
[    5.762386] [ND]partition->nand_disk[0].size :32768
[    5.767749] [ND]partition->nand_disk[0].type :0
[    5.772938] [ND]partition->nand_disk[1].size :65536
[    5.778284] [ND]partition->nand_disk[1].type :0
[    5.783413] [ND]partition->nand_disk[2].size :32768
[    5.788739] [ND]partition->nand_disk[2].type :0
[    5.793889] [ND]partition->nand_disk[3].size :131072
[    5.799345] [ND]partition->nand_disk[3].type :0
[    5.804535] [ND]partition->nand_disk[4].size :1048576
[    5.810178] [ND]partition->nand_disk[4].type :0
[    5.815126] [ND]partition->nand_disk[5].size :6291456
[    5.820825] [ND]partition->nand_disk[5].type :0
[    5.825781] [ND]partition->nand_disk[6].size :32768
[    5.831303] [ND]partition->nand_disk[6].type :0
[    5.836284] [ND]partition->nand_disk[7].size :-8192
[    5.841906] [ND]partition->nand_disk[7].type :0
[    5.846907] [ND]partition->nand_disk[8].size :-1
[    5.852185] [ND]partition->nand_disk[8].type :-1
[    5.857226] [ND]partition->nand_disk[9].size :-1
[    5.862456] [ND]partition->nand_disk[9].type :-1
[    5.867498] [ND]partition->nand_disk[10].size :-1
[    5.872814] [ND]partition->nand_disk[10].type :-1
[    5.877959] [ND]partition->nand_disk[11].size :-1
[    5.883276] [ND]partition->nand_disk[11].type :-1
[    5.888412] [ND]partition->nand_disk[12].size :-1
[    5.893736] [ND]partition->nand_disk[12].type :-1
[    5.898873] [ND]partition->nand_disk[13].size :-1
[    5.904204] [ND]partition->nand_disk[13].type :-1
[    5.909400] [ND]partition->nand_disk[14].size :-1
[    5.914774] [ND]partition->nand_disk[14].type :-1
[    5.919910] [ND]partition->nand_disk[15].size :-1
[    5.925242] [ND]partition->nand_disk[15].type :-1
[    5.930607] [ND]partition->nand_disk[16].size :-1
[    5.935750] [ND]partition->nand_disk[16].type :-1
[    5.941083] [ND]partition->nand_disk[17].size :-1
[    5.946281] [ND]partition->nand_disk[17].type :-1
[/init]: Wait /dev/nandd ready .[    5.951640] [ND]partition->nand_disk[18].size :-1
..
[    5.959558] [ND]partition->nand_disk[18].type :-1
[    5.965247] [ND]partition->nand_disk[19].size :-1
[    5.970572] [ND]partition->nand_disk[19].type :-1
[    5.975762] [ND]partition->nand_disk[20].size :-1
[    5.981089] [ND]partition->nand_disk[20].type :-1
[    5.986227] [ND]partition->nand_disk[21].size :-1
[    5.991636] [ND]partition->nand_disk[21].type :-1
[    5.996805] [ND]partition->nand_disk[22].size :-1
[    6.002137] [ND]partition->nand_disk[22].type :-1
[    6.007274] [ND]partition->nand_disk[23].size :-1
[    6.012700] [ND]partition->nand_disk[23].type :-1
[    6.017843] [ND]phy_partition->PartitionNO :0
[    6.022790] [ND]phy_partition->SectorNumsPerPage :16
[    6.028220] [ND]phy_partition->PageNumsPerBlk :256
[    6.033811] [ND]phy_partition->TotalBlkNum :2032
[    6.038860] [ND]phy_partition->FullBitmapPerPage :16
[    6.044497] [ND]phy_partition->FreeBlock :0
[    6.044576] 
[    6.044576] insmod_host_driver
[    6.044576] 
[    6.044581] [ehci0-controller]: sunxi_usb_enable_ehci
[    6.044588] [sunxi-ehci0]: probe, pdev->name: 1c14000.ehci0-controller, sunxi_ehci: 0xc0ddb54c, 0x:f1c14000, irq_no:47
[    6.073450] [ND]phy_partition->TotalSectors :7626752
[    6.078886] [ND]phy_partition->StartBlock.Chip_NO :0
[    6.084630] [ND]phy_partition->StartBlock.Block_NO :16
[    6.090445] [ND]phy_partition->EndBlock.Chip_NO :0
[    6.095720] [ND]phy_partition->EndBlock.Block_NO :2047
[    6.101526] [ND]phy_partition->next_phy_partition :0
[    6.106986] [ND]phy_partition->PartitionNO 0  FACTORY BAD BLOCK:
[    6.113871] [ND]phy_partition->PartitionNO 0  NEW BAD BLOCK:
[    6.120180] [ND]build 1 phy_partition !
[    6.124409] [ND]nand_info->type :0
[    6.124575] sunxi-ehci 1c14000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.124639] sunxi-ehci 1c14000.ehci0-controller: new USB bus registered, assigned bus number 5
[    6.147942] [ND]nand_info->SectorNumsPerPage :16
[    6.153248] [ND]nand_info->BytesUserData :16
[    6.158041] [ND]nand_info->PageNumsPerBlk :256
[    6.163160] [ND]nand_info->BlkPerChip :2048
[    6.167766] [ND]nand_info->FirstBuild :0
[    6.172418] [ND]nand_info->FullBitmap :1610612755
[    6.177683] [ND]nand_info->bad_block_addr.Chip_NO :0
[    6.178015] sunxi-ehci 1c14000.ehci0-controller: irq 71, io mem 0x00000002
[    6.190175] sunxi-ehci 1c14000.ehci0-controller: USB 0.0 started, EHCI 1.00
[    6.190413] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    6.190422] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.190428] usb usb5: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.190433] usb usb5: Manufacturer: Linux 3.10.65 ehci_hcd
[    6.190438] usb usb5: SerialNumber: sunxi-ehci
[    6.192727] hub 5-0:1.0: USB hub found
[    6.192769] hub 5-0:1.0: 1 port detected
[    6.193278] [ohci0-controller]: sunxi_usb_enable_ohci
[    6.193285] [sunxi-ohci0]: probe, pdev->name: 1c14000.ohci0-controller, sunxi_ohci: 0xc0ddad6c
[    6.193346] sunxi-ohci 1c14000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    6.193377] sunxi-ohci 1c14000.ohci0-controller: new USB bus registered, assigned bus number 6
[    6.193454] sunxi-ohci 1c14000.ohci0-controller: irq 72, io mem 0x00000002
[    6.254301] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    6.254309] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.254315] usb usb6: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    6.254320] usb usb6: Manufacturer: Linux 3.10.65 ohci_hcd
[    6.254325] usb usb6: SerialNumber: sunxi-ohci
[    6.256491] hub 6-0:1.0: USB hub found
[    6.256535] hub 6-0:1.0: 1 port detected
[    6.327228] [ND]nand_info->bad_block_addr.Block_NO :0
[    6.332857] [ND]nand_info->mbr_block_addr.Chip_NO :0
[    6.338275] [ND]nand_info->mbr_block_addr.Block_NO :0
[    6.343978] [ND]nand_info->no_used_block_addr.Chip_NO :0
[    6.349777] [ND]nand_info->no_used_block_addr.Block_NO :16
[    6.355969] [ND]nand_info->new_bad_block_addr.Chip_NO :0
[    6.361931] [ND]nand_info->new_bad_block_addr.Block_NO :0
[    6.367830] [ND]nand_info->new_bad_page_addr :65535
[    6.373347] [ND]nand_info->partition_nums :1
[    6.378006] [ND]sizeof partition:2384
[    6.382152] [ND]nand_info->partition:0:
[    6.386337] [ND]size:0x746000
[    6.389571] [ND]cross_talk:0x0
[    6.393146] [ND]attribute:0x0
[    6.396390] [ND]start: chip:0 block:16
[    6.400610] [ND]end  : chip:0 block:2047
[    6.404890] [ND]boot :0xcbf50000
[    6.408411] [ND]boot->magic :0xaa55a5a5
[    6.412800] [ND]boot->len :0x8000
[    6.416414] [ND]boot->no_use_block :0x10
[    6.420897] [ND]boot->uboot_start_block :0x4
[    6.425562] [ND]boot->uboot_next_block :0x18
[    6.430457] [ND]boot->logic_start_block :0x10
[    6.435240] [ND]mbr len :4096
[    6.438504] [ND]_PARTITION len :2560
[    6.442697] [ND]_NAND_STORAGE_INFO len :512
[    6.447284] [ND]_FACTORY_BLOCK len :2048
[    6.465471] uboot->use_lsb_page 0 
[    6.469196] uboot->copys 20 
[    6.472627] uboot->uboot_len 835584 
[    6.476548] uboot->total_len 868352 
[    6.480675] uboot->uboot_pages 204 
[    6.484486] uboot->total_pages 212 
[    6.488312] uboot->blocks_per_total 1 
[    6.492684] uboot->page_offset_for_nand_info 204 
[    6.497844] uboot->uboot_block:
[    6.501476] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 
[    6.508567] read uboot one 0!
[    6.511986] read uboot in one block 0!
[    6.555990] read uboot one 1!
[    6.559239] read uboot in one block 1!
[    6.603347] read uboot one 2!
[    6.606601] read uboot in one block 2!
[    6.650874] read uboot one 3!
[    6.654143] read uboot in one block 3!
[    6.698498] read uboot one 4!
[    6.702018] read uboot in one block 4!
[    6.746240] read uboot one 5!
[    6.749515] read uboot in one block 5!
[    6.794096] read uboot one 6!
[    6.797364] read uboot in one block 6!
[    6.841959] read uboot one 7!
[    6.845207] read uboot in one block 7!
[    6.889186] read uboot one 8!
[    6.892723] read uboot in one block 8!
[    6.936851] read uboot one 9!
[    6.940365] read uboot in one block 9!
[/init]: Wait /dev/nandd ready ...
[    6.984684] read uboot one 10!
[    6.988028] read uboot in one block 10!
[    7.032797] read uboot one 11!
[    7.036146] read uboot in one block 11!
[    7.080718] read uboot one 12!
[    7.084087] read uboot in one block 12!
[    7.128316] read uboot one 13!
[    7.131859] read uboot in one block 13!
[    7.176051] read uboot one 14!
[    7.179419] read uboot in one block 14!
[    7.224025] read uboot one 15!
[    7.227393] read uboot in one block 15!
[    7.272043] read uboot one 16!
[    7.275385] read uboot in one block 16!
[    7.319483] read uboot one 17!
[    7.323122] read uboot in one block 17!
[    7.367141] read uboot one 18!
[    7.370752] read uboot in one block 18!
[    7.415031] read uboot one 19!
[    7.418392] read uboot in one block 19!
[    7.463879] [ND]nand_partition0
[    7.468370] [ND]nftl start:2032,170
[    7.487783] [ND]first
[    7.818119] [ND]before second 2032 1862.
[/init]: Wait /dev/nandd ready ...
[    7.987254] [NE]recover_phy_page_mapping no used page 93!!
[    7.993486] [ND]recover 1698 93
[    7.996932] [ND]free block nums is 1839 !
[    8.001461] [NE]not power on gc 1839!
[    8.005456] [ND]nftl ok!
[    8.010308] [ND]max_erase_times = 5000
[    8.017152]  nanda:
[    8.022222]  nandb: unknown partition table
[    8.029654]  nandc: unknown partition table
[    8.036988]  nandd: unknown partition table
[    8.044145]  nande: unknown partition table
[    8.051363]  nandf: unknown partition table
[    8.056810] [NAND]nand init end
[    8.890301] *mmc0 detect cd change*
[    8.894145] *mmc0 lock*
[    8.896868] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
[    8.920106] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    8.951015] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    8.958729] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    8.965548] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
>>> wait rootfs node OK !!!!,sta[    8.979994] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
ting mount rootfs node ....
[    8.994581] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 8, RTO !!
/dev/nandd: recovering journal
[    9.002766] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.012244] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.019918] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.027373] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.035121] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.042823] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.050517] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.058272] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.065149] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
/dev/nandd has been mounted 40 times witho[    9.077918] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 1, RTO !!
ut being checked, check forced.[    9.087203] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B

[    9.102157] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.130170] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 300000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.161313] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    9.169336] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    9.176185] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 300000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.190798] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 300000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.204767] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 8, RTO !!
[    9.212739] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.220687] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.228654] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.236629] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.244613] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.252638] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.260723] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.268745] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.275552] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 300000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.288625] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 1, RTO !!
[    9.295360] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    9.307813] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.330093] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 200000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.361761] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    9.370334] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    9.377177] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 200000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.391901] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 200000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.406414] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 8, RTO !!
[    9.414932] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.423412] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.431870] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.440347] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.448807] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.457380] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.465940] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.474505] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.481290] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 200000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.494970] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 1, RTO !!
[    9.501721] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    9.514197] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.540092] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 150000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.572353] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    9.581428] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    9.588227] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 150000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.603285] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 150000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.618353] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 8, RTO !!
[    9.627304] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.636324] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.645291] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.654313] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    9.663286] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.672386] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.681504] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.690624] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    9.697414] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 150000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    9.711553] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 1, RTO !!
[    9.718301] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
/dev/nandd: 2735/3120 files (0.7% non-contiguous), 179179/314251 blocks
[   11.186202] EXT4-fs (nandd): barriers disabled
[   11.193064] EXT4-fs (nandd): mounted filesystem with ordered data mode. Opts: noauto_da_alloc,barrier=0,data=ordered
>>> mount QT rootfs OK !!!!!
[   11.205694] jp debug[attr_set_watchdog_enable,65] DISABLE Watchdog !!!
===== >>> load nand finished <<< ======
########### Loading QT rootfs, Disable Watchdog,Watchdog CNT = 0 ...###############
[   11.373386] EXT4-fs (nandd): re-mounted. Opts: nobarrier,noauto_da_alloc,errors=remount-ro,data=ordered
[   11.380039] *mmc1 detect cd change*
[   11.380045] *mmc1 lock*
[   11.380069] sunxi-mmc 1c12000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
[   11.400109] sunxi-mmc 1c12000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[   11.420915] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 52, RTO !!
[   11.428551] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 52, RTO !!
[   11.435349] sunxi-mmc 1c12000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[   11.449526] sunxi-mmc 1c12000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[   11.463115] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 8, RTO !!
[   11.470682] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 5, RTO !!
[   11.478256] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 5, RTO !!
[   11.485798] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 5, RTO !!
[   11.493317] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 5, RTO !!
[   11.500880] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 55, RTO !!
[   11.508575] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 55, RTO !!
[   11.516360] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 55, RTO !!
[   11.524081] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 55, RTO !!
[   11.530973] sunxi-mmc 1c12000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[   11.543520] sunxi-mmc 1c12000.sdmmc: smc 1 p3 err, cmd 1, RTO !!
[   11.550208] sunxi-mmc 1c12000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[   11.553025] FAT-fs (nanda): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
�[32mMac is 48:8a:fd:0c:f1:01�[0m
[   12.042262] libphy: 1c50000.eth: probed
[   12.046730] sunxi-gmac 1c50000.eth eth0: eth0: Type(1) PHY ID 00008201 at 1 IRQ poll (1c50000.eth-0:01)
udhcpc (v1.18.3) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
[   21.650721] exFAT: Version 1.2.9

Adding MicroSD socket

Soldered microSD socket and resistors

In this cheap version of ShareVDI R1, the MicroSD socket and environment are simply not soldered, but all routes are present and can be used. All we need is to solder the socket and two pull-up resistors.

Soldering socket

If you have good soldering skills, you can solder a MicroSD 9 pin socket(like TFP-09-2-12B) and two 10k ohm resistors. These resistors are designated on the board as R58 and R61. R58 is used for the CD pin and R61 for the CMD pin. The CD pin is connected directly to the PI15 pin of the gpio, so pull-up resistor R58 is needed for proper card detection. The remaining resistors R59, R60, R62, R63 and capacitor C90 can be ignored.

Configuring port

After soldering is completed, we need to modify DeviceTree file. Basically, we need to add the correct cd-gpios to the &mmc0 definition.

&mmc0 {
        vmmc-supply = <&reg_dcdc1>;
        bus-width = <4>;
        cd-gpios = <&pio 8 15 GPIO_ACTIVE_LOW>; // PI15
        status = "okay";
};

This should be done in both the Linux kernel and the U-Boot DTS files.

After all the changes, we can write u-boot-with-spl.bin to the MicroSD card as usual and boot from it.

Pictures