←back to thread

520 points OlympicMarmoto | 7 comments | | HN request time: 0s | source | bottom
Show context
jnwatson ◴[] No.45067216[source]
I've written a lot of low level software, BSPs, and most of an OS, and the main reason to not write your own OS these days is silicon vendors. Back in the day, they would provide you a spec detailed enough that you could feasibly write your own drivers.

These days, you get a medium-level description and a Linux driver of questionable quality. Part of this is just laziness, but mostly this is a function of complexity. Modern hardware is just so complicated it would take a long time to completely document, and even longer to write a driver for.

replies(13): >>45067491 #>>45069282 #>>45069287 #>>45069349 #>>45069690 #>>45070345 #>>45071036 #>>45071086 #>>45072259 #>>45072391 #>>45073789 #>>45075476 #>>45081942 #
tanvach ◴[] No.45067491[source]
Yeah reverse engineering all the drivers is going to be a huge headache.
replies(1): >>45069918 #
1. markus_zhang ◴[] No.45069918[source]
Sounds like super fun if I could be paid a bit for it.

What is an easy gate task to get into “reverse engineering some drivers for some OS”?

Second thought: I don’t even know how to write a driver or a kernel, so I better start from there.

replies(3): >>45069947 #>>45070420 #>>45073406 #
2. wmf ◴[] No.45069947[source]
Asahi Linux.
3. toast0 ◴[] No.45070420[source]
I don't know how you get paid for it, but if you want to write your own kernel, I'd start with an osdev tutorial. started with this one [1], but this one [2] has a promissing name... and I haven't really looked around.

It helps to have a concept to guide you too, but you can certainly make some progress on the basics before you figure out what you really want to do.

[1] https://wiki.osdev.org/User:Zesterer/Bare_Bones

[2] https://osdev.wiki/wiki/Multiboot1_Bare_Bones

replies(1): >>45070553 #
4. markus_zhang ◴[] No.45070553[source]
Thanks. I got all the resources covered. But I don’t have the energy to work on them as a side project any more. Alas! I wasted my younger days and hope you fare better!
replies(1): >>45073294 #
5. saagarjha ◴[] No.45073294{3}[source]
Unfortunately, you are unlikely to be able to jump into just being paid to write an OS with no experience.
6. mastermage ◴[] No.45073406[source]
Isn't that what low level does on his YouTube channel teach people to reverse engineer stuff?
replies(1): >>45078782 #
7. spauldo ◴[] No.45078782[source]
Mostly he seems to try to nail all the items on the "how to grow your YouTube channel" checklists. Clickbait sensationalist titles, exaggerated face on the thumbnail, etc. I have a rule that I don't click on any video where I can't tell the subject by the title, and that eliminated him from my watchlist a while ago.

I wish the guy luck on becoming a superstar influencer, since that seems to be his goal, but he can do it without my help.