I’m absolutely stunned by how easy you make things appear that actually are pretty complicated and cumbersome, e.g. booting a customized Linux kernel with a custom init process. And that holds true for all your other videos as well. There’s so much more to get and learn from your videos than their titles and quite short durations would allow you to expect. Truly, truly amazing, Chapeau!
@thesushifiend5 ай бұрын
Innit! Or should I say init.cpio?
@nirlichtman5 ай бұрын
Thanks!
@vlc-cosplayer5 ай бұрын
I can already see the alternative layout nerds modding their kernel so that Dvorak, Colemak, etc. are baked in, and they don't need to wrestle with Xorg...
@ivanjermakov5 ай бұрын
Not much reasons to go that deep, since you'll have to provide implementations for PS/2, USB and other possible input protocols.
@rolandlemmers64625 ай бұрын
It would be truly cursed if the code variable was given a random value after a keystroke.
@Rametesaima4 ай бұрын
I've been programming for 12 years and it's always fun learning new things. Really love your straight-forward video format where you just dive into the code and explain exactly what's happening without unnecessary fluff. Keep up the awesome work!
@johanngambolputty53515 ай бұрын
This is an awesome walkthrough, I've compiled a kernel before (but not made modifications), and I boot into the one I'm running from efi (so vaguely aware of providing the image as an arg), but wondered about custom initrd and custom init programs.
@mzakyr3425 ай бұрын
Underated youtube channel
@shadesoftime5 ай бұрын
This guy is the kind of computer nerd that they show hacking a bank in hollywood movies
@thesushifiend5 ай бұрын
After years of using vi (probably VIM actually) I've just learned that you can open files from within it with :e ! You make me feel like such a dumbass...
@aniksamiurrahman63655 ай бұрын
LOL! This is why people shouldn't skip $ vimtutor.
@bacphan75825 ай бұрын
Did this guy just modify, compile, write and compile an init program and run it all in less than 7 minutes, while explaining it ?
@mythacker43655 ай бұрын
I never knew that customizing the Linux kernel will be this easy. Thank you ❤
@CYXXYC5 ай бұрын
im having a key stroke
@Scorpieonna_Sting5 ай бұрын
1:30 Instead of making it do +1 to everything, you should make it appear random but be completely deterministic. My idea is that it changes the imputed letter based on the previous imputed letter. Something like: Since "C" is the third letter, the next letter will be +3, to the imputed letter. Example: First imput is C (the 3rd alphabet letter), second imput is B (the 2nd alphabet letter), the result is E (5th alphabet letter), because 3+2= 5. (Note: Just don't accidentally make the result/"E" the previous imput for the next letter, or it will be super unpredictable.) Typing "Hello" would equal: HMQXA Following this process: H/8 is unaffected. H/8 + E/5 = M/13 E/5 + L/12 = Q/17 L/12 + L/12 = X/24 L/12 + O/15 = 27->A/1 (Looped to the start.)
@yaroslavluck72345 ай бұрын
Thank you for creating such interesting, educational and amazing videos
@0xgordo3505 ай бұрын
bro I love these videos
@gareth43485 ай бұрын
Should have set the value to random to make it even more cursed.
@Jonathan-ru9zl3 ай бұрын
Hi. Is it possible to make linux driver that can detect fingerprint (to make the need to type the password endlessly obsolete)?
@Amythiz5 ай бұрын
Would be funnier to make it add 1 only sometimes
@shadesoftime5 ай бұрын
Make it rare enough so the user thinks they made a typo
@RahulNarsing-lx9pi5 ай бұрын
Yoooooo, epikkk
@ignorethenameplis5 ай бұрын
can you make a tutorial on malloc in C
@nirlichtman5 ай бұрын
on usage of malloc or how it is implemented?
@robertkiestov37345 ай бұрын
@@nirlichtman An implementation video would be great
@ignorethenameplis5 ай бұрын
^
@petriksacha5 ай бұрын
@@robertkiestov3734 Agreed, I'd love to see how such a vital function does stuff under the hood!
@majtej24035 ай бұрын
Cool material. The question is why are you using windows to program the linux driver?
@everythingtube1722 ай бұрын
I think he’s using wsl
@iLuvHalav5 ай бұрын
Awesome video, thanks aloy will be sure to subscribe 😊
@braz10805 ай бұрын
still waiting on html tutorial
@nirlichtman5 ай бұрын
on my list :)
@nathaaaaaa5 ай бұрын
@@nirlichtmando the most cursed html tutorial you can:)
@GameBacardi5 ай бұрын
adBlocker :D
@CocolinoFan5 ай бұрын
This is hilarious and very informative 👍
@adamhafchadi49245 ай бұрын
Hey, Thanks a lot I am not surte that i fully why you needed you create cpio archive
@nirlichtman5 ай бұрын
I used cpio to make the initramfs (containing only the init executable with the read.c code), so that the kernel would load this code as the first user mode process (init), after it finishes initializing.
@GameBacardi5 ай бұрын
You have good videos!
@Wraient5 ай бұрын
"Subscribe for more programming videos"
@mohsenzare25115 ай бұрын
amazing!!
@lt3lt3lt35 ай бұрын
I loved this lol
@omegahaifoleet5 ай бұрын
:O thats crazy
@luissalazar50005 ай бұрын
Subscribed 👏👏👏
@eVITORIOe5 ай бұрын
I'm with @bernhardbaumgartner4702 You make these things look pretty easy !
@ChandrashekarCN5 ай бұрын
💖💖💖💖
@BenjaminWheeler05104 ай бұрын
It’s pronounced qemu.
@TuxikCE5 ай бұрын
why though 😂?
@Paolog_5 ай бұрын
fun
@fqdn5 ай бұрын
Learning by breaking stuff is one of the best ways to go about it when getting into developing for an existing codebase, stuff like this is a great way to get your feet wet. It's also a good sanity check if you are even modifying the right thing.
@nathaaaaaa5 ай бұрын
I've done it much easier when they fucked up the Logitech's Lightspeed driver. In fact I didn't enjoy it
@catsawkotowaty91115 ай бұрын
I should mod the kernel on lab computers with this :)
@krzysztofadamski78045 ай бұрын
A small tip related to 1:51. If it's your first time compiling kernel it would make sense to start from a defconfig (by using "make x86_64_defconfig) and only *then* optionally do "make menuconfig" or go straight to "make". This makes things much easier.
@1cubealot5 ай бұрын
Or `cp /boot/config-$(uname -r) ./.config` then make ...
@krzysztofadamski78045 ай бұрын
@@1cubealot Sure, this might be good idea if you want to run this kernel on your own machine. If it is going to be run on an emulator, this will probably be an overkill. Distribution kernels are huge. And the config is not always available in /boot/.
@sintaklaas64275 ай бұрын
Great stuff, i m new to this, so it helps understanding what is possible
@megakev3215 ай бұрын
I love this channel!
@gdplayer10355 ай бұрын
qiqcwetxiik
@stevenchristenson24282 ай бұрын
The kernel can actually support other initramfs stuff then CPIO now. I believe if you make a defconfig it auto enables the use of bz and gz compressed images. CPIO is arcane as shit with its syntax which is why you have to do all sorts of weird shit like passing it each file name via find or echo in your case...
@cristhopersanchez24495 ай бұрын
I really appreciate the way you give brief descriptions of what things are doing, its helped me understand the kernel/os so well. Thanks!
@markinius88665 ай бұрын
would it even more cursed if you do modulo on the data var?
@neilmeich5 ай бұрын
co0l!
@roz15 ай бұрын
Wow such an innovative video .... Teaches u about modifying the kernel and booting it up with new initcode
@Psychopatz5 ай бұрын
So it just appends the ascii chars, I hope you also tried the shiftkeys and the special ones
@0xgordo3505 ай бұрын
Keep making these videos! I loved this channel
@bdnugget5 ай бұрын
Can you go out of bounds by pressing the most right key?