PINE64
Console MotD including Pine64 info - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+--- Thread: Console MotD including Pine64 info (/showthread.php?tid=3683)



Console MotD including Pine64 info - BatoXan - 02-21-2017

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.


RE: Console MotD including Pine64 info - xalius - 02-21-2017

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


RE: Console MotD including Pine64 info - BatoXan - 02-22-2017

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?


RE: Console MotD including Pine64 info - BatoXan - 03-08-2017

No further ideas? Surely someone should be able to help out...