IRC channel logs
2022-11-18.log
back to list of logs
<rickmasters>Good news: I have compiled Fiwix with tcc 0.9.27 and booted it successfully. <rickmasters>It was built on Linux (outside of live-bootstrap) and booted with qemu. <rickmasters>It did take quite a bit of effort to figure out what needed to change, though. <rickmasters>I thought building with tcc was going to take more time and effort so I'm happy with the pace of progress so far. <rickmasters>I am now going to move onto building and booting Fiwix as part of live-bootstrap. <rickmasters>By the way, the author released a new kernel version and OS this week. <rickmasters>He pronounces it "Few Weeks" and that's meant to reflect how fast you can learn it. <stikonas>so you'll insert another system before sysb/sysc? <stikonas>hopefully Fiwix can last all the way to gcc <rickmasters>stikonas: I think I'll need to go straight to tcc-0.9.27 after tcc-0.9.26 and then build any support tools and artifacts to boot Fiwix <stikonas>gzip can be built without make, presumably bzip2 <stikonas>oh, maybe it doesn't if we use kaem script rather than their makefile <stikonas>hmm, we actually patch bzip2 to work with mes (meslibc does not have any time support) <stikonas>which could be fixed on meslibc side by adding stubs <rickmasters>Another possibility is to build Fiwix with tcc-0.9.26. I haven't tried yet <rickmasters>... And I might need tcc-0.9.27 for other tools so it's not my first choice <rickmasters>But I have no qualms with repackaging tcc-0.9.27 but you've got some investment in bootstrapping bzip2 first to avoid that <stikonas[m]>But without any kernel in sight it was not clear what is better <stikonas[m]>Right now it was optimised for fewest kaem scripts, so make was built early <stikonas[m]>But turns out make does need quite a bit more powerful kernel <rickmasters>I can stage a repackage in the boot2now repo for now. Eventually I'd like to merge everything from boot2now into live-bootstrap. <rickmasters>I'm presuming you'd want it... The boot2now process is oriented towards the builder-hex0 kernel which is quite different and would be difficult to integrate as a live-bootstrap option. <stikonas>yes, builder-hex0 is quite a bit different (especially file system stuff) <stikonas>well, let's start with fiwix and we'll see how it goes <stikonas>rickmasters: actually, can fiwix be used as qemu seed kernel in live-bootstrap? <rickmasters>stikonas: i'm going to try it as a seed kernel for testing purposes soon <rickmasters>I think it requires so work because Fiwix uses ext2 for it's initrd <rickmasters>To be clear, that's just a test to see how far it can take us, because it's not a proper bootstrap seed like builder-hex0 <rickmasters>But maybe you're thinking its simpler to start with than linux...? <stikonas>yes, I was indeed thinking about this for these two purposes: 1. check how far proper bootstrap can take it. 2. It's a smaller seed than linux. And also might help to catch some more reproducibility issues <rickmasters>it will be an interesting test. I'll let you know how it goes. Probably tomorrow