All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Newbie Question on rootfs.ext2.gz.uboot
Date: Tue, 27 Jun 2006 10:20:51 +0200	[thread overview]
Message-ID: <44A0EA63.5020008@esd-electronics.com> (raw)
In-Reply-To: <A6B3D2F0FED7564699FFE261012FF2AB03AC62B2@samson.internal.mediabolic.com>

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

  reply	other threads:[~2006-06-27  8:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27  8:02 [U-Boot-Users] Newbie Question on rootfs.ext2.gz.uboot Gary Sanders
2006-06-27  8:20 ` Matthias Fuchs [this message]
2006-06-27  8:48 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44A0EA63.5020008@esd-electronics.com \
    --to=matthias.fuchs@esd-electronics.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.