-
This looks like AMAZING project for my 386SX 25Mhz with 2MB of RAM. Tell me - why does it require exactly 4MB of ram, even if kernel size itself its much much smaller? Do you know why they changed it and how to bring it back? Or even to remove any hard limit whatsoever and just TRY to boot up ps. I suspect this something about 4MB memory pages. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi! Tilck does not require at least 4 MB of RAM. Theoretically, it could run with 2 MB as well. Just, I couldn't properly test it with 2 MB because Now I tried again, and I just discovered that QEMU 4.2 supports running a x86 machine with less than 4 MB of RAM. So, I confirm that Tilck runs just fine with 3 MB of RAM (if properly configured for the smallest scale, of course). With 2 MB of RAM, it doesn't. I believe the kernel could run, but it would require a very heavily stripped down version of busybox and an overall much smaller Now, about 386SX: unfortunately, Tilck won't run there not because of the RAM, but because it requires the i586 instruction set. That's because it uses 4-MB pages and several other features and instructions not available on CPUs older than i586. Since I don't have such older machine to test Tilck, I didn't even try supporting a special configuration for them. Maybe in the long term, I will just for the fun of it. But that would require also an USB floppy drive + floppies on which I'll write Tilck's image. Floppies are not produced anymore, as far as I know. In other words, it would be challenging today to have such a setup. About Linux, I believe it can run on i486 if properly configured, but not on anything older than that. Support for i386 has been dropped in 2012: https://www.zdnet.com/article/good-bye-386-linux-to-drop-support-for-i386-chips-with-next-major-release/ Vlad |
Beta Was this translation helpful? Give feedback.
Hi!
Thanks for taking interest in the project!
Tilck does not require at least 4 MB of RAM. Theoretically, it could run with 2 MB as well. Just, I couldn't properly test it with 2 MB because
qemu-system-i386
doesn't support less than 4 MB of memory. At least, it didn't in the past.Now I tried again, and I just discovered that QEMU 4.2 supports running a x86 machine with less than 4 MB of RAM. So, I confirm that Tilck runs just fine with 3 MB of RAM (if properly configured for the smallest scale, of course).
With 2 MB of RAM, it doesn't. I believe the kernel could run, but it would require a very heavily stripped down version of busybox and an overall much smaller
initrd
(currently, 540 K…