The officially official Devuan Forum!

You are not logged in.

#1 2018-01-28 14:50:18

SimonSmall
Member
Registered: 2018-01-28
Posts: 1  

Raspberry Pi cpuinfo

I have a few Pi models, and several SD cards with different software; I swap them about as needed. I use the command 'cat /proc/cpuinfo' to get the Hardware, Revision and Serial number of a Pi so I know which one I am using, especially when I have several SSH sessions open (probably not the best way, but it works for me).

On the Raspi3 image, the output of this command gives a different output to Raspbian, where each processor gets the model name and lots more features, and there are 3 lines at the end for Hardware, Revision and Serial. I don't know where this file gets populated from (created at boot, I believe).

I searched the internet for clues, and found this comment might help, as it says that the arm64 kernel is compiled differently: https://github.com/raspberrypi/linux/issues/2110

Any comments are welcome. If you need more information, just ask. If it needs logging as an issue I'll give that a try

Offline

#2 2018-02-28 19:32:28

Olle2
Member
Registered: 2017-10-01
Posts: 4  

Re: Raspberry Pi cpuinfo

Hi Simon, to my knowledge ther are also https://github.com/bamarni/pi64/releases and https://github.com/sakaki-/gentoo-on-rpi3-64bit aming to get a 64b OS running on RPI3. They are not devuan, of course! Maybe run the command in them? I havent tried it myself, but I acknowledge the Raspbian response, I'm running  Linux raspberrypi 4.14.17-v7+ #1090 SMP Mon Feb 5 21:02:18 GMT 2018 armv7l GNU/Linux at the moment.

And I'm downloading ascii for RPI3 now, thank you parazyd and others! I'll report when tested somewhat.

Hej så länge! /Olle2

Offline

#3 2018-03-01 05:22:26

Olle2
Member
Registered: 2017-10-01
Posts: 4  

Re: Raspberry Pi cpuinfo

Hi yes success!
I'm now using Linux devuan 4.14.18-v8+ #1 SMP PREEMPT Tue Feb 13 12:54:55 CET 2018 aarch64 GNU/Linux with an LXQT desktop. The cat /proc/cpuinfo command works as simon already reported. .
/Olle

Offline

Board footer