Stephen:
Thanks. It looks like the /proc/cpuinfo format changed at some point,
and we weren't parsing the model name correctly for ARM.
I checked in changes that will parse the /proc/cpuinfo examples you sent.
Hopefully this will also work on recent Android.
Rom, can you please test this on whatever Android devices you have?
-- David
On 19-Jul-2015 10:36 AM, Stephen Maclagan wrote:
On my Quad Core Raspberry Pi running Raspbian Wheezy:
pi@raspberrypi ~ $ cat /proc/cpuinfo
processor: 0
model name: ARMv7 Processor rev 5 (v7l)
BogoMIPS: 57.60
Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
lpae evtstrm
CPU implementer: 0x41
CPU architecture: 7
CPU variant: 0x0
CPU part: 0xc07
CPU revision: 5
processor: 1
model name: ARMv7 Processor rev 5 (v7l)
BogoMIPS: 57.60
Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
lpae evtstrm
CPU implementer: 0x41
CPU architecture: 7
CPU variant: 0x0
CPU part: 0xc07
CPU revision: 5
processor: 2
model name: ARMv7 Processor rev 5 (v7l)
BogoMIPS: 57.60
Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
lpae evtstrm
CPU implementer: 0x41
CPU architecture: 7
CPU variant: 0x0
CPU part: 0xc07
CPU revision: 5
processor: 3
model name: ARMv7 Processor rev 5 (v7l)
BogoMIPS: 57.60
Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32
lpae evtstrm
CPU implementer: 0x41
CPU architecture: 7
CPU variant: 0x0
CPU part: 0xc07
CPU revision: 5
Hardware: BCM2709
Revision: a01041
Serial: 000000005e986701
Claggy
> Date: Sun, 19 Jul 2015 10:11:30 -0700
> From: [email protected]
> To: [email protected]
> Subject: Re: [boinc_dev] Boinc for Arm on Linux doesn't report the CPU model,
only the vendor.
>
> On Android (i.e. Linux) BOINC gets CPU info by parsing /proc/cpuinfo.
> Maybe the format of this has changed.
> Can someone who's seeing this problem please post the contents of
/proc/cpuinfo
> on their device?
> Thanks -- David
>
> On 19-Jul-2015 6:09 AM, Stephen Maclagan wrote:
> > The reason I'm posting this is Eric has released an Arm Seti app for Linux, at
present it only works on Armv7l processors, and not on Armv6l processors,
> > The different Boinc's available all show incomplete CPU information, as well
as using a generic arm platform (for repository builds),
> > so he's had to remove all the restrictions to allow hosts to get work, meaning
Armv6l hosts get work that can't be completed successfully.
> >
> > All that he recent clients report is 'ARM':
> >
> > LocutusOfBorg's ppa Boinc 7.6.2:
> > http://setiathome.berkeley.edu/show_host_detail.php?hostid=7506529
> >
> > Self compiled Boinc 7.2.47:
> > http://setiweb.ssl.berkeley.edu/beta/show_host_detail.php?hostid=74138
> >
> > Back in the days of Boinc 7.0.27 it did report 'ARMv7 Processor rev 5 (v7l)',
but not 'ARM' as the vendor:
> > http://setiweb.ssl.berkeley.edu/beta/show_host_detail.php?hostid=75690
> >
> > or 'ARMv6-compatible processor rev 7 (v6l)'
> > http://setiathome.berkeley.edu/show_host_detail.php?hostid=7470252
> >
> > Can we have it fixed in each head, so both are displayed, like the Android
clients report:
> >
> > ARM
> > ARMv7 Processor rev 5 (v7l)
> > (4 processors)
> >
> > NativeBoinc also manages to report the CPU speed, is it possible for that to
be added to the Android and Linux clients,
> > so it mirrors what the x86 Windows/Linux/Mac clients report?
> >
> > Line 795 onwards:
> >
https://github.com/matszpk/native-boinc-for-android/blob/master/src/boinc-7.0.36/client/hostinfo_unix.cpp
> >
> >
> > Claggy
> >
> > _______________________________________________
> > boinc_dev mailing list
> > [email protected]
> > http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> > To unsubscribe, visit the above URL and
> > (near bottom of page) enter your email address.
>
> _______________________________________________
> boinc_dev mailing list
> [email protected]
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.