Console MotD including Pine64 info
#1
Hey community,

this might be a nice small addition to your pine64 Linux setup. FireMotD now has Pine64 support. This means besides all the other interesting details it shows when you log in to your system, it now also shows the Pine A64 Board Revision you are on. Enjoy Wink

[Image: fa522d72-f841-11e6-8060-53268d2a26bb.png]
It was tricky to find a good indicator for the hardware being a Pine64. Currently I'm simply checking for "pine64-longsleep" in the kernel name. If you know a better way (some distinct Hardware ID), would be great to know.
#2
Nice work Wink

Board detection is maybe possible via the device tree file, not sure if there is a way to find out which one was used to boot the system... there are also other A64 boards that just use the pine64 device tree blobs
Come have a chat in the Pine IRC channel >>
#3
I've poked around in a lot of places but didn't find a definitive indicator. On top of that I'd never be sure if it's unique for the Pine64. Would you be able to invite someone to this conversation, who might have an answer?
#4
No further ideas? Surely someone should be able to help out...


Possibly Related Threads…
Thread Author Replies Views Last Post
  Programming languages support under PINE64 baryluk 6 12,067 09-23-2020, 11:46 PM
Last Post: Phillip Bell
  Manjaro arm on pine64+ roel 2 5,783 10-19-2019, 05:13 AM
Last Post: roel
  Volumio for PINE64 Released mikelangeloz 11 24,136 03-22-2019, 09:25 AM
Last Post: llungster
  I2S Audio patches for Pine64+ uploaded to GitHub ramstadt 1 3,962 01-19-2019, 11:31 AM
Last Post: ramstadt
  Pine64: Minimal SDL config Max11 3 5,856 01-04-2019, 03:47 PM
Last Post: Max11
  Fedora 27 on Pine64 gregjo 18 34,567 01-02-2019, 10:42 PM
Last Post: heatfanjohn
  Official build procedure of ayufan pine64 r.tanaka 0 3,066 08-21-2018, 10:54 PM
Last Post: r.tanaka
  DKMS on kernel 3.10.107-pine64 obrienmd 5 8,418 06-21-2018, 05:45 PM
Last Post: evilbunny
  Making a DVD Server (including burning) using Rock64 Ron Piggott 1 3,178 04-11-2018, 08:33 AM
Last Post: dkryder
  Gentoo for pine64 - longsleep kernel incoherent 0 3,589 12-09-2017, 08:14 AM
Last Post: incoherent

Forum Jump:


Users browsing this thread: 1 Guest(s)