Raspberry Pi
log in |
Message boards : Number crunching : Raspberry Pi
Author | Message |
---|---|
Hello, Host Project Date Message
raspberrypi http://wuprop.boinc-af.org/ 03/01/2013 1.19.57 Master file download succeeded
raspberrypi http://wuprop.boinc-af.org/ 03/01/2013 1.20.02 Sending scheduler request: Project initialization.
raspberrypi http://wuprop.boinc-af.org/ 03/01/2013 1.20.02 Requesting new tasks for CPU
raspberrypi WUProp@Home 03/01/2013 1.20.15 Scheduler request completed: got 0 new tasks
raspberrypi WUProp@Home 03/01/2013 1.20.15 Message from server: This project doesn't support computers of type armv6l-unknown-linux-gnueabihf I'm run a custom QCN version of BOINC (7.1.0) If the admins needs, I can test a WUprop raspbian application. | |
ID: 759 · Rating: 0 · rate: / Reply Quote | |
I've actually compiled a version of data_collect and tried attaching using anonymous platform, however, it doesn't seem to be pushing data into WU out file. I have it running alongside a POGS attached project. I've sent the admin a private message. Hope to get a response soon... | |
ID: 773 · Rating: 0 · rate: / Reply Quote | |
I think I've figured this out. It looks like it relies on p_model in client_state.xml to be populated. When I forced p_model to armv61 it started working... | |
ID: 774 · Rating: 0 · rate: / Reply Quote | |
OK, I've patched using this code: --- data_collect.cpp 2013-01-20 19:25:34.495467156 +1100
+++ data_collect.cpp.arm 2013-01-20 19:24:27.936472976 +1100
@@ -7,6 +7,7 @@
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
+#include <sys/utsname.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
@@ -1106,6 +1107,14 @@
recherche_hostid(&hostid);
p_model=aid.host_info.p_model;
p_ncpus=aid.host_info.p_ncpus;
+ // Try last resort method for geting a model
+ if (p_model == "")
+ {
+ struct utsname uname_d;
+ if(uname(&uname_d) >= 0){
+ p_model = uname_d.machine;
+ }
+ }
}
else
{ ----------------------------------------------------------------------------------------- I know the "uname -m" (which is essentially what this is) doesn't give as detailed info, but it's going to be there. Using assembly to get CPU info is ridiculously complex and different across architecture versions. /proc/cpuinfo is also different on Raspbian kernel build but you can get CPU speed equivalent (BogoMIPS) from it. E.g: $ cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 944.53
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2708
Revision : 100000f
Serial : 0000000064a6f4d2 I'd really like to get some feedback from a project admin regarding this. Just waiting for a task to finish so I can see if it validates. ADDITIONAL NOTE: The way that NativeBOINC read_build_prop() function gets model will not work for ARM on Linux as /system/build.prop does not exist. | |
ID: 775 · Rating: 0 · rate: / Reply Quote | |
OK, confirming the job ran successfully: | |
ID: 776 · Rating: 0 · rate: / Reply Quote | |
The results returned by your application are valid. | |
ID: 778 · Rating: 0 · rate: / Reply Quote | |
Hello | |
ID: 780 · Rating: 0 · rate: / Reply Quote | |
Sorry for late .... reading all post seems that is going out an official client for Raspbian ? | |
ID: 803 · Rating: 0 · rate: / Reply Quote | |
Binaries: https://github.com/dcarrion87/boinc-rpi/raw/master/bin/wuprop-armv6l.tar.gz I've uncompress this file in the correct path, but updating the project continue to see this message: Host Project Date Message
raspberrypi WUProp@Home 07/02/2013 22.51.22 update requested by user
raspberrypi WUProp@Home 07/02/2013 22.51.25 Sending scheduler request: Requested by user.
raspberrypi WUProp@Home 07/02/2013 22.51.25 Requesting new tasks for CPU
raspberrypi WUProp@Home 07/02/2013 22.51.38 Scheduler request completed: got 0 new tasks
raspberrypi WUProp@Home 07/02/2013 22.51.38 Message from server: This project doesn't support computers of type armv6l-unknown-linux-gnueabihf Notice: I'm using BOINC 7.1.0 with mods from QCN for the nci process. | |
ID: 848 · Rating: 0 · rate: / Reply Quote | |
| |
ID: 851 · Rating: 0 · rate: / Reply Quote | |
Do you see in the startup messages: Ok, found in client_state.xml and copy into app_info this line: <platform>armv6l-unknown-linux-gnueabihf</platform> and after boinc restart it works! :) Thank you! Now my rasPi run 4 WUs (3 nci) and 1 full CPU, attached to 5 different projects (radioactive, QCN, asteroids, albert and WUprop), good job for a 5-watt-PC. | |
ID: 858 · Rating: 0 · rate: / Reply Quote | |
*Sigh* I just found out that in newer BOINC clients (e.g. 7.1.0) they correctly interrogate ARM CPU info. | |
ID: 951 · Rating: 0 · rate: / Reply Quote | |
Message boards :
Number crunching :
Raspberry Pi