[Arm-dev] kernel-generic vs kernel-rpi2

Tue Dec 5 12:12:13 UTC 2017
Fabian Arrotin <arrfab at centos.org>

On 05/12/17 11:13, Jordi Sanfeliu wrote:
> Fabian,
> 
> This is the output I get in my Raspberry Pi v3:
> 
> [root at rpi3 ~]# uname -a
> Linux rpi3 4.9.50-v7.1.el7 #1 SMP Thu Sep 14 08:17:16 UTC 2017 armv7l
> armv7l armv7l GNU/Linux
> 
> [root at rpi3 ~]# cat /proc/cpuinfo
> processor    : 0
> model name    : ARMv7 Processor rev 4 (v7l)
> BogoMIPS    : 38.40
> Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva
> idivt vfpd32 lpae evtstrm crc32
> CPU implementer    : 0x41
> CPU architecture: 7
> CPU variant    : 0x0
> CPU part    : 0xd03
> CPU revision    : 4
> 
> processor    : 1
> model name    : ARMv7 Processor rev 4 (v7l)
> BogoMIPS    : 38.40
> Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva
> idivt vfpd32 lpae evtstrm crc32
> CPU implementer    : 0x41
> CPU architecture: 7
> CPU variant    : 0x0
> CPU part    : 0xd03
> CPU revision    : 4
> 
> processor    : 2
> model name    : ARMv7 Processor rev 4 (v7l)
> BogoMIPS    : 38.40
> Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva
> idivt vfpd32 lpae evtstrm crc32
> CPU implementer    : 0x41
> CPU architecture: 7
> CPU variant    : 0x0
> CPU part    : 0xd03
> CPU revision    : 4
> 
> processor    : 3
> model name    : ARMv7 Processor rev 4 (v7l)
> BogoMIPS    : 38.40
> Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva
> idivt vfpd32 lpae evtstrm crc32
> CPU implementer    : 0x41
> CPU architecture: 7
> CPU variant    : 0x0
> CPU part    : 0xd03
> CPU revision    : 4
> 
> Hardware    : BCM2835
> Revision    : a02082
> Serial        : 00000000fa9d86a7
> 
> I hope that helps.
> Regards.
> 
> 
> On 12/05/2017 07:34 AM, Fabian Arrotin wrote:
>> On 04/12/17 13:21, Kristján Valur Jónsson wrote:
>>
>> hmm, interesting ... so you mean that with the raspberrypi2 kernel
>> installed, it was still detecting the rpi3 as BCM2835 ?  It wasn't on
>> mine, but if some people confirm that behaviour, we can probably adapt
>> the rpm postinstall scriptlet that way too
>>
>>
> 


So I booted my rpi3 and confirm that . It seems that we 4.9.x kernels
/proc/cpuinfo reports BCM2835 so I'll have to modify  the .spec for
centos-userland-release to also check for that string and the correctly
set the 'kvariant' yum var

-- 
Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20171205/eedfb53c/attachment-0006.sig>