tftp or nfs?

Marc Kleine-Budde mkl at pengutronix.de
Sat Aug 20 16:42:02 EDT 2011


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 at 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   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20110820/825718c2/attachment.sig>


More information about the barebox mailing list