It won't work as a GPIO device under OpenBSD, but you can get it indirectly working like this:
In this case the GPIO is managed by an rp2040 (aka Raspberry Pico 1) chip. Using the Bootsel button on the board you can switch it into LOADER mode, so it shows up as a usb mass storage device. You can install your favorite Forth implementation (for example https://github.com/tabemann/zeptoforth ) copying the uf2 onto the RP2040 usb drive. It will then show up as a USB CDC serial port, connecto to it via "cu" (112500 / 8N1) and write a simple algorythm to act as a bridge between the serial port and the GPIO pins. You can test it with any kind of rp2040 board you have in your drawer to extend your computer with 40pin GPIO (some of them are GND, so it isn't really 40 independent pin, but with RP2350 you can have true 40 pin GPIO). Best Regards, -- ext Kirill A. Korinsky írta 2025. ápr.. 1, K-n 01:16 órakor: > On Mon, 31 Mar 2025 19:07:16 +0200, > Stuart Henderson <s...@spacehopper.org> wrote: >> >> On 2025/03/31 07:45, ken.dic...@whidbey.com wrote: >> > On 2025-03-30 19:26, b...@courriel.fr.eu.org wrote: >> > >> > > I search a board compatible with openbsd for a daily low power >> > > desktop-mobile computer but I'm kind of lost after too many searches >> > > and sometimes not enough info. So here I am. >> > > ... >> > > >> > > At start I was thinking about a RISC-V board but it looks like it still >> > > needs some works for a small desktop so I'm falling back to arm. >> > > >> > > Any recommendations? >> > >> > I use a Raspberry Pi 5 as my desktop computer. >> > >> > My backup computer is a Pi 500 (Pi 5 in a keyboard) with a RasPi display >> > which together costs ~$200. >> > >> > Does need a mouse and you plug audio jack into the display port. >> > >> > Don't know about OpenBSD, but it runs most OSs I have tried, including just >> > using a frame buffer rather than a window system. >> >> OpenBSD does not currently run on rpi5. >> >> I'm not 100% sure but I don't think you will have accelerated video >> with OpenBSD on any of the ARM SBCs, so while X will work in most >> cases, it will use a fair bit of CPU and won't be too fast. >> It's not really great for video playback. >> >> If not averse to a more mainstream platform, there are various >> low-power intel based systems that would fit most of the stated >> requirements (e.g. various n100-based mini PCs and similar). >> The missing one is gpio support, that could possibly be done via >> a USB module though that won't work via gpio(4), unless you write a >> driver.. >> > > Here an example of n100-based device with GPIO: > https://radxa.com/products/x/x4/#techspec > > But I have no idea about OpenBSD support. > > -- > wbr, Kirill -- --Z--