mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Juergen Borleis <jbe@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com>
Subject: Re: Writing UBI image directly to flash from barebox
Date: Wed, 15 Jun 2016 15:26:31 +0200	[thread overview]
Message-ID: <201606151526.31836.jbe@pengutronix.de> (raw)
In-Reply-To: <CABDcavYHUAnKtd1WkOwTwsuZ05wU0h8yx4JcVm9TDRkCp=puAg@mail.gmail.com>

Hi,

On Wednesday 15 June 2016 14:57:45 Guillermo Rodriguez Garcia wrote:
> 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?

ubiformat /dev/<your-partition> -y -f /mnt/tftp/<your-ubi-image>

Cheers
Jürgen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Linux Solutions for Science and Industry      | Phone: +49-5121-206917-5128 |
Peiner Str. 6-8, 31137 Hildesheim, Germany    | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

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

  parent reply	other threads:[~2016-06-15 13:26 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 [this message]
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

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=201606151526.31836.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=guille.rodriguez@gmail.com \
    /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