Gentoo Archives: gentoo-dev

From: Alfredo Tupone <tupone@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags
Date: Wed, 18 Sep 2019 12:56:57
Message-Id: 20190918125649.GA31585@tupone.it
In Reply to: Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags by "Michał Górny"
1 On 22:56 Tue 17 Sep , Michał Górny wrote:
2 > On Tue, 2019-09-10 at 22:44 +0200, Michał Górny wrote:
3 > > Hi, everyone.
4 > >
5 > > I've recently (finally!) started adding tests to cpuid2cpuflags. Tests
6 > > are based on mocked syscalls that return arch-specific data read from
7 > > text files. So far I've got x86 and ppc covered, and now I'd like to
8 > > add tests for various arm hardware. Since ARM covers a pretty broad
9 > > range of hardware, I'd use as much data as possible, especially from
10 > > different ARM generations.
11 > >
12 > > If you have an ARM board and would like to help, please:
13 > >
14 > > wget https://dev.gentoo.org/~mgorny/dist/cpuid2cpuflags-7-dev.tar.bz2
15 > > tar -xf cpuid2cpuflags-7-dev.tar.bz2
16 > > cd cpuid2cpuflags-7-dev
17 > > ./configure
18 > > make hwcap-dump
19 > > ./hwcap-dump
20 > >
21 > > and send me the output along with 'uname -m'. TIA!
22 > >
23 >
24 > Thanks for all the data so far. I've released v8 with the lot of ARM
25 > tests just now.
26 >
27 > If someone's got older hardware (<ARMv7), then I'd really use such
28 > results. After all, we technically do support ARMv4.
29 >
30 > --
31 > Best regards,
32 > Michał Górny
33 >
34 Something from my RaspberryPI 1B+
35
36 Raspberry Pi 1 Model B+
37 ./hwcap-dump
38 hwcap:00000000000081d6 hwcap2:0000000000000000
39 /proc/cpuinfo
40 processor : 0
41 model name : ARMv6-compatible processor rev 7 (v6l)
42 BogoMIPS : 697.95
43 Features : half thumb fastmult vfp edsp java tls
44 CPU implementer : 0x41
45 CPU architecture: 7
46 CPU variant : 0x0
47 CPU part : 0xb76
48 CPU revision : 7
49
50 Hardware : BCM2835
51 Revision : 0010
52 Serial : 00000000e598822e
53 ./cpuid2cpuflags
54 CPU_FLAGS_ARM: edsp thumb vfp v4 v5 v6
55 uname -m
56 armv6l
57
58 Regards