PINE64
[How-To] Make PINE 64 with Ubuntu Xenial Longsleep build crunch BOINC Tasks - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+--- Thread: [How-To] Make PINE 64 with Ubuntu Xenial Longsleep build crunch BOINC Tasks (/showthread.php?tid=986)



[How-To] Make PINE 64 with Ubuntu Xenial Longsleep build crunch BOINC Tasks - moisesmcardona - 05-07-2016

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_A64_Software_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-nwKA&list=PLsZAA_xWuBFfSwGgZXFStrsZksf3C462A&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=-mmb3C5PlDw&list=PLsZAA_xWuBFfSwGgZXFStrsZksf3C462A&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=t5IULP2b4FM&list=PLsZAA_xWuBFfSwGgZXFStrsZksf3C462A&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=0HCakQsQ0nw&list=PLsZAA_xWuBFfSwGgZXFStrsZksf3C462A&index=5

Enjoy!!!!


RE: [How-To] Make PINE 64 with Ubuntu Xenial Longsleep build crunch BOINC Tasks - baryluk - 05-07-2016

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.


RE: [How-To] Make PINE 64 with Ubuntu Xenial Longsleep build crunch BOINC Tasks - NexusDude - 07-18-2016

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.


RE: [How-To] Make PINE 64 with Ubuntu Xenial Longsleep build crunch BOINC Tasks - NexusDude - 07-27-2016

No answers to this?