←back to thread

309 points LorenDB | 1 comments | | HN request time: 0.216s | source
Show context
siws ◴[] No.42641548[source]
Reading this post makes me think, how can someone start to get into the drivers and OSes world? This seems so complicated I really don’t know where to start.
replies(6): >>42641944 #>>42642133 #>>42643359 #>>42644209 #>>42645600 #>>42651669 #
1. saidinesh5 ◴[] No.42641944[source]
Honestly, step 1 is just understanding what the purpose of each component is.. OS, driver, device etc...

for eg. A device driver is about exposing an interface for other programs being run on your computer, to access and control a device...

https://m.youtube.com/watch?v=juGNPLdjLH4 this is a decent crash course on that.

You can create a toy USB device using an Arduino or something that can send / receive information to your PC. Eg: https://m.youtube.com/watch?v=yTc2GLXfCOY .

Then it's a matter of just understanding what the subsystem you're interested in writing drivers for your OS does, how to make it do something, just write code. Storage devices, graphics devices, etc...

A raspberry pi can be a decent starting point for these experiments too.. eg. Writing a bare metal operating system for the raspberry pi https://github.com/babbleberry/rpi4-osdev