For the record, if I use uboot instead of sam-ba to flash : usb start fatload usb 0 0x20008000 /userspace.ubi nand device ubi nand erase.part ubi nand write.trimffs 0x20008000 ubi 32e0000 I've got the same error. (And of course, no error when I use ubiformat !) Richard.