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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 30,106
» Latest member: mecivietnam
» Forum threads: 16,362
» Forum posts: 117,532

Full Statistics

Latest Threads
Pinephone software
Forum: General Discussion on PinePhone
Last Post: zetabeta
31 minutes ago
» Replies: 1
» Views: 110
Rock64 v2.0 u-boot SPI is...
Forum: General Discussion on ROCK64
Last Post: ju0n
Yesterday, 11:02 AM
» Replies: 0
» Views: 66
Libby - ebook reader that...
Forum: PineNote Software
Last Post: kiwigoldfish
07-04-2026, 04:41 PM
» Replies: 6
» Views: 4,023
PineNote v1.2 - Charges N...
Forum: General Discussion on Pinebook Pro
Last Post: ttsp
07-02-2026, 02:52 AM
» Replies: 0
» Views: 210
How to change the PineNot...
Forum: General Discussion on PineNote
Last Post: cameronharring
07-01-2026, 12:22 PM
» Replies: 0
» Views: 112
PinePhone Pro disable Vol...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
07-01-2026, 10:53 AM
» Replies: 1
» Views: 1,582
Star64/Starpro64 kernel b...
Forum: General
Last Post: tgbgreen
06-30-2026, 12:17 PM
» Replies: 1
» Views: 2,195
Manjaro affected by Arch ...
Forum: General
Last Post: tantamount
06-28-2026, 10:45 AM
» Replies: 0
» Views: 265
Fix Bricked SPI Flash, Pi...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
06-27-2026, 05:00 PM
» Replies: 0
» Views: 190
irradium (based on crux l...
Forum: Linux on RockPro64
Last Post: mara
06-27-2026, 04:09 PM
» Replies: 12
» Views: 19,666

 
  Linux Server OS
Posted by: Eldin - 01-22-2019, 09:45 AM - Forum: Linux on RockPro64 - Replies (3)

Hello Everyone, I am looking to have a linux server edition. Anyone did get any edition working?
Please help!


  dead Pine A64?
Posted by: Truglio - 01-22-2019, 07:12 AM - Forum: General Discussion on PINE A64(+) - Replies (2)

My Pine A64 doesn´t boot up Huh 
Only the red LED near the power Jack blinking but nothing else Idea
I use a 5V 2amp powersupply, can anybody help me? Big Grin


  what does 110 sopines look like?
Posted by: maya.b - 01-21-2019, 08:45 AM - Forum: General Discussion on PINE A64-LTS / SOPINE - Replies (6)

   

M.


  Camera support for linux image in rockpro64
Posted by: rahulsharma - 01-21-2019, 03:13 AM - Forum: General Discussion on ROCKPRO64 - Replies (1)

Hi,
Can anyone tell me if there will be support for camera on linux platform? 
I am using Ubuntu18 image on my rockpro64.
Thanks.


  ROCK64 Kernel compilation problem
Posted by: cao - 01-21-2019, 01:21 AM - Forum: Linux on Rock64 - No Replies

I had a problem compiling the rock64 kernel(https://github.com/rock64-linux?tab=repositories),
Buiding kernel and u-boot image: build/mk-kernel.sh rk3328-rock64(build/mk-uboot.sh rk3328-rock64) 
The current uboot partial compilation is OK。


 Building kernel for rk3328-rock64 board! 
 Using rockchip_linux_defconfig 
#
# configuration written to .config
#
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
make[1]: 'include/generated/vdso-offsets.h' is up to date.
  CHK     include/generated/compile.h
  CC      arch/arm64/kernel/topology.o
  CC      block/elevator.o
  CC      crypto/ablk_helper.o
arch/arm64/kernel/topology.c: In function ‘parse_cluster’:
arch/arm64/kernel/topology.c:133:40: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=]
error, forbidden warning: topology.c:133
scripts/Makefile.build:258: recipe for target 'arch/arm64/kernel/topology.o' failed
make[1]: *** [arch/arm64/kernel/topology.o] Error 1
Makefile:983: recipe for target 'arch/arm64/kernel' failed
make: *** [arch/arm64/kernel] Error 2
make: *** Waiting for unfinished jobs....
  GZIP    kernel/config_data.gz
  CC      kernel/relay.o
crypto/ablk_helper.c: In function ‘ablk_init’:
crypto/ablk_helper.c:144:49: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size 55 [-Wformat-truncation=]
error, forbidden warning: ablk_helper.c:144
scripts/Makefile.build:258: recipe for target 'crypto/ablk_helper.o' failed
make[1]: *** [crypto/ablk_helper.o] Error 1
Makefile:983: recipe for target 'crypto' failed
make: *** [crypto] Error 2
  CC      drivers/cpufreq/rockchip-cpufreq.o
block/elevator.c: In function ‘elv_register’:
block/elevator.c:839:14: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
error, forbidden warning: elevator.c:839
scripts/Makefile.build:258: recipe for target 'block/elevator.o' failed
make[1]: *** [block/elevator.o] Error 1
Makefile:983: recipe for target 'block' failed
make: *** [block] Error 2
kernel/relay.c: In function ‘relay_create_buf_file’:
kernel/relay.c:420:35: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
error, forbidden warning: relay.c:420
scripts/Makefile.build:258: recipe for target 'kernel/relay.o' failed
make[1]: *** [kernel/relay.o] Error 1
Makefile:983: recipe for target 'kernel' failed
make: *** [kernel] Error 2
^CTraceback (most recent call last):
  File "./scripts/gcc-wrapper.py", line 102, in <module>
    scripts/Makefile.build:403: recipe for target 'drivers/firmware' failed
scripts/Makefile.modbuiltin:54: recipe for target 'drivers/gpu/arm/mali400/ump' failed


Information Clusterboard Guide
Posted by: AZClusterboard - 01-20-2019, 09:48 PM - Forum: Clusterboard - Replies (9)

I'm a CS student at the University of Arizona.  I have a $500 budget for educational supplies to kill this semester and decided I wanted to take a dive into cluster computing.  After careful research and deliberation, I decided that the clusterboard would be the best balance of power, price and desk space.  This research was hindered by the fact that I could not find a good step by step guide to setting up a clusterboard.  So I've decided to make my own.  I have a reasonable amount of experience with hardware, software, and networking so (with plenty of chat support) I was able to figure this out.  I'm still in the process of updating this post but the machine is up and running!

--------------
TL;DR

https://www.youtube.com/watch?v=vfFoCpkS_Ho

--------------
Hardware

FROM PINE64 STORE:

Cluterboard
https://www.pine64.org/?product=clusterb...dule-slots

Compute Modules - (7)
https://www.pine64.org/?product=sopine-a64

---Optional extras---

64GB eMMC (for NAS/high speed disk space)
https://www.pine64.org/?product=64gb-emmc

USB eMMC interface (for debugging)
https://www.pine64.org/?product=usb-adap...mmc-module

SOPINE baseboard (backup interface for testing compute modules)
https://www.pine64.org/?product=sopine-h...rd-model-a

USB TTY (allows terminal access through GPIO for debugging)
https://www.pine64.org/?product=padi-serial-console

---FROM AMAZON---

16gb SD Card 10 pack - (3 left over)
https://www.amazon.com/gp/product/B00WUCNGVQ/

80mm fans - (2 x exhaust)
https://www.amazon.com/gp/product/B002QVFN7G/

Fan power adapter - (1 end for 200mm that comes with the case, 2 for the back)
https://www.amazon.com/gp/product/B075NPZ94N/

Case - (This case is oversized but extra space is used for air flow)
https://www.amazon.com/gp/product/B00M2UKGSM/

Heatsinks 8 pack - (3 packs,Each compute module should get a heatsink on CPU, memory and power management unit.  21 total)
https://www.amazon.com/gp/product/B00637X42A/
**WARNING THESE MIGHT NOT COME WITH ADHESIVE**
These pads can replace the missing adhesive
https://www.amazon.com/dp/B074K55CWF/

Power Supply - (12V 12.5A 150W Provides more power than the one from the Pine store for running fans.)
https://www.amazon.com/dp/B01N3ASWZ0/

160w Power Header For board and fans - (splits power to board and fans)
https://www.amazon.com/dp/B07H1M8B1S/

-Extras
- continuous switch from my local electrical supply store
- clear acrylic to block the extra vents and create a wind tunnel.

--------------
Power

There are lots of ways to power the board.  The Pine Store sells a power supply but you'll have to modify your board to power fans.  You can use the ATX port on the board, but you'll need to soldier some pretty large resistors.  If you don't make the special ATX mods, you'll need to use a continuous switch to keep it on.
--------------
Gateway/Management Computer

The internal networking switch on the clusterboard does not provide DHCP.  As an alternative to running on my router, I've decided to build a gateway out of a first edition Pine64 from the kickstarter.  It acts as DHCP, a router allowing the cluster to access the internet via wifi, terminal access to the cluster, and a time/file/dhcp/dns/etc server.  While this is certainly something I recommend doing, how you implement it will depend on what kind of device you use.  In this guide I'll refer to things you need to do but only when dealing with the clusterboard itself will I be providing specific steps.

Ideally, the sopine LTS kit would make the best gateway.  However, the network port on it is only 10/100.  Gigabit is what you need.  Most newer boards have this just make sure to research the specs before you buy.  If you want to go all out, the rockboard pro has a NAS setup that would work nicely.  With any luck, the same linux distro on any Cortex A53 should be able to compile programs and act as part of the cluster but no promises until I can do some more testing.
--------------
Airflow/Cooling

I've added a lot of extra case space and hardware for cooling.  I've been told this is overkill but if you want experience building clusters, you should probably know that cooling takes up a good part of the budget.
--------------
Bench Testing

Before we fully assemble the machine, we're going to do all of the initial setup.  Once we know everything runs, we can put it together and put it to work.
--------------
Prepare the SD cards

https://www.armbian.com/sopine-a64/

The best image (as of this post) is Armbian because of the continuous support.  However, I had to use the 3.10 xenial image (found under "other options") instead of Stretch (Debian) or Bionic (Ubuntu).

https://etcher.io/

The armbian site recommends this software for writing the images to the SD cards.  Feel free to use whatever software you like.  I don't think it matters.
--------------
For each compute module

(Notice the ATX style power switch connection just below the ATX power connector.  Helps when you want to turn it on --Wink
[Image: 1532y4x.jpg]

You need to plug each module in one at a time (DO NOT HOT SWAP) and do the following steps:

-Assign it a static IP address from your DHCP server
--find it when it pulls an IP address
--use the MAC address to make the assignment from the DHCP server configuration
--be sure to give it an address outside of the automatic range (ie give them *.10-16 if your DHCP server hands out *.50-100)
--make a list of the static assignments to help later

-Login (ssh client from your gateway or management computer) with root access(if using ARMbian [username: root][pw: 1234])
--complete any first time setup
--this may include generating a user account(you'll probably want to make it's the same username on all of them)
--use "hostnamectl set-hostname [myhostname]" to give each a unique hostname (ie cluster[0-6])
--be sure to shutdown before turning the power off and test the module in the slot you plan to use it.

once each module has been tested, we can move on to testing it as a whole.
--------------
csftp and cssh

These next steps will require special software on the computer you're using to access the cluster.  Linux offers an easy way to connect to all clients at once.  See your distribution's pacman or apt-get information for details on how to install it if it isn't already there.

Alternate Windows software:
https://github.com/dprokscha/cputty

I don't know of an FTP option for windows at this point.  However, if you setup RSA keys, Filezilla will at least make it easy on you.
--------------
RSA keys

The next task involves generating RSA keys so the gateway and compute modules can talk to each other without login authorization.  Linux users can use "ssh-keygen -t rsa".  With default options, that should create two files in "~/.ssh/" named "id_rsa" and "id_rsa.pub".  If you're already using RSA keys, you can direct these files to be generated elsewhere.  Rename "id_rsa.pub" to "authorized_keys".  Then you can SFTP those files in to the "~/" (known as home) folder of the account you would like to use on all the compute modules.  Personally, "sudo" has never saved me from doing anything stupid so I like to live dangerously and use root.

Windows users can generate the keys while logged in to the first node in the cluster or generate "id_rsa"(private) and "authorized_keys"(public) using an online tool like this:
https://qsandbox.com/tools/private-public-keygen

You'll need to configure your ssh/sftp client software to use the keys.
--------------
cssh/csftp clusters file

Users of cssh can create a file "/etc/clusters" that contains a text label that will allow you to tap in to all the compute modules at once just by typing "cssh [label]".
https://linux.die.net/man/1/cssh
[Image: 2nqzn9v.jpg]

I'm sure other clients have a way of doing this.  For now, just make sure you can with whatever software you're using.  Now that we know everything works, time to box it up.
--------------
Disassembling the case

[Image: 2dvu3j7.jpg]

All the sides and the top are only connected by obvious screws.  I also took out and set aside the HDD mounting brackets.  The front can be pulled off gently.  I had to take off the big fan and take apart the mounting plate for the ATX switch to put in the continuous switch.
--------------
Adhesive Thermal Pad/Heatsinks

[Image: zmdsat.jpg]

Because The hearsinks didn't dome with any adhesive the way they're supposed to, I got up close and personal with the exacto knife.  The goal is to have a heatsink on all 3 of the major parts (CPU, memory and power)

[Image: 15pjymb.jpg]

Steer clear from the white border or you'll have trouble installing the compute modules.

[Image: 2r6mn2r.jpg]

This is also the point of no return for GPIO headers.  Once the heatsinks are on, they're hard to get at.  Make sure everything is running so you don't need to get at them with the serial interface.

[Image: 1z5k6yc.jpg]
[Image: 2ugcil4.jpg]

Once they're all set up, sandwich the chips between some bubble wrap and put a softcover book on top for a couple hours / overnight to let the adhesive set.
--------------
Motherboard mounting (or how I learned to stop worrying and love zip ties)

[Image: 2jg3vwk.jpg]

I can't say enough bad things about the mounting holes on this board.  The placement complies with Micro ITX but their size is just a tad smaller than the holes on the case.  Not to mention that one is right up against the ATX molex.  The case came with rubber feet and zip ties so I improvised.  Afterwards, I installed the case fans and routed power.
--------------
Acrylic

I put some clear plastic over most of the vents to create a wind tunnel.  I took a picture but it wasn't very clear.
--------------
Setting up servers

From here, what software you set up will depend greatly on what task you plan to do with it.  The good news is that from here on out, every other guide for setup should be valid.  You have 7 quad core Arm64 processors running a basic setup of Linux that will allow you to do anything any other cluster would do.  (assuming they don't require a different processor architecture)  As a CS student who will be doing parallel programming in the near future, I wanted to setup Open MPI.  I wound up setting up my gateway as a time server and a file server.  I was able to use apt-get to update software on the compute modules and install packages needed to access server functionality.  As long as you can figure out how to apt-get or compile the software you want to run, you should be good to go.
--------------
Open MPI

I used the steps in this guide to get the basics of Open MPI going:
http://mpitutorial.com/tutorials/running...hin-a-lan/

But I made my own version of the "hello world" program:
https://github.com/PhillBenoit/OpenMPI-h...i_sample.c

This is what it looks like when it runs:


--------------
Final thoughts

The board itself has some hardware quirks but the processing power is real.  Setting up a server/gateway solves lots of problems and can offload what would normally be cluster0 tasks.  This build is more challenging on the software side than it is the hardware side.  I wouldn't recommend it for novice linux users / network admins.  That being said, it's not overly difficult if you can manage to work your way around Linux.  If you want to build a small ARM cluster capable of running serious tasks, this is definitely the way to go.  The board itself consolidates what would be a massive amount of space as well as preventing wiring headaches.
--------------
Thank you for reading my post.  If you have any input or suggestions (including information that needs to be updated.), please leave a comment to let me know.


  Is it possible to install a clean and official version of Ubuntu?
Posted by: eduapof - 01-20-2019, 05:35 PM - Forum: Linux on RockPro64 - Replies (4)

Hello guys,

I would like to install a clean and official version of Ubuntu.
Is it possible to install the ARM version published by Ununtu?

Link: https://www.ubuntu.com/download/server/arm


  RK3328 Media Script
Posted by: zet_lab - 01-19-2019, 04:14 AM - Forum: Linux on Rock64 - Replies (3)

The forum Armbian JMCC published script includes the video acceleration on rk3328.

https://forum.armbian.com/topic/9310-rk3...-renegade/

If anyone tested write a review.


  Android 9 for Rock64?
Posted by: Blinky - 01-19-2019, 01:22 AM - Forum: Android on Rock64 - Replies (41)

When is Android 9 released?
Other companies already released Android 9 for RK3328 and Rockchip already discontinued Oreo on RK3328 a couple of months ago.


  Pinebook 14" main board needed
Posted by: Corkonian - 01-18-2019, 01:33 PM - Forum: Pinebook Hardware and Accessories - No Replies

So the glued 14" screen lead to some frustration and that lead to a cracked monitor cable connector on the 14" Pinebook and that lead to some lifted/cracked contact pads ...
Long story short: I need a new Pinebook 14" mainboad. When will they be available again?