From: Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com>
To: Juergen Borleis <jbe@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: Writing UBI image directly to flash from barebox
Date: Wed, 15 Jun 2016 16:55:04 +0200 [thread overview]
Message-ID: <CABDcavYdbEe87BpN2LvzLUX76uJMn6vjrRFGqy6y0Mx8_Vpx8w@mail.gmail.com> (raw)
In-Reply-To: <201606151526.31836.jbe@pengutronix.de>
Hi Jürgen,
2016-06-15 15:26 GMT+02:00 Juergen Borleis <jbe@pengutronix.de>:
> 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>
I did not realize that ubiformat could also flash an image. This works perfect.
Thank you,
Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2016-06-15 14:55 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 [this message]
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=CABDcavYdbEe87BpN2LvzLUX76uJMn6vjrRFGqy6y0Mx8_Vpx8w@mail.gmail.com \
--to=guille.rodriguez@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=jbe@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox