Hi
I wanted to upgrade a UBIFS rootfs image from a running application on it.
But if I have to use ubiformat, I need to detach the ubi rootfs partition using ubidetach.
This gives Device busy error as below
ubiformat /dev/mtd4 -O 2048 -f /mnt/installubi.img
ubiformat: error!: please, first detach mtd4 (/dev/mtd4) from ubi0
So I tried to detach
ubidetach -p /dev/mtd4
ubidetach: error!: cannot detach "/dev/mtd4"
error 16 (Device or resource busy)
I cannot unmount my root , since I am already inside the filesystem.
Can someone tell me , how to proceed using ubiformat?
When I tried to use nandwrite, it gives the following error
UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 2:4096, read 126976 bytes
I have reservations about using nandwrite for writing ubi images into nand flash.
Can someone help?
Regards
|
Jayakrishnan M M Camera R&D Group Security Solutions DivisionSAMSUNG TECHWIN CO.,LTD TEL +82-70-7147-8482 FAX +82-31-8018-3712 Mobile +82-10-6668-3619
|
_______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source