Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 29,469
» Latest member: Jorgebes
» Forum threads: 16,194
» Forum posts: 116,867
Full Statistics
|
|
|
Hello fellow Rock64 owners |
Posted by: stuartiannaylor - 09-26-2017, 07:38 AM - Forum: General Discussion on ROCK64
- No Replies
|
 |
Yeah finally got it delivered with my 32GB eMMC and PSU.
Like the PSU supplied seems quite a thick and substantial power lead.
32GB eMMC seemed to come with partitions and already set up.
Not sure what image was on it but it wasn't a Rock64 image.
So got my oDroid eMMC->SD adaptor and bunged it in the computer for etcher to burn the Xenial mate image just for tests as quick and easy test.
And here I am as a proud new owner of a rock64.
So off to buy some new bits for my exploration of Rockland.
First impressions seem much faster than the Pi3, pretty glad already had a heatsink like the one that will end up in the store, its nice and warm and doing its job.
Approx 11 sec boot to login.
iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 4 5261 5489 13302 13975 9449 5277
102400 16 26630 27054 35089 35120 30773 24031
102400 512 47838 45548 104071 105046 97557 51077
102400 1024 47108 46318 109173 109570 105468 48851
102400 16384 48008 48096 118293 119250 119252 47839
iozone test complete.
|
|
|
Guide - Setting up a NFS Share |
Posted by: Ptheven - 09-26-2017, 04:44 AM - Forum: Rock64 Tutorials
- No Replies
|
 |
Preface
This quick and simple guide will show how to create a NFS Share using your Rock64. NFS has a few advantages over SMB, if you know your network well and will use it with linux clients. Apart from marginally faster file transfers, NFS allows you to retain Unix File permissions.
Prerequisites
ROCK64 board running Debian or Ubuntu, connected to the local network
Access to terminal, either locally or via SSH
Some basic understanding of using the linux terminal: Howtogeek
Suggested: A basic comprehension of linux file permissions
____________________
As always before installing any software in linux, it is always good practise to ensure that your software is up to date:
Code: sudo apt update && sudo apt upgrade
After ensuring your software is up to date, you will need to install the NFS kernel server. Some distros have this installed by default, but there is no harm in running the command regardless, if it isnt installed, it will give you the option to install it:
Code: sudo apt install nfs-kernel-server
![[Image: wl0jtOz.png]](https://i.imgur.com/wl0jtOz.png)
After the server is installed, now its time to edit the configuration file, to add a share definition.
You'll need to edit the exports file:
Code: sudoedit /etc/exports
You can add a new share definition in the following format:
Share-location Network-Access Share-options
Here are mine. The location looks different to past tutorials because I accidentally formatted my flash drive:
Code: /media/SDCZ45-016G/RockNFS 192.168.1.*(rw,sync,insecure,no_root_squash,no_subtree_check)
The next field (192.168.1.*) simply defines what part of your local area network is allowed to access the share. I've configured it so that any computer with the IP address from 192.168.1.1 to 192.168.1.254 can access it. You can allow any (local) IP address to access the share using "*.*" or you can limit it to a specific IP address of a computer.
The last options specify how the server should treat the share. If you'd like to read up more on their effects: https://linux.die.net/man/5/exports
This is how it would look like before you save and exit the file:
![[Image: NwOrMV8.png?1]](https://i.imgur.com/NwOrMV8.png?1)
After you're done, restart the service:
Code: sudo /etc/init.d/nfs-kernel-server restart
or
Code: sudo service nfs-kernel-server restart
Will do the job.
The server will now be up and running!
____________________
On the client's side, you'll need to make sure that you've got the NFS client stuff:
Code: sudo apt install nfs-common
After that, you can probe the server from the client PC to test/see if it hosts accessible NFS Shares. To do that, we use the showmount command, followed by an argument and the address of the server:
Code: showmount -e rock64.local
Either IP address or hostname should work:
![[Image: 8PkwEZO.png]](https://i.imgur.com/8PkwEZO.png)
The "e" arguments tells the showmount command to show the export list from the server.
Next, you'll need to mount the share. I did this in my Home directory, making a new test folder for it. The mount command could be invoked now, and you can mount the NFS share to the new directory that you've made. The "-vv" means its verbose; it prints out status and progress.
Code: sudo mount -t nfs rock64.local:/media/SDCZ45-016G/RockNFS nfstest/ -vv
The command you use will be different based on your host and client. When typing it out, after putting down the hostname (rock64.local:/), I was able to use tab completion to complete the rest of the location without manually typing it out. Simply hit the "tab" key, and it should autocomplete the rest of the path.
![[Image: ZAb7oj1.png]](https://i.imgur.com/ZAb7oj1.png)
You can make a test file in the folder, either using the terminal, or a graphical file manager. I made a test file on my client using the "touch" command.
Then to confirm that the changes are seen on the client side, I SSH'ed back into my server, navigated to the share location, and listed confirmed that the new file had been created:
![[Image: ZAVQvSa.png]](https://i.imgur.com/ZAVQvSa.png)
You should now know how to whip up a NFS share on the Rock64 board, and mount/access it from a client OS. If you wish to permanently mount the NFS Share to your client, I would recommend doing it via fstab:
https://askubuntu.com/questions/7117/which-to-use-nfs-or-samba
|
|
|
Easiest way to flash eMMC |
Posted by: tycoonbob - 09-25-2017, 02:56 PM - Forum: General Discussion on ROCK64
- Replies (14)
|
 |
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):
http://www.hardkernel.com/main/products/...5415955758
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).
Enjoy.
|
|
|
USB splitter? |
Posted by: LiamG - 09-25-2017, 11:19 AM - Forum: Rock64 Hardware and Accessories
- Replies (5)
|
 |
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?
|
|
|
Think my board is DoA?? |
Posted by: tycoonbob - 09-25-2017, 09:57 AM - Forum: General Discussion on ROCK64
- Replies (3)
|
 |
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?
|
|
|
eMMC problem |
Posted by: tanisou - 09-24-2017, 08:24 PM - Forum: Rock64 Hardware and Accessories
- Replies (4)
|
 |
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?
https://drive.google.com/open?id=0B58MjM...lZ0U1FJc28
https://drive.google.com/open?id=0B58MjM...G5VcHhZUms
https://drive.google.com/open?id=0B58MjM...VdUdkdsMHM
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.
|
|
|
bringing up X on minimal stretch install |
Posted by: gene83 - 09-24-2017, 02:05 PM - Forum: Linux on Rock64
- Replies (11)
|
 |
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
and
Can't launch X server X not found in path
Whats next?
Thanks all
Cheers, Gene
|
|
|
|