mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Juergen Borleis <jbe@pengutronix.de>
To: barebox@lists.infradead.org, Jan Remmet <J.Remmet@phytec.de>
Subject: Re: Writing UBI image directly to flash from barebox
Date: Thu, 16 Jun 2016 08:34:45 +0200	[thread overview]
Message-ID: <201606160834.45162.jbe@pengutronix.de> (raw)
In-Reply-To: <20160615145714.GC3053@lws-weitzel2@phytec.de>

Hi Jan,

On Wednesday 15 June 2016 16:57:14 Jan Remmet wrote:
> On Wed, Jun 15, 2016 at 03:26:31PM +0200, Juergen Borleis wrote:
> > 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>
>
> This may fail if the used tftp sever don't support the reporting of the
> file size. The file size then defaults to -1 and ubiformat complains.
>
> ls -l /mnt/tftp/barebox.bin
> -rwxrwxrwx 18446744073709551615 /mnt/tftp/barebox.bin

Thanks, important to know.

Cheers
Jürgen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

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

  reply	other threads:[~2016-06-16  6:35 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 [this message]
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=201606160834.45162.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=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