On 19 Jul 2004, rpjday at mindspring.com wrote: [...] > > and all i need to change is "ramdisk.image.gz" to, say, my "newc" > format gzipped cpio archive, "initramfs.cpio.gz", and the early > kernel code should recognize it as such automatically? > > i'll give that a shot later. > > rday
look at populate_rootfs(), it's that simple. Our local kernel tree has the following in the boot/simple/Makefile: ZRDIMAGE := $(images)/ramdisk.image.gz ROOTDIR := $(srctree)/............/path/to/dir/containing/root-fs $(ZRDIMAGE) : $(OUR_LOCAL_RULES_FOR_BUSYBOX) FORCE (cd $(ROOTDIR) && find | grep -v '~$$' | cpio -o -Hnewc ) | \ gzip -9 -c > $@ ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/