All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Cooper <ecc@cmu.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot] understanding mkimage a bit more
Date: Fri, 6 May 2011 16:30:35 -0400	[thread overview]
Message-ID: <20110506203035.GB24692@localhost> (raw)
In-Reply-To: <BANLkTikQDvBinJd+NE54mbU+yyFnKBZeVw@mail.gmail.com>

On Fri, May 06, 2011 at 11:45:08AM -0700, Charles Krinke wrote:
> I understand a bit about setting up JFFS2 and have used
> drivers/mtd/maps for this purpose. I also understand that in setting
> up UBIFS, I will enable UBIFS in the linux kernel.
> 
> But, on the flash, I am a little perplexed as I have not done this before.
> 
> Can someone give me a few hints and clues about setting up the flash
> in the manner Eric describes, please?

This page may help:
    https://wiki.xkyle.com/Install_Debian_Lenny_on_a_Seagate_Dockstar

It has a description of how to set up a ubifs image (under "Generate
UBIFS IMage") and how to write a kernel and ubifs image to NAND flash
(in step 5 of "Get the DockStar Going").

This all presumes that you have a partitioning scheme set up on your
flash.  If you're starting from scratch or completely overwriting
someone else's firmware, you can set up whatever you want (you'll want
to learn about the mtdparts kernel boot parameter).  Otherwise, you
can use the existing system to find out what it is (try "cat
/proc/mtd" if it's running an embedded Linux).

-- 
Eric Cooper             e c c @ c m u . e d u

  reply	other threads:[~2011-05-06 20:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-06 16:24 [U-Boot] understanding mkimage a bit more Charles Krinke
2011-05-06 17:33 ` Gerhard Pircher
2011-05-06 18:13   ` Charles Krinke
2011-05-06 18:33     ` Eric Cooper
2011-05-06 18:45       ` Charles Krinke
2011-05-06 20:30         ` Eric Cooper [this message]
2011-05-06 20:38           ` Charles Krinke
2011-05-09  5:33             ` 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=20110506203035.GB24692@localhost \
    --to=ecc@cmu.edu \
    --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.