-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boot: "CORE" Edition: Alternative to syslinux - saving up to ~200kB of space on FDDs. #10
Comments
OFC embedding the |
FACT: the |
Will have to see if |
Considering the fact that the As for that - and support from being booted via After all, the big advantage of OS/1337 is that at it's current form it's entirely run from RAM after being loaded, which makes it a really nifty option already. |
I've asked the maintainer of |
In theory you can point CONFIG_INITRAMFS_SOURCE="/path/to/file.cpio.xz" and it will use it directly. But note that it cares about the name: it has to have .cpio in it, and if it's not .cpio.something it will try to compress it again. See usr/Makefile in the kernel source, line 30 or so. |
And yes, you are correct down to the line... I've to take a closer look then... |
Integrating the initramfs into the Kernel at build time will be required. Meaning that all the userspace tools including toybox must be built and integrated into the initramfs.cpio.xz before building the kernel... That will require changing the build order as per Build Scripts... |
…the initramfs.cpio.xz into bzImage [aka. initrd into linux kernel]... - See [issue #10](#10 (comment)) for details. Signed-off-by: kkarhan <[email protected]>
…0 (comment)) so that space can be reclaimed necessary to make the "CORE Edition" work. - See [Issue #10](#10) for details.
At worst I could just statically pull the release I made tho that would be a an ugly hack. |
A few notes: |
Check the sb-dev branch which I think is most of the way there, with mldinstall actually building, though it's not being called with the right arguments. |
yeah, I've to fix that... |
I guess with the switchover to mlb should fix most, tho I did encounter an issue with that so I guess something with the |
As @landley pointed out, syslinux has perl as dependency and as per observation is consuming quite a lot of space.
So far, thanks to @sweetaibelle the following options are on the table:
Options I've disregarded after looking into:
So far mlb and tfl look promising even tho they'll require merging the initramfs.cpio.xz with the kernel into one file, thus complicating things.
The text was updated successfully, but these errors were encountered: