:: Re: [DNG] raspberry pi build - miss…
Góra strony
Delete this message
Reply to this message
Autor: Wojtek Sawaściuk
Data:  
Dla: s@po
CC: dng
Temat: Re: [DNG] raspberry pi build - missing lines in /proc/cpuinfo
On 10.12.2019 23:32, s@po wrote:
> hello,
> That lines( "Hardware" , "Revision" and "Serial" ) are not usual in cpuinfo..
> But they come in RaspberryPi..
>


Not quite, I have some other ARM boards, everywhere - I can see more.
Those one below have nothing in common with RBPI nor Devuan.
tbh, cpuinfo without these lines on ARM board is something very new for
me, so thats why my confusion :/

Also, more confusion - what is relation to information provided by
/proc/cpuinfo (strictly from kernel) with OS version (32/64 bits) ?

tomorrow I will try and test this image that you recommended,
I dont have just now handy SD card, need to prepare it as NFS boot setup.


# cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 48.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4
idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5
<cut>
Hardware        : Hisilicon Hi3519 (Flattened Device Tree)
Revision        : 0000
Serial          : 0000000000000000


# cat /proc/cpuinfo
Processor       : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 1196.85
Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4
idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5


Hardware        : hi3516a
Revision        : 0000
Serial          : 0000000000000000


# cat /proc/cpuinfo
Processor       : ARM926EJ-S rev 5 (v5l)
BogoMIPS        : 215.44
Features        : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant     : 0x0
CPU part        : 0x926
CPU revision    : 5
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format C
Cache format    : Harvard
I size          : 16384
I assoc         : 4
I line length   : 32
I sets          : 128
D size          : 8192
D assoc         : 4
D line length   : 32
D sets          : 64


Hardware        : DaVinci DM365 EVM
Revision        : 3650000
Serial          : 0000000000000000




>> On 09.12.2019 22:55, Wojtek Sawaściuk wrote:
>>> Hello fellow Devuaners !
>>> Any particular reason why on raspberry PI build, in /proc/cpuinfo there
>>> are missing information about "model name" , bigger half of "Features"
>>> line, "Hardware" , "Revision" and "Serial".
>>> It breaks compliance and create issues.
>>> A bug, a regression? or some inheritance?
>>>
>>
>> I think I'v found it -
>> https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1823151
>> looks like devuan raspberry pi kernel is bring up from ubuntu ?
>
> I don't know were the kernel from Oficial Image came from, probably compiled for it..??
>
> If you feel that those lines are important to you,
> You can try the Community Armel Image:
>
> cat /proc/cpuinfo 
> processor    : 0
> model name    : ARMv6-compatible processor rev 7 (v6l)
> BogoMIPS    : 697.95
> Features    : half thumb fastmult vfp edsp java tls 
> CPU implementer    : 0x41
> CPU architecture: 7
> CPU variant    : 0x0
> CPU part    : 0xb76
> CPU revision    : 7

>
> Hardware    : BCM2835
> Revision    : 0000
> Serial        : 00000000b5a8d596

>
> Even tough that the Userspace is Armel, the Kernel is armhf..
>
> --
> Best Regards,
> tux <tuxd3v@???>
>