[How-To] Make PINE 64 with Ubuntu Xenial Longsleep build crunch BOINC Tasks
#1
Hi everyone!

Yesterday I received in my mail the PINE 64 Single Board Computer I backed up a few months on Kickstarter. My Pledge was for the PINE 64 2GB edition.



First thing I did was to download and write the Ubuntu Xenial Longsleep build image to my 16GB MicroSD card (The image is almost 8GB in size). Get the Pine64 builds here: http://wiki.pine64.org/index.php/Pine_A6...re_Release

Next think I did was to boot up the PINE 64, and the first think I did once it booted up was to install BOINC:
https://www.youtube.com/watch?v=FumkMM-n...2A&index=2

However, after installing BOINC and adding some projects, I noticed they all returned a message saying there are no tasks for my current platform. The problem? The Ubuntu Xenial image is 64bit, meanwhile the projects available for the ARM architecture are made 32bit. Since BOINC reported the platform as 64bit (specifically the platform being reported is aarch64-unknown-linux-gnu), the projects didn't recognized this and returned a no work available message (because they only send work to the platform type of arm-unknown-linux-gnueabihf). Ok, so how do I make my PINE 64 get those 32bit ARM tasks? It involved using the alt_platform option and doing some stuff in ubuntu:

https://www.youtube.com/watch?v=-mmb3C5P...2A&index=3

Ok, so now I have the projects receiving tasks and the PINE 64 is crunching them as expected, except for WUProp@Home. Hmmm, seems strange that all projects I added works except WUProp@Home, so lets take a look at the workunit result:


Code:
<stderr_txt>
../../projects/wuprop.boinc-af.org/data_collect_v4_4.19_arm-unknown-linux-gnueabihf__nci: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

</stderr_txt>


So as you can see, WUProp can't find libstdc++.so.6. The thing is that it IS installed, but only for the 64bit architecture and we must add the library for the 32bit architecture:

https://www.youtube.com/watch?v=t5IULP2b...2A&index=4

So there you go! We made our PINE 64 receive tasks and crunch them without any issues at all. Every task is being validated successfully  [Image: wink.png] So now, to enjoy our PINE 64 and let it crunch:

P.S. The PINE 64 is bigger than the Raspberry Pi's  [Image: tongue.png]
[Image: Pine64%20Added%20(resized%20for%20web).jpg]

One last video  [Image: rolleyes.gif]
https://www.youtube.com/watch?v=0HCakQsQ...2A&index=5

Enjoy!!!!
#2
You need to install 32-bit arm libraries too.

Enable multi-arch, armhf or other arm architecture that the ubuntu is using, and install some missing stuff like libc and libstdc+5 and stuff.

Also I would consider asking WUProp@Home guys to consider using static linking to reduce dependencies required on the host system.
#3
I'm using Ubuntu-MATE, and tried Moises' method, and couldn't get BOINC working. It's reading the cc_config.xml file, but it still won't download any WCG or rosetta@home projects. My updated cc_config.xml file in /var/lib/boinc-client (and apparently my changes there were copied also to /etc/boinc-client):
Code:
<cc_config>
 <log_flags>
   <task>1</task>
   <file_xfer>1</file_xfer>
   <sched_ops>1</sched_ops>
 </log_flags>
 <options>
   <allow_remote_gui_rpc>1</allow_remote_gui_rpc>
   <alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
 </options>
</cc_config>


(05-07-2016, 10:17 PM)baryluk Wrote: You need to install 32-bit arm libraries too.

Enable multi-arch, armhf or other arm architecture that the ubuntu is using, and install some missing stuff like libc and libstdc+5 and stuff.

Also I would consider asking WUProp@Home guys to consider using static linking to reduce dependencies required on the host system.

Can anyone explain this? It's vague and I have little idea, beyond sudo apt-get install something or other.
NexusDude of Central Texas
  • Setup: Pine64+ 2GB, On/Off button, RTC battery, 5V fan, LG 1.8A power adapter, Cat6 Ethernet, HDMI to TV, USB keyboard & mouse, SanDisk Ultra mSD "32GB" (28.7GB). Using Win32DiskImager.
  • Best OS experiences: Debian XFCE >> Android Lollipop > the rest
#4
No answers to this?
NexusDude of Central Texas
  • Setup: Pine64+ 2GB, On/Off button, RTC battery, 5V fan, LG 1.8A power adapter, Cat6 Ethernet, HDMI to TV, USB keyboard & mouse, SanDisk Ultra mSD "32GB" (28.7GB). Using Win32DiskImager.
  • Best OS experiences: Debian XFCE >> Android Lollipop > the rest


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine A64+ mainline mipi-dsi Learnincurve 3 7,260 01-12-2021, 07:36 AM
Last Post: Learnincurve
  DietPi OS for PINE A64 MichaIng 0 9,711 12-15-2020, 06:11 AM
Last Post: MichaIng
  Fedora 32/CentOS 8 Pine A64+ Images wideawake 2 6,053 10-02-2020, 11:38 AM
Last Post: mathiraj
  LibreELEC(KODI) for Pine A64 (+) pineadmin 6 16,902 05-02-2020, 10:29 AM
Last Post: aaronmarsh632
  Lakka-nightlies for Pine A64 (and H64) roel 11 21,221 04-23-2020, 12:55 AM
Last Post: roel
  Read DHT22 on Pine A64 ayufan 3 7,226 01-19-2020, 02:51 PM
Last Post: {-DesT-}
  Centos 7 for Pine A64 Luke 2 6,533 05-28-2019, 12:18 AM
Last Post: pineadmin
  NEMS Linux for Pine A64 (+) Luke 1 5,532 05-09-2019, 05:42 PM
Last Post: pineadmin
  Pine Board using linux stuck during boot sequence ktaragorn 4 9,118 03-30-2019, 06:48 AM
Last Post: ktaragorn
  motionEyeOS (PINE A64(+)) pineadmin 4 12,746 11-09-2018, 03:25 AM
Last Post: pineadmin

Forum Jump:


Users browsing this thread: 2 Guest(s)