mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Nataraj S Narayan <natarajsn@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: tftp or nfs?
Date: Sat, 20 Aug 2011 22:42:02 +0200	[thread overview]
Message-ID: <4E501C1A.5090003@pengutronix.de> (raw)
In-Reply-To: <CAK8HZOLNN4pdfbHXq40-Zngz3Dnx6hfUkW3n92jxhOHS0DbOaA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1241 bytes --]

On 08/20/2011 12:08 PM, Nataraj S Narayan wrote:
> Unable to download and write a 30Mb ubifs file over tftp.  Any other
> preferred method of writing to ubi volume?
> 
> Usb mass store doesn't mount.
> 
> regards
> 
> Nataraj
> 
> barebox@Atmel at91sam9263-ek:/ tftp rootfs.ubifs /dev/ubi0.root
> warning: No MAC address set. Using random address 4A:01:CD:DA:A9:3C
> phy0: Link is up - 100/Full
> TFTP from server 192.168.0.110 ('rootfs.ubifs' -> '/dev/ubi0.root')
>         #################################################UBI error: ubi_io_writs
> UBI warning: ubi_eba_write_leb: failed to write data to PEB 603189552

your PED (physical erase block) 603189552 seems to have a problem....
Although the number itself is quite big: 603.189.552.

Boot Linux and reformat the ubi.

> UBI warning: ubi_ro_mode: switch to read-only mode
> Couldnt or partially wrote data
> write: Invalid argument
> 
> tftp failed: error -22

cheers, Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

  reply	other threads:[~2011-08-20 20:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-20 10:08 Nataraj S Narayan
2011-08-20 20:42 ` Marc Kleine-Budde [this message]
2011-08-22  5:26   ` Nataraj S Narayan

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=4E501C1A.5090003@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=natarajsn@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