|
From:
<ma...@ay...> - 2007-01-29 11:24:45
|
>> In case it might help, our kernel is 3321323 bytes in length and it >> carries inside an initrd of 2523136 bytes. > My current problem is packing kernel and initrd that it works on ns1000= . > mkelf-linux doesn't help here (see also other post). Well, I don't think that will ever work, I don't know if you have to use that mkelf-linux for any reason, if not... then you can do as we do here. We are using a cramfs ramdisk, but you can use whatever fits you better, what you do is place your ramdisk with the name "ramdisk.image.gz" at arch/ppc/boot/images/ and then you must compile the kernel with "make zImage.initrd". That way the final kernel.1000 will carry your image inside without needing to do any other thing. Even though the file name i= s .gz it doesn't have to be compressed with gzip if you don't want, for example, the cramfs we use is already a compressed file so compressing it with gzip wouldn't help, so we don't compress it. Hope that helps you with your final problem. Regards... --=20 Santiago Garc=EDa Manti=F1=E1n Servicio de Inform=E1tica (Redes) AYUNTAMIENTO DE LA CORU=D1A Tlf: 981184200/22 Ext 10997 |