VNC 設定と osx10.11 の画面共有

いつも VNC の設定の仕方を忘れるので備忘録。

参考

Raspberry Piの設定【VNCサーバ(tightVNC)の設定】

ARMBIAN のデスクトップ版は、nodm で自動ログインするので、まずこれを中止。

---- /etc/default/nodm
::
#NODM_ENABLED=true
NODM_ENABLED=false

続いて、vnc のインストール

# apt-get install tightvncserver

設定

---- /etc/init.d/vncboot
### BEGIN INIT INFO
# Provides: vncboot
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start VNC Server at boot time
# Description: Start VNC Server at boot time.
### END INIT INFO

#! /bin/sh
# /etc/init.d/vncboot

USER=junkhack
HOME=/home/junkhack

export USER HOME

case "$1" in
 start)
 echo "Starting VNC Server"
 #Insert your favoured settings for a VNC session
 su $USER -c '/usr/bin/vncserver :1 -geometry 1440x900 -depth 24'
 ;;

 stop)
 echo "Stopping VNC Server"
 su $USER -c '/usr/bin/vncserver -kill :1'
 ;;

 *)
 echo "Usage: /etc/init.d/vncboot {start|stop}"
 exit 1
 ;;
esac

exit 0

権限付与と、自動起動設定

# chmod 755 /etc/init.d/vncboot
# update-rc.d vncboot defaults

 

リブートするか、起動スクリプトをたたく。

# /etc/init.d/vncboot start

osx からの画面共有

osxvnc

 

junkhack_s_X_desktop__orangepilite_1_

osx10.11 の画面共有は少し良くなった感じ。

OrangePi Lite と SDCard8GB

※追記

OPI_Lite_-_ThingSpeak 2

再起動後に計測したら、以下のようでした。ファンなしでヒートシンクのみだと、76 度程度まで上昇。

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: orangepilite: GNU/Linux
   OS: GNU/Linux -- 3.4.112-sun8i -- #8 SMP PREEMPT Tue May 31 19:00:17 CEST 2016
   Machine: armv7l (unknown)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   23:23:02 up 1 min,  3 users,  load average: 0.50, 0.24, 0.09; runlevel 5

------------------------------------------------------------------------
Benchmark Run: Sat Jun 11 2016 23:23:02 - 23:51:36
0 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables       15052404.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2236.1 MWIPS (10.0 s, 7 samples)
Execl Throughput                               1834.6 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        134715.0 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           45295.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        388807.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                              970953.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 124686.7 lps   (10.0 s, 7 samples)
Process Creation                               4767.0 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3234.7 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    418.1 lpm   (60.3 s, 2 samples)
System Call Overhead                        2391403.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   15052404.8   1289.8
Double-Precision Whetstone                       55.0       2236.1    406.6
Execl Throughput                                 43.0       1834.6    426.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     134715.0    340.2
File Copy 256 bufsize 500 maxblocks            1655.0      45295.5    273.7
File Copy 4096 bufsize 8000 maxblocks          5800.0     388807.4    670.4
Pipe Throughput                               12440.0     970953.2    780.5
Pipe-based Context Switching                   4000.0     124686.7    311.7
Process Creation                                126.0       4767.0    378.3
Shell Scripts (1 concurrent)                     42.4       3234.7    762.9
Shell Scripts (8 concurrent)                      6.0        418.1    696.8
System Call Overhead                          15000.0    2391403.0   1594.3
                                                                   ========
System Benchmarks Index Score                                         566.4

 

仮運用で、CPU温度をファンなしで計測しています。CPUヒートシンクはついた状態。平常時は、50度以下です。

OPI_Lite_-_ThingSpeak

SDCard 8GB と Orange PI LITE がやってきました。

sd8g

SDCard の方は、立派な梱包です。R:80M/s とか書いてありますが、、、さっそく、xbench でベンチマーク。

Results 14.44   
    System Info     
        Xbench Version      1.3
        System Version      10.11.5 (15F34)
        Physical RAM        32768 MB
        Model       MacPro3,1
        Drive Type      Generic STORAGE DEVICE
    Disk Test   14.44   
        Sequential  14.05   
            Uncached Write  18.68   11.47 MB/sec [4K blocks]
            Uncached Write  19.55   11.06 MB/sec [256K blocks]
            Uncached Read   6.59    1.93 MB/sec [4K blocks]
            Uncached Read   35.43   17.81 MB/sec [256K blocks]
        Random  14.85   
            Uncached Write  4.58    0.48 MB/sec [4K blocks]
            Uncached Write  27.82   8.91 MB/sec [256K blocks]
            Uncached Read   273.42  1.94 MB/sec [4K blocks]
            Uncached Read   88.76   16.47 MB/sec [256K blocks]

過去のaliexpress から購入した SDCard と比較。

S20160612_001

Results    17.46    
    System Info        
        Xbench Version        1.3
        System Version        10.11.5 (15F34)
        Physical RAM        32768 MB
        Model        MacPro3,1
        Drive Type        Generic STORAGE DEVICE
    Disk Test    17.46    
        Sequential    14.39    
            Uncached Write    10.35    6.36 MB/sec [4K blocks]
            Uncached Write    11.20    6.34 MB/sec [256K blocks]
            Uncached Read    15.67    4.58 MB/sec [4K blocks]
            Uncached Read    35.42    17.80 MB/sec [256K blocks]
        Random    22.19    
            Uncached Write    13.21    1.40 MB/sec [4K blocks]
            Uncached Write    10.90    3.49 MB/sec [256K blocks]
            Uncached Read    519.01    3.68 MB/sec [4K blocks]
            Uncached Read    91.91    17.05 MB/sec [256K blocks]

どう評価してよいやら。Random Write が遅い感じですかね。

 

ARMBIAN のデスクトップ版を今回チョイス。

Orange_Pi_Lite_–_armbian 8G の SDCard に DD して、たとえば、osx の場合は、以下のようです。

$ sudo dd if=./Armbian_5.13_Orangepilite_Debian_jessie_3.4.112_desktop.raw of=/dev/rdisk5 bs=1m

※rdisk5 などは変動しますので、ご注意を。

 

まずは、CPUヒートシンクを付けずに電源オン。

2,3回リブートします。root のパスワードはデフォルトは 1234 ですので、変更を求められます。

コンソールからIP設定などしますので、HDMI 接続して、最低限の設定を。

root@orangepilite:~# egrep -v '^#|^$' /etc/network/interfaces
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.6
netmask 255.255.255.0
gateway 192.168.1.1
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
auto lo
    iface lo inet loopback

IP を設定したら、リモートからSSH してみます。

SSIDとPWのファイルを以下で作成しておきます。

wpa_passphrase "SSID" "PASSWORD" > /etc/wpa_supplicant/wpa_supplicant.conf

気になるCPU温度は、

  ___                               ____  _   _     _ _       
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) | |   (_) |_ ___ 
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |   | | __/ _ \
| |_| | | | (_| | | | | (_| |  __/ |  __/| | | |___| | ||  __/
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| |_____|_|\__\___|
                       |___/                                  

Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.112-sun8i 

System load:   0.00                Up time:       18 min        
Memory usage:  11 % of 494Mb      IP:            127.0.0.1
CPU temp:      46°C               
Usage of /:    29% of 7.4G       

Last login: Tue May 31 19:23:50 2016
root@orangepilite:~# 

とりあえず、負荷をかけなければ、平常温度のようです。

ちょっと心配なので、CPU温度をモニターしながら作業します。

# watch -n 0.5 cat /sys/class/thermal/thermal_zone0/temp

各種パラメータは以下。

root@orangepilite:~# lscpu
Architecture:          armv7l
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
CPU max MHz:           1200.0000
CPU min MHz:           480.0000
root@orangepilite:~# 
root@orangepilite:~# lspci
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
root@orangepilite:~# 
root@orangepilite:~# lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@orangepilite:~# 
root@orangepilite:~# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq 
480000
root@orangepilite:~# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq 
1200000
root@orangepilite:~# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
1200000
root@orangepilite:~# cat /sys/class/thermal/thermal_zone0/temp
51
root@orangepilite:~# cat /proc/meminfo
MemTotal:         506064 kB
MemFree:          238904 kB
Buffers:           14316 kB
Cached:           186080 kB
SwapCached:            0 kB
Active:           114204 kB
Inactive:         114232 kB
Active(anon):      28404 kB
Inactive(anon):     4320 kB
Active(file):      85800 kB
Inactive(file):   109912 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         506064 kB
LowFree:          238904 kB
SwapTotal:        131068 kB
SwapFree:         131068 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         27968 kB
Mapped:            10072 kB
Shmem:              4688 kB
Slab:              19128 kB
SReclaimable:      10832 kB
SUnreclaim:         8296 kB
KernelStack:         760 kB
PageTables:          704 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      384100 kB
Committed_AS:      97928 kB
VmallocTotal:     499712 kB
VmallocUsed:       17228 kB
VmallocChunk:     251340 kB
root@orangepilite:~# 
root@orangepilite:~# 
root@orangepilite:~# df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/mmcblk0p1 ext4      7.4G  2.1G  5.2G  29% /
udev           devtmpfs   10M     0   10M   0% /dev
tmpfs          tmpfs      99M  4.6M   95M   5% /run
tmpfs          tmpfs     248M     0  248M   0% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     248M     0  248M   0% /sys/fs/cgroup
tmpfs          tmpfs     248M     0  248M   0% /tmp
tmpfs          tmpfs      50M     0   50M   0% /run/user/0
root@orangepilite:~# 
root@orangepilite:~# uname -a
Linux orangepilite 3.4.112-sun8i #8 SMP PREEMPT Tue May 31 19:00:17 CEST 2016 armv7l GNU/Linux
root@orangepilite:~# 
root@orangepilite:~# dmesg 
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.112-sun8i (root@pluton) (gcc version 5.3.1 20160413 (Ubuntu/Linaro 5.3.1-14ubuntu2) ) #8 SMP PREEMPT Tue May 31 19:00:17 CEST 2016
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun8i
[    0.000000] cma: CMA: reserved 160 MiB at 56000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0a35380, node_mem_map c0b76000
[    0.000000]   Normal zone: 1152 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 129920 pages, LIFO batch:31
[    0.000000] script_init enter!
[    0.000000] script_init exit!
[    0.000000] PERCPU: Embedded 8 pages/cpu @c1008000 s11968 r8192 d12608 u32768
[    0.000000] pcpu-alloc: s11968 r8192 d12608 u32768 alloc=8*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: 129920
[    0.000000] Kernel command line: console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 panic=10 consoleblank=0 enforcing=0 loglevel=1
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] allocated 1048576 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 338860k/338860k available, 185428k 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 : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc096bf2c   (9616 kB)
[    0.000000]       .init : 0xc096c000 - 0xc09beec0   ( 332 kB)
[    0.000000]       .data : 0xc09c0000 - 0xc0a3a1d0   ( 489 kB)
[    0.000000]        .bss : 0xc0a3a984 - 0xc0b75bd0   (1261 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:544
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.000244] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.000268] pid_max: default: 32768 minimum: 301
[    0.000602] Mount-cache hash table entries: 512
[    0.001558] Initializing cgroup subsys cpuacct
[    0.001574] Initializing cgroup subsys memory
[    0.001621] Initializing cgroup subsys devices
[    0.001633] Initializing cgroup subsys freezer
[    0.001644] Initializing cgroup subsys blkio
[    0.001667] Initializing cgroup subsys perf_event
[    0.001749] CPU: Testing write buffer coherency: ok
[    0.001800] ftrace: allocating 25980 entries in 77 pages
[    0.030291] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.030308] [sunxi_smp_prepare_cpus] enter
[    0.030346] Setting up static identity map for 0x4069f800 - 0x4069f858
[    0.031274] CPU1: Booted secondary processor
[    0.031274] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.031409] CPU2: Booted secondary processor
[    0.031409] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.040478] CPU3: Booted secondary processor
[    0.040478] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.040598] Brought up 4 CPUs
[    0.040598] SMP: Total of 4 processors activated (19200.00 BogoMIPS).
[    0.040897] devtmpfs: initialized
[    0.050268] wakeup src cnt is : 2. 
[    0.050282] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000
[    0.050293] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0
[    0.050304] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40
[    0.050315] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000
[    0.050325] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8
[    0.050336] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40
[    0.050347] sunxi pm init
[    0.050487] pinctrl core: initialized pinctrl subsystem
[    0.056877] NET: Registered protocol family 16
[    0.057653] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.057653] script_sysfs_init success
[    0.057653] sunxi_dump_init success
[    0.057653] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl
[    0.057653] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.057653] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.057653] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.057653] script config pll_video to 297 Mhz
[    0.057653] script config pll_de to 864 Mhz
[    0.057653] script config pll_ve to 402 Mhz
[    0.057653] sunxi_default_clk_init
[    0.057653] try to set pll6ahb1 to 200000000
[    0.057653] try to set ahb clk source to pll6ahb1
[    0.057653] set ahb clk source to pll6ahb1
[    0.057653] try to set ahb1 to 200000000
[    0.057653] try to set apb1 to 100000000
[    0.062042] bio: create slab <bio-0> at 0
[    0.062042] [ARISC] :sunxi-arisc driver v1.04
[    0.085968] [ARISC] :arisc version: [v0.1.58]
[    0.171883] [ARISC] :sunxi-arisc driver v1.04 startup succeeded
[    0.173480] SCSI subsystem initialized
[    0.173480] usbcore: registered new interface driver usbfs
[    0.173480] usbcore: registered new interface driver hub
[    0.173480] usbcore: registered new device driver usb
[    0.173480] twi_chan_cfg()340 - [twi0] has no twi_regulator.
[    0.173480] twi_chan_cfg()340 - [twi1] has no twi_regulator.
[    0.173480] twi_chan_cfg()340 - [twi2] has no twi_regulator.
[    0.173480] Linux video capture interface: v2.00
[    0.173480] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.173480] cfg80211: Calling CRDA to update world regulatory domain
[    0.173480] Switching to clocksource arch_sys_counter
[    0.183815] FS-Cache: Loaded
[    0.184095] CacheFiles: Loaded
[    0.195470] NET: Registered protocol family 2
[    0.206801] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.207344] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.207590] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
[    0.207864] TCP: Hash tables configured (established 16384 bind 16384)
[    0.207875] TCP: reno registered
[    0.207887] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.207913] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.208245] NET: Registered protocol family 1
[    0.208629] RPC: Registered named UNIX socket transport module.
[    0.208641] RPC: Registered udp transport module.
[    0.208649] RPC: Registered tcp transport module.
[    0.208657] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.208846] Trying to unpack rootfs image as initramfs...
[    0.393546] Freeing initrd memory: 3036K
[    0.393908] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available
[    0.394034] sunxi_reg_init enter
[    0.394939] audit: initializing netlink socket (disabled)
[    0.394986] type=2000 audit(0.390:1): initialized
[    0.396835] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.397020] misc fatfs initialized
[    0.397738] NFS: Registering the id_resolver key type
[    0.398154] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.398168] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.398928] NTFS driver 2.1.30 [Flags: R/W].
[    0.399229] fuse init (API version 7.18)
[    0.400038] Btrfs loaded
[    0.400067] msgmni has been set to 987
[    0.401486] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.401508] io scheduler noop registered
[    0.401517] io scheduler deadline registered
[    0.401587] io scheduler cfq registered (default)
[    0.401994] [DISP]disp_module_init
[    0.402303] cmdline,init_disp=
[    0.402331] cmdline,disp=
[    0.410114] [DISP] Fb_map_kernel_logo,line:932:Fb_map_kernel_logo failed!
[    0.426512] Console: switching to colour frame buffer device 160x45
[    0.443844] [DISP]disp_module_init finish
[    0.444063] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[    0.444370] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    0.444383] sw_uart_pm()890 - uart0 clk is already enable
[    0.444938] sunxi_cmatest_init enter
[    0.444976] sunxi_cmatest_init success
[    0.449091] brd: module loaded
[    0.453033] loop: module loaded
[    0.453315] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[    0.453331] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator.
[    0.453911] spi spi0: master is unqueued, this is deprecated
[    0.454237] tun: Universal TUN/TAP device driver, 1.6
[    0.454247] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.454586] gmac0 not be used
[    0.454621] gmac0: probe of gmac0 failed with error -22
[    0.454653] PPP generic driver version 2.4.2
[    0.454836] PPP BSD Compression module registered
[    0.454846] PPP Deflate Compression module registered
[    0.457396] PPP MPPE Compression module registered
[    0.457416] NET: Registered protocol family 24
[    0.457494] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.477595] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.477631] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    0.478188] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    0.490033] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    0.490699] hub 1-0:1.0: USB hub found
[    0.490724] hub 1-0:1.0: 1 port detected
[    0.511120] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.511150] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2
[    0.511547] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000
[    0.530041] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00
[    0.530059] ehci_irq: highspeed device connect
[    0.530579] hub 2-0:1.0: USB hub found
[    0.530604] hub 2-0:1.0: 1 port detected
[    0.550962] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.550991] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3
[    0.551375] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000
[    0.570032] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00
[    0.570553] hub 3-0:1.0: USB hub found
[    0.570577] hub 3-0:1.0: 1 port detected
[    0.590935] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.590964] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4
[    0.591341] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000
[    0.610030] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00
[    0.610553] hub 4-0:1.0: USB hub found
[    0.610571] hub 4-0:1.0: 1 port detected
[    0.610938] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.631007] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    0.631035] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5
[    0.631068] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    0.694546] hub 5-0:1.0: USB hub found
[    0.694567] hub 5-0:1.0: 1 port detected
[    0.714929] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    0.714956] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6
[    0.714989] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400
[    0.774577] hub 6-0:1.0: USB hub found
[    0.774601] hub 6-0:1.0: 1 port detected
[    0.790041] ehci_irq: highspeed device disconnect
[    0.790069] ohci_irq: fullspeed or lowspeed device connect
[    0.794976] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    0.795005] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7
[    0.795038] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400
[    0.854566] hub 7-0:1.0: USB hub found
[    0.854586] hub 7-0:1.0: 1 port detected
[    0.874967] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    0.874996] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8
[    0.875027] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400
[    0.934555] hub 8-0:1.0: USB hub found
[    0.934574] hub 8-0:1.0: 1 port detected
[    0.934918] Initializing USB Mass Storage driver...
[    0.935148] usbcore: registered new interface driver usb-storage
[    0.935160] USB Mass Storage support registered.
[    0.935224] usbcore: registered new interface driver ums-alauda
[    0.935276] usbcore: registered new interface driver ums-cypress
[    0.935336] usbcore: registered new interface driver ums-datafab
[    0.935382] usbcore: registered new interface driver ums_eneub6250
[    0.935432] usbcore: registered new interface driver ums-freecom
[    0.935482] usbcore: registered new interface driver ums-isd200
[    0.935526] usbcore: registered new interface driver ums-jumpshot
[    0.935572] usbcore: registered new interface driver ums-karma
[    0.935618] usbcore: registered new interface driver ums-onetouch
[    0.935678] usbcore: registered new interface driver ums-realtek
[    0.935727] usbcore: registered new interface driver ums-sddr09
[    0.935775] usbcore: registered new interface driver ums-sddr55
[    0.935822] usbcore: registered new interface driver ums-usbat
[    0.936126] file system registered
[    0.937776] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    0.937790] android_usb gadget: Number of LUNs=3
[    0.937801]  lun0: LUN: removable file: (no medium)
[    0.937811]  lun1: LUN: removable file: (no medium)
[    0.937821]  lun2: LUN: removable file: (no medium)
[    0.938156] android_usb gadget: android_usb ready
[    0.938368]  uinput result 0 , vmouse_init 
[    0.938974] mousedev: PS/2 mouse device common for all mice
[    0.939229] sunxikbd_init failed. 
[    0.939739] ls_fetch_sysconfig_para: type err  device_used = -1073060236. 
[    0.939751] =========script_get_err============
[    0.939759] ltr_init: ls_fetch_sysconfig_para err.
[    0.940117] [RTC] WARNING: Rtc time will be wrong!!
[    0.940128] [RTC] WARNING: use *internal OSC* as clock source
[    0.940407] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    0.940456] i2c /dev entries driver
[    0.940855] IR RC5(x) protocol handler initialized
[    0.940991] sunxi cedar version 0.1 
[    0.941030] [cedar]: install start!!!
[    0.941229] [cedar]: install end!!!
[    0.941471] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x18)
[    0.941643] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x19)
[    0.941813] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x1a)
[    0.941982] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x29)
[    0.942150] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2a)
[    0.942319] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2b)
[    0.942487] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4c)
[    0.942656] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4d)
[    0.942823] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4e)
[    0.943023] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x18)
[    0.943218] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x19)
[    0.943413] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1a)
[    0.943609] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x29)
[    0.943804] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2a)
[    0.943999] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2b)
[    0.944193] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4c)
[    0.944388] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4d)
[    0.944583] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4e)
[    0.944598] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    0.944767] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    0.944911] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    0.944925] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    0.944935] timeout_to_interv, line 167
[    0.944943] interv_to_timeout, line 189
[    0.944953] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    0.945387] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    0.945486] calibrat: max_cpufreq 1200Mhz Type 0!
[    0.945499] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq
[    0.945901] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in May 31 2016 at 18:59:51
[    0.945936] [mmc]: get mmc0's sdc_power is null!
[    0.945964] [mmc]: get mmc1's sdc_power is null!
[    0.945973] [mmc]: get mmc1's 2xmode ok, val = 1
[    0.945982] [mmc]: get mmc1's ddrmode ok, val = 1
[    0.945998] [mmc]: MMC host used card: 0x3, boot card: 0x1, io_card 2
[    0.946982] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.948093] [mmc]: sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.948691] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.949632] [mmc]: sdc0 power_supply is null
[    0.951516] no blue_led, ignore it!
[    0.951721] Registered led device: red_led
[    0.951835] Registered led device: green_led
[    0.951851] no led_0, ignore it!
[    0.951859] no led_1, ignore it!
[    0.951866] no led_2, ignore it!
[    0.951873] no led_3, ignore it!
[    0.951880] no led_4, ignore it!
[    0.951887] no led_5, ignore it!
[    0.951894] no led_6, ignore it!
[    0.951901] no led_7, ignore it!
[    0.952693] usbcore: registered new interface driver usbhid
[    0.952705] usbhid: USB HID core driver
[    0.956828] asoc: sndcodec <-> sunxi-codec mapping ok
[    0.957715] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!
[    0.957909] [I2S]snddaudio cannot find any using configuration for controllers, return directly!
[    0.957925] [DAUDIO0] driver not init,just return.
[    0.961436] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok
[    0.962476] oprofile: using arm/armv7-ca7
[    0.962660] u32 classifier
[    0.962668]     Actions configured
[    0.962854] IPv4 over IPv4 tunneling driver
[    0.963501] TCP: bic registered
[    0.963512] TCP: cubic registered
[    0.963519] TCP: westwood registered
[    0.963527] TCP: highspeed registered
[    0.963534] TCP: hybla registered
[    0.963542] TCP: htcp registered
[    0.963549] TCP: vegas registered
[    0.963557] TCP: veno registered
[    0.963564] TCP: scalable registered
[    0.963571] TCP: lp registered
[    0.963578] TCP: yeah registered
[    0.963586] TCP: illinois registered
[    0.963593] Initializing XFRM netlink socket
[    0.963825] NET: Registered protocol family 10
[    0.964857] NET: Registered protocol family 17
[    0.964889] NET: Registered protocol family 15
[    0.964933] Registering the dns_resolver key type
[    0.965226] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.965248] ThumbEE CPU extension supported.
[    0.965270] Registering SWP/SWPB emulation handler
[    0.965855] registered taskstats version 1
[    0.966308] cmdline,disp=
[    0.966623] [HDMI] power vcc-hdmi-18
[    0.970056] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.991707] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.994205] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    0.997381] ths_fetch_sysconfig_para: type err  device_used = 1. 
[    0.998701] CPU Budget:corekeeper enabled
[    0.998971] CPU Budget:Register notifier
[    0.998984] CPU Budget:register Success
[    0.998997] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0
[    0.999571] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.001969] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.002245] [rf_pm]: module power0 name vcc-wifi-33
[    1.002258] [rf_pm]: Did not config module_power1 in sys_config
[    1.002268] [rf_pm]: Did not config module_power2 in sys_config
[    1.002278] [rf_pm]: Did not config module_power3 in sys_config
[    1.002288] [rf_pm]: mod has no chip_en gpio
[    1.002296] [rf_pm]: failed to fetch lpo_use_apclk
[    1.002304] [rf_pm]: regulator on.
[    1.002571] [wifi_pm]: wifi gpio init is OK !!
[    1.002629] [rfkill]: init no bt used in configuration
[    1.002640] ALSA device list:
[    1.002648]   #0: audiocodec
[    1.002655]   #1: sndhdmi
[    1.003567] Freeing init memory: 328K
[    1.004517] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.021644] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.023248] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    1.023430] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B
[    1.023544] mmc0: new SDHC card at address 0001
[    1.024131] mmcblk0: mmc0:0001 ASTC 7.44 GiB 
[    1.025866]  mmcblk0: p1
[    1.026430] mmcblk mmc0:0001: Card claimed for testing.
[    1.026445] mmc0:0001: ASTC 7.44 GiB 
[    1.026484] *******************sd init ok*******************
[    1.043615] systemd-udevd[99]: starting version 215
[    1.150112] usb 6-1: new full-speed USB device number 2 using sunxi-ohci
[    1.394550] logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-sunxi-ohci-1/input2
[    1.400486] logitech-djdevice 0003:046D:C52B.0004: input,hidraw1: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:2012] on usb-sunxi-ohci-1:1
[    1.600082] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device0, type=4, mode=5
[    2.794376] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[    4.260324] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    4.260646] systemd[1]: Detected architecture 'arm'.
[    4.298726] systemd[1]: Set hostname to <orangepilite>.
[    4.925027] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[    4.927313] systemd[1]: Expecting device dev-ttyS0.device...
[    4.927958] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    4.928154] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.928221] systemd[1]: Starting Remote File Systems (Pre).
[    4.928562] systemd[1]: Reached target Remote File Systems (Pre).
[    4.928706] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[    4.929500] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    4.929591] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[    4.929765] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    4.929819] systemd[1]: Starting Paths.
[    4.930154] systemd[1]: Reached target Paths.
[    4.930207] systemd[1]: Starting Encrypted Volumes.
[    4.930501] systemd[1]: Reached target Encrypted Volumes.
[    4.930560] systemd[1]: Starting Root Slice.
[    4.930912] systemd[1]: Created slice Root Slice.
[    4.930963] systemd[1]: Starting User and Session Slice.
[    4.931380] systemd[1]: Created slice User and Session Slice.
[    4.931433] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[    4.931924] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    4.931980] systemd[1]: Starting Delayed Shutdown Socket.
[    4.932363] systemd[1]: Listening on Delayed Shutdown Socket.
[    4.932417] systemd[1]: Starting Journal Socket (/dev/log).
[    4.932802] systemd[1]: Listening on Journal Socket (/dev/log).
[    4.932875] systemd[1]: Starting udev Control Socket.
[    4.933211] systemd[1]: Listening on udev Control Socket.
[    4.933274] systemd[1]: Starting udev Kernel Socket.
[    4.933598] systemd[1]: Listening on udev Kernel Socket.
[    4.933672] systemd[1]: Starting Journal Socket.
[    4.934057] systemd[1]: Listening on Journal Socket.
[    4.934162] systemd[1]: Starting System Slice.
[    4.934577] systemd[1]: Created slice System Slice.
[    4.934678] systemd[1]: Started File System Check on Root Device.
[    4.934725] systemd[1]: Starting system-getty.slice.
[    4.935207] systemd[1]: Created slice system-getty.slice.
[    4.935262] systemd[1]: Starting system-serial\x2dgetty.slice.
[    4.935711] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    4.935844] systemd[1]: Starting Increase datagram queue length...
[    5.070662] systemd[1]: Starting Restore / save the current clock...
[    5.120709] systemd[1]: Mounted Huge Pages File System.
[    5.120878] systemd[1]: Mounting POSIX Message Queue File System...
[    5.220697] systemd[1]: Mounting Debug File System...
[    5.284269] systemd[1]: Started Set Up Additional Binary Formats.
[    5.291271] systemd[1]: Starting Load Kernel Modules...
[    5.330842] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    5.390746] systemd[1]: Starting udev Coldplug all Devices...
[    5.460846] systemd[1]: Starting LSB: Set keymap...
[    5.529907] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.531455] [mmc]: sdc1 power_supply is null
[    5.550099] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.573218] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.575735] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.584175] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.585106] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.585226] [mmc]: sdc1 power_supply is null
[    5.587808] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.589334] [mmc]: sdc1 power_supply is null
[    5.610054] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.610578] systemd[1]: Starting Slices.
[    5.611055] systemd[1]: Reached target Slices.
[    5.613546] systemd[1]: Mounted Debug File System.
[    5.614132] systemd[1]: Mounted POSIX Message Queue File System.
[    5.629885] [wifi_pm]: set wl_reg_on 1 !
[    5.633749] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.636396] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.639047] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.651969] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    5.652103] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    5.652265] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    5.653129] mmc1: new high speed SDIO card at address 0001
[    5.659582] 29 81 03 CC 00 00 50 00 00 00 04 CC 0A 0C 00 00
[    5.659619] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.659653] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.659686] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.659719] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.659753] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.659786] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.659820] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.659853] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.659887] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.659920] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.659954] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.659987] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660054] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660089] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660123] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660156] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660190] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660224] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660256] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660320] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660342] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660366] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660392] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660419] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660441] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660468] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660493] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660517] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660562] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660589] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660613] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[    5.660869] systemd[1]: Started Increase datagram queue length.
[    5.666428] *******************sdio init ok*******************
[    5.744424] systemd[1]: Started Restore / save the current clock.
[    5.804351] systemd[1]: Started Load Kernel Modules.
[    5.860547] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    6.045128] systemd[1]: Started LSB: Set keymap.
[    6.114900] systemd[1]: Started udev Coldplug all Devices.
[    6.118357] systemd[1]: Time has been changed
[    6.118934] systemd[1]: Starting Create Static Device Nodes in /dev...
[    6.200738] systemd[1]: Mounting FUSE Control File System...
[    6.340489] systemd[1]: Starting Apply Kernel Variables...
[    6.460973] systemd[1]: Mounted Configuration File System.
[    6.461099] systemd[1]: Starting Syslog Socket.
[    6.465930] systemd[1]: Listening on Syslog Socket.
[    6.466043] systemd[1]: Starting Journal Service...
[    6.570614] systemd[1]: Started Journal Service.
[    6.906693] systemd-udevd[185]: starting version 215
[    8.122248] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[    8.418488] Adding 131068k swap on /var/swap.  Priority:-1 extents:1 across:131068k SS
[    9.573693] systemd-journald[184]: Received request to flush runtime journal from PID 1
[   14.955376] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1076.403353] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
root@orangepilite:~# ‹

USB が2つ残るのが、Lite のいいところですね。

 

稼動デーモンは、以下。

root@orangepilite:~# systemctl list-unit-files | egrep 'enabled|static|masked'
proc-sys-fs-binfmt_misc.automount      static  
dev-hugepages.mount                    static  
dev-mqueue.mount                       static  
proc-sys-fs-binfmt_misc.mount          static  
sys-fs-fuse-connections.mount          static  
sys-kernel-config.mount                static  
sys-kernel-debug.mount                 static  
systemd-ask-password-console.path      static  
systemd-ask-password-wall.path         static  
session-2.scope                        static  
session-3.scope                        static  
session-5.scope                        static  
alsa-restore.service                   static  
alsa-state.service                     static  
alsa-store.service                     static  
alsa-utils.service                     masked  
bluetooth.service                      enabled 
bootlogd.service                       masked  
bootlogs.service                       masked  
bootmisc.service                       masked  
checkfs.service                        masked  
checkroot-bootclean.service            masked  
checkroot.service                      masked  
container-getty@.service               static  
cron.service                           enabled 
cryptdisks-early.service               masked  
cryptdisks.service                     masked  
dbus-org.bluez.service                 enabled 
dbus-org.freedesktop.hostname1.service static  
dbus-org.freedesktop.locale1.service   static  
dbus-org.freedesktop.login1.service    static  
dbus-org.freedesktop.machine1.service  static  
dbus-org.freedesktop.timedate1.service static  
dbus.service                           static  
debian-fixup.service                   static  
emergency.service                      static  
fake-hwclock.service                   enabled 
fuse.service                           masked  
getty-static.service                   static  
getty@.service                         enabled 
halt-local.service                     static  
halt.service                           masked  
haveged.service                        enabled 
hostname.service                       masked  
hwclock-save.service                   enabled 
hwclock.service                        masked  
hwclockfirst.service                   masked  
ifup@.service                          static  
initrd-cleanup.service                 static  
initrd-parse-etc.service               static  
initrd-switch-root.service             static  
initrd-udevadm-cleanup-db.service      static  
killprocs.service                      masked  
kmod-static-nodes.service              static  
kmod.service                           static  
module-init-tools.service              static  
motd.service                           masked  
mountall-bootclean.service             masked  
mountall.service                       masked  
mountdevsubfs.service                  masked  
mountkernfs.service                    masked  
mountnfs-bootclean.service             masked  
mountnfs.service                       masked  
polkitd.service                        static  
procps.service                         static  
quotaon.service                        static  
rc-local.service                       static  
rc.local.service                       static  
reboot.service                         masked  
rescue.service                         static  
rmnologin.service                      masked  
rsyslog.service                        enabled 
screen-cleanup.service                 masked  
sendsigs.service                       masked  
serial-getty@.service                  enabled 
single.service                         masked  
ssh.service                            enabled 
ssh@.service                           static  
sshd.service                           enabled 
stop-bootlogd-single.service           masked  
stop-bootlogd.service                  masked  
syslog.service                         enabled 
systemd-ask-password-console.service   static  
systemd-ask-password-wall.service      static  
systemd-backlight@.service             static  
systemd-binfmt.service                 static  
systemd-fsck-root.service              static  
systemd-fsck@.service                  static  
systemd-halt.service                   static  
systemd-hibernate.service              static  
systemd-hostnamed.service              static  
systemd-hybrid-sleep.service           static  
systemd-initctl.service                static  
systemd-journal-flush.service          static  
systemd-journald.service               static  
systemd-kexec.service                  static  
systemd-localed.service                static  
systemd-logind.service                 static  
systemd-machined.service               static  
systemd-modules-load.service           static  
systemd-poweroff.service               static  
systemd-quotacheck.service             static  
systemd-random-seed.service            static  
systemd-readahead-done.service         static  
systemd-reboot.service                 static  
systemd-remount-fs.service             static  
systemd-rfkill@.service                static  
systemd-setup-dgram-qlen.service       static  
systemd-shutdownd.service              static  
systemd-suspend.service                static  
systemd-sysctl.service                 static  
systemd-timedated.service              static  
systemd-tmpfiles-clean.service         static  
systemd-tmpfiles-setup-dev.service     static  
systemd-tmpfiles-setup.service         static  
systemd-udev-settle.service            static  
systemd-udev-trigger.service           static  
systemd-udevd.service                  static  
systemd-update-utmp-runlevel.service   static  
systemd-update-utmp.service            static  
systemd-user-sessions.service          static  
udev-finish.service                    static  
udev.service                           static  
udisks2.service                        static  
umountfs.service                       masked  
umountnfs.service                      masked  
umountroot.service                     masked  
unattended-upgrades.service            enabled 
urandom.service                        static  
user@.service                          static  
x11-common.service                     masked  
-.slice                                static  
machine.slice                          static  
system.slice                           static  
user.slice                             static  
dbus.socket                            static  
syslog.socket                          static  
systemd-initctl.socket                 static  
systemd-journald-dev-log.socket        static  
systemd-journald.socket                static  
systemd-shutdownd.socket               static  
systemd-udevd-control.socket           static  
systemd-udevd-kernel.socket            static  
basic.target                           static  
bluetooth.target                       static  
cryptsetup-pre.target                  static  
cryptsetup.target                      static  
default.target                         static  
emergency.target                       static  
final.target                           static  
getty.target                           static  
graphical.target                       static  
hibernate.target                       static  
hybrid-sleep.target                    static  
initrd-fs.target                       static  
initrd-root-fs.target                  static  
initrd-switch-root.target              static  
initrd.target                          static  
local-fs-pre.target                    static  
local-fs.target                        static  
mail-transport-agent.target            static  
multi-user.target                      static  
network-online.target                  static  
network-pre.target                     static  
network.target                         static  
nss-lookup.target                      static  
nss-user-lookup.target                 static  
paths.target                           static  
printer.target                         static  
remote-fs-pre.target                   static  
remote-fs.target                       enabled 
rpcbind.target                         static  
runlevel2.target                       static  
runlevel3.target                       static  
runlevel4.target                       static  
runlevel5.target                       static  
shutdown.target                        static  
sigpwr.target                          static  
sleep.target                           static  
slices.target                          static  
smartcard.target                       static  
sockets.target                         static  
sound.target                           static  
suspend.target                         static  
swap.target                            static  
sysinit.target                         static  
system-update.target                   static  
time-sync.target                       static  
timers.target                          static  
umount.target                          static  
systemd-readahead-done.timer           static  
systemd-tmpfiles-clean.timer           static  
root@orangepilite:~# 
root@orangepilite:~# systemctl list-unit-files | egrep 'disabled'
tmp.mount                              disabled
autovt@.service                        disabled
console-getty.service                  disabled
console-shell.service                  disabled
debug-shell.service                    disabled
rsync.service                          disabled
sudo.service                           disabled
systemd-networkd-wait-online.service   disabled
systemd-networkd.service               disabled
systemd-nspawn@.service                disabled
systemd-readahead-collect.service      disabled
systemd-readahead-drop.service         disabled
systemd-readahead-replay.service       disabled
systemd-resolved.service               disabled
systemd-timesyncd.service              disabled
wpa_supplicant.service                 disabled
ssh.socket                             disabled
ctrl-alt-del.target                    disabled
halt.target                            disabled
kexec.target                           disabled
poweroff.target                        disabled
reboot.target                          disabled
rescue.target                          disabled
runlevel0.target                       disabled
runlevel1.target                       disabled
runlevel6.target                       disabled
root@orangepilite:~# 

UNIXBENCH行って見ます。

CPU ヒートシンクを付けていない上体ですが、CPU温度をモニタリングしていると、最高で75度くらい。60度台を保ってくれているようです。

完走したUnixBench です。

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: orangepilite: GNU/Linux
   OS: GNU/Linux -- 3.4.112-sun8i -- #8 SMP PREEMPT Tue May 31 19:00:17 CEST 2016
   Machine: armv7l (unknown)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   21:44:51 up 57 min,  3 users,  load average: 0.50, 0.22, 0.18; runlevel 5

------------------------------------------------------------------------
Benchmark Run: Sat Jun 11 2016 21:44:51 - 22:13:05
0 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables       11768603.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     1694.8 MWIPS (10.0 s, 7 samples)
Execl Throughput                               1469.0 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        110613.9 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           35492.2 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        313491.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                              734419.0 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  94353.6 lps   (10.0 s, 7 samples)
Process Creation                               3895.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   2668.2 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                    353.0 lpm   (60.4 s, 2 samples)
System Call Overhead                        1835636.2 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   11768603.8   1008.4
Double-Precision Whetstone                       55.0       1694.8    308.2
Execl Throughput                                 43.0       1469.0    341.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     110613.9    279.3
File Copy 256 bufsize 500 maxblocks            1655.0      35492.2    214.5
File Copy 4096 bufsize 8000 maxblocks          5800.0     313491.7    540.5
Pipe Throughput                               12440.0     734419.0    590.4
Pipe-based Context Switching                   4000.0      94353.6    235.9
Process Creation                                126.0       3895.8    309.2
Shell Scripts (1 concurrent)                     42.4       2668.2    629.3
Shell Scripts (8 concurrent)                      6.0        353.0    588.3
System Call Overhead                          15000.0    1835636.2   1223.8
                                                                   ========
System Benchmarks Index Score                                         449.0

パーツの写真

S20160611_002

S20160611_005

WiFi は、realtek 8189FTV と刻印があります。8189ETV の互換チップでしょうか? 8189fs.ko で動いています。

# lsmod
Module                  Size  Used by
8189fs               1050491  0 
hid_logitech_dj        10040  0 

# find /lib -name 8189fs*
/lib/modules/3.4.112-sun8i/kernel/drivers/net/wireless/rtl8189fs/8189fs.ko

S20160611_004

SAMSUNG のメモリーが載っています。samsung K4B2G1646Q BCK0

S20160611_003

 

script.bin は、orange pi lite 用のがあるようです。

root@orangepilite:~/work# cd /boot/
root@orangepilite:/boot# ll
total 10220
drwxr-xr-x 2 root root    4096 May 31 19:16 bin
-rw-r--r-- 1 root root    6944 May 31 19:16 boot.bmp
-rw-r--r-- 1 root root    2275 May 31 19:17 boot.cmd
-rw-r--r-- 1 root root    2347 May 31 19:21 boot.scr
-rw-r--r-- 1 root root   95050 May 31 19:00 config-3.4.112-sun8i
lrwxrwxrwx 1 root root      20 May 31 19:16 script.bin -> bin/orangepilite.bin
-rw-r--r-- 1 root root   35912 May 31 19:00 script.bin.bak
-rw-r--r-- 1 root root 2128821 May 31 19:00 System.map-3.4.112-sun8i
-rw-r--r-- 1 root root 3112633 May 31 19:15 uInitrd
-rwxr-xr-x 1 root root 5064616 May 31 19:00 vmlinuz-3.4.112-sun8i
lrwxrwxrwx 1 root root      21 May 31 19:15 zImage -> vmlinuz-3.4.112-sun8i
root@orangepilite:/boot# 
root@orangepilite:/boot# 
root@orangepilite:/boot# ll bin
total 1468
-rw-r--r-- 1 root root 45936 May 31 19:00 aw-som-a20.bin
-rw-r--r-- 1 root root 50560 May 31 19:00 bananapi.bin
-rw-r--r-- 1 root root 50624 May 31 19:00 bananapilcd7.bin
-rw-r--r-- 1 root root 50768 May 31 19:00 bananapim1plus.bin
-rw-r--r-- 1 root root 50856 May 31 19:00 bananapim1pluslcd7.bin
-rw-r--r-- 1 root root 38168 May 31 19:00 bananapim2plus.bin
-rw-r--r-- 1 root root 50484 May 31 19:00 bananapipro.bin
-rw-r--r-- 1 root root 50500 May 31 19:00 bananapiprolcd7.bin
-rw-r--r-- 1 root root 34876 May 31 19:00 beelinkx2.bin
-rw-r--r-- 1 root root 46308 May 31 19:00 cubieboard2.bin
-rw-r--r-- 1 root root 46248 May 31 19:00 cubieboard2dual.bin
-rw-r--r-- 1 root root 43716 May 31 19:00 cubieboard.bin
-rw-r--r-- 1 root root 46404 May 31 19:00 cubietruck.bin
-rw-r--r-- 1 root root 51012 May 31 19:00 lamobo-r1.bin
-rw-r--r-- 1 root root 53480 May 31 19:00 lime2.bin
-rw-r--r-- 1 root root 53480 May 31 19:00 lime2-emmc.bin
-rw-r--r-- 1 root root 43508 May 31 19:00 lime-a10.bin
-rw-r--r-- 1 root root 52616 May 31 19:00 lime.bin
-rw-r--r-- 1 root root 52252 May 31 19:00 micro.bin
-rw-r--r-- 1 root root 35056 May 31 19:00 nanopim1.bin
-rw-r--r-- 1 root root 29804 May 31 19:00 olinux-som-a13.bin
-rw-r--r-- 1 root root 35896 May 31 19:00 orangepi2.bin
-rw-r--r-- 1 root root 50972 May 31 19:00 orangepi.bin
-rw-r--r-- 1 root root 35912 May 31 19:22 orangepilite.bin
-rw-r--r-- 1 root root 35908 May 31 19:00 orangepione.bin
-rw-r--r-- 1 root root 35916 May 31 19:00 orangepipc.bin
-rw-r--r-- 1 root root 37320 May 31 19:00 orangepipcplus.bin
-rw-r--r-- 1 root root 37820 May 31 19:00 orangepiplus2e.bin
-rw-r--r-- 1 root root 37052 May 31 19:00 orangepiplus.bin
-rw-r--r-- 1 root root 45244 May 31 19:00 pcduino2.bin
-rw-r--r-- 1 root root 48996 May 31 19:00 pcduino3.bin
-rw-r--r-- 1 root root 49300 May 31 19:00 pcduino3nano.bin
root@orangepilite:/boot# 
root@orangepilite:/boot# which bin2fex
/usr/bin/bin2fex
root@orangepilite:/boot# which fex2bin
/usr/bin/fex2bin
root@orangepilite:/boot# 
root@orangepilite:/boot# bin2fex bin/orangepilite.bin /root/work/orangepilite.fex
fexc-bin: bin/orangepilite.bin: version: 0.1.2
fexc-bin: bin/orangepilite.bin: size: 35912 (81 sections)
root@orangepilite:/boot# cd /root/work/
root@orangepilite:~/work# ll
total 24
-rwxr-xr-x 1 root root  3083 Jun 11 22:25 a.sh
-rw-r--r-- 1 root root 18379 Jun 11 22:51 orangepilite.fex
root@orangepilite:~/work# 
root@orangepilite:~/work# less orangepilite.fex 

 

使用している パラメータは、以下。

[product]
version = "100"
machine = "orangepi-lite"

[platform]
debug_mode = 1
eraseflag = 1
next_work = 2

[target]
boot_clock = 1008
storage_type = -1

[key_detect_en]
keyen_flag = 0

[fel_key]
fel_key_max = 7
fel_key_min = 2

[card_boot]
logical_start = 40960
sprite_work_delay = 500
sprite_err_delay = 200
sprite_gpio0 = port:PL10<1><default><default><default>
next_work = 3

[box_start_os]
used = 1
start_type = 1
irkey_used = 1
pmukey_used = 1
pmukey_num = 3
led_power = 0
led_state = 0

[boot_init_gpio]
used = 1
gpio0 = port:PL10<1><default><default><1>
gpio1 = port:PG11<1><default><default><1>

[recovery_para]
used = 1
mode = 2
recovery_key = port:PL04<0><default><default><default>

[pm_para]
standby_mode = 1

[card0_boot_para]
card_ctrl = 0
card_high_speed = 1
card_line = 4
sdc_d1 = port:PF00<2><1><2><default>
sdc_d0 = port:PF01<2><1><2><default>
sdc_clk = port:PF02<2><1><2><default>
sdc_cmd = port:PF03<2><1><2><default>
sdc_d3 = port:PF04<2><1><2><default>
sdc_d2 = port:PF05<2><1><2><default>

[card2_boot_para]
card_ctrl = 2
card_high_speed = 1
card_line = 8
sdc_cmd = port:PC06<3><1><2><default>
sdc_clk = port:PC05<3><1><2><default>
sdc_d0 = port:PC08<3><1><2><default>
sdc_d1 = port:PC09<3><1><2><default>
sdc_d2 = port:PC10<3><1><2><default>
sdc_d3 = port:PC11<3><1><2><default>
sdc_d4 = port:PC12<3><1><2><default>
sdc_d5 = port:PC13<3><1><2><default>
sdc_d6 = port:PC14<3><1><2><default>
sdc_d7 = port:PC15<3><1><2><default>
sdc_2xmode = 1
sdc_ddrmode = 1

[twi_para]
twi_port = 0
twi_scl = port:PA11<2><default><default><default>
twi_sda = port:PA12<2><default><default><default>

[uart_para]
uart_debug_port = 0
uart_debug_tx = port:PA04<2><1><default><default>
uart_debug_rx = port:PA05<2><1><default><default>

[force_uart_para]
force_uart_port = 0
force_uart_tx = port:PF02<3><1><default><default>
force_uart_rx = port:PF04<3><1><default><default>

[jtag_para]
jtag_enable = 0
jtag_ms = port:PA00<3><default><default><default>
jtag_ck = port:PA01<3><default><default><default>
jtag_do = port:PA02<3><default><default><default>
jtag_di = port:PA03<3><default><default><default>

[clock]
pll_video = 297
pll_ve = 402
pll_periph0 = 600
pll_gpu = 576
pll_periph1 = 600
pll_de = 864

[dram_para]
dram_clk = 624
dram_type = 3
dram_zq = 0x3b3bfb
dram_odt_en = 1
dram_para1 = 283377664
dram_para2 = 0
dram_mr0 = 6208
dram_mr1 = 64
dram_mr2 = 24
dram_mr3 = 2
dram_tpr0 = 0x48a192
dram_tpr1 = 0x1c2418d
dram_tpr2 = 0x76051
dram_tpr3 = 0x0
dram_tpr4 = 0x0
dram_tpr5 = 0x0
dram_tpr6 = 0x64
dram_tpr7 = 0x0
dram_tpr8 = 0x0
dram_tpr9 = 0x0
dram_tpr10 = 0x0
dram_tpr11 = 0x6aaa0000
dram_tpr12 = 0x7979
dram_tpr13 = 0x800800

[wakeup_src_para]
cpu_en = 0
cpu_freq = 48
pll_ratio = 273
dram_selfresh_en = 1
dram_freq = 36
wakeup_src0 =
wakeup_src_wl = port:PG10<4><default><default><0>
wakeup_src_bt = port:PL03<6><default><default><0>

[twi0]
twi_used = 1
twi_scl = port:PA11<2><default><default><default>
twi_sda = port:PA12<2><default><default><default>

[twi1]
twi_used = 1
twi_scl = port:PA18<3><default><default><default>
twi_sda = port:PA19<3><default><default><default>

[twi2]
twi_used = 0
twi_scl = port:PE12<3><default><default><default>
twi_sda = port:PE13<3><default><default><default>

[uart0]
uart_used = 1
uart_port = 0
uart_type = 2
uart_tx = port:PA04<2><1><default><default>
uart_rx = port:PA05<2><1><default><default>

[uart1]
uart_used = 0
uart_port = 1
uart_type = 4
uart_tx = port:PG06<2><1><default><default>
uart_rx = port:PG07<2><1><default><default>
uart_rts = port:PG08<2><1><default><default>
uart_cts = port:PG09<2><1><default><default>

[uart2]
uart_used = 0
uart_port = 2
uart_type = 4
uart_tx = port:PA00<2><1><default><default>
uart_rx = port:PA01<2><1><default><default>
uart_rts = port:PA02<2><1><default><default>
uart_cts = port:PA03<2><1><default><default>

[uart3]
uart_used = 0
uart_port = 3
uart_type = 4
uart_tx = port:PA13<3><1><default><default>
uart_rx = port:PA14<3><1><default><default>
uart_rts = port:PA15<3><1><default><default>
uart_cts = port:PA16<3><1><default><default>

[spi0]
spi_used = 1
spi_cs_bitmap = 1
spi_mosi = port:PC00<3><default><default><default>
spi_miso = port:PC01<3><default><default><default>
spi_sclk = port:PC02<3><default><default><default>
spi_cs0 = port:PC03<3><1><default><default>

[spi1]
spi_used = 0
spi_cs_bitmap = 1
spi_cs0 = port:PA13<2><1><default><default>
spi_sclk = port:PA14<2><default><default><default>
spi_mosi = port:PA15<2><default><default><default>
spi_miso = port:PA16<2><default><default><default>

[spi_devices]
spi_dev_num = 1

[spi_board0]
modalias = "spidev"
max_speed_hz = 33000000
bus_num = 0
chip_select = 0
mode = 0
full_duplex = 1
manual_cs = 0

[gpio_para]
gpio_used = 1
gpio_num = 19
gpio_pin_1 = port:PA06<1><default><default><0>
gpio_pin_2 = port:PA13<1><default><default><0>
gpio_pin_3 = port:PA14<1><default><default><0>
gpio_pin_4 = port:PA01<1><default><default><0>
gpio_pin_5 = port:PD14<1><default><default><0>
gpio_pin_6 = port:PA00<1><default><default><0>
gpio_pin_7 = port:PA03<1><default><default><0>
gpio_pin_8 = port:PC04<1><default><default><0>
gpio_pin_9 = port:PC07<1><default><default><0>
gpio_pin_10 = port:PA02<1><default><default><0>
gpio_pin_11 = port:PA21<1><default><default><0>
gpio_pin_12 = port:PA07<1><default><default><0>
gpio_pin_13 = port:PA08<1><default><default><0>
gpio_pin_14 = port:PG08<1><default><default><0>
gpio_pin_15 = port:PA09<1><default><default><0>
gpio_pin_16 = port:PA10<1><default><default><0>
gpio_pin_17 = port:PG09<1><default><default><0>
gpio_pin_18 = port:PG06<1><default><default><0>
gpio_pin_19 = port:PG07<1><default><default><0>

[leds_para]
leds_used = 1
green_led = port:PL10<1><default><default><1>
green_led_active_low = 0
red_led = port:PA15<1><default><default><0>
red_led_active_low = 0

[ths_para]
ths_used = 1
ths_trip1_count = 6
ths_trip1_0 = 75
ths_trip1_1 = 80
ths_trip1_2 = 85
ths_trip1_3 = 90
ths_trip1_4 = 95
ths_trip1_5 = 105
ths_trip1_6 = 0
ths_trip1_7 = 0
ths_trip1_0_min = 0
ths_trip1_0_max = 1
ths_trip1_1_min = 1
ths_trip1_1_max = 2
ths_trip1_2_min = 2
ths_trip1_2_max = 3
ths_trip1_3_min = 3
ths_trip1_3_max = 4
ths_trip1_4_min = 4
ths_trip1_4_max = 5
ths_trip1_5_min = 5
ths_trip1_5_max = 7
ths_trip1_6_min = 0
ths_trip1_6_max = 0
ths_trip2_count = 1
ths_trip2_0 = 105

[cooler_table]
cooler_count = 8
cooler0 = "1200000 4 4294967295 0"
cooler1 = "912000 4 4294967295 0"
cooler2 = "768000 4 4294967295 0"
cooler3 = "648000 4 4294967295 0"
cooler4 = "480000 4 4294967295 0"
cooler5 = "480000 3 4294967295 0"
cooler6 = "480000 2 4294967295 0"
cooler7 = "480000 1 4294967295 0"

[nand0_para]
nand_support_2ch = 0
nand0_used = 0
nand0_we = port:PC00<2><default><default><default>
nand0_ale = port:PC01<2><default><default><default>
nand0_cle = port:PC02<2><default><default><default>
nand0_ce1 = port:PC03<2><default><default><default>
nand0_ce0 = port:PC04<2><default><default><default>
nand0_nre = port:PC05<2><default><default><default>
nand0_rb0 = port:PC06<2><default><default><default>
nand0_rb1 = port:PC07<2><default><default><default>
nand0_d0 = port:PC08<2><default><default><default>
nand0_d1 = port:PC09<2><default><default><default>
nand0_d2 = port:PC10<2><default><default><default>
nand0_d3 = port:PC11<2><default><default><default>
nand0_d4 = port:PC12<2><default><default><default>
nand0_d5 = port:PC13<2><default><default><default>
nand0_d6 = port:PC14<2><default><default><default>
nand0_d7 = port:PC15<2><default><default><default>
nand0_ndqs = port:PC16<2><default><default><default>

[boot_disp]
advert_disp = 0
auto_hpd = 1
output_type = 4
hdmi_channel = 0
hdmi_mode = 4
cvbs_channel = 1
cvbs_mode = 11
output_full = 1
hdmi_mode_check = 1

[disp_init]
screen0_output_type = 3
screen0_output_mode = 10
screen1_output_type = 3
screen1_output_mode = 10
disp_init_enable = 1
disp_mode = 0
fb0_format = 0
fb0_width = 0
fb0_height = 0
fb1_format = 0
fb1_width = 0
fb1_height = 0

[hdmi_para]
hdmi_used = 1
hdmi_power = "vcc-hdmi-18"

[tv_para]
tv_used = 1
tv_dac_used = 1
tv_dac_src0 = 0

[pwm0_para]
pwm_used = 0
pwm_positive = port:PA05<3><0><default><default>

[gmac0]
gmac_used = 0
gmac_power1 =

[csi0]
vip_used = 1
vip_mode = 0
vip_dev_qty = 1
vip_define_sensor_list = 0
vip_csi_pck = port:PE00<2><default><default><default>
vip_csi_mck = port:PE01<2><default><default><default>
vip_csi_hsync = port:PE02<2><default><default><default>
vip_csi_vsync = port:PE03<2><default><default><default>
vip_csi_d0 = port:PE04<2><default><default><default>
vip_csi_d1 = port:PE05<2><default><default><default>
vip_csi_d2 = port:PE06<2><default><default><default>
vip_csi_d3 = port:PE07<2><default><default><default>
vip_csi_d4 = port:PE08<2><default><default><default>
vip_csi_d5 = port:PE09<2><default><default><default>
vip_csi_d6 = port:PE10<2><default><default><default>
vip_csi_d7 = port:PE11<2><default><default><default>
vip_csi_sck = port:PE12<2><default><default><default>
vip_csi_sda = port:PE13<2><default><default><default>
vip_dev0_mname = "gc2035"
vip_dev0_pos = "front"
vip_dev0_lane = 1
vip_dev0_twi_id = 2
vip_dev0_twi_addr = 120
vip_dev0_isp_used = 0
vip_dev0_fmt = 0
vip_dev0_stby_mode = 0
vip_dev0_vflip = 1
vip_dev0_hflip = 1
vip_dev0_iovdd = ""
vip_dev0_iovdd_vol = 2800000
vip_dev0_avdd = ""
vip_dev0_avdd_vol = 2800000
vip_dev0_dvdd = ""
vip_dev0_dvdd_vol = 1800000
vip_dev0_afvdd = ""
vip_dev0_afvdd_vol = 2800000
vip_dev0_power_en = port:PA17<1><default><default><1>
vip_dev0_reset = port:PE14<1><default><default><1>
vip_dev0_pwdn = port:PE15<1><default><default><0>
vip_dev0_flash_en =
vip_dev0_flash_mode =
vip_dev0_af_pwdn =
vip_dev0_act_used = 0
vip_dev0_act_name = "ad5820_act"
vip_dev0_act_slave = 24
vip_dev1_mname = ""
vip_dev1_pos = "rear"
vip_dev1_lane = 1
vip_dev1_twi_id = 0
vip_dev1_twi_addr =
vip_dev1_isp_used = 0
vip_dev1_fmt = 1
vip_dev1_stby_mode = 0
vip_dev1_vflip = 0
vip_dev1_hflip = 0
vip_dev1_iovdd = ""
vip_dev1_iovdd_vol = 2800000
vip_dev1_avdd = ""
vip_dev1_avdd_vol = 2800000
vip_dev1_dvdd = ""
vip_dev1_dvdd_vol = 1500000
vip_dev1_afvdd = ""
vip_dev1_afvdd_vol = 2800000
vip_dev1_power_en =
vip_dev1_reset =
vip_dev1_pwdn =
vip_dev1_flash_en =
vip_dev1_flash_mode =
vip_dev1_af_pwdn =

[tvout_para]
tvout_used =
tvout_channel_num =
tv_en =

[tvin_para]
tvin_used =
tvin_channel_num =

[di_para]
di_used = 1

[mmc0_para]
sdc_used = 1
sdc_detmode = 3
sdc_buswidth = 4
sdc_clk = port:PF02<2><1><2><default>
sdc_cmd = port:PF03<2><1><2><default>
sdc_d0 = port:PF01<2><1><2><default>
sdc_d1 = port:PF00<2><1><2><default>
sdc_d2 = port:PF05<2><1><2><default>
sdc_d3 = port:PF04<2><1><2><default>
sdc_det = port:PF06<0><1><2><default>
sdc_use_wp = 0
sdc_wp =
sdc_isio = 0
sdc_regulator = "none"
sdc_power_supply = "none"

[mmc1_para]
sdc_used = 1
sdc_detmode = 4
sdc_buswidth = 4
sdc_clk = port:PG00<2><1><3><default>
sdc_cmd = port:PG01<2><1><3><default>
sdc_d0 = port:PG02<2><1><3><default>
sdc_d1 = port:PG03<2><1><3><default>
sdc_d2 = port:PG04<2><1><3><default>
sdc_d3 = port:PG05<2><1><3><default>
sdc_det =
sdc_use_wp = 0
sdc_wp =
sdc_isio = 1
sdc_regulator = "none"
sdc_power_supply = "none"
sdc_2xmode = 1
sdc_ddrmode = 1

[mmc2_para]
sdc_used = 0
sdc_detmode = 3
sdc_buswidth = 8
sdc_clk = port:PC05<3><1><2><default>
sdc_cmd = port:PC06<3><1><2><default>
sdc_d0 = port:PC08<3><1><2><default>
sdc_d1 = port:PC09<3><1><2><default>
sdc_d2 = port:PC10<3><1><2><default>
sdc_d3 = port:PC11<3><1><2><default>
sdc_d4 = port:PC12<3><1><2><default>
sdc_d5 = port:PC13<3><1><2><default>
sdc_d6 = port:PC14<3><1><2><default>
sdc_d7 = port:PC15<3><1><2><default>
emmc_rst = port:PC16<3><1><2><default>
sdc_det =
sdc_use_wp = 0
sdc_wp =
sdc_isio = 0
sdc_regulator = "none"
sdc_power_supply = "none"
sdc_2xmode = 1
sdc_ddrmode = 1

[smc_para]
smc_used = 0
smc_rst = port:PA09<2><default><default><default>
smc_vppen = port:PA20<3><default><default><default>
smc_vppp = port:PA21<3><default><default><default>
smc_det = port:PA10<2><default><default><default>
smc_vccen = port:PA06<2><default><default><default>
smc_sck = port:PA07<2><default><default><default>
smc_sda = port:PA08<2><default><default><default>

[usbc0]
usb_used = 1
usb_port_type = 2
usb_detect_type = 0
usb_id_gpio = port:PG12<0><1><default><default>
usb_det_vbus_gpio = port:PG12<0><1><default><default>
usb_drv_vbus_gpio = port:PL02<1><0><default><0>
usb_host_init_state = 1
usb_restrict_gpio =
usb_restric_flag = 0
usb_restric_voltage = 3550000
usb_restric_capacity = 5
usb_regulator_io = "nocare"
usb_regulator_vol = 0
usb_not_suspend = 0

[usbc1]
usb_used = 1
usb_drv_vbus_gpio =
usb_restrict_gpio =
usb_host_init_state = 1
usb_restric_flag = 0
usb_regulator_io = "nocare"
usb_regulator_vol = 0
usb_not_suspend = 0

[usbc2]
usb_used = 1
usb_drv_vbus_gpio =
usb_restrict_gpio =
usb_host_init_state = 1
usb_restric_flag = 0
usb_regulator_io = "nocare"
usb_regulator_vol = 0
usb_not_suspend = 0

[usbc3]
usb_used = 1
usb_drv_vbus_gpio =
usb_restrict_gpio =
usb_host_init_state = 1
usb_restric_flag = 0
usb_regulator_io = "nocare"
usb_regulator_vol = 0
usb_not_suspend = 0

[usb_feature]
vendor_id = 6353
mass_storage_id = 1
adb_id = 2
manufacturer_name = "USB Developer"
product_name = "Android"
serial_number = "20080411"

[msc_feature]
vendor_name = "USB 2.0"
product_name = "USB Flash Driver"
release = 100
luns = 3

[serial_feature]
serial_unique = 0

[module_para]
module_num = 7
module_power0 = "vcc-wifi-33"
module_power0_vol = 0
module_power1 =
module_power1_vol =
module_power2 =
module_power2_vol =
module_power3 =
module_power3_vol =
chip_en =
lpo_use_apclk =

[wifi_para]
wifi_used = 1
wifi_sdc_id = 1
wifi_usbc_id = 2
wifi_usbc_type = 1
wl_reg_on = port:PL07<1><default><default><0>
wl_host_wake = port:PG10<0><default><default><0>
wl_host_wake_invert = 0

[bt_para]
bt_used = 0
bt_uart_id = 1
bt_rst_n =
bt_wake =
bt_host_wake =
bt_host_wake_invert = 0

[pcm0]
daudio_used = 0
daudio_master = 4
daudio_select = 1
audio_format = 1
signal_inversion = 1
mclk_fs = 128
sample_resolution = 16
slot_width_select = 32
pcm_lrck_period = 32
pcm_lrckr_period = 1
msb_lsb_first = 0
sign_extend = 0
slot_index = 0
slot_width = 32
frame_width = 0
tx_data_mode = 0
rx_data_mode = 0
i2s_mclk = port:PA18<2><1><default><default>
i2s_bclk = port:PA19<2><1><default><default>
i2s_dout0 = port:PA20<2><1><default><default>
i2s_din = port:PA21<2><1><default><default>

[pcm1]
daudio_used = 0
daudio_master = 4
daudio_select = 1
audio_format = 1
signal_inversion = 1
mclk_fs = 128
sample_resolution = 16
slot_width_select = 32
pcm_lrck_period = 32
pcm_lrckr_period = 1
msb_lsb_first = 0
sign_extend = 0
slot_index = 0
slot_width = 32
frame_width = 0
tx_data_mode = 0
rx_data_mode = 0
i2s_mclk = port:PG10<2><1><default><default>
i2s_bclk = port:PG11<2><1><default><default>
i2s_dout0 = port:PG12<2><1><default><default>
i2s_din = port:PG13<2><1><default><default>

[audio0]
audio_used = 1
lineout_vol = 31
cap_vol = 5
audio_hp_ldo = "none"
adcagc_used = 0
adcdrc_used = 0
dacdrc_used = 0
adchpf_used = 0
dachpf_used = 0
audio_pa_ctrl = port:PA16<1><default><default><0>

[spdif0]
spdif_used = 0
spdif_dout = port:PA17<2><1><default><default>

[audiohub]
hub_used = 0
codec_used = 1
spdif_used = 1
hdmi_used = 1

[s_cir0]
ir_used = 0
ir_rx = port:PL11<2><1><default><default>
ir_power_key_code0 = 87
ir_addr_code0 = 40704
ir_power_key_code1 = 26
ir_addr_code1 = 64260
ir_power_key_code2 = 20
ir_addr_code2 = 32640
ir_power_key_code3 = 21
ir_addr_code3 = 32640
ir_power_key_code4 = 11
ir_addr_code4 = 63240
ir_power_key_code5 = 3
ir_addr_code5 = 239
ir_power_key_code6 = 159
ir_addr_code6 = 19635
ir_power_key_code7 = 10
ir_addr_code7 = 30536
ir_power_key_code8 = 69
ir_addr_code8 = 48386
ir_power_key_code9 = 77
ir_addr_code9 = 56865
ir_power_key_code10 = 24
ir_addr_code10 = 65025
ir_power_key_code11 = 87
ir_addr_code11 = 65280
ir_power_key_code12 = 77
ir_addr_code12 = 65344

[cir]
ir_used = 1
ir_tx = port:PH07<2><default><default><default>

[dvfs_table]
pmuic_type = 1
pmu_gpio0 = port:PL06<1><1><2><1>
pmu_level0 = 11300
pmu_level1 = 1100
max_freq = 1200000000
min_freq = 480000000
LV_count = 5
LV1_freq = 1200000000
LV1_volt = 1300
LV2_freq = 1008000000
LV2_volt = 1300
LV3_freq = 912000000
LV3_volt = 1100
LV4_freq = 648000000
LV4_volt = 1100
LV5_freq = 480000000
LV5_volt = 1100

[gpu_dvfs_table]
G_LV_count = 3
G_LV0_freq = 312000000
G_LV0_volt = 1200000
G_LV1_freq = 384000000
G_LV1_volt = 1200000
G_LV2_freq = 456000000
G_LV2_volt = 1200000

[Vdevice]
Vdevice_used = 0
Vdevice_0 = port:PH10<5><1><2><default>
Vdevice_1 = port:PH11<5><1><2><default>

[s_uart0]
s_uart_used = 0
s_uart_tx = port:PL02<2><default><default><default>
s_uart_rx = port:PL03<2><default><default><default>

[s_rsb0]
s_rsb_used = 1
s_rsb_sck = port:PL00<2><1><2><default>
s_rsb_sda = port:PL01<2><1><2><default>

[s_jtag0]
s_jtag_used = 0
s_jtag_tms = port:PL04<2><1><2><default>
s_jtag_tck = port:PL05<2><1><2><default>
s_jtag_tdo = port:PL06<2><1><2><default>
s_jtag_tdi = port:PL07<2><1><2><default>

[s_powchk]
s_powchk_used = -2147483648
s_power_reg = 0
s_system_power = 50

[sim0]
scr_used = 0
scr_vccen = port:PA06<2><default><default><default>
scr_slk = port:PA07<2><default><default><default>
scr_sda = port:PA08<2><default><default><default>
scr_rst = port:PA09<2><default><default><default>
scr_det = port:PA10<2><default><default><default>

[ts0]
tsc_used = 0
tsc_clk = port:PE00<3><default><default><default>
tsc_err = port:PE01<3><default><default><default>
tsc_sync = port:PE02<3><default><default><default>
tsc_dvld = port:PE03<3><default><default><default>
tsc_d0 = port:PE04<3><default><default><default>
tsc_d1 = port:PE05<3><default><default><default>
tsc_d2 = port:PE06<3><default><default><default>
tsc_d3 = port:PE07<3><default><default><default>
tsc_d4 = port:PE08<3><default><default><default>
tsc_d5 = port:PE09<3><default><default><default>
tsc_d6 = port:PE10<3><default><default><default>
tsc_d7 = port:PE11<3><default><default><default>

[gpio_power_key]
key_used = 1
key_io = port:PL03<6><default><default><0>

[key_para]
key_used = 0
key_cnt = 5
key1_vol = 222
key2_vol = 444
key3_vol = 666
key4_vol = 857
key5_vol = 2000

[d7s_para]
d7s_used = 0
din_gpio = port:PD00<1><default><default><1>
clk_gpio = port:PD01<1><default><default><1>
stb_gpio = port:PD02<1><default><default><1>

[mali_para]
mali_used = 1
mali_clkdiv = 1
mali_extreme_freq = 600
mali_extreme_vol = 1400

[w1_para]
w1_used = 1
gpio = 20

[corekeeper]
corekeeper_enabled = 1

 

wlan と母艦とで ping してみます。

$ ping -c 10 lite
PING lite (192.168.1.6): 56 data bytes
64 bytes from 192.168.1.6: icmp_seq=0 ttl=64 time=1.332 ms
64 bytes from 192.168.1.6: icmp_seq=1 ttl=64 time=2.273 ms
64 bytes from 192.168.1.6: icmp_seq=2 ttl=64 time=1.499 ms
64 bytes from 192.168.1.6: icmp_seq=3 ttl=64 time=1.634 ms
64 bytes from 192.168.1.6: icmp_seq=4 ttl=64 time=1.377 ms
64 bytes from 192.168.1.6: icmp_seq=5 ttl=64 time=1.834 ms
64 bytes from 192.168.1.6: icmp_seq=6 ttl=64 time=1.681 ms
64 bytes from 192.168.1.6: icmp_seq=7 ttl=64 time=1.787 ms
64 bytes from 192.168.1.6: icmp_seq=8 ttl=64 time=1.518 ms
64 bytes from 192.168.1.6: icmp_seq=9 ttl=64 time=1.483 ms

--- lite ping statistics ---
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.332/1.642/2.273/0.262 ms

 

まとめ

・ARMBIANでは、CPU ヒートシンクつけるだけでよさそう。ベンチマーク時、最高76度

・WiFi は、realtek 8189FTV で、8189fs.ko で動作

・UnixBench は Score 560 ほど

・one と比べて、USB が2個残るのがいい感じ

・wlan との ping 疎通も2ms 以下

Orange Pi Lite が出ていました

Orange Pi Lite なかなか出ないなぁと思ってましたが、今日WEBを散歩していたらなんと販売開始されているようです。

5/9 くらいから販売していたようです。

 

New-Coming-Orange-Pi-Lite-With-Wifi-Antenna-Support-ubuntu-linux-and-android-mini-PC-Beyond

基本的には、one の Lan が撤廃され、WiFi が内臓、 USB が1つから2つに増えた感じです。1700円弱でゲットできるので、サンプルに1つポチっておきました。これで、Orange Pi シリーズは3個になりました。

 

あと、aliexpress のアフリエイトも初めてみました。