| <<<Back 1 day (to 2021/04/17) | Fwd 1 day (to 2021/04/19) >>> | 20210418 |
artifexi- | <RayJohnston> @Robin_Watts I think I've heard of MINIX. Apparently it's open source: https://www.minix3.org/ | 01:09.13 |
unixbsd | chrisl: How are you? got it to work, a netbsd live kernel and slack: "https://gitlab.com/openbsd98324/netbsd-live-efi/-/raw/master/v1/netbsd-live-efi-image-2206109-v1.img.gz" | 09:28.55 |
| artifexi-: well, surely, i need to learn more about kernels. i would have well one little one to try hello worlds with printf. the kernel does handle the console / termcap / termios stuff vt. | 09:29.55 |
| wow | 09:30.13 |
| this is impressive | 09:30.16 |
| i love those little kernels | 09:30.22 |
| the thing is that my rpi 3b is very slow with linux, and this is way faster than my toshiba satellite 220cs that performs very well with netbsd | 09:30.55 |
| the modern kernel take way too much ressources today, which would impact on perfs. | 09:31.23 |
| since i use only a termios env, I would love to test my daveterm on a barebone kernel | 09:31.45 |
| here the davekey.c code ... to have fun with little termios: davekey.c https://termbin.com/ejqz | 09:32.37 |
| if you have the smallest code kernel to run this little code, please let me know. i would love to run it on my pi. | 09:33.01 |
| thank you for the links !!!!!! | 09:33.30 |
| btw, minix is way tooo ooooooo big | 09:34.01 |
| the bsd kernel runs on about 1 mb or 4mb max is we just want. | 09:34.50 |
| no bison required ??? no google into the kernel ;) | 09:36.07 |
| btw. ... teaching kernels do not mean to be capable to write a little code to run on a raspberry pi or arm or intel core processor | 09:37.45 |
| this is very hard to make ... there are few attempts here: | 09:37.58 |
| https://github.com/PeterLemon/RaspberryPi/blob/master/HelloWorld/DMA/kernel.asm | 09:38.28 |
| it means to master assembler first. | 09:38.35 |
| even that one is way too big, asm and c++ arent the right choice | 09:39.23 |
| a core kernel should be *like netbsd attempts to* to be cross-compilable, using a classic C compiler. | 09:39.50 |
| ideally it should work with a bare bone compiler like tcc. | 09:40.04 |
| So, far, I dont know any of those kinds of mimimum barebone kernel. they are mostly very heavy and requires the "cmake" autotool linux insanity. | 09:40.41 |
| Have fun | 09:41.32 |
| quite intersting that one: http://dex-os.github.io/DexBasic/DexBasic.htm | 09:43.51 |
artifexi- | <Robin_Watts> @RayJohnston Minix predated linux. It was "mini-unix". | 10:17.24 |
| <RayJohnston> Totally agree w.r.t C++, but savings in code size from C by using ASM are really marginal with modern optimizing compilers (for the most part). Usually ASM vs. C is best for some very performance sensitive sections. | 16:14.55 |
| <RayJohnston> I don't recall offhand the timing of XINU (Xinu Is Not Unix), but it also predated linux | 16:16.23 |
unixbsd | chris: a little bit more voip into the code with a ssh workaround : links http://openbsdtai123.scienceontheweb.net/netbsd/nconfig.c | 20:00.04 |
| rapidly people turn to C to have more freedom with the code. | 20:00.56 |
| (well, asm is into gcc mostly so all into a single) | 20:01.35 |
artifexi- | <RayJohnston> I do!!! (C++ SUCKS with knowing what the heck the compiler is going to decide to do, other than "don't worry, trust me, I'll get it done -- eventually") | 21:18.25 |
| <RayJohnston> at least I haven't seen too many C (not C++) compilers totally muck it up (not Doing What I Mean -- DWIM) | 21:19.37 |
| <<<Back 1 day (to 2021/04/17) | Forward 1 day (to 2021/04/19)>>> | |