> > > Most hardware + firmware combinations provide insufficient detail
> > > to know what pins are used for what, reserved for what, or wired
> > > to an auto-destruct.
> > 
> > But that's by design.  GPIO is simply an interface to a digital I/O pin =
> > on the CPU.  Everything after that is up to the end-user.
> 
> That is not true.
> 
> OpenBSD has no clue what it is wired to.  Except on a lot of machines,
> some pin has been wired to something on the board itself.
> 

So it was, kernel being clueless, before FDT became mandatory, no?
I'd guess we're more likely to run into a u-boot build in the future not
providing safe voltages or such on some not-yet-existing board, that might
really fry things given OpenBSD has no clue about adjusting the voltages
nor input to sensors it could support.

-Artturi

> > Especially so since they are the ones controlling what is connected
> > to those pins.
> 
> That is not true.
> 
> I have an armv7 machine here.  It has no pins on the outside.  It has
> a pile of gpio devices.
> 
> Are they all wired to nothing??  No, some of them are wired to things,
> I can promise you that.
> 
> > I bit-bang the RPI all the time, and no two of them ever uses the =
> > available pins in the same way.
> 
> That's nice.  The RPI is one machine, out of a growing catagory of
> machines numbering a 100+
> 
> Many of those machines wire pins pins to internal things.  When they
> do that, OpenBSD does not know.  It depends on someone reading the
> manual.
> 
> Really, I suggest you go read the start of the thread.

Reply via email to