angry-goose-initiative / wiki

AGI Wiki
0 stars 0 forks source link

Better linux/initrd #37

Closed JZJisawesome closed 6 months ago

JZJisawesome commented 8 months ago

Alrighty so the S-Mode kernel final works! That's great! But we still do have some work ahead of us (hopefully fun and not nearly as grueling).

Improvements are needed to the build-linux and linux repos:

JZJisawesome commented 7 months ago

Here's what busybox shows for my current experimental initramfs:

[    0.160848] clk: Disabling unused clocks
[    0.160848] clk: Disabling unused clocks
[    0.207247] Freeing unused kernel image (initmem) memory: 1372K
[    0.207247] Freeing unused kernel image (initmem) memory: 1372K
[    0.207987] Kernel memory protection not selected by kernel config.
[    0.207987] Kernel memory protection not selected by kernel config.
[    0.208833] Run /init as init process
[    0.208833] Run /init as init process
[    0.209217]   with arguments:
[    0.209217]   with arguments:
[    0.209569]     /init
[    0.209569]     /init
[    0.209952]   with environment:
[    0.209952]   with environment:
[    0.210287]     HOME=/
[    0.210287]     HOME=/
[    0.210521]     TERM=linux
[    0.210521]     TERM=linux
mount: mounting devtmpfs on /dev failed: No such device
hi
sh: can't access tty; job control turned off
~ # echo "Hello Qemu!"
Hello Qemu!
~ # 

Now we just need to get to this point with IRVE!

JZJisawesome commented 6 months ago

Massive improvements in recent PRs merged to IRVE, and commits to build-linux. Closing.