Android 7.1 (Pinebook) 0.3.10-66 [Sep 19] | Android 7.1 (PINE A64(+)) 0.3.10-66 [Sep 19] | Android 7.1 (SOPINE) 0.3.10-66 [Sep 19] | Linux Images (ROCK64) 0.5.9-104 [Sep 13] | Android Images (ROCK64) 0.3.4-86 [Sep 13] | PINE64 Installer v2.0.0-beta.3 [Sep 12] | Android Images (ROCK64) 20170809 [Aug 24] | Debian Jessie LXDE (ROCK64) 20170809 [Aug 16]

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy

Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 7,575
» Latest member: LiamG
» Forum threads: 3,344
» Forum posts: 29,494

Full Statistics

Latest Threads
Ship date question
Forum: General Discussion on ROCK64
Last Post: Brainy142
3 hours ago
» Replies: 62
» Views: 2,718
Easiest way to flash eMMC
Forum: General Discussion on ROCK64
Last Post: jl_678
3 hours ago
» Replies: 3
» Views: 41
USB splitter?
Forum: Hardware and Accessories
Last Post: rontant
4 hours ago
» Replies: 1
» Views: 24
With this wifi dongle wor...
Forum: Hardware and Accessories
Last Post: cheungtsw
4 hours ago
» Replies: 0
» Views: 17
Sample GPIO codes highlig...
Forum: Pi2, Euler and Exp GPIO Ports
Last Post: TeaPack
7 hours ago
» Replies: 3
» Views: 775
bringing up X on minimal ...
Forum: Linux
Last Post: gene83
9 hours ago
» Replies: 2
» Views: 54
External DAC
Forum: POT modules
Last Post: gkkpch
9 hours ago
» Replies: 135
» Views: 17,296
Think my board is DoA??
Forum: General Discussion on ROCK64
Last Post: tycoonbob
11 hours ago
» Replies: 2
» Views: 72
What my Rock64 4G is doin...
Forum: General Discussion on ROCK64
Last Post: jl_678
Today, 10:44 AM
» Replies: 2
» Views: 100
Serial Console for the Ro...
Forum: General Discussion on ROCK64
Last Post: ClaudiaF
Today, 05:30 AM
» Replies: 12
» Views: 723

Tongue With this wifi dongle work @ rock64?
Posted by: cheungtsw - 4 hours ago - Forum: Hardware and Accessories - No Replies

I have one lying around.

Print this item

  Easiest way to flash eMMC
Posted by: tycoonbob - 8 hours ago - Forum: General Discussion on ROCK64 - Replies (3)

If I only contribute one thing to the rock64 project, I think this should be a good one.  

Looking around at instructions and documentation to write an image to the eMMC, I have not come across this yet and it's blowing my mind.  

eMMC to microUSB adapter ($1.50):

I have an oDroid XU4 with an eMMC module, and this is the adapter I've been using to write an image to it (via dd on OSX).  Done the same with my ROCK64, and I think this is something everyone should own if they play with SBC's with eMMC, and I think PINE needs to source these and add them to the store.  In my limited testing, worked like a charm with ayufan's Debian Stretch Minimal image (just straight up used dd to write to the eMMC on my hackintosh, and booted straight to it).


Print this item

  USB splitter?
Posted by: LiamG - Today, 11:19 AM - Forum: Hardware and Accessories - Replies (1)

Hi, I'm not an expert when it comes to computers, and I'm completely new to SBC's. What I want to know is if there's any way to split/expand the number of USB ports on the Rock64. I see the wired, USB keyboard for the Rock64 in the Pine store advertises that it has two additional USB ports (although it would add only one net port, obviously), so I figure if the keyboard can contain two additional ports, then it must be possible to add a USB port or two to the Rock64 without having to tether it a full-sized, wired keyboard. I don't want to add that kind of bulk, but if I add the Bluetooth keyboard, the WiFi, the IR remote, etc. I'm worried I'll have too few USB ports.
Any recommendations?

Print this item

  Think my board is DoA??
Posted by: tycoonbob - Today, 09:57 AM - Forum: General Discussion on ROCK64 - Replies (2)

Hi all,

just got my new ROCK 64 4GB in today, along with 2 PoE adapters and a 64GB eMMC module.  Was all excited so to first test I put Debian Stretch on a 16GB microSD card, inserted the card, connected the PoE adapter to my ROCK64 (ethernet, then the 3.5mm barrel jack), and then connected the PoE adapter to an ethernet cable connected to my Dell X1026P PoE switch (802.3af compliant, possibly 802.3at compliant...not sure).  I get a yellow light on the PoE adapter (I assume the yellow light is link connectivity) then it fades out.  About every 60 seconds (assuming I leave it connected), it comes back on then goes off.  I never get any lights on the ROCK64 board itself.  Nothing, nada.  Try the second PoE adapter I have (both ordered from the Pine store), and it does the exact same thing.

So I've got a oDroid XU4 running that has a 5V/4A adapter with a 5.5mm barrel jack.  I have a few 5.5mm to 3.5mm adapters, so I try one of those with this PSU connecting to the ROCK64 (with the microSD card inserted), and nothing.  Unplug, remove the microSD, plug it back to the PSU.  Nothing.  Swap the 5.5mm to 3.5mm adapter with another, and nothing.

I've tried several things, but am not seeing any LED's on the board light up.  Ugh.  I've mashed the power, reset, and recovery buttons hoping to do something, but still nothing.

I'm guessing my board is DoA?  Anything else I can try?  Have there been reports of DoA boards or do I just have crappy luck?  Totally not looking forward to waiting another 2 weeks to play with one of these, assuming I have to have a replacement sent.  Come on, surely there is something else I can try?

Print this item

  USB GPS dongles that work with Android on Pine64+ ?
Posted by: trondkj - Today, 05:09 AM - Forum: Android - No Replies

Have anybody got any usb gps dongles to work with android on Pine64+? I would love to have positioning to work on my Pine64 with touchscreen. If anybody have tried it and got it to work, it would be nice to know Smile
Trond Kjetil

Print this item

  RTL8188EU Wifi Dongle
Posted by: experinominis - Yesterday, 09:14 PM - Forum: Hardware and Accessories - Replies (1)

anyone have success with the dongle listed above?

Am I missing any step(s)?

running ubuntu 16.04 with linux-rock64 v 0.5.13

Print this item

  eMMC problem
Posted by: tanisou - Yesterday, 08:24 PM - Forum: Hardware and Accessories - Replies (2)

Hi,I'm now trouble in eMMC.
That is strange freespace shortage on eMMC. 
I use 32GB eMMC on Rock64 xenial mate.
First,Rock64 was boot from Micro SD(xenial mate).
And used dd command to write xenial mate image to eMMC.
Write image and boot from eMMC is suceccful.
I used this command fdisk /dev/mmcblk0 and delete mmcblk0p7,create new primary pertition,rewrite this.
After that,I use apt-get update,and install any software using apt-get install ~.
but install was unsucces because freespace shortage.
I'm searching reasons, and I noticed contradiction.
that is this picture.
There are difference of partition mmcblk0p7 size in df command and fdisk command.
I thought to expand partition mmcblk0p7 was success.
But I see screen of df command, mmcblk0p7 was not expand?

I tried another eMMC card and not occuerd problem.
So I doubt initial failure.
I want to help if you know about this issue.

Thank you and sorry my bad english.

Print this item

  bringing up X on minimal stretch install
Posted by: gene83 - Yesterday, 02:05 PM - Forum: Linux - Replies (2)

I have installed Xorg*, lightdm, and xfce4

The only log I can find is lightdm's, and the pertinant errors seems to be:
failed to launch plymouth


Can't launch X server X not found in path

Whats next?

Thanks all

Cheers, Gene

Print this item

  What my Rock64 4G is doing (w/ setup guide).
Posted by: rmbusy - Yesterday, 12:26 PM - Forum: General Discussion on ROCK64 - Replies (2)

I purchased the Rock64 4G for a single purpose: To monitor cheap IP based network cameras bought off eBay, running a program called Motion 4.0.1.

I attached a external self powered USB 3.0 8TB hard drive, and currently monitor 5 cameras via the GB Ethernet interface.  The camera configurations are 3x 1080P 2MP cameras, and 2x 720P 1MP cameras. 

For the 1080P cams, a JPEG picture is downloaded 5 times per second.  The 720P cams are streaming 640x360 video at 30 frames per second.  This setup is dictated by the FW presently on the cameras, which I hope to change soon.  All pictures, videos, and log files are written to the HD, to reduce wear on the SD card.

I previously had this setup running on a Raspberry Pi 2B, and found the CPU was always running around 98%.  I also had continuous frame corruption recordings from the 720P cameras.  Once I moved to the Rock64, I see CPU usage varying from 70% to occasionally near 200%.  Average is typically between 70% and 90%.  Also, I have seen no frame corruption since moving to the Rock64.

I found some valuable info on this forum, that helped get everything set up.  However, what I don't ever see, is a complete list of instructions on how to go from a blank SD card, to a running system.  I thought I would post that here, in case the various bits of information might help someone get their project up and running sooner.

Much of the procedure below is carried forward from the RPi, but some steps have been picked or deduced from info found on this forum.  This is what I did.  I know there are different ways to do things, but this worked for me.  I did everything using a Linux laptop (w/ built in SD card reader), running Ubuntu 12.04.  The image I started with was jessie-minimal-rock64-0.5.7-101-arm64.img.

Copy image to SD Card :
> dd if=<image name> of=/dev/mmcblk0 bs=30M

Make following edits before putting card in Rock64 (mount locally, paths need mount point pre-pended) :

Allow root login over SSH (personal preference) :
Change 'PermitRootLogin' to 'yes' in /etc/ssh/sshd_config

Update NTP to use my local network NPT server (skip if you don't have one) :
Edit /etc/ntp.conf, and add (change x.y to your NTP server) :
> server 192.168.x.y iburst

Set fixed IP address (my AP doesn't handle this) :
Edit /etc/network/interfaces/eth0
Change line "iface eth0 inet dhcp" to :
iface eth0 inet static
    address 192.168.x.y  (change x.y to your IP address)
    gateway 192.168.x.z  (change x.y to your gateway address)
Also update routing info, since DHCP would do that :
> rm -f /ect/resolve.conf
> vim /etc/resove.conf
Insert : (change to the nameserver of your choice)

Add any external drives to auto mount (/video is the USB HD) :
Edit /etc/fstab, adding
/dev/sda1 /video ext4 defaults,noatime,nofail 0 0

Add to /etc/profile (before last "if" (personal preferences)) :
alias l='ls -ahl'
alias lc='ls -aCF'
alias cls='tput clear'

Set Default Locale (these are mine, change to match yours) :
vim /etc/default/locale and add :

I have a Serial to USB adapter connected to the Rock64 UART, and use it for console messages and initial setup login, in case ssh doesn't work.

Put SD Card in Rock64, and boot with it.

Login to user account, and change password (rock64/rock64 for my image) :
> passwd (follow prompts for directions)
Login to root :
> sudo su - root (user account password).
Set root password (it's my preference to have a root login, and use it).
> passwd
From here on, everything is done as root.  Prepend 'sudo' if using a user account.
If first boot of Rock64, fix random MAC address changing on Ethernet port :
> dd if=/dev/zero of=/dev/mtd3 (writes zero to SPI Flash)
reboot twice (once to write new MAC, second to boot with it?)

> reboot

Expand file system so /root has all available space :

If exists /usr/local/sbin/, execute it (that should work).
Otherwise, manual method is as follows :
> parted -l  (It should ask to Fix GPT, enter F to fix)
> fdisk /dev/mmcblk1
   d (delete root partition, should be last one)
   n (new root partition), select defaults for size
   w (write new partition table)
> partprobe /dev/mmcblk1 (force kernel to re-read partition table)
> resize2fs /dev/mmcblk1p7 (where 7 is the root partition number)
> df -h (to print out new sizes)

Set correct Time Zone :
> dpkg-reconfigure tzdata

If using USB3.0 HD, disable UAS mode unti drivers get fixed.  To check, do :
lsusb -t
If device is listed as using uas driver ("driver=uas"), edit :
> vim /etc/modprobe.d/rk3328-usb-storage-quirks.conf
Add to end of line :
options usb-storage quirks=0x2537:0x1066:u,0x2537:0x1068:u,0x0bc2:0xa013:u,0x0bc2:0x2101:u,0x2109:0x0715:u,0x<HD VID>:0x<HD PID>:u
Substitute HD VID/ HD PID with actual USB device VID/PID
Then reboot twice.  Once done, lsusb -t should show "driver=usb-storage"
Downside is speed is reduced, but makes it stable.

Get latest packages :
> apt-get update
> apt-get upgrade

Install zip/unzip :
> apt-get install zip

Install NFS server & tools, for sharing HD to Linux network :
> apt-get install nfs-kernel-server nfs-common
After installing NFS, add shares to /etc/exports (change x to subnet number) :
> vim /etc/exports
Add : /video   192.168.x.0/,sync,no_subtree_check)
Next, enable RPC bind :
> systemctl enable rpcbind
Restart NFS Kernel server :
> service nfs-kernel-server restart
> exportfs -ra (to re-read exports file)
On Client, mount using mount.nfs4 or 'mount -t nfs4'

Install build tools :
> apt-get install autoconf automake pkgconf libtool build-essential libzip-dev

Install Motion 4.0 application :
> apt-get install motion (installs 3.3, but use it to get all dependencies and expedite setup)
Install FFMPEG/Libav packages :
> apt-get install libjpeg62-turbo-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev
Now download, build, and install the actual 4.0.1 version :
> cd /usr/local/src
> wget
> unzip
> cd motion-master
> autoreconf -fiv
> ./configure
> make
> make install
When done, remove version 3.3 installed by apt-get :
> apt-get remove motion
Move config files and log file to HD, to reduce SDCard wear.  Update paths so startup finds correct config files :
> cp /usr/local/etc/motion /video/motion
> mv /etc/motion /etc/motion.bak
> ln -s /video/motion /etc/motion
> mv /usr/local/etc/motion /usr/local/etc/motion.bak
> ln -s /video/motion /usr/local/etc/motion
Make sure all config files are owned by user motion :
> chown -R motion /video
> chgrp -R motion /video
> chown -R motion /run/motion
> chgrp -R motion /run/motion
Update startup script with new paths :
> vim /etc/init.d/motion
Add ':/usr/local/bin' to the end of the PATH_BIN variable
Change variable 'DAEMON= to point to new motion binary (/usr/local/bin)
Change 'status_of_proc' path (in 'status' case) to /usr/local/bin
Change 'start' case, to add " -c /video/motion/motion.conf" after "--exec $DAEMON"
Update Unit file :
> systemctl daemon-reload
Install latest ffmpeg from source :
> cd /usr/local/src
> wget
> tar -xjf ffmpeg-3.3.4.tar.bz2
> cd ffmpeg-3.3.4
> ./configure
> make -j4
> make install
If starting motion automatically at boot, enable daemon mode :
> vim /etc/default/motion
Change "start_motion_daemon=no" to yes
Start motion manually first time (should auto-start at boot going forward) :
> service motion start
Check log file /video/motion.log to see if everything worked.

I documented these steps for my own use, in case I ever need to rebuild the system from scratch.  I figured someone else might find it helpful, hence posting it here.  I have no interest in debating different ways of doing things, but if you have helpful suggestions, please share them.

I would also suggest moving any actively written directories to the HD, to help reduce SD card wear.  One might even go so far as to make the HD the root file system, and boot to it (did this on one of my RPis, and will do it here soon).

So what's your Rock64 doing?

Print this item

  VLC streaming
Posted by: savinoda - Yesterday, 04:30 AM - Forum: Debian - No Replies

Hello everyone, I have got the first version of Pine 64 with 1GB of ram.
When streaming a 720p video with VLC on debian, audio is ok but video is stuttering.
Furthermore, when playing FullHD video from the SD card, the playback is not smooth.
Is there any option or configuration to enhance video playback or should I move to another OS?
Is Win10 IoT available for my board?

Print this item