←back to thread

309 points LorenDB | 5 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 #
1. 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 #
2. FuriouslyAdrift ◴[] No.42638134[source]
The few devs I know in that space prefer the various Beaglebone SBCs
replies(1): >>42638256 #
3. beng-nl ◴[] No.42638256[source]
+1 here. Peak beaglebone DX to me was the beaglebone white. Full Soc documentation, and only a single usb cable to carry power, jtag, and serial.

A gem of a device and hmm maybe I should write some code for one again..

4. vdupras ◴[] No.42638305[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.

5. mardifoufs ◴[] No.42639897[source]
What do you mean by documented? Sure we have a general idea of how stuff works, and some implementations can even serve as a reference but almost nothing is documented in an official sense. Your average Chinese SBC is much, much better documented, in the sense that the SOCs are at least officially documented. The Broadcom soc isn't.