5dd0c6e3c0
By using the kernel "nolibc" header to avoid requiring a C library, we can bring the initramfs size to around 4k This does involve a tiny bit of inline mips assembly which I'm not sure about. gcc seems unwilling to generate the code to load $gp at function entry of main(), so we do it by hand - but I'd rather find out why gcc doesn't. |
||
---|---|---|
.. | ||
s6 | ||
base.nix | ||
busybox.nix | ||
flashimage.nix | ||
hardware.nix | ||
hostname.nix | ||
initramfs.nix | ||
jffs2.nix | ||
kexecboot.nix | ||
outputs.nix | ||
ramdisk.nix | ||
squashfs.nix | ||
tftpboot.nix | ||
users.nix | ||
wlan.nix |