mfgtools icon indicating copy to clipboard operation
mfgtools copied to clipboard

uuu tool - Get size of source file before copying to target

Open dornenvogel opened this issue 4 years ago • 2 comments

In mfgtool there was the variable @FILESIZE. Now with uuu tool I could not find any way to find out the size of an image to flash before the flashing actually starts. I used this @FILESIZE for UBI partitions to create the partition before I fill it with the image. And the partition size should adapt to the size of the image. How can I get @FILESIZE with uuu ?

dornenvogel avatar Apr 02 '20 11:04 dornenvogel

Not support yet.

lznuaa avatar Apr 02 '20 13:04 lznuaa

Ran into same thing. nandwrite needs file size when streamed from stdio. So would be really good to have a way to get that.

elupus avatar Nov 17 '21 08:11 elupus