All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Newbie Question on rootfs.ext2.gz.uboot
@ 2006-06-27  8:02 Gary Sanders
  2006-06-27  8:20 ` Matthias Fuchs
  2006-06-27  8:48 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Gary Sanders @ 2006-06-27  8:02 UTC (permalink / raw)
  To: u-boot

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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Newbie Question on rootfs.ext2.gz.uboot
  2006-06-27  8:02 [U-Boot-Users] Newbie Question on rootfs.ext2.gz.uboot Gary Sanders
@ 2006-06-27  8:20 ` Matthias Fuchs
  2006-06-27  8:48 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Matthias Fuchs @ 2006-06-27  8:20 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Newbie Question on rootfs.ext2.gz.uboot
  2006-06-27  8:02 [U-Boot-Users] Newbie Question on rootfs.ext2.gz.uboot Gary Sanders
  2006-06-27  8:20 ` Matthias Fuchs
@ 2006-06-27  8:48 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2006-06-27  8:48 UTC (permalink / raw)
  To: u-boot

In message <A6B3D2F0FED7564699FFE261012FF2AB03AC62B2@samson.internal.mediabolic.com> 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
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>

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."

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-27  8:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-27  8:02 [U-Boot-Users] Newbie Question on rootfs.ext2.gz.uboot Gary Sanders
2006-06-27  8:20 ` Matthias Fuchs
2006-06-27  8:48 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.