Saturday, March 30, 2024

Re: Minimum viable HW for OpenBSD

On 3/16/24 14:32, Peter J. Philipp wrote:
> On 3/16/24 14:10, Gabor Nagy wrote:
>> hello,
>>
>> maybe?
>>
>> Running OpenBSD on Raspberry Pi Zero 2 W
>> https://www.tumfatig.net/2023/running-openbsd-on-raspberry-pi-zero-2-w/
>>
>>
> This is incredible!  I have a zero 2W somewhere, though I put it into
> a GPI case.  The drawback with the GPI case is it will not boot with
> batteries, because it's really made for the zero 1W,  so it's bonded
> to the USB power cable.  I'm gonna try putting this on!  Thank you in
> advance.
>
> The GPI case uses a LCD display (It's the gameboy) do you know any BSD
> drivers for this?
>
> Best Regards,
>
> -pjp
>
I have another use for this RPI Zero 2W, I want to make it a remote
power switch for 5x USB and 3x 220V AC.  I once purchased this (for
another project and I think I'll reuse this):

https://www.waveshare.com/catalog/product/view/id/3616/s/rpi-relay-board-b/category/37/

My question then is... would I have any problems with the GPIO controls
with OpenBSD on RPI zero 2W?

Otherwise I'll have to make it another OS.

Best Regards,

-pjp

PS:  I'll probably do this next week I have a need for different
hardware in my 9U rackmount cabinet.  And one particular one needs
powercycles (and possibly console) as well.  It's the mango pi, which is
currently in panic mode most likely or it's hung up, I was building
ports on it and the 100 Mbit connection went down.

>>
>> Olaf Schreck <chakl@syscall.de> ezt írta (idÅ‘pont: 2024. márc. 15.,
>> P, 23:43):
>>
>> > Could you point out a hardware for this kind of use-case? I
>> would liek to have something smaller than a regular-Pi SBC.
>>
>> I'm still playing with this kind of stuff.  Good luck on your
>> journey, but
>> it will be a rough ride.  You already mentioned some issues.
>>
>> I have/had a pair of Raspberry 3B and also a pair of Pine64 SBCs,
>> running
>> OpenBSD 7.x and CARP failover for experimental things. Working,
>> but not as
>> reliable as I would like.
>>
>> You seem to aim at even smaller boards like that, and newer ones
>> should match
>> the specs of Raspi3B or Pine64.  However:
>>
>> - there is no fine "sysupgrade" for these platforms, so you need
>> to reinstall
>>   every time
>> - which means fiddling with non-OpenBSD "uboot" and EFI
>> definition files
>> - consider creating a network boot infrastructure
>> - these devices are very sensitive to power voltage
>> instabilities, triggering
>>   spontaneous reboots.  You may want to run them from stable USB
>> power source
>> - I doubt this can be reasonably battery-powered, over longer
>> time periods
>> - storage like SD-card or eMMS draw extra power during operation,
>> writes may
>>   be unreliable during voltage drops
>> - storage like SD-card or eMMS will wear out and die hard, sooner
>> or later
>> - Wifi hardware may not be supported
>> - RS232 serial usually provided (and working) by bus pinout, but
>> you need to
>>   add a FTDI232 or CH340 adapter
>>
>> That said, I'd like to hear about it if you find interesting
>> hardware :)
>>
>> Olaf
>>
> --
> Over thirty years experience on UNIX-like Operating Systems starting with QNX.

--
Over thirty years experience on UNIX-like Operating Systems starting with QNX.

No comments:

Post a Comment