ubi-utils
Hi all,
Is there ubi-utils which can dump the specify volume mapped LEBs
to a file (volume.img), then I can use ubiupdatevol to put the dummped file (volume.img) to Nand?
Thanks a lot!
Signature · 2 lines
Best wishes, Nancy
Hi,
Quoted 4 lines · Nancy
Hi all,
Is there ubi-utils which can dump the specify volume mapped LEBs
to a file (volume.img), then I can use ubiupdatevol to put the dummped file (volume.img) to Nand?
unubi should do this, but last time I tried it - it did not work for me.
Signature · 2 lines
Best regards, Artem Bityutskiy (Битюцкий Артём)
Quoted 9 lines
Hi,
Quoted 4 lines · Nancy
Hi all,
Is there ubi-utils which can dump the specify volume mapped LEBs
to a file (volume.img), then I can use ubiupdatevol to put the dummped file (volume.img) to Nand?unubi should do this, but last time I tried it - it did not work for me.
unubi need a image file as one of its parameter, its job seems like ubiupdatevol do, but I need an opposite function. I need a tool to generate a volume image
Signature · 2 lines
Best wishes, Nancy
Quoted 3 lines · Nancy
unubi need a image file as one of its parameter, its job seems like ubiupdatevol do, but I need an opposite function. I need a tool to generate a volume image
I do not think you got it right because its input file it flash dump, but we do not have anything else at the moment.
Signature · 2 lines
Best regards, Artem Bityutskiy (Битюцкий Артём)
Quoted 6 lines
Quoted 3 lines
unubi need a image file as one of its parameter, its job seems like ubiupdatevol do, but I need an opposite function. I need a tool to generate a volume image
I do not think you got it right because its input file it flash dump, but we do not have anything else at the moment.
Yes, its input file is ubi image.
Where is the old ubi-utils' user manual? At least, hope the code producer give those tools' usage examples and briefly tell those tools' function. Thanks in advance!
Ok, so I have to build this tool by myself. Cause there's no tools like mkfs.ubifs for vfat filesystem. That's the only way to generate a image file the same format like the ubifs.img and all those images can be integrated by ubinize to generate a final ubi image file, then nandwrite to complete the Nand flash burn job.
Or, I make all UBIFS volumes in one MTD partition, VFAT as the only volume in another MTD partition, attache two MTD partition to UBI. Then I do not need to write any tools, but use traditional nandread, nandwrite(fixed FF) for VFAT. How about this? Does attach 2 MTD partition as 2 UBI devices eat system resources a lot? slow down the Nand read or write speed?
Any suggestion? Thanks!
Signature · 2 lines
Best wishes, Nancy
Hi,
Quoted 4 lines · Nancy
Yes, its input file is ubi image.
Where is the old ubi-utils' user manual? At least, hope the code producer give those tools' usage examples and briefly tell those tools' function. Thanks in advance!
I think there is no manual, sorry.
Quoted 5 lines
Ok, so I have to build this tool by myself. Cause there's no tools like mkfs.ubifs for vfat filesystem. That's the only way to generate a image file the same format like the ubifs.img and all those images can be integrated by ubinize to generate a final ubi image file, then nandwrite to complete the Nand flash burn job.
I do not know how you are going to make FAT work on your MLC flash. But if you can do this, and you can somehow create proper image, then yes, ubinize has no problems making the image.
Quoted 6 lines
Or, I make all UBIFS volumes in one MTD partition, VFAT as the only volume in another MTD partition, attache two MTD partition to UBI. Then I do not need to write any tools, but use traditional nandread, nandwrite(fixed FF) for VFAT. How about this? Does attach 2 MTD partition as 2 UBI devices eat system resources a lot? slow down the Nand read or write speed?
Not exactly sure what you mean. But UBI should be fine with attaching 2 MTD devices.
Signature · 2 lines
Best regards, Artem Bityutskiy (Битюцкий Артём)
Quoted 9 lines · Artem Bityutskiy
Quoted 6 lines
Or, I make all UBIFS volumes in one MTD partition, VFAT as the only volume in another MTD partition, attache two MTD partition to UBI. Then I do not need to write any tools, but use traditional nandread, nandwrite(fixed FF) for VFAT. How about this? Does attach 2 MTD partition as 2 UBI devices eat system resources a lot? slow down the Nand read or write speed?
Not exactly sure what you mean. But UBI should be fine with attaching 2 MTD devices.
OK, pass, will you please answer me one question:
Compare with attaching only 1 MTD device, attaching 2 MTD devices will eat system resources a lot? will slow down the Nand write or read speed?
All I need to know is the performances differences. Thanks a lot !
Signature · 2 lines
Best wishes, Nancy
Quoted 5 lines · Nancy
OK, pass, will you please answer me one question:
Compare with attaching only 1 MTD device, attaching 2 MTD devices will eat system resources a lot? will slow down the Nand write or read speed?
All I need to know is the performances differences. Thanks a lot !
As I understand you are talking about splitting your single chip on 2 partitions and you are questioning about the difference between 1 big partition and 2 smaller.
Well, I never tried this with real flash. But theoretically there should be no difference. But I do not recommend you doing this with your MLC NAND where an eraseblock survives just 10000 erase-cycles.
Signature · 2 lines
Best regards, Artem Bityutskiy (Битюцкий Артём)
Quoted 7 lines · Artem Bityutskiy
Quoted 5 lines · Nancy
OK, pass, will you please answer me one question:
Compare with attaching only 1 MTD device, attaching 2 MTD devices will eat system resources a lot? will slow down the Nand write or read speed?
All I need to know is the performances differences. Thanks a lot !
Quoted 7 lines
As I understand you are talking about splitting your single chip on 2 partitions and you are questioning about the difference between 1 big partition and 2 smaller.
Well, I never tried this with real flash. But theoretically there should be no difference. But I do not recommend you doing this with your MLC NAND where an eraseblock survives just 10000 erase-cycles.
Ok, I got what you mean, the only difference is Nand lifetime. Thank you : )
Signature · 2 lines
Best wishes, Nancy