[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tests to reduce memory



Joey Hess a écrit :
sferriol wrote:

i make different modifications to pass the test:
1) i use cpio in rootskel/src-bootfloppy/init
this avoid to use loop module, and to double memory used
see di-rootskel-bootfloppy-cpio.diff.gz
and in busybox/config-floppy-udeb-linux, i activate only:
CONFIG_CPIO=y
CONFIG_GUNZIP=y

i do not test it with a bootfloppy and a usb key.
and the root initrd floppy/usb must be a cpio archive
i think if we can put 2.6 on floppy, it will be more easier
so this option is just a draft


Well, that won't work for floppy+usb for sure, since the initrd on the
usb key needs to be something the 2.4 kernel can boot. Going with 2.6 on
a floppy would be nice, but I cannot get it to fit, can you?
i found a first solution to put 2.6.15 on floppy
try:
http://www-timc.imag.fr/Sylvain.Ferriol/debian/

there is no rootskel/src-bootfloppy in boot.img, only the kernel
and i ask the kernel to load root.imd directly in RAM. But we will not have floppy+usb option because root.img is a cramfs filesystem. As all kernels have cramfs, we do not have to load fat,loop,... modules.
the only constraint is to add floppy driver in kernel
CONFIG_BLK_DEV_FD=y

i only build boot and root image, it's a very alpha release. i just test kernel to boot and load the root image, that's all. i do not test all install
i have to build net and cd drivers floppies in cramfs too, and test

the other advantage is to have free space on boot image for next kernel release because as i see, the size is always growing up ;)

now, i try to build config files boot-2.6.cfg and root-2.6.cfg

i'm not a kernel expert so any comments on other arch is welcome :)

sylvain

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: