1 |
On 9/10/19 10:24 PM, 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 |
> I'm sorry but sending it this late, I forgot two more important things: |
24 |
> |
25 |
> 1. Name of the CPU or the board (i.e. something I can use to name |
26 |
> the test). |
27 |
> |
28 |
> 2. Output of cpuid2cpuflags, preferably verified against cpuinfo. |
29 |
> |
30 |
Don't laugh, it actually still works as a NAS and nextcloud server:
|
31 |
|
32 |
amphisbœna ~/cpuid2cpuflags-7-dev # ./hwcap-dump
|
33 |
uhwcap:0000000000000097
|
34 |
hwcap2:0000000000000000
|
35 |
|
36 |
namphisbœna ~/cpuid2cpuflags-7-dev # uname -m
|
37 |
armv5tel
|
38 |
|
39 |
amphisbœna ~/cpuid2cpuflags-7-dev # ./cpuid2cpuflags
|
40 |
CPU_FLAGS_ARM: edsp thumb v4 v5
|
41 |
|
42 |
amphisbœna ~/cpuid2cpuflags-7-dev # dog /proc/cpuinfo
|
43 |
processor : 0
|
44 |
model name : Feroceon 88FR131 rev 1 (v5l)
|
45 |
BogoMIPS : 400.00
|
46 |
Features : swp half thumb fastmult edsp
|
47 |
CPU implementer : 0x56
|
48 |
CPU architecture: 5TE
|
49 |
CPU variant : 0x2
|
50 |
CPU part : 0x131
|
51 |
CPU revision : 1
|
52 |
|
53 |
Hardware : Marvell Kirkwood (Flattened Device Tree)
|
54 |
Revision : 0000
|
55 |
Serial : 0000000000000000
|
56 |
|
57 |
amphisbœna ~/cpuid2cpuflags-7-dev # dog /proc/device-tree/model
|
58 |
Globalscale Technologies Dreamplug |