Please provide an app for Raspberry Pi (GNU/Linux / ARM64)

Questions and Answers : Unix/Linux : Please provide an app for Raspberry Pi (GNU/Linux / ARM64)
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
akimenko.y

Send message
Joined: 7 Apr 21
Posts: 6
Credit: 459,668
RAC: 0
Message 993 - Posted: 31 May 2021, 1:35:33 UTC

Raspberry Pi 4B with Manjaro, not getting any tasks here.
Command uname -a shows
Linux pibox 5/10/36-1-MANJARO-ARM #1 SMP PREEMPT aarch64 GNU/Linux

Is there something I need to install to get tasks? Tried to look for libstdc and libgomp as mentioned in this thread, but they're not available. Any suggestions are welcome
ID: 993 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Natalia
Volunteer moderator
Project administrator
Project developer
Project scientist

Send message
Joined: 9 Oct 20
Posts: 185
Credit: 2,782,517
RAC: 20
Message 997 - Posted: 31 May 2021, 9:32:25 UTC - in response to Message 993.  

Hello! Have you altered cc_config.xml as discussed above?
ID: 997 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
akimenko.y

Send message
Joined: 7 Apr 21
Posts: 6
Credit: 459,668
RAC: 0
Message 1012 - Posted: 5 Jun 2021, 17:28:01 UTC - in response to Message 997.  

Yes, now I have, and it didn't work even with project re-adding and/or device restart after change in cc_config.xml
I got computation errors for all received tasks with <alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
Also tried <alt_platform>aarch64-unknown-linux-gnu</alt_platform> but received no tasks.
ID: 1012 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
hoarfrost
Volunteer moderator
Project administrator
Project developer

Send message
Joined: 11 Oct 20
Posts: 339
Credit: 25,715,225
RAC: 5,686
Message 1014 - Posted: 6 Jun 2021, 5:35:02 UTC - in response to Message 1012.  
Last modified: 6 Jun 2021, 5:35:12 UTC

Hello! :)
I got computation errors for all received tasks with arm-unknown-linux-gnueabihf


Could you add architecture armhf and install packages as mentioned by JayDoc and Landjunge above:
sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install libstdc++6:armhf libgomp1:armhf libboinc7:armhf
sudo reboot
ID: 1014 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
hoarfrost
Volunteer moderator
Project administrator
Project developer

Send message
Joined: 11 Oct 20
Posts: 339
Credit: 25,715,225
RAC: 5,686
Message 1027 - Posted: 7 Jun 2021, 6:35:37 UTC
Last modified: 7 Jun 2021, 16:57:10 UTC

I walked the path again with Raspberry Pi 4 with Ubuntu 21.04 64-bit.
1. Install packages for building command-line version of BOINC client:
sudo apt install make m4 dh-autoreconf libssl-dev libcurl4-openssl-dev zlib1g-dev libxml2-utils libfcgi-dev


2. Get BOINC source code from GitHub in created directory and build client:
sudo apt install git
git clone https://github.com/BOINC/boinc
./_autosetup
./configure --disable-server --enable-client --disable-manager --with-boinc-alt-platform=arm-unknown-linuxgnueabihf CXXFLAGS="-O3"


3. Install libraries for supporting 32-bit architecture armhf:
sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install libstdc++6:armhf libgomp1:armhf libboinc7:armhf


4. Reboot the Pi-machine:
sudo reboot


5. Use cc_config.xml with alt-platform tag:
<cc_config>
    <options>
        <alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
    </options>
</cc_config>


Several tasks received before steps 3 and 4 (but with 5) - crashed with errors like "Process creation (../../projects/www.sidock.si_sidock/cmdock-boinc-zcp_wrapper_1.0_arm-unknown-linux-gnueabihf) failed: Error -1, errno=2
execv: No such file or directory". After installing armhf libraries - tasks running without errors and first 4 completed and validated. Thank you for instructions, folks!

RPi 3B+ completes current tasks after 225 000 ... 260 000 seconds of computing.
RPI 4B completes tasks after 178 000 .. 182 000 seconds of computing.
ID: 1027 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
akimenko.y

Send message
Joined: 7 Apr 21
Posts: 6
Credit: 459,668
RAC: 0
Message 1034 - Posted: 10 Jun 2021, 19:49:08 UTC - in response to Message 1014.  

Unfortunately, I couldn't. Couldn't find those packages in the repos available in Manjaro.
ID: 1034 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
akimenko.y

Send message
Joined: 7 Apr 21
Posts: 6
Credit: 459,668
RAC: 0
Message 1042 - Posted: 15 Jun 2021, 16:30:46 UTC - in response to Message 1034.  

I'd like to report that the community edition of Ubuntu MATE for Raspberry Pi has an armhf version which works with SiDock@home on Raspberry Pi 4B "out of the box"—nothing for the user to install or change besides BOINC. For those interested, https://ubuntu-mate.org/raspberry-pi/
ID: 1042 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
mmonnin

Send message
Joined: 23 Oct 20
Posts: 9
Credit: 12,188,441
RAC: 2,632
Message 1827 - Posted: 16 Jan 2023, 18:18:00 UTC

Does this work with Raspbian on PI3?

I have done

sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install libc6:armhf libstdc++6:armhf zlib1g:armhf libfuse2:armhf

And added the cc_config additional lines
Then rebooted the RPi

The project won't even attach. Client message fails to reference site and thinks the project may be temp down but other PCs respond fine to adding the project.
RPi3-1

Project communication failed: attempting access to reference site
Internet access OK - project servers may be temporarily down.

I have tried to attach via boinctasks and boinccmd
ID: 1827 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
hoarfrost
Volunteer moderator
Project administrator
Project developer

Send message
Joined: 11 Oct 20
Posts: 339
Credit: 25,715,225
RAC: 5,686
Message 1840 - Posted: 17 Jan 2023, 1:55:55 UTC

ID: 1840 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Dirk Broer

Send message
Joined: 16 Nov 20
Posts: 8
Credit: 8,055,057
RAC: 30,026
Message 1841 - Posted: 17 Jan 2023, 1:58:41 UTC - in response to Message 1042.  

I'd like to report that the community edition of Ubuntu MATE for Raspberry Pi has an armhf version which works with SiDock@home on Raspberry Pi 4B "out of the box"—nothing for the user to install or change besides BOINC. For those interested, https://ubuntu-mate.org/raspberry-pi/


Most likely a 32-bit version of Ubuntu Mate then (because armhf), a 64-bit version would be aarch64. Pitty to treat a Pi4 that way, better do as earlier suggested

sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install libc6:armhf libstdc++6:armhf zlib1g:armhf libfuse2:armhf libgomp1:armhf libboinc7:armhf

<cc_config>
<options>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
<alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
</options>
</cc_config>

That way you can crunch both 64-bit and 32-bit apps, and make better use of the extra RAM and 64-bit instructions a Pi 4 can offer.
ID: 1841 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
mmonnin

Send message
Joined: 23 Oct 20
Posts: 9
Credit: 12,188,441
RAC: 2,632
Message 2018 - Posted: 2 Mar 2023, 16:44:56 UTC - in response to Message 1840.  

Looks like problem with certificates. Is ca-bundle.crt are new?

I have updated it but still cannot attach RPi 3s to the project via boinccmd
ID: 2018 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
JpmGir
Avatar

Send message
Joined: 7 Feb 23
Posts: 1
Credit: 41,565
RAC: 0
Message 2160 - Posted: 28 Dec 2023, 14:24:07 UTC

comment se désinscrire de sidock@home
how to unsubscribe from sidock@home
ID: 2160 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
fzs600

Send message
Joined: 24 Oct 20
Posts: 8
Credit: 3,585,296
RAC: 1,792
Message 2161 - Posted: 28 Dec 2023, 16:56:04 UTC - in response to Message 2160.  

comment se désinscrire de sidock@home
how to unsubscribe from sidock@home

Du projet dans BM ou du forum ?
The project in BM or the forum?
ID: 2161 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Previous · 1 · 2

Questions and Answers : Unix/Linux : Please provide an app for Raspberry Pi (GNU/Linux / ARM64)

©2024 SiDock@home Team