A little confusing inconsistency
Ian Lepore
ian at freebsd.org
Sun Mar 20 16:17:32 UTC 2016
On Sun, 2016-03-20 at 15:30 +0200, Jukka A. Ukkonen wrote:
> Hello all,
>
> Why does sysctl report hw.platform on arm and hw.model on amd64?
> The content is apparently intended to be analogous.
>
> E.g. on RPI2 ...
> hw.platform: bcm2836
>
> and then on amd64 ...
> hw.model: AMD Opteron(tm) Processor 4162 EE
>
> Is this just a little lapsus or intentional for some reason?
> I noticed this when I tried bsdstats on RPI2. It complained
> about missing OID hw.model.
In the armv6 world, driven by FDT data, hw.model should be the value
from the device tree model property. But that isn't going to lead to
"consistency" either, because then it will be "Wandboard Quad" or
something similar.
-- Ian
More information about the freebsd-arm
mailing list