From mboxrd@z Thu Jan 1 00:00:00 1970 To: "Robert P. J. Day" Cc: "Embedded Linux PPC list" Subject: Re: list of 2.6-related migration issues for embedded programmers? References: From: "Linh Dang" Date: Mon, 19 Jul 2004 21:29:38 -0400 In-Reply-To: (Robert P. J. Day's message of "Mon, 19 Jul 2004 16:01:08 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: On 19 Jul 2004, rpjday@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/