mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jan Remmet <J.Remmet@phytec.de>
To: barebox@lists.infradead.org
Subject: Re: Writing UBI image directly to flash from barebox
Date: Wed, 15 Jun 2016 15:27:58 +0200	[thread overview]
Message-ID: <20160615132758.GA3053@lws-weitzel2@phytec.de> (raw)
In-Reply-To: <CABDcavYHUAnKtd1WkOwTwsuZ05wU0h8yx4JcVm9TDRkCp=puAg@mail.gmail.com>

On Wed, Jun 15, 2016 at 02:57:45PM +0200, Guillermo Rodriguez Garcia wrote:
> Hi all,
> 
> I need to write an UBI image (generated by ubinize) directly to flash
> from barebox. Does barebox provide any equivalent to U-boot's
> write.trimffs command for this?
You can use ubiformat MTDEVICE -f FILE to format and flash the ubi image.

Jan
> 
> (I know that it is possible to write a ubifs image to flash using the
> procedure described in the documentation [1]. What I am looking for is
> a way to work with the UBI image directly)
> 
>  [1]: http://barebox.org/doc/latest/user/ubi.html
> 
> Thank you,
> 
> Guillermo Rodriguez Garcia
> guille.rodriguez@gmail.com
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2016-06-15 13:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-15 12:57 Guillermo Rodriguez Garcia
2016-06-15 13:04 ` Alexander Richter
2016-06-15 13:26 ` Juergen Borleis
2016-06-15 14:55   ` Guillermo Rodriguez Garcia
2016-06-15 14:57   ` Jan Remmet
2016-06-16  6:34     ` Juergen Borleis
2016-06-15 13:27 ` Jan Remmet [this message]

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=20160615132758.GA3053@lws-weitzel2@phytec.de \
    --to=j.remmet@phytec.de \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox