←back to thread

309 points LorenDB | 1 comments | | HN request time: 0s | source
Show context
Santosh83 ◴[] No.42637177[source]
Read somewhere that it is relatively easy to adapt NetBSD's drivers into a custom kernel... maybe Serenity folks can go that way? Device drivers are huge obstacle for any fledgling OS.
replies(6): >>42637487 #>>42638178 #>>42638309 #>>42639168 #>>42642231 #>>42665209 #
mysterydip ◴[] No.42637487[source]
> Device drivers are a huge obstacle for any fledgling OS.

I've wondered if new/hobby OSes would fare better by starting out targeting a popular single board computer like a raspberry pi? A mostly fixed set of hardware to make/get drivers for and test your system on.

replies(6): >>42637523 #>>42638258 #>>42639203 #>>42639284 #>>42639368 #>>42646433 #
yjftsjthsd-h ◴[] No.42637523[source]
I've also argued in favor of that; I don't actually like Pis personally, but they're a super common, cheap enough, easy to acquire system and that's huge.
replies(1): >>42637995 #
FuriouslyAdrift ◴[] No.42637995[source]
Raspberry Pi's are highly proprietary for hardware blobs...
replies(5): >>42638061 #>>42638095 #>>42638097 #>>42638150 #>>42638235 #
joshmarinacci ◴[] No.42638061{3}[source]
It also documented far better than any other easily accessible hardware. I’d pick the Pi over any other real hardware target.
replies(3): >>42638134 #>>42638305 #>>42639897 #
1. vdupras ◴[] No.42638305{4}[source]
I don't know where this idea that the RPi has good hardware documentation comes from. One glaring example is its DWC USB controller. Sure, it has a Linux driver that is open source, but its datasheet is not publicly available!

So if you want to develop your own driver for it, you have to second guess its documentation by reading at the driver's comments. This is bad.