Gentoo Archives: gentoo-dev

From: James Le Cuirot <chewi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags
Date: Wed, 11 Sep 2019 20:19:37
Message-Id: 20190911211922.3abeca0d@symphony.aura-online.co.uk
In Reply to: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags by "Michał Górny"
1 On Tue, 10 Sep 2019 22:44:54 +0200
2 Michał Górny <mgorny@g.o> wrote:
3
4 > Hi, everyone.
5 >
6 > I've recently (finally!) started adding tests to cpuid2cpuflags. Tests
7 > are based on mocked syscalls that return arch-specific data read from
8 > text files. So far I've got x86 and ppc covered, and now I'd like to
9 > add tests for various arm hardware. Since ARM covers a pretty broad
10 > range of hardware, I'd use as much data as possible, especially from
11 > different ARM generations.
12 >
13 > If you have an ARM board and would like to help, please:
14
15 From my CompuLab Utilite Pro:
16
17 $ ./hwcap-dump
18 hwcap:000000000008b0d6
19 hwcap2:0000000000000000
20
21 $ ./cpuid2cpuflags
22 CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfp-d32 v4 v5 v6 v7 thumb2
23
24 $ uname -a
25 Linux utilite 5.2.7-00007-g4559111aee7b #100 SMP PREEMPT Wed Aug 7 23:24:36 BST 2019 armv7l ARMv7 Processor rev 10 (v7l) Freescale i.MX6 Quad/DualLite (Device Tree) GNU/Linux
26
27 $ cat /proc/cpuinfo
28 ...
29
30 processor : 3
31 model name : ARMv7 Processor rev 10 (v7l)
32 BogoMIPS : 6.00
33 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
34 CPU implementer : 0x41
35 CPU architecture: 7
36 CPU variant : 0x2
37 CPU part : 0xc09
38 CPU revision : 10
39
40 Hardware : Freescale i.MX6 Quad/DualLite (Device Tree)
41 Revision : 0000
42 Serial : 0000000000000000
43
44 --
45 James Le Cuirot (chewi)
46 Gentoo Linux Developer

Replies

Subject Author
Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags "Michał Górny" <mgorny@g.o>