From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Sanders Date: Tue, 27 Jun 2006 01:02:54 -0700 Subject: [U-Boot-Users] Newbie Question on rootfs.ext2.gz.uboot Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? Happy to RTFM if someone can point me to it. And yes, I confess, I'm a newbie to this. :) Cheers and Thanks! GS -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.denx.de/pipermail/u-boot/attachments/20060627/efaa280b/attachment.htm 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 27 Jun 2006 10:48:28 +0200 Subject: [U-Boot-Users] Newbie Question on rootfs.ext2.gz.uboot In-Reply-To: Your message of "Tue, 27 Jun 2006 01:02:54 PDT." Message-ID: <20060627084828.D4B2A352681@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message you wrote: > > How do I transform that into a root file system of the form > rootfs.ext2.gz.uboot so I can load that into flash? > > Happy to RTFM if someone can point me to it. And yes, I confess, I'm a > newbie to this. :) This is indeed a RTFM job. Details can be found in the README (surprise!) and in the manual (surprise!), see for example http://www.denx.de/wiki/view/DULG/RootFileSystemDesignAndBuilding > ------_=_NextPart_001_01C699C0.186E66EB > Content-Type: text/html; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > > Neve, *NEVER* post HTML on this list! Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Ernest asks Frank how long he has been working for the company. "Ever since they threatened to fire me."