Gentoo Archives: gentoo-dev

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

Attachments

File name MIME type
signature.asc application/pgp-signature