Archive

Posts Tagged ‘ubuntu’

Getting Started with Orange Pi PC, Pi 2 and Pi Plus Development Boards

September 1st, 2015 4 comments

I’ve recently received a kit based on Orange Pi mini 2 development board powered by Allwinner H3 quad core processor, but contrary to most other devices or boards I reviewed, this one what sent to me by one of my reader (thanks Jon!) as for various reasons he did not need to get it shipped to him. Today, I’ll start by showing off the kit, I received, before showing how to install a Debian, and finally try to build my own Linux image. The instructions will work for all Orange Pi Allwinner H3 boards, including Orange Pi 2, Orange Pi Plus, and the recently launched Orange Pi PC, which has been rather popular thanks to its low $15 price tag.

Orange Pi mini 2 Board Kit and CSI Camera

This is what I got in the package…

Click to Enlarge

Click to Enlarge

The board with a regulatory compliance and safety information sheet, as well as a 5V/2A power supply, that was bought as part of a kit for $28.90 on Aliexpress. Bear in mind that although Orange Pi boards feature a micro USB OTG port, AFAIK none of them can be power via the micro USB connector, and instead you need to make you have a 5V power adapter with the right barrel size, meaning you can re-use your old smartphone’s charger like you would do with a Raspberry Pi. Shenzhen Xunlong normally offers various kits including power supply and/or acrylic case on their Aliexpress store.

I’ve taken the board out of its anti-static bag, and taken some close up pictures.

Click to Enlarge

Top of Orange Pi Mini 2 Board (Click to Enlarge)

Click to Enlarge

Bottom of Orange Pi Mini 2 Board (Click to Enlarge)

So my board does not include flash, nor a WiFi module (located on the top left corner on the top), which I’ll connect the board via Ethernet, and boot from a micro SD card.

Then I noticed a tiny plastic bag had fallen on my desk… oh!!! a camera…

Orange Pi Camera

Orange Pi Camera

The cable reads SH-2035-IPLAY, and it must the be the $5.90 camera sold on Aliexpress by Xunlong Software, Orange Pi board makers, although the picture differs a bit. So I looked for some documentation about the camera on Orange Pi website, and I found… nothing… Until I looked into the forums, and found somebody managed to make it work after many efforts, as the firmware images were not setup for the camera, and the driver was also missing. I initially intended to try out the camera in this getting started guide, but it will have to be a separate post.

Installing and Setting Up Linux

Orange Pi Allwinner H3 boards support both Android and Ubuntu, but most people buying such development board are likely to prefer running a Linux distribution, and I’ve already tested Android on Allwinner H3 when I reviewed Zidoo X1, so I decided to focus on Linux in this getting started guide. Orange Pi 2 boards and Zidoo X1 are pretty similar hardware platform, and I’ve already installed Orange Pi 2 Lubuntu 14.04 on Zidoo X1 downloaded from Orange Pi Downloads page, and vice versa, Zidoo X1 Android image has also been tested on Orange Pi 2. And in both cases the images run fine, although with some caveats such as WiFi not working with Linux on Zidoo X1.

However, I’ve been recommended to use Linux images released by Loboris forum member instead, so that’s what I’ve done, and among the various Ubuntu, Lubuntu, and Debian images available, I’ve decided to go with Debian 8 Jessie + XFCE image (OrangePI_Jessie_Xfce.img.xz), and you can download the images from Mega or Google Drive. Minimal images without desktop environment for headless operation are also available.

You’ll need a Linux or Windows PC, and a micro SD card to install the Linux image.

These are the steps I followed to install Debian on the micro SD card from a Ubuntu 14.04 computer:

  1. Install dependencies:
    sudo apt-get install xz-utils pv
  2. Uncompress the firmware:
     xz -d OrangePI_Jessie_Xfce.img.xz
  3. Locate your micro SD card with lsblk (I used a 16GB Class 10 micro SD card):
    lsblk
    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda      8:0    0 465.8G  0 disk 
    ├─sda1   8:1    0   512M  0 part /boot/efi
    ├─sda2   8:2    0 461.8G  0 part /
    └─sda3   8:3    0   3.5G  0 part [SWAP]
    sdb      8:16   1  14.7G  0 disk 
    └─sdb1   8:17   1  14.7G  0 part /media/jaufranc/WINPE
    sr0     11:0    1  1024M  0 rom
  4. Flash the image with dd:
    sudo dd if=OrangePI_Jessie_Xfce.img | pv | sudo dd of=/dev/sdb bs=16M
    sync

    Note: If you are using Windows, use Win32DiskImager to flash the image to the micro SD card instead of going through the first 4 steps shown above.

  5. Remove the micro SD card, and reinsert it again in your computer, it should automount two partitions in the SD card: linux and BOOT.orange_pi_boot_partition
  6. You’ll want to select the BOOT partitions, where you’ll find the kernel “uImage_OPI-2” for Orange Pi 2 and Pi PC boards, and “uImage_OPI-PLUS” for Orange Pi Plus boards. uImage in the partition was already uImage_OPi-2 for my board, but to be on the safe side, you can copy the kernel image to uImage. Finally, you’ll also need to select one of the scrip.bin file to match the board and resolution you wish to use. This is what I did in a terminal window for my Orange Pi mini 2 board, but you can also use the desktop to do so in Linux or Windows:
    pushd /media/jaufranc/BOOT
    cp uImage_OPI-2 uImage
    cp script.bin.OPI-2_1080p50 script.bin
    popd
    sudo umount /dev/sdb*
  7. Done! The micro SD card is now ready.

You can insert it into your board, and connect the power. After a few seconds you should start seeing the kernel log on the screen, and a little later the login screen.

Orange_PI_Debian_8_LoginType the  user name “orangepi” and the password “orangepi” to login. There’s still one last step to complete the setup. Open a terminal window:

  • If your board has an eMMC, you can install Linux to the internal flash with:
    sudo install_to_emmc

    Now power off the board, remove the micro SD card, and start again to run Linux.

  • If your board has no internal storage, as in my case, you’ll still want to resize the Linux partition to make full use of your SD card capacity with:
    sudo fs_resize
    reboot

    Orange_Pi_Resize_SD_card

The installation is now complete, have fun! The whole process what quite straightforward thanks to clear instructions provided by Lobrosis.

Running Debian 8 on Orange Pi mini 2

I’ve quickly tested the image. Chromium is pre-installed, and the developer must be from Croatia, since Chromium will start google.hr by default. Web browsing is fine, but Adobe flash (libpepperflash) is not installed, Thai language is not supported, and Youtube videos are super slow and unwatchable in Chromium. Having said that, you can use SMPlayer to watch YouTube video perfectly fine… in windowed mode (as shown in the screenshot below), but if you go full screen the system can’t cope. I’ve also tried to play a 1080p H.264 video locally, but it won’t play smoothly at all.  es2gears (installed with apt-get install mesa-utils-extra) runs, but es2_info reports the render is the software rasterizer.

Debian 8 running in Orange Pi mini 2 (Click for Original Size)

Debian 8 running in Orange Pi mini 2 (Click for Original Size)

So the image does not support 2D/3D GPU acceleration nor hardware video decoding, but this was to be expected, and these two are usually time consuming to implement. If you need OpenGLES or hardware video decoding, you’ll need to use Android instead. The language issues and lack of Adobe flash support in Chromium should be easy to fix yourself by installing the needed software package such as libpepperflash. I had no problem accessing Internet using Ethernet, I just connected the cable and was good to go.

Here are some details about the image, as well as its memory and storage usage:

orangepi@OrangePI:~$ uname -a                                                   
Linux OrangePI 3.4.39 #1 SMP PREEMPT Sun Aug 30 14:14:50 CEST 2015 armv7l GNU/Lx
orangepi@OrangePI:~$ cat /etc/issue                                             
Debian GNU/Linux 8 \n \l                                                        

orangepi@OrangePI:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq  
1536000
orangepi@OrangePI:~$ sudo modprobe gpio-sunxi
orangepi@OrangePI:~$ ls /sys/class/gpio_sw/                                     
normal_led  PA10  PA13  PA18  PA20  PA6  PA9  PC2  PC7   PG7  PL10              
PA0         PA11  PA14  PA19  PA21  PA7  PC0  PC3  PD14  PG8  standby_led       
PA1         PA12  PA15  PA2   PA3   PA8  PC1  PC4  PG6   PG9                                                                                  
orangepi@OrangePI:~$ free -h                                                    
             total       used       free     shared    buffers     cached       
Mem:          1.0G       182M       821M        28M       8.2M        77M       
-/+ buffers/cache:        96M       906M                                        
Swap:           0B         0B         0B                                        
orangepi@OrangePI:~$ df -h                                                      
Filesystem      Size  Used Avail Use% Mounted on                                
/dev/mmcblk0p2   15G  1.2G   13G   9% /                                         
none            372M     0  372M   0% /dev                                      
tmpfs           502M     0  502M   0% /dev/shm                                  
tmpfs           502M   13M  489M   3% /run                                      
tmpfs           5.0M  4.0K  5.0M   1% /run/lock                                 
tmpfs           502M     0  502M   0% /sys/fs/cgroup                            
tmpfs           502M  4.0K  502M   1% /tmp                                      
/dev/mmcblk0p1   63M   24M   40M  38% /media/boot                               
tmpfs           101M     0  101M   0% /run/user/107                             
tmpfs           101M     0  101M   0% /run/user/1000                            
orangepi@OrangePI:~$

You’ll notice that the CPU frequency is set to 1.5GHz, instead of 1.2GHz in consumer devices like Zidoo X1, so if you plan to run the system at full speed for an extended period of time, e.g. to build the kernel, you may consider adding a heatsink and a fan to the board.

I’ve also connected a USB to TTL debug board to the 3-pin serial console header of the board, and captured the full boot log with minicom:

HELLO! BOOT0 is starting!
boot0 version : 4.0.0
fel_flag = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000                                                       
rtc[6] value = 0x00000000                                                       
rtc[7] value = 0x00000000                                                       
DRAM DRIVE INFO: V0.8                                                           
DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)                                 
DRAM CLK = 672 MHz                                                              
DRAM zq value: 003b3bfb                                                         
READ DQS LCDL = 001d1d1e                                                        
DRAM SIZE =1024 M                                                               
odt delay                                                                       
dram size =1024                                                                 
card boot number = 0                                                            
card no is 0                                                                    
sdcard 0 line count 4                                                           
[mmc]: mmc driver ver 2014-12-10 21:20:39                                       
[mmc]: ***Try SD card 0***                                                      
[mmc]: SD/MMC Card: 4bit, capacity: 15067MB                                     
[mmc]: vendor: Man 001d4144 Snr b4140ee4                                        
[mmc]: product: SD                                                              
[mmc]: revision: 0.2                                                            
[mmc]: ***SD/MMC 0 init OK!!!***                                                
sdcard 0 init ok                                                                
The size of uboot is 000dc000.                                                  
sum=ede66ee7                                                                    
src_sum=ede66ee7                                                                
Succeed in loading uboot from sdmmc flash.                                      
Ready to disable icache.                                                        
Jump to secend Boot.                                                            
SUNXI_NORMAL_MODE                                                               
[      0.345]e mode                                                             
                                                                                
U-Boot 2011.09-rc1 (Jun 21 2015 - 19:33:17) Allwinner Technology                
                                                                                
[      0.352]version: 1.1.0                                                     
normal mode                                                                     
[      0.360]pmbus:   ready                                                     
not set main pmu id                                                             
axp_probe error                                                                 
[      0.375]PMU: pll1 1200 Mhz,PLL6=600 Mhz                                    
AXI=400 Mhz,AHB=200 Mhz, APB1=100 Mhz                                           
sid read already                                                                
fel key new mode                                                                
run key detect                                                                  
no key found                                                                    
no key input                                                                    
dram_para_set start                                                             
dram_para_set end                                                               
normal mode                                                                     
[      0.405]DRAM:  1 GiB                                                       
relocation Offset is: 35af9000                                                  
[box standby] read rtc = 0x0                                                    
[box_start_os] mag be start_type no use                                         
user_gpio config                                                                
user_gpio ok                                                                    
gic: normal or no secure os mode                                                
workmode = 0                                                                    
MMC:     0                                                                      
[      0.479][mmc]: mmc driver ver 2014-12-10 9:23:00                           
[      0.484][mmc]: get sdc_phy_wipe fail.                                      
[      0.488][mmc]: get sdc0 sdc_erase fail.                                    
[      0.492][mmc]: get sdc_f_max fail,use default 50000000Hz                   
[      0.497][mmc]: get sdc_ex_dly_used fail,use default dly                    
[      0.503][mmc]: SUNXI SD/MMC: 0                                             
[      0.516][mmc]: *Try SD card 0*                                             
[      0.549][mmc]: CID 0x1d414453 0x44202020 0x2b4140e 0xe400d2dd              
[      0.554][mmc]: mmc clk 50000000                                            
[      0.558][mmc]: SD/MMC Card: 4bit, capacity: 15067MB                        
[      0.563][mmc]: boot0 capacity: 0KB,boot1 capacity: 0KB                     
[      0.568][mmc]: ***SD/MMC 0 init OK!!!***                                   
[      0.572][mmc]: erase_grp_size:0x1WrBlk * 0x200 = 0x200 Byte                
[      0.578][mmc]: secure_feature 0x0                                          
[      0.581][mmc]: secure_removal_type  0x0                                    
[      0.585]sunxi flash init ok                                                
script config pll_de to 864 Mhz                                                 
Not Found clk pll_video1 in script                                              
script config pll_video to 297 Mhz                                              
[boot]disp_init_tv                                                              
[DISP_TV] disp_init_tv enter g_tv_used                                          
screen 0 do not support TV TYPE!                                                
[BOOOT_DISP_TV] disp tv device_registered                                       
unable to find regulator vcc-hdmi-18 from [pmu1_regu] or [pmu2_regu]            
enable power vcc-hdmi-18, ret=-1                                                
DRV_DISP_Init end                                                               
boot_disp.auto_hpd=1                                                            
auto hpd check has 0 times!                                                     
[disk_read_fs] no the partition                                                 
error: open disp_rsl.fex, maybe it is not exist                                 
attched ok, mgr0device0, type=4, mode=4----                                 
ready to set mode                                                               
[      1.466]finally, output_type=0x4, output_mode=0x4, screen_id=0x0, disp_par4
fail to find part named env                                                     
Using default environment                                                       
                                                                                
In:    serial                                                                   
Out:   serial                                                                   
Err:   serial                                                                   
--------fastboot partitions--------                                             
mbr not exist                                                                   
base bootcmd=run setargs_mmc boot_normal                                        
bootcmd set setargs_mmc                                                         
key 0                                                                           
cant find rcvy value                                                            
cant find fstbt value                                                           
no misc partition is found                                                      
to be run cmd=run setargs_mmc boot_normal                                       
[      1.504][mmc]: MMC Device 2 not found                                      
[      1.508][mmc]: Can not find mmc dev                                        
[      1.511][mmc]: read first backup failed in fun sdmmc_secure_storage_read l9
sunxi_secstorage_read fail                                                      
get secure storage map err                                                      
the private part isn't exist                                                    
WORK_MODE_BOOT                                                                  
adver not need show                                                             
sunxi_bmp_logo_display                                                          
[disk_read_fs] no the partition                                                 
error: open bootlogo.bmp, maybe it is not exist                                 
sunxi bmp info error : unable to open logo file bootlogo.bmp                    
[      1.544]Hit any key to stop autoboot:  0                                   
[      4.807][mmc]: blkcnt should not be 0                                      
[      5.161][mmc]: blkcnt should not be 0                                      
## Booting kernel from Legacy Image at 40007800 ...                             
   Image Name:   Linux-3.4.39                                                   
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    8029560 Bytes = 7.7 MiB                                        
   Load Address: 40008000                                                       
   Entry Point:  40008000                                                       
   Verifying Checksum ... OK                                                    
   Loading Kernel Image ... OK                                                  
OK                                                                              
[      5.310][mmc]: MMC Device 2 not found                                      
[      5.314][mmc]:  mmc  not find,so not exit                                  
[      5.318]                                                                   
Starting kernel ...                                                             
                                                                                
[sun8i_fixup]: From boot, get meminfo:                                          
        Start:  0x40000000                                                      
        Size:   1024MB                                                          
ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1                               
ion_reserve_common: ion reserve: [0x70000000, 0x80000000]!                      
[    0.000000] Booting Linux on physical CPU 0                                  
[    0.000000] Initializing cgroup subsys cpu                                   
[    0.000000] Linux version 3.4.39 (boris@UbuntuMate) (gcc version 4.6.3 201205
[    0.000000] Ignoring tag cmdline (using the default kernel command line)     
[    0.000000] bootconsole [earlycon0] enabled                                  
[    0.000000] cma: CMA: reserved 256 MiB at 70000000                           
[    0.000000] Memory policy: ECC disabled, Data cache writealloc               
[    0.000000] On node 0 totalpages: 262144                                     
[    0.000000] free_area_init_node: node 0, pgdat c0d21900, node_mem_map c0dfd00
[    0.000000]   Normal zone: 1710 pages used for memmap                        
[    0.000000]   Normal zone: 0 pages reserved                                  
[    0.000000]   Normal zone: 192850 pages, LIFO batch:31                       
[    0.000000]   HighMem zone: 594 pages used for memmap                        
[    0.000000]   HighMem zone: 66990 pages, LIFO batch:15                       
[    0.000000] script_init enter!                                               
[    0.000000] script_init exit!                                                
[    0.000000] PERCPU: Embedded 8 pages/cpu @c1713000 s11840 r8192 d12736 u32768
[    0.000000] pcpu-alloc: s11840 r8192 d12736 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 pa0
[    0.000000] Kernel command line: earlyprintk=ttyS0,115200 loglevel=8 initcalt
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)             
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) 
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)   
[    0.000000] Memory: 1024MB = 1024MB total                                    
[    0.000000] Memory: 761624k/761624k available, 286952k reserved, 8192K highmm
[    0.000000] Virtual kernel memory layout:                                    
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)                
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)                
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)                
[    0.000000]       .text : 0xc0008000 - 0xc095ad7c   (9548 kB)                
[    0.000000]       .init : 0xc095b000 - 0xc0ca9e40   (3388 kB)                
[    0.000000]       .data : 0xc0caa000 - 0xc0d24378   ( 489 kB)                
[    0.000000]        .bss : 0xc0d24b2c - 0xc0dfcdf8   ( 865 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 1789s
[    0.000000] Console: colour dummy device 80x30                               
[    0.000000] console [tty0] enabled, bootconsole disabled                     
[    0.000000] Booting Linux on physical CPU 0                                  
[    0.000000] Initializing cgroup subsys cpu                                   
[    0.000000] Linux version 3.4.39 (boris@UbuntuMate) (gcc version 4.6.3 201205
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d  
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
[    0.000000] Machine: sun8i                                                   
[    0.000000] Ignoring tag cmdline (using the default kernel command line)     
[    0.000000] bootconsole [earlycon0] enabled                                  
[    0.000000] cma: CMA: reserved 256 MiB at 70000000                           
[    0.000000] Memory policy: ECC disabled, Data cache writealloc               
[    0.000000] On node 0 totalpages: 262144                                     
[    0.000000] free_area_init_node: node 0, pgdat c0d21900, node_mem_map c0dfd00
[    0.000000]   Normal zone: 1710 pages used for memmap                        
[    0.000000]   Normal zone: 0 pages reserved                                  
[    0.000000]   Normal zone: 192850 pages, LIFO batch:31                       
[    0.000000]   HighMem zone: 594 pages used for memmap                        
[    0.000000]   HighMem zone: 66990 pages, LIFO batch:15                       
[    0.000000] script_init enter!                                               
[    0.000000] script_init exit!                                                
[    0.000000] PERCPU: Embedded 8 pages/cpu @c1713000 s11840 r8192 d12736 u32768
[    0.000000] pcpu-alloc: s11840 r8192 d12736 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 pa0
[    0.000000] Kernel command line: earlyprintk=ttyS0,115200 loglevel=8 initcalt
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)             
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) 
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)   
[    0.000000] Memory: 1024MB = 1024MB total                                    
[    0.000000] Memory: 761624k/761624k available, 286952k reserved, 8192K highmm
[    0.000000] Virtual kernel memory layout:                                    
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)                
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)                
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)                
[    0.000000]       .text : 0xc0008000 - 0xc095ad7c   (9548 kB)                
[    0.000000]       .init : 0xc095b000 - 0xc0ca9e40   (3388 kB)                
[    0.000000]       .data : 0xc0caa000 - 0xc0d24378   ( 489 kB)                
[    0.000000]        .bss : 0xc0d24b2c - 0xc0dfcdf8   ( 865 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 1789s
[    0.000000] Console: colour dummy device 80x30                               
[    0.000000] console [tty0] enabled, bootconsole disabled                     
[    0.019915] Calibrating delay loop (skipped), value calculated using timer f)
[    0.019970] pid_max: default: 32768 minimum: 301                             
[    0.020237] Mount-cache hash table entries: 512                              
[    0.021109] Initializing cgroup subsys cpuacct                               
[    0.021139] Initializing cgroup subsys freezer                               
[    0.021185] CPU: Testing write buffer coherency: ok                          
[    0.021241] ftrace: allocating 25527 entries in 75 pages                     
[    0.050249] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000                 
[    0.050282] [sunxi_smp_prepare_cpus] enter                                   
[    0.050323] Setting up static identity map for 0x406b0b30 - 0x406b0b88       
[    0.051148] CPU1: Booted secondary processor                                 
[    0.051148] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001                 
[    0.051278] CPU2: Booted secondary processor                                 
[    0.051278] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002                 
[    0.051278] CPU3: Booted secondary processor                                 
[    0.051278] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003                 
[    0.060172] Brought up 4 CPUs                                                
[    0.060255] SMP: Total of 4 processors activated (19200.00 BogoMIPS).        
[    0.060824] devtmpfs: initialized                                            
[    0.063132] wakeup src cnt is : 1.                                           
[    0.063152] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800
[    0.063175] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpi0
[    0.063200] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpi0
[    0.063225] sunxi pm init                                                    
[    0.063353] pinctrl core: initialized pinctrl subsystem                      
[    0.073783] NET: Registered protocol family 16                               
[    0.074436] DMA: preallocated 2048 KiB pool for atomic coherent allocations  
[    0.074436] script_sysfs_init success                                        
[    0.074436] sunxi_dump_init success                                          
[    0.074436] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl 
[    0.074436] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver        
[    0.074436] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint.
[    0.074436] hw-breakpoint: maximum watchpoint size is 8 bytes.               
[    0.074436] script config pll_video to 297 Mhz                               
[    0.074448] script config pll_de to 864 Mhz                                  
[    0.074470] script config pll_ve to 402 Mhz                                  
[    0.074503] sunxi_default_clk_init                                           
[    0.074519] try to set pll6ahb1 to 200000000                                 
[    0.074546] try to set ahb clk source to pll6ahb1                            
[    0.074564] set ahb clk source to pll6ahb1                                   
[    0.074583] try to set ahb1 to 200000000                                     
[    0.074602] try to set apb1 to 100000000                                     
[    0.074934] ===fe3o4==== sunxi_root_procfs_attach ret:0                      
[    0.080214] bio: create slab  at 0                                    
[    0.080363] [ARISC] :sunxi-arisc driver v1.04                                
[    0.094759] [ARISC] :arisc version: [v0.1.34]                                
[    0.171321] [ARISC] :sunxi-arisc driver v1.04 startup succeeded              
[    0.180381] SCSI subsystem initialized                                       
[    0.180567] usbcore: registered new interface driver usbfs                   
[    0.180645] usbcore: registered new interface driver hub                     
[    0.180684] usbcore: registered new device driver usb                        
[    0.180684] twi_chan_cfg()335 - [twi0] has no twi_regulator.                 
[    0.180684] twi_chan_cfg()335 - [twi1] has no twi_regulator.                 
[    0.180684] twi_chan_cfg()335 - [twi2] has no twi_regulator.                 
[    0.180684] Linux video capture interface: v2.00                             
[    0.180694] Advanced Linux Sound Architecture Driver Version 1.0.25.         
[    0.181165] Bluetooth: Core ver 2.16                                         
[    0.181213] NET: Registered protocol family 31                               
[    0.181232] Bluetooth: HCI device and connection manager initialized         
[    0.181257] Bluetooth: HCI socket layer initialized                          
[    0.181277] Bluetooth: L2CAP socket layer initialized                        
[    0.181318] Bluetooth: SCO socket layer initialized                          
[    0.181520] cfg80211: Calling CRDA to update world regulatory domain         
[    0.181599] Switching to clocksource arch_sys_counter                        
[    0.192021] FS-Cache: Loaded                                                 
[    0.192297] CacheFiles: Loaded                                               
[    0.201839] NET: Registered protocol family 2                                
[    0.202107] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.202633] TCP established hash table entries: 131072 (order: 8, 1048576 by)
[    0.204247] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)      
[    0.205040] TCP: Hash tables configured (established 131072 bind 65536)      
[    0.205064] TCP: reno registered                                             
[    0.205084] UDP hash table entries: 512 (order: 2, 16384 bytes)              
[    0.205128] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)         
[    0.205407] NET: Registered protocol family 1                                
[    0.205736] RPC: Registered named UNIX socket transport module.              
[    0.205764] RPC: Registered udp transport module.                            
[    0.205782] RPC: Registered tcp transport module.                            
[    0.205801] RPC: Registered tcp NFSv4.1 backchannel transport module.        
[    0.368203] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 countee
[    0.368348] sunxi_reg_init enter                                             
[    0.369085] audit: initializing netlink socket (disabled)                    
[    0.369143] type=2000 audit(0.360:1): initialized                            
[    0.372253] highmem bounce pool size: 64 pages                               
[    0.373421] Installing knfsd (copyright (C) 1996 [email protected]).         
[    0.374072] NTFS driver 2.1.30 [Flags: R/W].                                 
[    0.374195] fuse init (API version 7.18)                                     
[    0.374897] Btrfs loaded                                                     
[    0.374932] msgmni has been set to 1471                                      
[    0.375932] io scheduler noop registered                                     
[    0.375956] io scheduler deadline registered                                 
[    0.376038] io scheduler cfq registered (default)                            
[    0.376457] [DISP]disp_module_init                                           
[    0.376760] cmdline,disp=                                                    
[    0.395144] [DISP] Fb_map_kernel_logo,line:925:Fb_map_kernel_logo failed!    
[    0.423097] Console: switching to colour frame buffer device 240x67          
[    0.451729] [DISP]disp_module_init finish                                    
[    0.452010] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.         
[    0.452161] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator.         
[    0.452307] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.         
[    0.452857] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI             
[    0.453003] sw_uart_pm()890 - uart0 clk is already enable                    
[    0.453134] sw_console_setup()1233 - console setup baud 115200 parity n bitsn
[    0.645126] console [ttyS0] enabled                                          
[    1.241849] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI             
[    1.242101] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI             
[    1.242570] sunxi_cmatest_init enter                                         
[    1.242602] sunxi_cmatest_init success                                       
[    1.246313] loop: module loaded                                              
[    1.423178] sunxi_spi_chan_cfg()1355 - [spi-0] has no spi_regulator.         
[    1.801619] sunxi_spi_chan_cfg()1355 - [spi-1] has no spi_regulator.         
[    1.946137] spi spi0: master is unqueued, this is deprecated                 
[    1.958178] tun: Universal TUN/TAP device driver, 1.6                        
[    1.969249] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>           
[    1.982383] PPP generic driver version 2.4.2                                 
[    1.992774] PPP BSD Compression module registered                            
[    2.003514] PPP Deflate Compression module registered                        
[    2.019959] PPP MPPE Compression module registered                           
[    2.030960] NET: Registered protocol family 24                               
[    2.041542] PPTP driver version 0.8.5                                        
[    2.051494] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver       
[    2.084578] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (Er
[    2.099289] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus nu1
[    2.113961] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000              
[    2.140045] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00              
[    2.152902] hub 1-0:1.0: USB hub found                                       
[    2.162783] hub 1-0:1.0: 1 port detected                                     
[    2.193163] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (Er
[    2.207903] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus nu2
[    2.222499] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000              
[    2.250036] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00              
[    2.262356] ehci_irq: highspeed device connect                               
[    2.273153] hub 2-0:1.0: USB hub found                                       
[    2.283095] hub 2-0:1.0: 1 port detected                                     
[    2.293466] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver           
[    2.326090] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI)r
[    2.340358] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus nu3
[    2.354520] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400              
[    2.424514] hub 3-0:1.0: USB hub found                                       
[    2.434351] hub 3-0:1.0: 1 port detected                                     
[    2.444637] Initializing USB Mass Storage driver...                          
[    2.455772] usbcore: registered new interface driver usb-storage             
[    2.468086] USB Mass Storage support registered.                             
[    2.478899] usbcore: registered new interface driver ums-alauda              
[    2.491303] usbcore: registered new interface driver ums-cypress             
[    2.503731] usbcore: registered new interface driver ums-datafab             
[    2.516035] usbcore: registered new interface driver ums_eneub6250           
[    2.528437] usbcore: registered new interface driver ums-freecom             
[    2.540632] usbcore: registered new interface driver ums-isd200              
[    2.552627] usbcore: registered new interface driver ums-jumpshot            
[    2.564770] usbcore: registered new interface driver ums-karma               
[    2.576541] usbcore: registered new interface driver ums-onetouch            
[    2.588539] usbcore: registered new interface driver ums-realtek             
[    2.600395] usbcore: registered new interface driver ums-sddr09              
[    2.610047] usb 2-1: new high-speed USB device number 2 using sunxi-ehci     
[    2.624731] usbcore: registered new interface driver ums-sddr55              
[    2.636556] usbcore: registered new interface driver ums-usbat               
[    2.648347] usbcore: registered new interface driver usbserial               
[    2.660012] usbserial: USB Serial Driver core                                
[    2.670054] usbcore: registered new interface driver option                  
[    2.681497] USB Serial support registered for GSM modem (1-port)             
[    2.693777] file system registered                                           
[    2.704175] android_usb gadget: Mass Storage Function, version: 2009/09/11   
[    2.717074] android_usb gadget: Number of LUNs=3                             
[    2.727360]  lun0: LUN: removable file: (no medium)                          
[    2.737999]  lun1: LUN: removable file: (no medium)                          
[    2.748638]  lun2: LUN: removable file: (no medium)                          
[    2.759482] android_usb gadget: android_usb ready                            
[    2.761132] hub 2-1:1.0: USB hub found                                       
[    2.761262] hub 2-1:1.0: 4 ports detected                                    
[    2.788628]  uinput result 0 , vmouse_init                                   
[    2.798738] mousedev: PS/2 mouse device common for all mice                  
[    2.810177] sunxikbd_init failed.                                            
[    2.818920] ls_fetch_sysconfig_para: type err  device_used = 0.              
[    2.830685] =========script_get_err============                              
[    2.840842] ltr_init: ls_fetch_sysconfig_para err.                           
[    2.851696] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0      
[    2.864298] i2c /dev entries driver                                          
[    2.873568] IR RC5(x) protocol handler initialized                           
[    2.884131] sunxi tsc version 0.1                                            
[    2.893053] tscdev_init: tsc driver is disabled                              
[    2.903281] sunxi cedar version 0.1                                          
[    2.912363] [cedar]: install start!!!                                        
[    2.921661] [cedar]: install end!!!                                          
[    2.930579] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0          
[    2.942768] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->stf
[    2.954115] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)       
[    2.971851] wdt_enable, write reg 0xf1c20cb8 val 0x00000000                  
[    2.983253] timeout_to_interv, line 167                                      
[    2.992661] interv_to_timeout, line 189                                      
[    3.002019] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual tc
[    3.016730] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-m
[    3.031489] Bluetooth: HCI UART driver ver 2.2                               
[    3.042139] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.109 2014-12-4 20:511
[    3.059078] [mmc]: get mmc0's sdc_power is null!                             
[    3.060209] usb 2-1.1: new low-speed USB device number 3 using sunxi-ehci    
[    3.082751] [mmc]: get mmc1's sdc_power is null!                             
[    3.093453] [mmc]: get mmc1's 2xmode ok, val = 1                             
[    3.104081] [mmc]: get mmc1's ddrmode ok, val = 1                            
[    3.114210] [mmc]: MMC host used card: 0x3, boot card: 0x0, io_card 2        
[    3.127183] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timinB
[    3.145302] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timinB
[    3.164039] usbcore: registered new interface driver usbhid                  
[    3.175193] usbhid: USB HID core driver                                      
[    3.187914] asoc: sndcodec  sunxi-codec mapping ok                        
[    3.201419] asoc: sndhdmi  sunxi-hdmiaudio.0 mapping ok                   
[    3.213352] generic-usb 0003:1A2C:0002.0001: input,hidraw0: USB HID v1.10 Ke0
[    3.213396] oprofile: using arm/armv7-ca7                                    
[    3.241233] u32 classifier                                                   
[    3.244881] generic-usb 0003:1A2C:0002.0002: input,hidraw1: USB HID v1.10 De1
[    3.267536]     Actions configured                                           
[    3.276671] Netfilter messages via NETLINK v0.30.                            
[    3.287367] nf_conntrack version 0.5.0 (15996 buckets, 63984 max)            
[    3.301521] ctnetlink v0.93: registering with nfnetlink.                     
[    3.312330] NF_TPROXY: Transparent proxy support initialized, version 4.1.0  
[    3.325013] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.               
[    3.336742] xt_time: kernel timezone is -0000                                
[    3.340214] usb 2-1.3: new low-speed USB device number 4 using sunxi-ehci    
[    3.359362] IPv4 over IPv4 tunneling driver                                  
[    3.369524] gre: GRE over IPv4 demultiplexor driver                          
[    3.380143] ip_gre: GRE over IPv4 tunneling driver                           
[    3.391155] ip_tables: (C) 2000-2006 Netfilter Core Team                     
[    3.402381] arp_tables: (C) 2002 David S. Miller                             
[    3.412771] TCP: cubic registered                                            
[    3.421662] Initializing XFRM netlink socket                                 
[    3.431795] NET: Registered protocol family 10                               
[    3.442852] Mobile IPv6                                                      
[    3.450781] ip6_tables: (C) 2000-2006 Netfilter Core Team                    
[    3.462119] IPv6 over IPv4 tunneling driver                                  
[    3.472798] NET: Registered protocol family 17                               
[    3.477299] generic-usb 0003:0458:003A.0003: input,hidraw2: USB HID v1.11 Mo0
[    3.501841] NET: Registered protocol family 15                               
[    3.512341] Bluetooth: RFCOMM TTY layer initialized                          
[    3.523237] Bluetooth: RFCOMM socket layer initialized                       
[    3.534379] Bluetooth: RFCOMM ver 1.11                                       
[    3.543939] Bluetooth: BNEP (Ethernet Emulation) ver 1.3                     
[    3.555283] Bluetooth: BNEP filters: protocol multicast                      
[    3.566535] Bluetooth: HIDP (Human Interface Emulation) ver 1.2              
[    3.578657] L2TP core driver, V2.0                                           
[    3.587868] PPPoL2TP kernel driver, V2.0                                     
[    3.597615] L2TP IP encapsulation support (L2TPv3)                           
[    3.608392] L2TP netlink interface                                           
[    3.617577] L2TP ethernet pseudowire support (L2TPv3)                        
[    3.628675] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5
[    3.642653] ThumbEE CPU extension supported.                                 
[    3.652813] Registering SWP/SWPB emulation handler                           
[    3.664258] cmdline,disp=                                                    
[    3.672598] [HDMI] power vcc-hdmi-18                                         
[    3.712638] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 00:58:08)
[    3.727058] ths_fetch_sysconfig_para: type err  device_used = 1.             
[    3.740412] CPU Budget:Register notifier                                     
[    3.750327] CPU Budget:register Success                                      
[    3.759994] sunxi-budget-cooling sunxi-budget-cooling: Cooling device regist0
[    3.777719] [rf_pm]: select module num is 7                                  
[    3.787905] [rf_pm]: module power0 name vcc-wifi-33                          
[    3.798775] [rf_pm]: failed to fetch module_power1                           
[    3.809550] [rf_pm]: mod has no chip_en gpio                                 
[    3.819679] [rf_pm]: failed to fetch lpo_use_apclk                           
[    3.830335] [rf_pm]: regulator on.                                           
[    3.839563] [wifi_pm]: wifi gpio init is OK !!                               
[    3.849774] ALSA device list:                                                
[    3.858212]   #0: audiocodec                                                 
[    3.866437]   #1: sndhdmi                                                    
[    3.876576] Freeing init memory: 3384K                                       
[    4.125051] [mmc]: mmc 0 detect change, present 1                            
[    4.320100] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr09
[    4.640076] [mmc]: sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timingB
[    4.659232] [mmc]: sdc0 power_supply is null                                 
[    4.690048] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 tB
[    4.722355] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 52,  RTO!
[    4.738049] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 52,  RTO!
[    4.748027] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 tB
[    4.772408] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 tB
[    4.790570] *******************Try sdio*******************                   
[    4.803242] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !
[    4.817944] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !
[    4.832484] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !
[    4.846454] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 5,  RTO !
[    4.856432] *******************Try sd *******************                    
[    4.870650] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 tB
[    4.885745] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 tB
[    4.903221] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 tB
[    4.941513] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1B
[    4.958691] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1B
[    4.973681] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1B
[    4.988612] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4B
[    5.003466] mmc0: new high speed SDHC card at address 59b4                   
[    5.014511] mmcblk0: mmc0:59b4 SD    14.7 GiB                                
[    5.025223]  mmcblk0: p1 p2                                                  
[    5.033423] *******************sd init ok*******************                 
[    5.959243] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incoms
[    6.050977] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incoms
[    6.174425] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
[    6.670244] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SE)
[    6.691605] systemd[1]: Detected architecture 'arm'.                         
[    6.755740] systemd[1]: Failed to insert module 'autofs4'                    
[    6.770453] systemd[1]: Set hostname to .                          
[    7.081716] systemd[1]: Starting Forward Password Requests to Wall Directory.
[    7.095354] systemd[1]: Started Forward Password Requests to Wall Directory .
[    7.108611] systemd[1]: Expecting device dev-ttyS0.device...                 
[    7.125093] systemd[1]: Starting Remote File Systems (Pre).                  
[    7.146369] systemd[1]: Reached target Remote File Systems (Pre).            
[    7.158091] systemd[1]: Starting Encrypted Volumes.                          
[    7.173667] systemd[1]: Reached target Encrypted Volumes.                    
[    7.184582] systemd[1]: Starting Dispatch Password Requests to Console Direc.
[    7.198511] systemd[1]: Started Dispatch Password Requests to Console Direct.
[    7.212295] systemd[1]: Starting Paths.                                      
[    7.226768] systemd[1]: Reached target Paths.                                
[    7.236604] systemd[1]: Set up automount Arbitrary Executable File Formats F.
[    7.252059] systemd[1]: Starting Swap.                                       
[    7.266476] systemd[1]: Reached target Swap.                                 
[    7.276134] systemd[1]: Expecting device dev-mmcblk0p1.device...             
[    7.292951] systemd[1]: Starting Root Slice.                                 
[    7.307935] systemd[1]: Created slice Root Slice.                            
[    7.318107] systemd[1]: Starting User and Session Slice.                     
[    7.334425] systemd[1]: Created slice User and Session Slice.                
[    7.345839] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.      
[    7.363916] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.  
[    7.376868] systemd[1]: Starting Delayed Shutdown Socket.                    
[    7.393658] systemd[1]: Listening on Delayed Shutdown Socket.                
[    7.405165] systemd[1]: Starting Journal Socket (/dev/log).                  
[    7.421960] systemd[1]: Listening on Journal Socket (/dev/log).              
[    7.433592] systemd[1]: Starting udev Control Socket.                        
[    7.454787] systemd[1]: Listening on udev Control Socket.                    
[    7.465911] systemd[1]: Starting udev Kernel Socket.                         
[    7.481934] systemd[1]: Listening on udev Kernel Socket.                     
[    7.492957] systemd[1]: Starting Journal Socket.                             
[    7.508824] systemd[1]: Listening on Journal Socket.                         
[    7.519583] systemd[1]: Starting System Slice.                               
[    7.535252] systemd[1]: Created slice System Slice.                          
[    7.545943] systemd[1]: Started File System Check on Root Device.            
[    7.557945] systemd[1]: Starting system-getty.slice.                         
[    7.574479] systemd[1]: Created slice system-getty.slice.                    
[    7.585825] systemd[1]: Starting system-serial\x2dgetty.slice.               
[    7.603414] systemd[1]: Created slice system-serial\x2dgetty.slice.          
[    7.615778] systemd[1]: Mounted POSIX Message Queue File System.             
[    7.627822] systemd[1]: Mounted Huge Pages File System.                      
[    7.639198] systemd[1]: Starting Create list of required static device nodes.
[    7.731000] systemd[1]: Starting udev Coldplug all Devices...                
[    7.871485] systemd[1]: Mounting Debug File System...                        
[    7.966644] systemd[1]: Starting Load Kernel Modules...                      
[    8.042746] systemd[1]: Started Set Up Additional Binary Formats.            
[    8.058036] systemd[1]: Starting LSB: Set keymap...                          
[    8.133882] RTL871X: module init start                                       
[    8.146102] RTL871X: rtl8189es v4.3.0.4_11916.20140724_COB                   
[    8.158888] RTL871X: build time: Aug 27 2015 21:55:02                        
[    8.170462] systemd[1]: Starting Journal Service...                          
[    8.183227] [wifi_pm]: set wl_reg_on 0 !                                     
[    8.244330] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timingB
[    8.262102] [mmc]: sdc1 power_supply is null                                 
[    8.279937] systemd[1]: Started Journal Service.                             
[    8.290086] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.312427] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO!
[    8.313260] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO!
[    8.313287] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.315800] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.317733] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8,  RTO !
[    8.317776] *******************Try sdio*******************                   
[    8.318590] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.319436] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.320273] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.321108] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.321137] *******************Try sd *******************                    
[    8.321950] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.322781] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.323614] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.324444] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.324470] *******************Try mmc*******************                    
[    8.324482] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 tB
[    8.325422] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1,  RTO !
[    8.325457] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timinB
[    8.325584] [mmc]: sdc1 power_supply is null                                 
[    8.328187] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timingB
[    8.329726] [mmc]: sdc1 power_supply is null                                 
[    8.344315] [wifi_pm]: set wl_reg_on 1 !                                     
[    8.344552] RTL871X: module init ret=0                                       
[    8.350089] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.372625] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO!
[    8.373723] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  !
[    8.373747] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.376360] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.378544] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8,  RTO !
[    8.378566] *******************Try sdio*******************                   
[    8.379644] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.380734] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.381824] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.382914] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.382934] *******************Try sd *******************                    
[    8.384010] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.385100] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.386191] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.387280] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.387301] *******************Try mmc*******************                    
[    8.387309] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 tB
[    8.388491] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1,  RTO !
[    8.388516] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timinB
[    8.388624] [mmc]: sdc1 power_supply is null                                 
[    8.391204] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timingB
[    8.392727] [mmc]: sdc1 power_supply is null                                 
[    8.410029] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.433142] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO!
[    8.434766] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO!
[    8.434789] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.437654] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.440397] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8,  RTO !
[    8.440425] *******************Try sdio*******************                   
[    8.442036] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.443662] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.445286] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.446911] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.446931] *******************Try sd *******************                    
[    8.448542] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.450166] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.451792] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.453417] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.453436] *******************Try mmc*******************                    
[    8.453445] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 tB
[    8.455187] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1,  RTO !
[    8.455210] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timinB
[    8.455312] [mmc]: sdc1 power_supply is null                                 
[    8.457883] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timingB
[    8.459405] [mmc]: sdc1 power_supply is null                                 
[    8.480037] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.503675] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO!
[    8.505846] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52,  RTO!
[    8.505871] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.508998] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 tB
[    8.512301] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8,  RTO !
[    8.512321] *******************Try sdio*******************                   
[    8.514466] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.516626] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.518786] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.520946] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5,  RTO !
[    8.520967] *******************Try sd *******************                    
[    8.523113] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.525273] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.527433] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.529593] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55,  RTO!
[    8.529613] *******************Try mmc*******************                    
[    8.529622] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 tB
[    8.531921] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1,  RTO !
[    8.531944] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timinB
[    8.532046] [mmc]: sdc1 power_supply is null                                 
[   10.415347] systemd-udevd[112]: starting version 215                         
[   17.043196] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro         
[   18.648096] systemd-journald[106]: Received request to flush runtime journal1
[   29.440066] CPU Budget: Temperature: 75 Limit state:1 item[1200000,4,-1,0 0] 
[   29.452533] [ddrfreq] temperature=75 C, ddr freq up                          
[   29.462581] CPU Budget:update CPU 0 cpufreq max to 1200000 min to 480000     
[   30.480073] CPU Budget: Temperature: 75 Limit state:0 item[1536000,4,-1,0 0] 
[   30.494021] [ddrfreq] temperature=73 C, ddr freq up                          
[   33.500092] CPU Budget: Temperature: 75 Limit state:1 item[1200000,4,-1,0 0] 
[   33.500104] [ddrfreq] temperature=75 C, ddr freq up                          
[   33.500133] CPU Budget:update CPU 0 cpufreq max to 1200000 min to 480000     
[   34.510110] CPU Budget: Temperature: 75 Limit state:0 item[1536000,4,-1,0 0] 
[   34.525955] [ddrfreq] temperature=73 C, ddr freq up                          
                                                                                
Debian GNU/Linux 8 OrangePI ttyS0                                               
                                                                                
OrangePI login: 

The boot time to the login window is about 45 seconds with my SD card.

Creating Your Own Linux Image for Orange Pi Allwinner H3 Boards

Lobrosis did not only provide binary images, but also the scripts to create a full image from scratch. It won’t build the Linux kernel from source however, but you can download the Linux SDK from Orange Pi website if you wish to customize the kernel or build your own drivers.

You can run the scripts to create an image in a Ubuntu or Debian computer, or even Orange Pi board itself.

First, download and extract make_linux.tar.gz from Mega, install some dependencies:

sudo apt-get install debootstrap qemu-user-static
mkdir ~/edev/orangepi2
tar xvf make_linux.tar.gz
cd make_linux

Now you’ll need to edit param.sh with you favorite editor:

# =====================================================
# ==== P A R A M E T E R S ============================
# =====================================================


# *****************************************************
# Set to "yes" to create realy minimal image          *
# *****************************************************
ONLY_BASE="yes"


# *****************************************************
# Set hostname, user to be created                    *
# and root and user passwords                         *
# *****************************************************
HOSTNAME="CNXSoftPI"
USER="cnxsoft"
ROOTPASS="orangepi2"
USERPASS="orangepi2"


# *****************************************************
# Set timezone, for default (HOST'S) set _timezone="" *
# *****************************************************
_timezone="Etc/UTC"
#_timezone=""


# *****************************************************
# SET IF YOU WANT TO INSTALL SPECIFIC LANGUAGE,       *
# COMMENT FOR DEFAULT (HOST) settings                 *
# *****************************************************
LANGUAGE="en"
LANG="en_US.UTF-8"


# *****************************************************
# Set the base name of your image.                    *
# Distro name is automaticaty appended, and the image *
# will be "image_name-distro.img"                     *
# --------------------------------------------------- *
# IF image_name="", image file won't be created,      *
# installation will be created in local directories   *
# linux-$distro & boot-$distro                        *
# YOU CAN CREATE THE IMAGE LATER RUNNING:             *
# sudo ./image_from_dir  <DEVICE|IMAGE>    *
# === IT IS THE RECOMMENDED WAY OF IMAGE CREATION === *
# --------------------------------------------------- *
# IF image_name is BLOCK DEVICE (/dev/sdXn)           *
# LINUX filesystem will be created directly on it     *
# Partition must exist !                              *
# IF _format="" partition will NOT be formated        *
# otherwyse it will be formated with specified format *
# *****************************************************
image_name=""
#image_name="minimal"
#image_name="/dev/sdg"


# *****************************************************
# Filesystem type for linux partition                 *
# If btrfs is selectet, partition will be mounted     *
# "compressed" option, you can save some sdcard space *
# --------------------------------------------------- *
# Used when creating the system directly on SDCard or *
# SDCard image file and in "image_from_dir" script    *
# *****************************************************
_format="ext4"
#_format="btrfs"


# *****************************************************
# SD Card partitions sizes in MB (1024 * 1024 bytes)  *
# --------------------------------------------------- *
# If creating on physical sdcard (not image) you can  *
# set "linuxsize=0" to use maximum sdcard size        *
# --------------------------------------------------- *
# When creating the image with "image_from_dir" script*
# "linuxsize" is calculated from directory size       *
# *****************************************************
fatsize=64
linuxsize=800


# *****************************************************
#   Select ubuntu/debian distribution and repository  *
#     === SELECT ONLY ONE distro AND ONE repo ===     *
# *****************************************************

# === Ubuntu ===
#distro="precise"
#distro="trusty"
#distro="utopic"
distro="vivid"
repo="http://ports.ubuntu.com/ubuntu-ports"

# === Debian ===
#distro="wheezy"
#distro="jessie"
#repo="http://ftp.hr.debian.org/debian"
raspbian="no"

# === Raspbian ===
#distro="wheezy"
#distro="jessie"
#repo="http://archive.raspbian.org/raspbian"
#raspbian="yes"

# ******************************************************
# If creating the image, you can xz compress the image *
# after creation and make the md5sum file              *
# to do that automatically, set  _compress="yes"       *
# ******************************************************
_compress="yes"


# =====================================================
# IF YOU WANT TO HAVE BOOT FILES ON EXT4 PARTITION    =
# AND NOT ON SEPARATE FAT16 PARTITION                 =
# set  _boot_on_ext4="yes"  and                       =
# FAT partitin won't be created                       =
# --------------------------------------------------- =
# DO NOT CHANGE FOR NOW !                             =
# =====================================================
_boot_on_ext4="no"


# ^^^^ P A R A M E T E R S ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I’ve highlighted my modifications in bold, so I’m going to build a minimal Ubuntu vivid image with CNXSoftPI as the hostname.

Let’s start the build:

sudo ./create_image

It took less than 20 minutes on my machine. If you want to modify the rootfs, you can chroot in linux-vidid directory:

sudo chroot linux-vivid /usr/bin/qemu-arm-static -cpu cortex-a9 /bin/bash

Finally, once you are done, you can create a Ubuntu vivid image with:

sudo ./image_from_dir linux-vivid <image_name>

This will create <image_name>.img that you can dump to a micro SD card or explained in the first part of this post, as well as <image_name).img.xz that you can distribute.

If you want to go further you may want to checkout Orange Pi Wiki, and checkout what others have done so far on Orange Pi Forums.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

MOI Pro AMD IPTV Streaming Server Supports Up to 16 Tuners

August 30th, 2015 6 comments

TBS Technologies is a company specializing in digital TV tuners, with their catalog includes various DVB-T2, DVB-C, DVB-S2 and ATSC tuner cards. They also happen to be the designer of Matrix board and Matrix 2 Android set-top box, both of which run Android or Linux and support some of the company’s tuners. But they also have higher end products such as MOI Pro AMD IPTV streamer based on an AMD Embedded G-Series processor, and supporting up to 4 tuner cards with up to 4 tuners each.
MOI_Pro_AMD
TBS MOI Pro AMD specifications:

  • SoC – AMD GX-412HC quad core processor @ 1.2GHz with AMD Radeon HD GPU @ 300MHz (7W TDP)
  • System Memory – 4GB DDR3-1333
  • Storage – 30GB mSATA SSD, 1x SATA @ 6.0Gb/s,
  • Video Output – 1x HDMI, 1x VGA (reserved connection?)
  • Connectivity – 2x Gigabit Ethernet
  • Tuners – Up to 4 PCIe TV tuner cards (DVB-S2 or DVB-T2/T/C) for up to 16 TV tuners
  • USB – 2x USB 2.0, 2x USB 3.0
  • Expansion
    • 1 x Full-Size Mini-PCIe (w/USB, PCle x 1 Single)
    • 8-bit programmable I/O
    • 2x COM headers
  • Misc – 1x LPC support TPM module, front panel with LCD display, power switch and various buttons, reset switch, power and HDD LEDs.
  • Power Supply – 12 to 18V DC (Built-in)
  • Dimensions – SBC: 120 x 100 mm; product: 1U Chassis (430 x 320 x 46 mm)

The system can run Microsoft Windows 7/8, Windows 7/8 embedded Standard, Windows 7 Embedded Compact, or Ubuntu Linux, and according to the specifications comes pre-installed with Tvheadend, VDR, MuMuDVB, DVBlast, szap-s2, dvbdate, dvbscan, dvbdstream, dvbsnoop, scan-s2, szap-s2, tzap-t2, LIRC, telnet, ssh, ftp, samba. The product description also mentions Kodi and OpenPCTV are pre-installed, and I’ve been told OpenELEC runs fine on the system too.

AMD_IPTV_Streamer_Board_DVB_Tuner

You can read the Getting Started Guide to find how the front panel and keys are used, and checkout the web base configuration interface.

When asked whether the system was mainly purchased by companies or individuals, a company representative explained that both IPTV delivery companies and individuals who wanted to build a home IPTV media server purchased the device, with so far over 25,000 units sold.

TBS MOI Pro AMD can be purchased on buydvd.net with pricing starting at $723.99 with two tuner cards with either four DVB-T2 or eight DVB-T2/C tuners, and up to $1209.99 for a system with 16 DVB-S2 tuners. More information can be found on TBS MOI Pro – AMD product page, as well as on the company’s blog.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

Ubuntu 14.04 / 15.04 Tested in Tronsmart Ara X5 Cherry Trail Mini PC

August 28th, 2015 1 comment

After reviewing Tronsmart Ara X5 with Windows 10, I decided to give a try at Ubuntu. Initially I downloaded Ubuntu 15.04 Desktop 64-bit ISO image, and prepare a bootable USB drive with UNetbootin in my computer running Ubuntu 14.04. But after inserting the USB flash drive into Ara X5, and pressing F7, there was no options to select the drive, so I went to UEFI settings, and the drive was clearly detected, but not available as a bootable device.

Tronsmart_Ara_x5_Ubuntu_Linux

Finally, having heard one company booted Ubuntu on MeegoPad T04 using Rufus, and Tronsmart confirming Ubuntu 14.04 could boot on Ara X5 using Pendrive Linux USB installer, I decided to try again with Windows tools, and prepared an Ubuntu 15.04 image with Rufus. Great! Pressing F7 would show the USB flash drive, and I could boot Ubuntu 15.04.

Tronsmart_Ara_X5_USB_Boot

But unfortunately audio output is not working (only Dummy output), nor is WiFi on the platform. These were the exact same problems found on Intel Atom Bay Trail (Z3735F/Z3736F) mini PCs at the beginning, until a fix was made for audio output. Since then there has been several images released for such platforms, but several steps were usually required, until Ian Morrison (Linuxium) released a simple-to-use Ubuntu 14.04.3 LTS image, especially with 64-bit UEFI, which is exactly what we’ve got on Tronsmart Ara X5.

Rufus_Ubuntu_14.04.3_LTS_Atom_X5

Bootable USB Flash Drive using Ubuntu 14.04.3 DD Image with Rfus

Once this bootable USB drive was ready, I inserted it into Ara X5, and pressed F7 repeatedly, but even after waiting one minute I only got a black screen. So I booted Windows 10 first, insert the USB drive, clicked on Reboot, and pressed F7, and I could boot with the USB drive… sort of. I could see some kernel log on the HDMI TV, followed by the Ubuntu animation, and eventually it stuck there. I checked the drive for errors, and tried again, but it ended with a black screen.

So I went back to Ubuntu 15.04 AMD64 downloaded from Canonical website, and inserted a USB audio card, as I wanted to play 4K video @ 30 fps in Kodi Linux at 3840×2160 resolution, something that did not work very well in Windows 10.

Ubuntu 15.04 Desktop at 3840x2160 Resolution in Tronsmart Ara X5 (Click to Enlarge)

Ubuntu 15.04 Desktop at 3840×2160 Resolution in Tronsmart Ara X5 (Click to Enlarge)

As you can see on the picture above, the good news is that I could switch to 3840×2160 resolution in Ubuntu, and I could also hear audio via a cheap USB sound card connected to stereo speakers while playing a YouTube video. However, the system really struggled at that resolution, even moving windows around was pretty difficult, and ultimately it hanged. I tried that twice with the same results, so instead of taking a screenshot as originally planned, I took a picture, and needless to say I decided to give up on Kodi too.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

Orange Pi PC Allwinner H3 Board Is Now Available for $15

August 26th, 2015 42 comments

Orange Pi 2 is a board powered by Allwinner H3 quad core processor that sells for $25. Shenzhen Xunlong Software has now launched a lower cost version with Orange Pi PC, still based on Allwinner H3 SoC, but getting ridiculously cheap at $15 + shipping ($3.43 in my case).

Orange_Pi_PC
Orange Pi PC specifications:

  • SoC – Allwinner H3 quad core Cortex A7 @ 1.6 GHz (likely 1.2 GHz instead) with an ARM Mali-400MP2 GPU up to 600 MHz
  • System Memory – 1GB DDR3
  • Storage – micro SD card slot (up to 64GB)
  • Video Output – HDMI with CEC and HDCP support, AV port
  • Audio I/O – HDMI, AV port, on-board microphone
  • Connectivity – 10/100M Ethernet
  • USB – 3x USB 2.0 host ports, 1x micro USB OTG port
  • Camera – CSI Interface
  • Expansions – 40-pin Raspberry Pi compatible header with 28 GPIOs, UART, I2C, SPI, PWM, CAN, I2S, SPDIF, LRADC, ADC, LINE-IN, FM-IN, and HP-IN
  • Debugging – 3-pin UART header for serial console
  • Misc – IR receiver; Power button; Power and status LEDs
  • Power Supply – 5V/2A via barrel jack (micro USB OTG cannot be used to power the board).
  • Dimensions – 85 x 55 mm (vs 93 x 60 mm for Orange Pi 2)
  • Weight – 38 grams

Compared to Orange Pi 2, Orange Pi PC is smaller, and it loses one USB port, reset and u-boot keys, and the WiFi module.

Orange_Pi_PC_Micro_SD

The new Orange Pi board should be fully software compatible with the previous H3 versions, and you can find firmware images for Lubuntu, Android 4.4, Raspbian, Debian server, as well as the Linux and Android SDK on the Download page. Bear in mind that the company is good a launching ultra low cost hardware, but seems under staffed, so if you expect support and regularly updated images, this board won’t be for you, and instead you need to be prepared to rely on others in the forums, and most likely do the job yourself. Good luck! There’s also a product page, but not with much more information.

Thank to Brian for the tip.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

MinnowBoard Turbot SBC Gets an Intel Atom E3826 Dual Core Processor, FCC & CE Certification

August 20th, 2015 2 comments

MinnowBoard MAX launched las year as a low cost board based on Intel Bay Trail-I single or dual core processor, and was mostly targeting developers of embedded systems and hobbyists, but could not be used by OEMs as it lacked FCC & CE certifications. ADI Engineering designed a MinnowBoard compatible board named MinnowBoard Turbot with a faster Intel Atom E3826 dual core processor, FCC & CE certifications, and various other hardware modifications bringing improved HDMI, a better voltage regulator, and populating several connectors.

Click to Enlarge

Click to Enlarge

MinnowBoard Turbot specifications:

  • SoC – Intel Atom E3826 dual-core processor @ 1.46 GHz (7W TDP)
  • System Memory – 2GB DDR3L 1333 MT/s (Soldered) – Options: 1GB, or 4GB DDR3L
  • Storage – 1x Micro SD card slot, 1x SATA2 3Gb/sec, 8 MB SPI Flash for firmware (Tianocore UEFI, Coreboot / SeaBIOS)
  • Video & Audio Output – micro HDMI connector
  • Connectivity – 10/100/1000M Ethernet RJ-45 connector
  • USB – 1x USB 3.0 host, 1x USB 2.0 host
  • Debugging – Serial debug via FTDI cable
  • Expansion headers
    • Low-speed expansion (LSE) port – 2×13 (26-pin) male 0.1″ pin header with access to SPI, I2C, I2S Audio, 2x UARTs (TTL-level), 8x GPIO (including 2x supporting PWM), +5V, and GND
    • High-speed expansion (HSE) port –  60-pin, high-density connector with access to 1x PCIe Gen 2.0 Lane, 1x SATA2 3Gb/sec, 1x USB 2.0 host, I2C, GPIO, JTAG, +5V, and GND
    • 8x buffered GPIO
  • Power Supply – 5V DC input via coaxial jack, 5V DC output via  2-pin header
  • Dimensions – 99 x 74mm
  • Temperature Range –  Operating: 0 – 70 deg C (fanless); Storage: -20 to +85 deg C
  • Certifications – FCC part 15 Class B, CE Class B, IEC-60950, RoHS/WEEE

The Turbot board will support Lure expansion boards designed for MinnowBoard MAX, as well as its software including operating systems such as Windows 10, Windows 8.1, Android 4.4, Yocto Project Linux, Ubuntu, Fedora, and FreeBSD.It will be open source hardware with design files (schematics, PCB layout, gerber, BoM) released under Creative Commons BY-SA 3.0.
MinnowBoard_Turbot_EnclosureThe platform is currently sampling to early customers, and will be listed on minnowboard.org in mid-September 2015, before shipping in quantities in October 2015. Price is  $139 MSRP for single unit order, and the board, lures and an anodized aluminum case can already be pre-ordered from Netgate. Further information can be found on ADi Engineering MinnowBoard Turbot product page.

Via LinuxGizmos

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

Ubuntu 14.04.3 Desktop Image for Intel Atom Z3735F mini PCs and Sticks

August 12th, 2015 3 comments

If you’ve been trying to run Ubuntu on Intel Atom Z3735F, chances are that you’ve come across Ian Morrison (Linuxium) work, even MeegoPad T02 is using one of its older Ubuntu image (without his direct knowledge / authorization), and the developer has now released an Ubuntu 14.04.3 Desktop image for Intel Atom Z3735F based devices around five days after the official Canonical release.

Ubuntu_14.04.3_MeegoPad_T02The official Ubuntu 14.04.3 includes the newer 3.19 Linux kernel from Ubuntu 15.04, and a matching X.org stack, and has been upgraded that way for hardware enablement, i.e. to support more hardware platforms. Unfortunately, the image for Z3735F is still using a 3.16 kernel because some dynamic kernel modules only work with 3.16. The image supports 32-bit and a 64-bit bootloaders and includes WiFi, Bluetooth, and Audio support.

If you’d like to update Ubuntu on your device, download and flash ubuntu-14.04.3-desktop-linuxium.iso to a USB drive with ‘Rufus’ in Windows or ‘dd’ in Linux. Insert the USB flash drive in your device, and press F7 or F10 (depending on your UEFI device) in order to select the mass storage device to boot to, and complete the installation. All features should work right after installation with a 64-bit bootloader as found in Intel Compute Stick, but if you have a 32-bit bootlader as found in MeegoPad T02, you’ll have to run two extra scripts: 

Good luck! If you appreciate Ian’s work, you can consider leaving a donation on his Paypal account.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

Freescale i.MX6 DualPlus and QuadPlus SoCs Gets Faster 2D and 3D Graphics, Higher Memory Bandwidth

August 11th, 2015 5 comments

Freescale unveiled three new models for its i.MX 6 family processor for consumer, industrial and automotive markets in May. Two models are an upgrade to existing i.MX6 Quad and i.MX6 Dual processors, as the new i.MX 6QuadPlus and i.MX6DualPlus processors features four and two Cortex A9 cores, together with improved 2D and 3D GPUs delivering around 50% faster performance, an “optimized” SDRAM controller, more SRAM, and a prefetch and resolve engine. The third model, i.MX 6UltraLite, features a single ARM Cortex A7 core and hardware security, and targets applications such as electronic Point Of Sales (ePOS).

Freescale i.MX6 Processor Family

Freescale i.MX6 Processor Family (Click to Enlarge)

That means there are now 9 i.MX6 processors, and today, I’ll focus on the two new “Plus” versions. Since they are based on the original i.MX6 Quad and i.MX6 Dual processors, the best way to have a look at these is to compare them to their predecessors.

Features i.MX 6QuadPlus i.MX 6Quad i.MX 6DualPlus i.MX 6Dual
CPU 4x ARM Cortex A9 up to 1.2GHz 2x ARM Cortex A9 up to 1.2GHz
I-Cache/D-Cache 32KB/32KB L1, 1MB L2
Embedded SRAM 512KB 256KB 512KB 256KB
Memory Interface 2x 32 LP-DDR2, 1-ch, x 64 DDR3/LV-DDR3, Page and Channel Interleaving at 533 MHz
Hardware Video Acceleration Open GL ES 1.1/2.0/3.0
OpenCL 1.1 EP
OpenVG 1.1, 2DBLT, 8 layer composition, 4 shaders, 720 MHz, embedded prefetch and resolve engine
Open GL ES 1.1/2.0/3.0
OpenCL 1.1 EP
OpenVG 1.1, 2DBLT, 2 layer composition, 4 shaders, 594 MHz
Open GL ES 1.1/2.0/3.0
OpenCL 1.1 EP
OpenVG 1.1, 2DBLT, 8 layer composition, 4 shaders, 720 MHz, embedded prefetch and resolve engine
Open GL ES 1.1/2.0/3.0
OpenCL 1.1 EP
OpenVG 1.1, 2DBLT, 2 layer composition, 4 shaders, 594 MHz
Package 21 x 21 BGA 0.8mm

So we can see the SRAM doubled, GPU improvements include a faster shader frequency (720 MHz vs 594 MHz), and 8-layer composition support instead of just two, and the prefetch and resolve engine. Strangely the “newly optimized 64-bit DDR3/LVDDR3/LPDDR2-1066 memory interface to increase bus bandwidth ” is not reflected in this table, and the company did not name Vivante has the GPU vendor. The good news is that the news parts use the same package, and actually pin-to-pin compatible, meaning in due time we may see Wandboard Quad Plus or UDOO Quad Plus or other boards and products coming to market.

Freescale i.MX 6QuadPlus Block Diagram

Freescale i.MX 6QuadPlus Block Diagram

All other features and peripherals are identical including video playback capabilities, Gigabit Ethernet, SATA, low speed I/Os, and so one. The data in this table has been extracted from Freescale’s i.MX 6 Series Comparison Table.

Freescale posted a video comparing the 2D and 3D graphics performance of i.MX 6QuadPlus against i.MX 6Quad with a memory bandwidth, fractal, texture and 8-layer composition demos, indeed showing significant performance improvement in the order of 50% to over 100%.

i.MX 6DualPlus and i.MX 6QuadPlus processors have been sampling since May, but mass production is only planned for October 2015, while i.MX 6UltraLite processor must have started sampling in July 2015, with no date announced for production. More information should soon be available on Freescale i.MX6 product page.

Thanks to Nanik.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

Hardkernel ODROID-C1+ Development Board is Now Shipping for $37

August 11th, 2015 5 comments

We already knew Hardkernel was working on ODROID-C1+ development board, an update the popular ODROID-C1 board with the same Amlogic S805 processor, storage and memory, but with a standard HDMI port replacing the micro HDMI port, I2S support, better micro SD card and HDMI-CEC support, an micro USB OTG port that can be used to power the board, and an included heatsink. The board is now up for sale for $37, or just $2 more than the original ODROID-C1 board.
ODROID-C1_PlusODROID-C1+ specifications:

  • SoC- Amlogic S805 quad core Cortex-A5 processor with a quad core Mali-450MP2 GPU
  • System Memory – 1GB DDR3
  • Storage – eMMC 4.5 HS200 module socket for up to 64GB storage, and UHS-1 SDR50 micro SD slot
  • Video & Audio Output – Type A HDMI port with CEC support
  • Connectivity – Gigabit Ethernet
  • USB – 4x USB 2.0 host ports, 1x micro USB OTG port
  • Expansion Headers
    • 40-pin Raspberry Pi (mostly) compatible header with GPIO, I2C, SPI, UART, and ADC.
    • 7-pin header for I2S
  • Debugging – Serial console header (3.3V)
  • Misc – 4x Status / Power LEDS, IR receiver, RTC + RTC battery header, solder pads for power switch, boot media selector
  • Power Supply – 5V/2A DC input (2.5/0.8mm barrel), or micro USB port.
  • Dimensions – 85 x 56mm
  • Weight – 40 gram

ODROID-C1+ launch means ODROID-C1 is now officially phased out. Please note that changes made to the hardware means ODROID-C1 heatsink and plastic enclosure are incompatible with ODROID-C1+. The software however is compatible, and you can download Android and Ubuntu images & source code and access documentation on ODROID-C1(+) Wiki.

C1plus_HiFi_Shield

ODROID-C1+ and HiFi Shield

Since I2S pins are now exposed, the company also designed an HiFi shield for ODROID-C1+ with gold-plated stereo RCA connectors and a 3.5mm stereo jack, and based on Texas Instruments PCM5102 DAC chip supporting 16 to 24 bit audio formats, and up to 192kHz sampling rate.

The HiFi board can be used with various audio playback systems such as Volumio, RuneAudio or Kodi. C1+ HiFi shield sells for $39 + shipping. More details about the HiFi board can be found on its product page. ODROID-C1+ plastic enclosures don’t seem compatible with the HiFi board however.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter