:: Re: [DNG] raspberry pi build - miss…
Página Inicial
Delete this message
Reply to this message
Autor: g4sra
Data:  
Para: dng
Assunto: Re: [DNG] raspberry pi build - missing lines in /proc/cpuinfo
On 09/12/2019 21:55, Wojtek Sawaściuk via Dng 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?


Whose compliance ? (genuine question, what other systems provide their serial# this way ?)

Raspberry Pi has moved on to device tree..
Look under /sys

e.g.

cat /sys/firmware/devicetree/base/model
cat /sys/firmware/devicetree/base/serial-number
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq


>
> # cat /proc/cpuinfo
> processor       : 0
> BogoMIPS        : 38.40
> Features        : fp asimd evtstrm crc32 cpuid
> CPU implementer : 0x41
> CPU architecture: 8
> CPU variant     : 0x0
> CPU part        : 0xd03
> CPU revision    : 4
> <cut>

>
> # uname -a
> Linux domoticz-devuan 4.16.14-v8+ #1 SMP PREEMPT Tue Jun 5 18:50:10 CEST
> 2018 aarch64 GNU/Linux
>
> System installed from officially available to download
> devuan_ascii_2.0.0_arm64_raspi3.tar.gz
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>