Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 29,495
» Latest member: Haroldstus
» Forum threads: 16,200
» Forum posts: 116,894
Full Statistics
|
Latest Threads |
What's stopping you from ...
Forum: General Discussion of PinePhone Pro
Last Post: teekay
1 hour ago
» Replies: 2
» Views: 62
|
PINETAB-V doesn't boot.
Forum: Getting Started
Last Post: Woazboat
10 hours ago
» Replies: 1
» Views: 179
|
PinePhone Pro: Camera App...
Forum: General Discussion of PinePhone Pro
Last Post: teekay
08-22-2025, 11:23 PM
» Replies: 3
» Views: 2,244
|
PinePhone Pro discontinue...
Forum: General Discussion of PinePhone Pro
Last Post: teekay
08-22-2025, 11:19 PM
» Replies: 9
» Views: 852
|
Booting Issues
Forum: PineNote Software
Last Post: serenopolveroso
08-22-2025, 11:36 AM
» Replies: 18
» Views: 4,893
|
Pinephone (Pro) Keyboard ...
Forum: PinePhone Accessories
Last Post: anernest
08-22-2025, 09:21 AM
» Replies: 1
» Views: 1,582
|
Multiple NEMA 17 stepper ...
Forum: General
Last Post: Harry
08-22-2025, 12:24 AM
» Replies: 0
» Views: 93
|
Giving away a Pinebook Pr...
Forum: Pinebook Hardware and Accessories
Last Post: tuxifan
08-21-2025, 03:11 AM
» Replies: 2
» Views: 194
|
Bare metal on Pinephone P...
Forum: PinePhone Pro Software
Last Post: alain
08-19-2025, 07:58 AM
» Replies: 0
» Views: 234
|
Seeking Contributors: Apa...
Forum: PinePhone Pro Software
Last Post: geometrylitegame12
08-19-2025, 01:38 AM
» Replies: 4
» Views: 4,113
|
|
|
(SO)Pine64 Clusterboard |
Posted by: xalius - 12-15-2017, 03:54 PM - Forum: Clusterboard
- Replies (25)
|
 |
At long last :-)
Thanks to Tl Lim, my clusterboard prototype for SOPine64 modules arrived a couple of days ago and I started to set it up in an old ITX rack mount case. I will try and post some more thoughts and results during the initial bring up and testing.
The board itself is of mini-ITX formfactor and provides slots for 7 SOPine64 modules networked by the onboard GbE switch. Some interfaces of each module are exposed on the board like two USB ports and a header with UART, SPI, I2C and things like RESET, PWR_ON...
Edit 1: 2017/12/16
My current plan to power the board (5V input only, so maybe 15-20A max) is to use the normal FlexATX PSU I used in the case. The Seasonic SS250-SU is a 250W ATX12V 2.3 unit that provides 17A@5V, 22A@12V and 14A@3,3V. Since the topology of those ATX PSU's doesnt allow for low/no load operation each rail has to be loaded with a minimum load specified in the datasheet. For the SS250-SU this is 3.3V - zero load, 5V - 0.5A, 12V-2A. To not waste the 24W on the 12V I will probably use the DC/DC converter in the pictures and go from 12V to 5V for efficiency reasons...
Next step will probably be to completetly rewire the ATX power cable, fans and front panel connectors with some veroboard to get some controls in and add some features like thermal management, power sequencing and safety... the front panel probably also needs some kind of status display...
Edit 2: 2017/12/17
On the software side I will start using mainline firmware/spl/u-boot right away since the nodes will boot from the SOPine' s on-board SPI flash and pull their working images from the network... have to do some research on the state of those components upstream, but from what I heard everything should be already in place. Getting the SPI images on to the Flash can either be done through FEL mode / USB (WIP) or by booting from a sdcard...
Edit 3: Clusterboard 2.1 schematic
Tl Lim provided me with the latest clusterboard hardware schematics for reference:
PINE64 CLUSTER BOARD_2_1.pdf (Size: 572.46 KB / Downloads: 2733)
Edit 4: 2017/12/17
I built an Armbian mainline image for a first quick test that boots from sdcard, which seems to work fine, but GbE does not seem to work stable yet, after some changes to the dts I at least got a link... I then tried with ayufan's last xenial-minimal image (legacy kernel) and that worked fine out of the box...
first boot...
two nodes...
I ran some quick iperf3 tests between the nodes and to an external box and got between 800-900Mbit/s , so network hardware seems to be OK... next step is to fix the mainline image as I don't really want to work with legacy kernel here...
I ordered some small 14x14x5mm copper heatsinks and two 80x80mm fans now to get some cooling for the cluster.
|
|
|
A guide for how I made RetroPie, RetroArch, and EmulationStation Work on the Rock64 |
Posted by: Mrfixit2001 - 12-15-2017, 03:21 PM - Forum: Rock64 Tutorials
- Replies (4)
|
 |
So first off, while I'm a "professional computer guy", my expertise is Microsoft stuff, so before getting my raspberry pi 3 I had very little linux experience. The RPI3 has a lot of downloadable images that basically "just work" out of the box, but ROCK64 doesn't have that benefit yet. And with the more powerful hardware on this platform, I have been excited to figure this out... but to get it up and running I've had to learn quickly and do a lot of research.
After banging my head against things, neglecting the family, angering the demon that is my wife, and having to start over again multiple times... I finally got RetroPie, RetroArch, and EmulationStation working. I figured I'd contrubute to the community with what steps I took, but I offer no support or guarantees. All I know is that now I'm "rock64ing" RP, RA, and ES 
I wanted to use the newest linux builds available from ayufan but ran into problems booting (no video), so I ended up going back a few versions. I'm eventually planning to try to find a way to upgrade to the newest build without having to redo everything (if you know how, feel free to let me know, I'm still learning all this).
I started with jessie using the 0.5.10 build from ayufan (jessie-minimal-rock64-0.5.10-118-arm64.img.xz). I was using a computer monitor and an HDMI-DVI converter to configure everything on jessie, but once it got it all working I tried it on my TV and got no display : So I started over using stretch (stretch-minimal-rock64-0.5.10-118-arm64.img.xz). I'll post the details of both in case it helps anyone. And there's always a chance some of the steps I took were not necessary, but it worked out for me.
First off, as a relatively linux noob, here's my notes on some helpful linux commands that I had to learn and use in my trials:
----------------------
To show version of installed package: apt-show-versions <package>
After a fresh OS install, run these to get everything updated:
apt-get update
apt-get upgrade
apt-get dist-upgrade
To install newer/unstable versions of packages (such as gcc):
echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list.d/unstable.list
apt-get update
apt-get install -t unstable gcc-5
To downgrade/install a specific version of packages: sudo apt-get install <package-name>=<package-version-number>
To open compressed log files: zcat logfile.gz
To show all versions available for a package: apt-cache madison <package>
To show what packages depend on a specific package: apt-cache rdepends packagename
To list all installed packages: apt list --installed
To manually mount a USB drive:
mkdir /media/usb1 (if it doesn't already exist)
mount /dev/sda1 /media/usb1
To Unmount a USB Drive: umount /media/usb1
To get CPU detail: lscpu
To get status of services: service --status-all
To restart a service: service <service name> restart
To force-overwrite packages after apt-get error: sudo dpkg -i --force-overwrite /var/cache/apt/archives/<package file name>.deb
To download a package files only without installing: aptitude download <package_name> (note: had to install aptitude)
Force network adapter to get DHCP address: dhclient eth0 -v
To NEVER ALLOW DROP TO COMMAND and auto-start emulation station, add this to the bottom of ~/.profile:
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec emulationstation
(preferred method is to use retropie setup to tell ES to autorun in config)
To set the timezone: dpkg-reconfigure tzdata
To enable autologin: edit the file /lib/systemd/system/getty@.service and change the line
ExecStart=-/sbin/agetty --noclear %I $TERM
to
ExecStart=-/sbin/agetty --noclear -a rock64 %I $TERM
Ways to build a debian package from source:
checkinstall (had to add this package manually, but makes ANY INSTALLATION into a debian package and replaces the make command!)
The next two are picky and require a true debian source package, needs to run from within the debian folder with a special file in it:
dpkg-buildpackage -us -uc -b (this one seems to work the best)
dpkg-deb --build <package name>
To add a root share after installing samba, add the below to the config /etc/samba/smb.conf (NOTE: retropie setup lets you do it without the console):
[root]
comment = root
path = "/"
writeable = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = rock64
-------------
Now to the guts of the RP, RA, and ES installs:
For both jessie and stretch you'll need the most recent retropie source from github. Then use this pull request to make the necessary changes to the code to support a rock64 install:
https://github.com/RetroPie/RetroPie-Set...2205/files
ON JESSIE:
-----------------
First run the retropie-setup script after you've applied the pull request to source. This alone should allow you to run the retropie setup.
The release of jessie that I used has an older version of GCC and causes build errors when installing retroarch and emulationstation (unknown value 'native' for -march).
To build retroarch you'll need to upgrade GCC, so I added the unstable apt source (per my instructions above) and chose to install version 7.2.
To build emulationstation you'll need to upgrade G++, so I added the unstable apt source (per my instructions above) and chose to install version 7.2.
I attempt to install retroarch and emulationstation and after reviewing the logs find that they fail due to an attempt at overwriting existing libraries (because some are already included in the libmali-rk* packages). After the first failed installations I drop to console and apt-get remove the following:
libsdl2-dev
libmali-rk-utgard-2th-r7p0
libmali-rk-dev
(don't reboot)
I then return to retropie-setup and attempt retroarch and emulationstation installations again. If I run into any failures again, I note the log file it refers to and I drop back to console and review the log and manually force the failing package to overwrite the existing one using the below command and try the install again:
sudo dpkg -i --force-overwrite <full path to DEB file>
Eventually both RA and ES install successfully. But... ES doesn't start due to a segmentation fault. So, REINSTALL both libmali-rk* packages with force-overwrite. For example:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libmali-rk-utgard-2th-r7p0_1.5-4ayufan12_arm64.deb
----------------------
ON STRETCH:
-----------------------
(for all below steps, whenever something doesn't install due to an overwrite, I use dpkg to force overwrite it, just like previously explained)
Ran all updates, upgrades, and dist-upgrades after the fresh image booted.
The first few times I tried this I ended up with the "unable to initialize SDL" errors and my attempts to fix it made things worse. This time I decided to be proactive and build a few packages first to try and get dependencies in place. I have no idea if this was absolutely necessary. But again, it worked.
apt-get install xorg-dev
apt-get build-dep xscreensaver vlc totem
I ignored any package warnings it throws at this point since I was just looking for some dependencies to get installed.
Now run the retropie-setup script after you apply the pull request from github.
Try and install Retroarch and Emulationstation. Any failures, review the listed log file and force overwrite the failing library manually using dpkg like I previously explained.
Eventually both will install, but emulationstation still returns unable to init SDL.
Did some testing and found that the libsdl2-dev package was actually on hold. I figured I'd remove and reinstall the libmali-rk-utgard package...
but it wouldn't let me due to a dependency issue. I installed aptitude to see what it recommended as a solution.
So first I let it install libmali-rk-midgard-4th-r13p0. Then I was able to successfully remove libmali-rk-utgard.
Then I reinstalled the libmali-rk-utgard package using dpkg with overwrite.
Then I uninstalled and reinstalled libmali-dev.
------------
At this point, whether you're on jessie or stretch, you should be able to start ES and start installing your various emulators. Some will install just fine, and others will fail and you'll have to review logs and tend to the overwrites manually using the same methods we used during the install. I didn't test all the emulators but was able to get a good handful running without issues. Again, I can't make any promises or do much support on this, but I hope it helps some of you get up and rolling. If anyone has additions or runs into other required fixes, please post for the community benefit.
Good luck everyone, and happy rock64ing!
|
|
|
Rock64 very disappointed |
Posted by: ctenot - 12-15-2017, 01:50 PM - Forum: General Discussion on ROCK64
- No Replies
|
 |
Dear all
so happy to get yesterday my new Rock64 / 4G.
Some issue, may some of you use to have the same issue ( Xenial and Debian distrib)
- VPN PPTP doesn t work
=> copy/paste from my ubuntu rp3 which work
- RDP client (Remmina, freerdp, rdesktop) doesn t work
=> mouse disappear
=> screen refresh makes impossible to work on it
=> work fine on rpi3
thanks in advance
|
|
|
Extending power / reset button |
Posted by: nmhart322 - 12-15-2017, 10:14 AM - Forum: Rock64 Hardware and Accessories
- Replies (5)
|
 |
Does anyone know of a way to extend the power and reset buttons on the rock 64? Either a script for the pi2 bus or even resoldering the power button connections would work. I am a little hesitant with second option, since I do not want to damage the board. Any help would be appreciated
|
|
|
Rock64 doesn't boot |
Posted by: artocignus - 12-15-2017, 06:13 AM - Forum: Linux on Rock64
- Replies (13)
|
 |
I'm having no success booting up my Rock64 for the first time. I have successively with two 16GB Toshiba micro SD cards (backward compatible UHS-I). I first flashed a Debian image with Etcher. Then I read that it's recommended to use the Pine64 installer. So, I downloaded that and started with the Xenial Base image. Then I tried again with the Xenial Mate image thinking that the base image might not have the necessary HDMI driver. But no luck booting with any of these. The three LEDs light up solid, but nothing comes on the HDMI screen. I'm using the barrel socket power supply by Pine64 so power is not the issue. I even substituted a working micro SD card from my Raspberry Pi with a Raspbian OS, but the result is always the same. I'm a noob, but I really can't see what I'm doing wrong. Any help will be greatly appreciated!
|
|
|
Please try Slackware Arm Current on Rock64! |
Posted by: mwiljanen - 12-13-2017, 04:24 PM - Forum: Linux on Rock64
- Replies (4)
|
 |
This will be a set of scripts I have been using to create a disk image and public images I have created off the current rock64 ayufan kernel and combined with Slackware Arm Current.
Install Instructions:
- Download the latest slackware armhf release https://github.com/mwiljanen/slackrock/releases
- As a privileged user please run: zcat slackware-current-minimal-rock64-0.5.10-118-armhf.img.gz | sudo dd of=/dev/sdX bs=4M status=progress
- I have not created a script to autoexpand the drive so this must be done with gparted.
- After boot you can login with user user: rock64 and pass: rock64 this user has sudo access.
- To get this image on the internet you must use ifconfig or dhcpcd with an ethernet cable, Network manager is not installed on the slackware-minimal rootfs.
- After you get a connection to the internet now you can install all the packages, but do not install the slackwarearm-current kernels, you can blacklist these in the /etc/slackpkg/blacklist. If you install this kernel your rock64 will refuse to boot. To upgrade do these steps:
- slackpkg update
- slackpkg install-new
- slackpkg upgrade-all
This upgrade will take over an hour or more, so please be patient and if you do the full install it will be about +9GB of space on your SD card so a 16GB card is not recommended for a full install.
Now you can enjoy slackware on you Rock64!
Enjoy!
mwiljanen
|
|
|
|