From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Date: Tue, 27 Jun 2006 10:20:51 +0200 Subject: [U-Boot-Users] Newbie Question on rootfs.ext2.gz.uboot In-Reply-To: References: Message-ID: <44A0EA63.5020008@esd-electronics.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Gary Sanders wrote: > I have a root file system that I boot over NFS (x86 host, PPC target). > > How do I transform that into a root file system of the form > rootfs.ext2.gz.uboot so I can load that into flash? Take a look at the genext2fs tool (http://genext2fs.sourceforge.net/) that also comes with the ELDK. It creates an ext2 filesystem image. Then use gzip to compress and finally use mkimage (part of the ELDK as well) to make it bootable by u-boot. Alternatively you can do the genext2fs steps by hand (loopback mount an image file ....), but you need to become root to do this. I think there are some hints in the Denx'Wiki. Matthias