All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Lars Michael <lh_post@yahoo.com>
Cc: u-boot@lists.denx.de, linux-mtd@lists.infradead.org,
	"Matthew L. Creech" <mlcreech@gmail.com>
Subject: Re: [U-Boot] U-Boot: using nand write to flash an ubi image, ubi part fails
Date: Mon, 3 Oct 2011 15:36:39 -0500	[thread overview]
Message-ID: <4E8A1CD7.8080908@freescale.com> (raw)
In-Reply-To: <1317354248.25348.YahooMailClassic@web160616.mail.bf1.yahoo.com>

On 09/29/2011 10:44 PM, Lars Michael wrote:
> --- On Thu, 29/9/11, Matthew L. Creech <mlcreech@gmail.com> wrote:
>> 2. Use the "ubinize" tool to create an image suitable for
>> writing
>> directly to NAND.  This takes a UBIFS image and
>> "wraps" it to turn it
>> into a UBI image, which you can then use with "nand
>> write".
> 
> This is what I am doing (or plan to do). But to get it to work, I need
> the space fixup feature for the nand write in U-Boot. I got that feature in Linux, so in Linux it works. Unfortunately it is not easy to patch 
> that one in my 2009.08 U-Boot.

Try using a current U-Boot, and use "nand write.trimffs".

-Scott

WARNING: multiple messages have this Message-ID (diff)
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot: using nand write to flash an ubi image, ubi part fails
Date: Mon, 3 Oct 2011 15:36:39 -0500	[thread overview]
Message-ID: <4E8A1CD7.8080908@freescale.com> (raw)
In-Reply-To: <1317354248.25348.YahooMailClassic@web160616.mail.bf1.yahoo.com>

On 09/29/2011 10:44 PM, Lars Michael wrote:
> --- On Thu, 29/9/11, Matthew L. Creech <mlcreech@gmail.com> wrote:
>> 2. Use the "ubinize" tool to create an image suitable for
>> writing
>> directly to NAND.  This takes a UBIFS image and
>> "wraps" it to turn it
>> into a UBI image, which you can then use with "nand
>> write".
> 
> This is what I am doing (or plan to do). But to get it to work, I need
> the space fixup feature for the nand write in U-Boot. I got that feature in Linux, so in Linux it works. Unfortunately it is not easy to patch 
> that one in my 2009.08 U-Boot.

Try using a current U-Boot, and use "nand write.trimffs".

-Scott

  reply	other threads:[~2011-10-03 20:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01  7:57 U-Boot: using nand write to flash an ubi image, ubi part fails Lars Michael
2011-06-01 11:56 ` Artem Bityutskiy
2011-06-01 11:56   ` [U-Boot] " Artem Bityutskiy
2011-06-01 13:41   ` Ben Gardiner
2011-06-01 13:41     ` [U-Boot] " Ben Gardiner
2011-07-18  9:29     ` Lars Michael
2011-07-18  9:29       ` [U-Boot] " Lars Michael
2011-09-29  2:11       ` Aaron Williams
2011-09-30  3:33         ` Lars Michael
2011-09-30  6:46           ` Aaron Williams
2011-10-01 19:01             ` Lars Michael
2011-09-29  2:43 ` Matthew L. Creech
2011-09-29  2:43   ` [U-Boot] " Matthew L. Creech
2011-09-30  3:44   ` Lars Michael
2011-09-30  3:44     ` [U-Boot] " Lars Michael
2011-10-03 20:36     ` Scott Wood [this message]
2011-10-03 20:36       ` Scott Wood

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=4E8A1CD7.8080908@freescale.com \
    --to=scottwood@freescale.com \
    --cc=lh_post@yahoo.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=mlcreech@gmail.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.