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

Tue Dec 5 06:34:20 UTC 2017
Fabian Arrotin <arrfab at centos.org>

On 04/12/17 13:21, Kristján Valur Jónsson wrote:
> 
> 
> On 4 December 2017 at 11:51, Fabian Arrotin <arrfab at centos.org
> <mailto:arrfab at centos.org>> wrote:
> 
> 
>     Yes, it's coming from centos-userland-release :
>     rpm -q --scripts centos-userland-release :
>     postinstall scriptlet (using /bin/sh):
>     # Detecting if rpi or generic kernel
>     egrep -q 'BCM2709|BCM2710' /proc/cpuinfo && echo rpi2
>     >/etc/yum/vars/kvariant || echo generic >/etc/yum/vars/kvariant
> 
>     So normally it's detected correctly and so put the correct rpi2 value
>     for kvariant when installed on a rpi2/rpi3
> 
> 
> Funny, my device reports BCM2835.  (which indicates that it isn't RPI3
> at all).  I'm sure they are all in the BCM28xx range, see 
> https://en.wikipedia.org/wiki/Raspberry_Pi
> also, difference between BCM27xx and BCM28xx:  
> https://raspberrypi.stackexchange.com/questions/840/why-is-the-cpu-sometimes-referred-to-as-bcm2708-sometimes-bcm2835
> 
> -- 
> Kv,
> Kristján Valur Jónsson, RVX
> 

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


-- 
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/c3d62d1a/attachment-0006.sig>