Jump to content

Armbian running on Pine64 (and other A64/H5 devices)


tkaiser

Recommended Posts

You have to understand how this industry works. SoC producer must take care for SW offerings, obviously. But this SW usually covers only reference design. So any board producer copies board design as much as possible. Of course, this is not only because of SW, but also because of HW related reasons. So, Allwinner A series of SoC does have PMIC in their reference design, becuase they are meant for tablets and similar products. H series does not have PMIC, because they are meant for set top boxes and similar products and for those you usually don't need battery charging...

 

But now, you have second source of SW for H3/H5 SoCs, which could easily support additional PMIC (if there is a driver for it or there is a documentation to write one). I don't know if you notice, but A series has additional RSB port, which is used just for PMIC and all AXP PMIC uses only this bus for configuration. But IMO you could select some PMIC which is configured through I2C for example and have same functionality. Of course, this was never intendent by Allwinner, so some functionality might be lacking, like protection of this port for unsecure level, but for development board that is not an issue IMO.

 

BTW, I think that there are already some boards with A series SoCs which miss PMIC, but this is backwards what most of us want.

Link to comment
Share on other sites

You have to understand how this industry works. SoC producer must take care for SW offerings, obviously. But this SW usually covers only reference design. So any board producer copies board design as much as possible. Of course, this is not only because of SW, but also because of HW related reasons. So, Allwinner A series of SoC does have PMIC in their reference design, becuase they are meant for tablets and similar products. H series does not have PMIC, because they are meant for set top boxes and similar products and for those you usually don't need battery charging...

 

But now, you have second source of SW for H3/H5 SoCs, which could easily support additional PMIC (if there is a driver for it or there is a documentation to write one). I don't know if you notice, but A series has additional RSB port, which is used just for PMIC and all AXP PMIC uses only this bus for configuration. But IMO you could select some PMIC which is configured through I2C for example and have same functionality. Of course, this was never intendent by Allwinner, so some functionality might be lacking, like protection of this port for unsecure level, but for development board that is not an issue IMO.

 

BTW, I think that there are already some boards with A series SoCs which miss PMIC, but this is backwards what most of us want.

 

Oh, that makes a ton of sense. I was under the impression, that pmic requires specific hw support on the SoC side (like the RSB port you mentioned).

 

So really, building a mini laptop around H5 should be doable, it's just a matter of engineering effort on hw and software side. Well, if you intent to sell a lot of those to cover additional R&D associated with custom implementation, this just might make sense.

Link to comment
Share on other sites

Uh, one of the issue here might be that Allwinner SoC requires specific set of voltages to be present at boot. It might be that AXP PMICs are only ones designed for that set, but again, with some HW creativity, I think you could work around this issue.

 

EDIT: Nevermind, this is only for A series, H series never meant to have PMIC from the beginning.

Link to comment
Share on other sites

TL Lim talked about a 'Graphene nano technology heatsink' (sent you an email regarding this just now) but obviously you didn't get one? They also wanted to explore other heatsink options and based on your observations it seems that's mandatory to do anything with SoPine at least if it's about the use cases this module has been designed for in the first place.

Hm. I was throwing away bags from things I have received recently and inside the bag from SoPine A64 (if I remember correctly) I found a piece of some kind of copper foil with black coating on one side (2cm x 6cm), so maybe I did get some kind of heat transferring option.

Link to comment
Share on other sites

Hi all,

 

i'm really new to Linux and all that stuff.

I have a simple question regarding the Pine64 Board 

Is there any Option to enable SPI over UART on the Board 

and is I2C also enabled by default or have i to do that?

In the longsleep .dts file ist SPI disabled and UART enabled, i want to change that, if thats possible an easy on Armbian.

Thanks

Link to comment
Share on other sites

10 hours ago, Xalius said:

Tl got that V3 BSP package from AW with the info that it should contain the new 4.4.x BSP kernel

 

What should be different if they release something based on 4.4 now? I would assume it's just their drivers forward ported to 4.4.6 (4.4 Linaro stable kernel release based on the assumption that's also the reason they're still stuck with 3.4.39 and 3.10.65) and the code base/style is still the usual mess. No way to upstream anything so still only useful to compensate from missing documentation.

Link to comment
Share on other sites

A small update regarding "NAS performance" on A64 devices. Since I'm currently busy evaluating Armbian's build system as base for universal OpenMediaVault OS images I made a quick test after tweaking NAS relevant settings once more:

 

This is a "SAMSUNG MZ7TE128HMGR-00004" (EVO 840 OEM) connected to the lower USB port on Pine64+ running with legacy kernel:

Bildschirmfoto%202017-04-14%20um%2014.17

And this is the same SSD connected to the upper USB port which is A64's USB OTG port connected to a different controller that is said to perform worse:

Bildschirmfoto%202017-04-14%20um%2014.53

Well, performance numbers do not differ that much but unless an OMV image with mainline kernel is available (where we can set some magic bits to connect Pine64's upper USB port to a real USB host port using an own EHCI/OHCI controller pair) it's recommended to connect any disk to the lower USB port since this is the real host port.

 

Regarding other A64 boards and their USB ports: all behind an internal hub and having to share bandwidth. Do not even try the 'NAS use case' there :)

Link to comment
Share on other sites

Tried to use a eMMC module (Foresee 16GB) with the legacy kernel on SoPine.

U-boot loads fine, kernel loads fine too, but later in the boot process it falls apart, so unless it's a hardware issue it must be a configuration problem?

Similar eMMC (and I'm assuming similar hardware setup) works on the Pinebook, and I already tried to minimize the DT differences between those boards. Maybe I'll try booting with a Pinebook DT later.

 

Full boot log:

Spoiler

HELLO! BOOT0 is starting!
boot0 commit : 43e77041d17badbf8be959b8db97232c5e3a0a75

boot0 version : 4.0.0
set pll start
set pll end
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
DRAM driver version: V1.1
rsb_send_initseq: rsb clk 400Khz -> 3Mhz
PMU: AXP81X
ddr voltage = 1280 mv
DRAM Type = 7 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM clk = 552 MHz
DRAM zq value: 003b3bdd
DRAM dual rank full DQ gate training OK
DRAM size = 2048 MB
DRAM init ok
dram size =2048
card boot number = 2, boot0 copy = 0
card no is 2
sdcard 2 line count 8
[mmc]: mmc driver ver 2015-05-08 20:06
[mmc]: Wrong media type 0x00000000
[mmc]: ***Try SD card 2***
[mmc]: mmc 2 cmd 8 timeout, err 00000100
[mmc]: mmc 2 cmd 8 err 00000100
[mmc]: mmc 2 send if cond failed
[mmc]: mmc 2 cmd 55 timeout, err 00000100
[mmc]: mmc 2 cmd 55 err 00000100
[mmc]: mmc 2 send app cmd failed
[mmc]: ***Try MMC card 2***
[mmc]: MMC 5.0
[mmc]: HSDDR52/DDR50 8 bit
[mmc]: 50000000 Hz
[mmc]: 14800 MB
[mmc]: ***SD/MMC 2 init OK!!!***
sdcard 2 init ok
The size of uboot is 000e8000.
sum=f80eb978
src_sum=f80eb978
0x00000000 0x00000000
0x00000000 0x00000000
0x00000000 0x00000000
0x00000000 0x00000000
0x00000000 0x00000000
Succeed in loading uboot from sdmmc flash.
boot0: start load other image
boot0: Loading BL3-1
Loading file 0 at address 0x40000000,size 0x0000a200 success
boot0: Loading scp
Loading file 2 at address 0x00040000,size 0x00019a00 success
set arisc reset to de-assert state
Ready to disable icache.
▒  Configuring SPC Controller
NOTICE:  BL3-1: v1.0(debug):3cdc5c3
NOTICE:  BL3-1: Built : 15:57:47, Jun 27 2017
INFO:    BL3-1: Initializing runtime services
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x4a000000
INFO:    BL3-1: Next image spsr = 0x1d3


U-Boot 2014.07-g6f37e5c-dirty (Jun 27 2017 - 15:57:47) Allwinner Technology

uboot commit : 6f37e5cf6a65b0b10455d12dbd631effabe765ec

rsb: secure monitor exist
[      0.396]pmbus:   ready
[      0.399][ARISC] :arisc initialize
[      0.763][ARISC] :arisc_dvfs_cfg_vf_table: support only one vf_table
[SCP] :sunxi-arisc driver begin startup 2
[SCP] :arisc_para size:1a8
[SCP] :arisc version: [v0.1.76]
[SCP] :sunxi-arisc driver v1.10 is starting
[      0.902][ARISC] :sunxi-arisc driver startup succeeded
[      0.939]PMU: AXP81X
[      0.941]PMU: AXP81X found
bat_vol=0, ratio=100
[      0.947]PMU: dcdc2 1100
[      0.950]PMU: cpux 1008 Mhz,AXI=336 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz AHB2=300Mhz MBus=400Mhz
device_type = 3253, onoff=1
dcdc1_vol = 3300, onoff=1
dcdc2_vol = 1100, onoff=1
dcdc6_vol = 1100, onoff=1
aldo1_vol = 2800, onoff=0
aldo2_vol = 1800, onoff=1
aldo3_vol = 3000, onoff=1
dldo1_vol = 3300, onoff=0
dldo2_vol = 3300, onoff=0
dldo3_vol = 2800, onoff=0
dldo4_vol = 3300, onoff=1
eldo1_vol = 1800, onoff=1
eldo2_vol = 1800, onoff=0
eldo3_vol = 1800, onoff=0
fldo1_vol = 1200, onoff=0
fldo2_vol = 1100, onoff=1
gpio0_vol = 3100, onoff=0
vbus not exist
no battery, limit to dc
run key detect
no key found
no uart input
DRAM:  2 GiB
fdt addr: 0xb6ebcf40
Relocation Offset is: 75f0f000
In:    serial
Out:   serial
Err:   serial
gic: sec monitor mode
[      1.270]start
drv_disp_init
init_clocks: finish init_clocks.
enable power vcc-hdmi-33, ret=0
drv_disp_init finish
boot_disp.output_disp=0
boot_disp.output_type=3
boot_disp.output_mode=10
fetch script data boot_disp.auto_hpd fail
disp0 device type(4) enable
attched ok, mgr0<-->device1, type=4, mode=10
[      1.701]end
workmode = 0,storage type = 2
[      1.706]MMC:        2
[mmc]: mmc driver ver 2015-06-03 13:50:00
[mmc]: get sdc_ex_dly_used 2, use auto tuning sdly
[mmc]: card2 io is 1.8V.
SUNXI SD/MMC: 2
[mmc]: start mmc_calibrate_delay_unit, don't access device...
[mmc]: delay chain cal done, sample: 185(ps)
[mmc]: delay chain cal done, ds: 185(ps)
[mmc]: media type 0x0
[mmc]: Wrong media type 0x0
[mmc]: ************Try SD card 2************
[mmc]: mmc 2 cmd 8 timeout, err 100
[mmc]: smc 2 err, cmd 8,  RTO
[mmc]: mmc 2 close bus gating and reset
[mmc]: mmc 2 mmc cmd 8 err 0x00000100
[mmc]: mmc send if cond failed
[mmc]: mmc 2 cmd 55 timeout, err 100
[mmc]: smc 2 err, cmd 55,  RTO
[mmc]: mmc 2 close bus gating and reset
[mmc]: mmc 2 mmc cmd 55 err 0x00000100
[mmc]: send app cmd failed
[mmc]: ************Try MMC card 2************
[mmc]: mmc don't support HS400
[mmc]: host caps: 0xef
[mmc]: MID 000088 PSN 08ae3922
[mmc]: PNM NCard  -- 0x4e-43-61-72-64
[mmc]: PRV 4.3
[mmc]: MDT m-8 y-2016
[mmc]: MMC v5.0
[mmc]: speed mode     : HSSDR52/SDR25
[mmc]: clock          : 50000000 Hz
[mmc]: bus_width      : 8 bit
[mmc]: user capacity  : 14800 MB
[mmc]: boot capacity  : 4096 KB
[mmc]: rpmb capacity  : 4096 KB
[mmc]: ************SD/MMC 2 init OK!!!************
[mmc]: ========best spd md: 3-HS200/SDR104, freq: 5-200000000
[mmc]: erase_grp_size      : 0x400WrBlk*0x200=0x80000 Byte
[mmc]: secure_feature      : 0x55
[mmc]: secure_removal_type : 0x9
[mmc]: EOL Info(Rev blks): Normal
[mmc]: Wear out(type A): 0%-10% life time used
[mmc]: Wear out(type B): 0%-10% life time used
[      2.018]sunxi flash init ok
[mmc]: MMC Device 0 not found
** Bad device mmc 0 **
Using default environment

--------fastboot partitions--------
mbr not exist
base bootcmd=run mmcbootcmd
bootcmd set setargs_mmc
key 0
recovery key high 12, low 10
fastboot key high 6, low 4
no misc partition is found
to be run cmd=run mmcbootcmd
update dtb dram start
update dtb dram  end
serial is: 0400519008081c13078e
check for ANX9807
get Pine64 model from DRAM size
DRAM >512M
Pine64 model: pine64-plus
no battery exist
sunxi bmp: unable to open file /boot/bootlogo.bmp
[      2.333]inter uboot shell
autoboot in 3 seconds, Press s or <Esc><Esc> to abort
sunxi#setenv loglevel=7
## Error: illegal character '='in variable name "loglevel=7"
sunxi#setenv extraargs loglevel=7
sunxi#boot
4707 bytes read in 11 ms (417 KiB/s)
Booting with script ...
## Executing script at 41000000
166 bytes read in 9 ms (17.6 KiB/s)
68628 bytes read in 15 ms (4.4 MiB/s)
4328032 bytes read in 95 ms (43.4 MiB/s)
12620504 bytes read in 244 ms (49.3 MiB/s)
Image lacks image_size field, assuming 16MiB
## Loading init Ramdisk from Legacy Image at 45300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4327968 Bytes = 4.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 45000000
   Booting using the fdt blob at 0x45000000
   reserving fdt memory region: addr=41010000 size=10000
   reserving fdt memory region: addr=41020000 size=800
   reserving fdt memory region: addr=40100000 size=4000
   reserving fdt memory region: addr=40104000 size=1000
   reserving fdt memory region: addr=40105000 size=1000
   reserving fdt memory region: addr=45000000 size=11000
   Loading Ramdisk to b6a95000, end b6eb5a20 ... OK
   Loading Device Tree to 44feb000, end 44ffefff ... OK

Starting kernel ...

[mmc]: mmc exit start
[mmc]: start mmc_calibrate_delay_unit, don't access device...
[mmc]: delay chain cal done, sample: 185(ps)
[mmc]: delay chain cal done, ds: 192(ps)
[mmc]: mmc 2 exit ok
INFO:    BL3-1: Next image address = 0x41080000
INFO:    BL3-1: Next image spsr = 0x3c9
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.105-pine64 (root@zador-test) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #4 SMP PREEMPT Tue Jun 27 15:59:02 MSK 2017
[    0.000000] CPU: AArch64 Processor [410fd034] revision 4
[    0.000000] Machine: SOPine
[    0.000000] cma: CMA: reserved 64 MiB at bc000000
[    0.000000] script_init enter!
[    0.000000] script buffer is NULL!
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] PERCPU: Embedded 12 pages/cpu @ffffffc07af92000 s18880 r8192 d22080 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 513080
[    0.000000] Kernel command line: root=UUID=82fa4475-34a2-4f7d-896b-a64748358cca rootfstype=ext4 rootwait console=tty1 console=ttyS0,115200n8 no_console_suspend earlycon=uart,mmio32,0x01c28000 mac_addr= panic=10 consoleblank=0 loglevel=1 loglevel=7
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 2032MB = 2032MB total
[    0.000000] Memory: 1965512k/1965512k available, 115256k reserved
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000   (245759 MB)
[    0.000000]     vmemmap : 0xffffffbc00e38000 - 0xffffffbc02a00000   (    27 MB)
[    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc07f000000   (  2032 MB)
[    0.000000]       .init : 0xffffffc000aaf000 - 0xffffffc000b2f9c0   (   515 kB)
[    0.000000]       .text : 0xffffffc000080000 - 0xffffffc000aaee84   ( 10428 kB)
[    0.000000]       .data : 0xffffffc000b30000 - 0xffffffc000c892d8   (  1381 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Dump stacks of tasks blocking RCU-preempt GP.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty1] enabled
[    0.000000] allocated 8388608 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[   29.015371] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[   29.015397] pid_max: default: 32768 minimum: 301
[   29.015500] Security Framework initialized
[   29.015556] AppArmor: AppArmor initialized
[   29.015598] Mount-cache hash table entries: 256
[   29.025932] Initializing cgroup subsys memory
[   29.025993] Initializing cgroup subsys devices
[   29.026008] Initializing cgroup subsys freezer
[   29.026021] Initializing cgroup subsys blkio
[   29.026034] Initializing cgroup subsys perf_event
[   29.026051] Initializing cgroup subsys hugetlb
[   29.026121] ftrace: allocating 27478 entries in 108 pages
[   29.057572] CPU0: update cpu_power 1968128
[   29.057607] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[   29.058594] virtual base = 0xffffff800000a000.
[   29.058617] gicd_base = 0xffffff800000c000.
[   29.058628] gicc_base = 0xffffff800000e000.
[   29.059263] CPU1: Booted secondary processor
[   29.059289] CPU1: update cpu_power 1968128
[   29.061889] CPU2: Booted secondary processor
[   29.061901] CPU2: update cpu_power 1968128
[   29.066008] CPU3: Booted secondary processor
[   29.066018] CPU3: update cpu_power 1968128
[   29.066092] Brought up 4 CPUs
[   29.066158] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[   29.066666] devtmpfs: initialized
[   29.071408] pinctrl core: initialized pinctrl subsystem
[   29.073814] NET: Registered protocol family 16
[   29.074083] script_sysfs_init success
[   29.074323] dump_class_init,806, success
[   29.074578] vdso: 2 pages (1 code, 1 data) at base ffffffc000b35000
[   29.074608] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[   29.075869] software IO TLB [mem 0xb8800000-0xb8c00000] (4MB) mapped at [ffffffc077800000-ffffffc077bfffff]
[   29.076864] DMA: preallocated 256 KiB pool for atomic allocations
[   29.076992] Serial: AMBA PL011 UART driver
[   29.077097] axp81x_board_init: axp regl_devs num = 23
[   29.077259] pll_audio-set_default_rate=24576000 success!
[   29.077288] pll_video0-set_default_rate=297000000 success!
[   29.077364] pll_video1-set_default_rate=297000000 success!
[   29.077433] pll_de-set_default_rate=297000000 success!
[   29.078149] de-set_default_source=pll_de success!
[   29.078163] de-set_default_rate=297000000 success!
[   29.078217] tcon0-set_default_source=pll_mipi success!
[   29.078255] tcon1-set_default_source=pll_video0 success!
[   29.078482] hdmi-set_default_source=pll_video0 success!
[   29.080699] sun50i-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[   29.080871] [sun50iw1p1_pinctrl_probe][838]
[   29.082291] sun50i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[   29.082918] sunxi hwspinlock vbase:0xffffff800005c000
[   29.093114] bio: create slab <bio-0> at 0
[   29.093523] pwm module init!
[   29.094736] SCSI subsystem initialized
[   29.094860] usbcore: registered new interface driver usbfs
[   29.094904] usbcore: registered new interface driver hub
[   29.094985] usbcore: registered new device driver usb
[   29.095698] Linux video capture interface: v2.00
[   29.096179] [ARISC] :sunxi-arisc driver v1.10
[   29.102724] [ARISC] :sunxi-arisc driver v1.10 startup succeeded
[   29.102981] Advanced Linux Sound Architecture Driver Initialized.
[   29.103346] NetLabel: Initializing
[   29.103358] NetLabel:  domain hash size = 128
[   29.103368] NetLabel:  protocols = UNLABELED CIPSOv4
[   29.103416] NetLabel:  unlabeled traffic allowed by default
[   29.103571] [pm]aw_pm_init!
[   29.103639] rtc physical base = 0x0000000001f00000 .
[   29.103680] np name = /soc@01c00000/rtc@01f00000.
[   29.103694] base = ffffff800006e100, len = 4.
[   29.103706] pmu name: pmu0 .
[   29.103743] pmu0_enable = 0x1.
[   29.103754] pmux_id = 0x6.
[   29.103765] pmux_twi_id = 0x1.
[   29.103776] pmux_twi_addr = 0x34.
[   29.103785] pmu name: pmu1 .
[   29.103841] Warning: can not find np for pmu1.
[   29.104073] add_sys_pwr_dm: get ldo name  for id: vcc-lpddr failed
[   29.104240] after inited: sys_mask config = 0x4a55.
[   29.104269] Warning: can not find np for dynamic_standby_para.
[   29.104411] [pm]valid
[   29.104420] [pm]valid
[   29.104428] Notice: sun9i&sun8iw5&sun50i not need support normal standby,   change to super standby.
[   29.104650] Switching to clocksource arch_sys_counter_ool
[   29.115285] AppArmor: AppArmor Filesystem Enabled
[   29.121301] NET: Registered protocol family 2
[   29.121980] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
[   29.122234] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[   29.122529] TCP: Hash tables configured (established 16384 bind 16384)
[   29.122615] TCP: reno registered
[   29.122631] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[   29.122691] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[   29.122957] NET: Registered protocol family 1
[   29.123275] RPC: Registered named UNIX socket transport module.
[   29.123290] RPC: Registered udp transport module.
[   29.123302] RPC: Registered tcp transport module.
[   29.123313] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   29.123490] Trying to unpack rootfs image as initramfs...
[   29.323273] Freeing initrd memory: 4224K (ffffffc075a95000 - ffffffc075eb5000)
[   29.323867] kvm [1]: Using HYP init bounce page @b785e000
[   29.324368] kvm [1]: interrupt-controller@1c84000 IRQ25
[   29.324766] kvm [1]: timer IRQ27
[   29.324784] kvm [1]: Hyp mode initialized successfully
[   29.326439] lock super standby defaultly!
[   29.326462] lookup_scene_lock_name: new scene lock super_standby
[   29.326476] scene_lock_init name=super_standby
[   29.326489] scene_lock: super_standby, type 5, count 1
[   29.326922] audit: initializing netlink socket (disabled)
[   29.326974] type=2000 audit(0.300:1): initialized
[   29.327629] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[   29.328104] VFS: Disk quotas dquot_6.5.2
[   29.328222] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[   29.329159] NFS: Registering the id_resolver key type
[   29.329224] Key type id_resolver registered
[   29.329236] Key type id_legacy registered
[   29.329254] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   29.329408] NTFS driver 2.1.30 [Flags: R/W].
[   29.329580] fuse init (API version 7.22)
[   29.329764] msgmni has been set to 3975
[   29.330750] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   29.330851] io scheduler noop registered
[   29.330864] io scheduler deadline registered
[   29.330904] io scheduler cfq registered (default)
[   29.331511] [DISP]disp_module_init
[   29.331944] [DISP] disp_boot_para_parse,line:301:of_property_read disp.boot_disp fail
[   29.331965] [DISP] boot_disp:0x0
[   29.332551] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail
[   29.332697] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail
[   29.332842] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail
[   29.333962] [DISP] disp_boot_para_parse,line:301:of_property_read disp.fb_base fail
[   29.333980] [DISP] fb_base:0x0
[   29.351523] Console: switching to colour frame buffer device 160x45
[   29.366087] [DISP]disp_module_init finish
[   29.366586] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[   29.366748] sw_console_setup()1173 - console setup baud 115200 parity n bits 8, flow n
[   30.343789] console [ttyS0] enabled
[   30.348133] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI
[   30.355081] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[   30.362081] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 35) is a SUNXI
[   30.369064] uart4: ttyS4 at MMIO 0x1c29000 (irq = 36) is a SUNXI
[   30.376132] misc dump reg init
[   30.379683] [drm] Initialized drm 1.1.0 20060810
[   30.386937] brd: module loaded
[   30.392462] loop: module loaded
[   30.396262] sunxi-bt bt.27: Missing bt_power.
[   30.401124] sunxi-bt bt.27: bt_power_name ((null))
[   30.406478] sunxi-bt bt.27: io_regulator_name (vcc-wifi-io)
[   30.412721] sunxi-bt bt.27: bt_rst gpio=356  mul-sel=1  pull=-1  drv_level=-1  data=0
[   30.421499] sunxi-bt bt.27: clk not config
[   30.426136] sunxi-bt bt.27: block state already is 1
[   30.431864] sunxi-wlan wlan.26: wlan_busnum (1)
[   30.436928] sunxi-wlan wlan.26: Missing wlan_power.
[   30.446643] sunxi-wlan wlan.26: wlan_power_name ((null))
[   30.456827] sunxi-wlan wlan.26: io_regulator_name (vcc-wifi-io)
[   30.467663] sunxi-wlan wlan.26: wlan_regon gpio=354  mul-sel=1  pull=-1  drv_level=-1  data=0
[   30.481414] sunxi-wlan wlan.26: wlan_hostwake gpio=355  mul-sel=6  pull=-1  drv_level=-1  data=0
[   30.495510] sunxi-wlan wlan.26: clk not config
[   30.505507] WARNING: Get ephy clock is failed
[   30.515239] chipid-sunxi serial 0400519008081c13078e
[   30.525108] PPP generic driver version 2.4.2
[   30.534268] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   30.545978] get ehci0-controller drv_vbus_gpio is fail
[   30.556119] get ehci0-controller, regulator_io is no nocare
[   30.566722] [sunxi-ehci0]: probe, pdev->name: 1c1a000.ehci0-controller, sunxi_ehci: 0xffffffc000d12b80, 0x:ffffff80000aa000, irq_no:68
[   30.584716] sunxi-ehci 1c1a000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[   30.599392] sunxi-ehci 1c1a000.ehci0-controller: new USB bus registered, assigned bus number 1
[   30.613929] sunxi-ehci 1c1a000.ehci0-controller: irq 104, io mem 0xffffffc0005830cc
[   30.639754] sunxi-ehci 1c1a000.ehci0-controller: USB 0.0 started, EHCI 1.00
[   30.652427] hub 1-0:1.0: USB hub found
[   30.661098] hub 1-0:1.0: 1 port detected
[   30.669970] scene_lock_init name=ehci_standby
[   30.679200] get ehci1-controller drv_vbus_gpio is fail
[   30.689141] get ehci1-controller, regulator_io is no nocare
[   30.699543] [sunxi-ehci1]: probe, pdev->name: 1c1b000.ehci1-controller, sunxi_ehci: 0xffffffc000d12dd0, 0x:ffffff80000b2000, irq_no:6a
[   30.717274] sunxi-ehci 1c1b000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[   30.731752] sunxi-ehci 1c1b000.ehci1-controller: new USB bus registered, assigned bus number 2
[   30.745991] sunxi-ehci 1c1b000.ehci1-controller: irq 106, io mem 0xffffffc0005830cc
[   30.777509] sunxi-ehci 1c1b000.ehci1-controller: USB 0.0 started, EHCI 1.00
[   30.789970] hub 2-0:1.0: USB hub found
[   30.798471] hub 2-0:1.0: 1 port detected
[   30.807181] scene_lock_init name=ehci_standby
[   30.816415] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   30.827756] get ohci0-controller drv_vbus_gpio is fail
[   30.837847] get ohci0-controller, regulator_io is no nocare
[   30.848514] [sunxi-ohci0]: probe, pdev->name: 1c1a000.ohci0-controller, sunxi_ohci: 0xffffffc000d126e0
[   30.863403] sunxi-ohci 1c1a000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[   30.877683] sunxi-ohci 1c1a000.ohci0-controller: new USB bus registered, assigned bus number 3
[   30.891904] sunxi-ohci 1c1a000.ohci0-controller: irq 105, io mem 0x61ff726b6b64622c
[   30.958910] hub 3-0:1.0: USB hub found
[   30.967801] hub 3-0:1.0: 1 port detected
[   30.976982] scene_lock_init name=ohci_standby
[   30.986607] get ohci1-controller drv_vbus_gpio is fail
[   30.997025] get ohci1-controller, regulator_io is no nocare
[   31.007897] [sunxi-ohci1]: probe, pdev->name: 1c1b000.ohci1-controller, sunxi_ohci: 0xffffffc000d12930
[   31.023049] sunxi-ohci 1c1b000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[   31.037603] sunxi-ohci 1c1b000.ohci1-controller: new USB bus registered, assigned bus number 4
[   31.052119] sunxi-ohci 1c1b000.ohci1-controller: irq 107, io mem 0x61ff726b6b64622c
[   31.126155] hub 4-0:1.0: USB hub found
[   31.135344] hub 4-0:1.0: 1 port detected
[   31.144749] scene_lock_init name=ohci_standby
[   31.154798] usbcore: registered new interface driver usb-storage
[   31.166381] usbcore: registered new interface driver ums-alauda
[   31.177829] usbcore: registered new interface driver ums-cypress
[   31.189299] usbcore: registered new interface driver ums-datafab
[   31.200704] usbcore: registered new interface driver ums_eneub6250
[   31.212221] usbcore: registered new interface driver ums-freecom
[   31.223463] usbcore: registered new interface driver ums-isd200
[   31.234580] usbcore: registered new interface driver ums-jumpshot
[   31.245738] usbcore: registered new interface driver ums-karma
[   31.256351] usbcore: registered new interface driver ums-onetouch
[   31.267188] usbcore: registered new interface driver ums-realtek
[   31.277854] usbcore: registered new interface driver ums-sddr09
[   31.288373] usbcore: registered new interface driver ums-sddr55
[   31.298786] usbcore: registered new interface driver ums-usbat
[   31.309147] usbcore: registered new interface driver usbserial
[   31.319404] usbcore: registered new interface driver usbserial_generic
[   31.330376] usbserial: USB Serial support registered for generic
[   31.341025] mousedev: PS/2 mouse device common for all mice
[   31.351329] input: sunxi-keyboard as /devices/virtual/input/input0
[   31.362603] get ctp_para failed, -1
[   31.370007] get node gsensor failed
[   31.377355] get sysconfig para erro!
[   31.377430] sunxi-rtc 1f00000.rtc: rtc core: registered rtc-sunxi as rtc0
[   31.377449] sunxi-rtc 1f00000.rtc: RTC enabled
[   31.377625] i2c /dev entries driver
[   31.411458] get node lightsensor failed
[   31.419154] get sysconfig para erro!
[   31.426477] get node gyroscopesensor failed
[   31.434497] get sysconfig para erro!
[   31.441721] get node compasssensor failed
[   31.447205] input: axp81x-supplyer as /devices/platform/axp81x_board/axp81x-supplyer.47/input/input1
[   31.450689] sunxi budget cooling probe start !
[   31.450712] CPU freq cooling register Success
[   31.450727] CPU hotplug cooling register Success
[   31.450810] thermal thermal_zone0: binding zone soc_thermal with cdev sunxi-budget failed:-22
[   31.450814] CPU budget cooling register Success
[   31.451019] sunxi gpu cooling probe start !
[   31.451025] CPU gpu cooling register Success
[   31.524645] get sysconfig para erro!
[   31.531867] wakeup gpio set err![   31.532301] cpuidle: using governor ladder
[   31.532304] cpuidle: using governor menu
[   31.533078] sunxi-mmc 1c11000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.20 2015-7-13 16:28) Compiled in Jun 27 2017 at 15:58:33
[   31.533104] sunxi-mmc 1c11000.sdmmc: regulator prop vmmc,str vcc-emmc
[   31.533111] sunxi-mmc 1c11000.sdmmc: regulator prop vqmmc,str vcc-lpddr
[   31.533117] sunxi-mmc 1c11000.sdmmc: regulator prop vdmmc,str none
[   31.533188] sunxi-mmc 1c11000.sdmmc: No vqmmc regulator found
[   31.533191] sunxi-mmc 1c11000.sdmmc: No vdmmc regulator found
[   31.618614] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
[   31.643431] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
get node ctp failed
[   31.672961] sunxi-mmc 1c11000.sdmmc: base:0xffffff80000c6000 irq:94
[   31.673366] sunxi-mmc 1c0f000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.20 2015-7-13 16:28) Compiled in Jun 27 2017 at 15:58:33
[   31.673386] sunxi-mmc 1c0f000.sdmmc: regulator prop vmmc,str none
[   31.673392] sunxi-mmc 1c0f000.sdmmc: regulator prop vqmmc,str none
[   31.673397] sunxi-mmc 1c0f000.sdmmc: regulator prop vdmmc,str vcc-sdc
[   31.673448] sunxi-mmc 1c0f000.sdmmc: No vmmc regulator found
[   31.673451] sunxi-mmc 1c0f000.sdmmc: No vqmmc regulator found
[   31.673781] sunxi-mmc 1c11000.sdmmc: smc 0 p2 err, cmd 52, RTO !!
[   31.674597] sunxi-mmc 1c11000.sdmmc: smc 0 p2 err, cmd 52, RTO !!
[   31.674613] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[   31.676993] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[   31.678814] sunxi-mmc 1c11000.sdmmc: smc 0 p2 err, cmd 8, RTO !!
[   31.679625] sunxi-mmc 1c11000.sdmmc: smc 0 p2 err, cmd 5, RTO !!
[   31.680434] sunxi-mmc 1c11000.sdmmc: smc 0 p2 err, cmd 5, RTO !!
[   31.681244] sunxi-mmc 1c11000.sdmmc: smc 0 p2 err, cmd 5, RTO !!
[   31.682053] sunxi-mmc 1c11000.sdmmc: smc 0 p2 err, cmd 5, RTO !!
[   31.682865] sunxi-mmc 1c11000.sdmmc: smc 0 p2 err, cmd 55, RTO !!
[   31.683677] sunxi-mmc 1c11000.sdmmc: smc 0 p2 err, cmd 55, RTO !!
[   31.684486] sunxi-mmc 1c11000.sdmmc: smc 0 p2 err, cmd 55, RTO !!
[   31.685295] sunxi-mmc 1c11000.sdmmc: smc 0 p2 err, cmd 55, RTO !!
[   31.685311] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[   31.685658] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 7 width 1 timing LEGACY(SDR12) dt B
[   31.685698] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 7 width 1 timing LEGACY(SDR12) dt B
[   31.685735] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 7 width 1 timing LEGACY(SDR12) dt B
[   31.688105] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 7 width 1 timing LEGACY(SDR12) dt B
[   31.723307] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 7 width 1 timing LEGACY(SDR12) dt B
[   31.737176] mmc0: BKOPS_EN bit is not set
[   31.752647] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 7 width 8 timing LEGACY(SDR12) dt B
[   31.771677] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 7 width 8 timing MMC-HS200 dt B
[   31.771719] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 100000000Hz bm PP pm ON vdd 7 width 8 timing MMC-HS200 dt B
[   31.771835] mmc0: new HS200 MMC card at address 0001
[   31.772268] mmcblk0: mmc0:0001 NCard  14.4 GiB
[   31.772489] mmcblk0boot0: mmc0:0001 NCard  partition 1 4.00 MiB
[   31.772683] mmcblk0boot1: mmc0:0001 NCard  partition 2 4.00 MiB
[   31.773569]  mmcblk0: p1
[   31.775554]  mmcblk0boot1: unknown partition table
[   31.777191]  mmcblk0boot0: unknown partition table
[   32.116084] get sysconfig para erro!
[   32.123537] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[   32.138064] sunxi-mmc 1c0f000.sdmmc: no vqmmc,Check if there is regulator
[   32.164947] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   32.194473] sunxi-mmc 1c0f000.sdmmc: base:0xffffff80000ce000 irq:92
[   32.205432] sunxi-mmc 1c10000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.20 2015-7-13 16:28) Compiled in Jun 27 2017 at 15:58:33
[   32.222153] sunxi-mmc 1c10000.sdmmc: Can't get vmmc regulator string
[   32.232820] sunxi-mmc 1c10000.sdmmc: Can't get vqmmc regulator string
[   32.243501] sunxi-mmc 1c10000.sdmmc: Can't get vdmmc regulator string
[   32.254017] get() with no identifier
[   32.261272] get() with no identifier
[   32.268519] get() with no identifier
[   32.275755] sunxi-mmc 1c10000.sdmmc: No vmmc regulator found
[   32.285349] sunxi-mmc 1c10000.sdmmc: No vqmmc regulator found
[   32.295043] sunxi-mmc 1c10000.sdmmc: No vdmmc regulator found
[   32.305138] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[   32.319682] sunxi-mmc 1c10000.sdmmc: no vqmmc,Check if there is regulator
[   32.342067] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   32.371598] sunxi-mmc 1c10000.sdmmc: base:0xffffff80000f0000 irq:93
[   32.382814] ledtrig-cpu: registered to indicate activity on CPUs
[   32.382909] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 52, RTO !!
[   32.383720] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 52, RTO !!
[   32.383736] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   32.386114] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   32.387930] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 8, RTO !!
[   32.388736] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 5, RTO !!
[   32.389543] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 5, RTO !!
[   32.390347] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 5, RTO !!
[   32.391152] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 5, RTO !!
[   32.391959] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 55, RTO !!
[   32.392763] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 55, RTO !!
[   32.393568] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 55, RTO !!
[   32.394372] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 55, RTO !!
[   32.394387] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   32.395220] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 1, RTO !!
[   32.395234] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[   32.580721] hidraw: raw HID events driver (C) Jiri Kosina
[   32.590706] usbcore: registered new interface driver usbhid
[   32.600671] usbhid: USB HID core driver
[   32.609672] usbcore: registered new interface driver snd-usb-audio
[   32.622403] sndhdmi sound.8:  sndhdmi <-> 1c22800.daudio mapping ok
[   32.634161] TCP: cubic registered
[   32.641782] Initializing XFRM netlink socket
[   32.650533] NET: Registered protocol family 10
[   32.660263] mip6: Mobile IPv6
[   32.667533] sit: IPv6 over IPv4 tunneling driver
[   32.676905] NET: Registered protocol family 17
[   32.685662] NET: Registered protocol family 15
[   32.694313] 8021q: 802.1Q VLAN Support v1.8
[   32.702616] Key type dns_resolver registered
[   32.711070] Registering SWP/SWPB emulation handler
[   32.720103] registered taskstats version 1
[   32.739600] Key type encrypted registered
[   32.747631] AppArmor: AppArmor sha1 policy hashing enabled
[   32.757630] [DISP] disp_boot_para_parse,line:301:of_property_read disp.boot_disp fail
[   32.769953] [DISP] boot_disp:0x0
[   32.777307] HDMI base address: ffffff8000b40000
[   32.786808] [HDMI] power vcc-hdmi-33
[   32.795019] [HDMI] cec support = 0
[   32.912936] input: sunxi-ths as /devices/virtual/input/input2
[   32.923241] thermal thermal_zone0: failed to read out thermal zone 0
[   32.934432] ALSA device list:
[   32.941369]   #0: sndhdmi
[   32.948247] Freeing unused kernel memory: 512K (ffffffc000aaf000 - ffffffc000b2f000)
Loading, please wait...
starting version 229
[   33.070345] [ehci0-controller]: sunxi_usb_disable_ehci
[   33.079773] [sunxi-ehci0]: remove, pdev->name: 1c1a000.ehci0-controller, sunxi_ehci: 0xffffffc000d12b80
[   33.094125] scene_lock_destroy name=ehci_standby
[   33.103139] sunxi-ehci 1c1a000.ehci0-controller: remove, state 4
[   33.113797] usb usb1: USB disconnect, device number 1
[   33.127644] sunxi-ehci 1c1a000.ehci0-controller: USB bus 1 deregistered
[   33.140243] [ohci0-controller]: sunxi_usb_disable_ohci
[   33.150720] [sunxi-ohci0]: remove, pdev->name: 1c1a000.ohci0-controller, sunxi_ohci: 0xffffffc000d126e0
[   33.166112] scene_lock_destroy name=ohci_standby
[   33.176424] sunxi-ohci 1c1a000.ohci0-controller: remove, state 4
[   33.188162] usb usb3: USB disconnect, device number 1
[   33.199264] sunxi-ohci 1c1a000.ohci0-controller: USB bus 3 deregistered
[   33.211635] [ehci0-controller]: sunxi_usb_enable_ehci
[   33.222380] [sunxi-ehci0]: probe, pdev->name: 1c1a000.ehci0-controller, sunxi_ehci: 0xffffffc000d12b80, 0x:ffffff80000aa000, irq_no:68
[   33.241018] sunxi-ehci 1c1a000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[   33.256394] sunxi-ehci 1c1a000.ehci0-controller: new USB bus registered, assigned bus number 1
[   33.272423] sunxi-ehci 1c1a000.ehci0-controller: irq 104, io mem 0xffffffc0000b8688
[   33.296638] sunxi-ehci 1c1a000.ehci0-controller: USB 0.0 started, EHCI 1.00
[   33.309900] hub 1-0:1.0: USB hub found
[   33.319149] hub 1-0:1.0: 1 port detected
[   33.328606] scene_lock_init name=ehci_standby
[   33.338400] [ohci0-controller]: sunxi_usb_enable_ohci
[   33.348868] [sunxi-ohci0]: probe, pdev->name: 1c1a000.ohci0-controller, sunxi_ohci: 0xffffffc000d126e0
[   33.364227] sunxi-ohci 1c1a000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[   33.379016] sunxi-ohci 1c1a000.ohci0-controller: new USB bus registered, assigned bus number 3
[   33.393717] sunxi-ohci 1c1a000.ohci0-controller: irq 105, io mem 0xffffffc0000b8688
[   33.469248] hub 3-0:1.0: USB hub found
[   33.478618] hub 3-0:1.0: 1 port detected
[   33.488430] scene_lock_init name=ohci_standby
[   33.503223] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device1, type=4, mode=5
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: recovering journal
/dev/mmcblk0p1: clean, 46968/101504 files, 287165/406016 blocks
done.
[   33.766072] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   33.932601] systemd[1]: System time before build time, advancing clock.
[   33.961936] 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)
[   33.993944] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 16.04.2 LTS!

[   34.025225] systemd[1]: Set hostname to <pine64so>.
[   34.205259] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[   34.241532] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   34.270900] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   34.300476] systemd[1]: Started Trigger resolvconf update for networkd DNS.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[   34.329832] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[   34.359753] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[   34.390646] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   34.420347] systemd[1]: Starting Nameserver information manager...
         Starting Nameserver information manager...
[   34.440134] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[   34.467681] systemd[1]: Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[   34.498885] systemd[1]: Starting Set console keymap...
         Starting Set console keymap...
[   34.527711] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[   34.569710] systemd[1]: Starting Restore / save the current clock...
         Starting Restore / save the current clock...
[   34.607200] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[   34.637037] 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...
[   34.674642] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   34.703772] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   34.733268] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   34.762958] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[   34.792463] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   34.822225] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   34.851493] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   34.880959] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[   34.910432] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   34.941652] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   34.966007] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[   34.982513] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   35.009224] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   35.038461] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   35.068142] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   35.103806] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   35.136941] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[   35.166405] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[   35.185853] sunxi-codec-machine sound.7:  codec-aif1 <-> 1c22c00.i2s0-controller mapping ok
[   35.199955] systemd[1]: Started Set console keymap.
[  OK  [   35.210913] sunxi-codec-machine sound.7:  codec-aif2 <-> bb-dai mapping ok
] Started Set console keymap.
[   35.225169] sunxi-codec-machine sound.7:  codec-aif2 <-> bb-dai mapping ok
[   35.236488] systemd[1]: Started Restore / save the current clock.
[  OK  [   35.249708] sunxi-codec-machine sound.7:  codec-aif3 <-> bb-dai mapping ok
] Started Restore / save the current clock.
[   35.264882] input: audiocodec sunxi Audio Jack as /devices/soc.1/sound.7/sound/card1/input3
[   35.275785] systemd[1]: Started Create list of required static device nodes for the current kernel.
[  OK  [   35.294748] SUNXI_HMIC_STS:8,225
] Started Create list of require[   35.304075] plugout_end:switch:0
d sta...ce nodes for the current kernel.
[   35.334826] systemd[1]: Started Remount Root and Kernel File Systems.
[   35.336819] cfg80211: Calling CRDA to update world regulatory domain
[  OK  ] Started Remount Root and Kernel File Systems.
[   35.385764] systemd[1]: Started Nameserver information manager.
[  OK  ] Started Nameserver information manager.
[   35.415489] RTL871X: module init start
[   35.421440] systemd[1]: Time has been changed
[   35.434234] RTL871X: rtl8723bs v4.3.16_13854.20150410_BTCOEX20150119-5844
[   35.446665] RTL871X: build time: Jun 27 2017 15:58:46
[   35.457248] RTL871X: rtl8723bs BT-Coex version = BTCOEX20150119-5844
[   35.469332] sunxi-wlan wlan.26: bus_index: 1
[   35.479267] sunxi-wlan wlan.26: check wlan io_regulator voltage: 1800000
[   35.504753] systemd[1]: Reached target Network (Pre).
[  OK  ] Reached target Network (Pre).
[   35.533577] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[   35.561966] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[   35.591360] systemd[1]: Starting Create Static Device Nodes in /dev...
[   35.600206] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[   35.600316] sunxi-mmc 1c10000.sdmmc: no vqmmc,Check if there is regulator
[   35.600318] RTL871X: module init ret=0
[   35.618838] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   35.639270] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 52, RTO !!
[   35.640078] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 52, RTO !!
[   35.640093] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   35.642466] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   35.644280] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 8, RTO !!
[   35.645084] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 5, RTO !!
[   35.645886] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 5, RTO !!
[   35.646688] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 5, RTO !!
[   35.647490] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 5, RTO !!
[   35.648295] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 55, RTO !!
[   35.649107] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 55, RTO !!
[   35.649911] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 55, RTO !!
[   35.650713] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 55, RTO !!
[   35.650726] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[   35.651558] sunxi-mmc 1c10000.sdmmc: smc 2 p1 err, cmd 1, RTO !!
[   35.651571] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
         Starting Create Static Device Nodes in /dev...
[   35.875464] systemd[1]: Started Load Kernel Modules.
[  OK  ] Started Load Kernel Modules.
[   35.907594] systemd[1]: Started Load/Save Random Seed.
[  OK  ] Started Load/Save Random Seed.
[   35.934851] systemd[1]: Started Create Static Device Nodes in /dev.
[  OK  ] Started Create Static Device Nodes in /dev.
[   36.004007] systemd[1]: Starting udev Kernel Device Manager...
         Starting udev Kernel Device Manager...
[   36.032382] systemd[1]: Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems (Pre).
[   36.064594] systemd[1]: Mounting /tmp...
         Mounting /tmp...
[   36.093825] systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[   36.123143] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   36.153561] systemd[1]: Mounting Configuration File System...
         Mounting Configuration File System...
[   36.174153] systemd[1]: Mounted Configuration File System.
[  OK  ] Mounted Configuration File System.
[   36.190937] systemd[1]: Mounted FUSE Control File System.
[   36.191068] cfg80211: World regulatory domain updated:
[   36.191071] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   36.191075] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   36.191078] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   36.191080] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[   36.191083] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[   36.191085] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[   36.191088] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[   36.191090] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[   36.191093] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted /tmp.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Found device /dev/ttyS0.
[FAILED] Failed to listen on Load/Save RF Kill Switch Status /dev/rfkill Watch.
See 'systemctl status systemd-rfkill.socket' for details.
[  OK  ] Reached target Sound Card.
[   39.675171] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #43906: comm systemd: reading directory lblock 0
[   39.692972] EXT4-fs (mmcblk0p1): Remounting filesystem read-only
[FAILED] Failed to start Entropy daemon using the HAVEGE algorithm.
See 'systemctl status haveged.service' for details.
[  OK  ] Reached target Local File Systems.
         Starting Armbian enhanced Log2Ram...
         Starting Raise network interfaces...
         Starting Set console font and keymap...
[FAILED] Failed to start Armbian enhanced Log2Ram.
See 'systemctl status log2ram.service' for details.
         Starting Journal Service...
[FAILED] Failed to start Set console font and keymap.
See 'systemctl status console-setup.service' for details.
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[FAILED] Failed to start Journal Service.
See 'systemctl status systemd-journald.service' for details.
[DEPEND] Dependency failed for Flush Journal to Persistent Storage.
[  OK  ] Stopped Journal Service.
         Starting Journal Service...
         Starting Create Volatile Files and Directories...
[FAILED] Failed to start Journal Service.
See 'systemctl status systemd-journald.service' for details.
[  OK  ] Stopped Journal Service.
         Starting Journal Service...
[   42.189832] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #44099: comm systemd-tmpfile: reading directory lblock 0
[FAILED] Failed to start Journal Service.
See 'systemctl status systemd-journald.service' for details.
[  OK  ] Stopped Journal Service.
         Starting Journal Service...
[   42.539886] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #43899: comm systemd-tmpfile: reading directory lblock 0
[FAILED] Failed to start Journal Service.
See 'systemctl status systemd-journald.service' for details.
[  OK  ] Stopped Journal Service.
         Starting Journal Service...
[   42.888914] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #43902: comm systemd-tmpfile: reading directory lblock 0
[FAILED] Failed to start Journal Service.
See 'systemctl status systemd-journald.service' for details.
[  OK  ] Stopped Journal Service.
[FAILED] Failed to start Journal Service.
See 'systemctl status systemd-journald.service' for details.
[   43.071502] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #43902: comm systemd-tmpfile: reading directory lblock 0
[   43.253974] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #43902: comm systemd-tmpfile: reading directory lblock 0
[FAILED] Failed to start Create Volatile Files and Directories.
See 'systemctl status systemd-tmpfiles-setup.service' for details.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[FAILED] Failed to start Update UTMP about System Boot/Shutdown.
See 'systemctl status systemd-update-utmp.service' for details.
[DEPEND] Dependency failed for Update UTMP about System Runlevel Changes.
[  OK  ] Reached target System Initialization.
         Starting Armbian filesystem resize service...
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[   44.270090] EXT4-fs error (device mmcblk0p1): __ext4_get_inode_loc:4076: inode #30008: block 2002: comm systemd: unable to read itable block
[   44.618129] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #12700: comm bash: reading directory lblock 0
[   44.618597] EXT4-fs error (device mmcblk0p1): __ext4_get_inode_loc:4076: inode #30008: block 2002: comm systemd: unable to read itable block
[   45.279811] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #12700: comm bash: reading directory lblock 0
[   45.280278] EXT4-fs error (device mmcblk0p1): __ext4_get_inode_loc:4076: inode #30008: block 2002: comm systemd: unable to read itable block
[   45.942027] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #12700: comm bash: reading directory lblock 0
[   45.942036] EXT4-fs error (device mmcblk0p1): __ext4_get_inode_loc:4076: inode #30008: block 2002: comm systemd: unable to read itable block
[   45.943884] EXT4-fs error (device mmcblk0p1): __ext4_get_inode_loc:4076: inode #30008: block 2002: comm systemd: unable to read itable block
[   45.945679] EXT4-fs error (device mmcblk0p1): __ext4_get_inode_loc:4076: inode #30008: block 2002: comm systemd: unable to read itable block
[   46.277196] EXT4-fs error (device mmcblk0p1): __ext4_get_inode_loc:4076: inode #30008: block 2002: comm systemd: unable to read itable block
[   46.295519] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #12700: comm bash: reading directory lblock 0
[   46.792399] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #12700: comm bash: reading directory lblock 0
[   46.792404] EXT4-fs error (device mmcblk0p1): __ext4_get_inode_loc:4076: inode #30008: block 2002: comm systemd: unable to read itable block
[   47.453956] EXT4-fs error (device mmcblk0p1): __ext4_get_inode_loc:4076: inode #30008: block 2002: comm systemd: unable to read itable block
[   47.453962] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #12700: comm bash: reading directory lblock 0
[  OK  ] Started Daily apt activities.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[   47.654117] EXT4-fs error (device mmcblk0p1): ext4_find_entry:1308: inode #12700: comm bash: reading directory lblock 0
[FAILED] Failed to start Armbian filesystem resize service.
See 'systemctl status resize2fs.service' for details.
[  OK  ] Reached target Basic System.
         Starting LSB: Starts LIRC daemon....
[  OK  ] Started Armbian first run tasks.
[  OK  ] Created slice system-getty.slice.
         Starting System Logging Service...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting Permit User Sessions...
         Starting Login Service...

 

 

Link to comment
Share on other sites

This one is a little weird indeed, I just tried the same thing with ayufan's minimal SOPine image. And while I can access the eMMC at high speed (HS-200 seems to work fine), writing an image to it after booting from sdcard, I have trouble booting it afterwards. So I suspect some configuration issue since the Pinebook works fine and is the same on the electronics side...

 

 

Link to comment
Share on other sites

Looks like there will be a new Pine A64 variant - Pine A64 LTS

Board is based on R18 (which is basically A64 AFAIK), is based on the SoPine baseboard (so it has a proper barrel plug power connector and a eMMC socket) but everything is mounted on a single board, and it uses LPDDR3 DRAM.

 

I wonder if it completely replaces Pine A64 in the near future, though software compatibility due to different DRAM types is a consideration.

Link to comment
Share on other sites

I haven't taken a close look at the schematics yet, but afaik it is just a fused SOPine in one board, and going forward all Pine64 devices (LTS/SO/Book) have now the same 2GB LPDDR3 RAM ...  I think R18 was chosen over A64 because that other business unit at AW had the longer availablility guarantee... I hope that R18 is really 100% identical to A64 and we don't need some funky handling of quirks...

Link to comment
Share on other sites

On 30.06.2017 at 5:59 PM, zador.blood.stained said:

Experimental/WIP DVFS for A64 mainline is available (or rather it's possible to implement it with kernel and ATF patches): https://groups.google.com/forum/#!topic/linux-sunxi/p9JX6fLfIGQ

Unfortunately looks like this implementation conflicts with the kernel RSB/AXP803 driver, even if RSB is forced to non-secure. -EBUSY errors may indicate that RSB cannot be easily shared between the kernel and ATF.

Link to comment
Share on other sites

On 28.06.2017 at 12:59 PM, Xalius said:

So I suspect some configuration issue since the Pinebook works fine and is the same on the electronics side...

After comparing SoPine and Pinebook schematics I can say that they are not the same. On the Pinebook vqmmc (port C power) is wired to a separate AXP output, on the SoPine vmmc (eMMC power supply) and vqmmc are tied together (and to the main 3.3v output), so it will be impossible to switch to speed modes that require 1.8V vqmmc, and any attempt of switching vqmmc to 1.8v will affect DCDC1 output voltage.

Link to comment
Share on other sites

Oh dear, that would be unfortunate. You need 1.8V Vccq for HS200 and above. HS 50MHz with DDR will get about 80MB/s assuming an 8bit bus, but that's at least 50% down on HS200 with the same module. It would explain why Ayufan was having trouble getting the sopine running at the same speed as his pinebook.

Link to comment
Share on other sites

The main problem right now is that I can't get eMMC on SoPine working reliably in any mode at all on the legacy kernel, as if late in the boot process something switches either voltage or speed to a wrong combination and kernel starts throwing filesystem errors and hangs shortly after.

Not sure if it is a DT issue or if we need to use backported MMC driver from a different branch - the same kernel works with the Pinebook (and similar eMMC module AFAIK) without issues.

Link to comment
Share on other sites

I just searched back through the irc history, Ayufan said he had hs200 running on sopine, but only up to 100MHz. That suggests that 1.8v is possible for Vccq, so perhaps the schematic is incorrect or out of date. Or maybe the mmc module is just running out of spec (which doesn't actually say what's supposed to happen if you try and use hs200 at the wrong voltage).

 

Ayufan's update is from 15th October at 11:34 here: http://irc.pine64.uk/?date=2017-10-15T00:22:00.000Z

 

Probably worth trying his latest build and see if it works for you. Sadly the pinebook is the only pine I have :(

Link to comment
Share on other sites

Most likely running out of spec. There are some DT settings that control 1.8V voltage switching and high speed modes, then there are regulator references that should control which regulator exactly should be switched and there are some compatibility related properties:

		card2_boot_para {
			device_type = "card2_boot_para";
			sdc_io_1v8 = <0x1>;
			card_ctrl = <0x2>;
			card_high_speed = <0x1>;
			card_line = <0x8>;
			pinctrl-0 = <0x9a>;
			sdc_ex_dly_used = <0x2>;
		};

		sdmmc@01C11000 {
			compatible = "allwinner,sun50i-sdmmc2";
			device_type = "sdc2";
			reg = <0x0 0x1c11000 0x0 0x1000>;
			interrupts = <0x0 0x3e 0x104>;
			clocks = <0x6 0x5a 0x5b 0x5c 0x5d>;
			clock-names = "osc24m", "pll_periph", "mmc", "ahb", "rst";
			pinctrl-names = "default", "sleep";
			pinctrl-1 = <0x5f>;
			bus-width = <0x8>;
			max-frequency = <0x5f5e100>;
			sdc_tm4_sm0_freq0 = <0x0>;
			sdc_tm4_sm0_freq1 = <0x0>;
			sdc_tm4_sm1_freq0 = <0x0>;
			sdc_tm4_sm1_freq1 = <0x0>;
			sdc_tm4_sm2_freq0 = <0x0>;
			sdc_tm4_sm2_freq1 = <0x0>;
			sdc_tm4_sm3_freq0 = <0x5000000>;
			sdc_tm4_sm3_freq1 = <0x405>;
			sdc_tm4_sm4_freq0 = <0x50000>;
			sdc_tm4_sm4_freq1 = <0x408>;
			status = "okay";
			pinctrl-0 = <0xb4>;
			non-removable;
			cd-gpios;
			sunxi-power-save-mode;
			sunxi-dis-signal-vol-sw;
			mmc-ddr-1_8v;
			mmc-hs200-1_8v;
			mmc-hs400-1_8v;
			vmmc = "vcc-emmc";
			vqmmc = "vcc-lpddr";
			vdmmc = "none";
		};

 

But since additional properties are not documented and AW BSP code is a mess making things work IMO requires too much time given the current mainline status. Especially since some of the properties are used by u-boot and some are used by the kernel, and AFAIK there is a difference between booting from eMMC and booting from SD and mounting eMMC for additional storage.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines