Re: [U-Boot] [PATCH v1] fat: fatwrite: fix the command for FAT12

2016-12-11 Thread Philipp Skadorov
Good morning, I will update and test set_fatent_value as well and will send you patch v.2 Regards, Philipp > On Dec 11, 2016, at 10:05 AM, Benoît Thébaudeau > wrote: > > Dear Stefan Brüns, > > On Sun, Dec 11, 2016 at 12:29 AM, Stefan Bruens > wrote: >> On Freitag, 9. Dezember 2016 13:55:37 C

Re: [U-Boot] [PATCH v1] fat: fatwrite: fix the command for FAT12

2016-12-11 Thread Benoît Thébaudeau
Dear Stefan Brüns, On Sun, Dec 11, 2016 at 12:29 AM, Stefan Bruens wrote: > On Freitag, 9. Dezember 2016 13:55:37 CET Philipp Skadorov wrote: >> The u-boot command fatwrite empties FAT clusters from the beginning >> till the end of the file. >> Specifically for FAT12 it fails to detect the end of

Re: [U-Boot] [PATCH v1] fat: fatwrite: fix the command for FAT12

2016-12-10 Thread Stefan Bruens
On Freitag, 9. Dezember 2016 13:55:37 CET Philipp Skadorov wrote: > The u-boot command fatwrite empties FAT clusters from the beginning > till the end of the file. > Specifically for FAT12 it fails to detect the end of the file and goes > beyond the file bounds thus corrupting the file system. > >

Re: [U-Boot] [PATCH v1] fat: fatwrite: fix the command for FAT12

2016-12-10 Thread Benoît Thébaudeau
Dear Philipp Skadorov, On Fri, Dec 9, 2016 at 7:55 PM, Philipp Skadorov wrote: > The u-boot command fatwrite empties FAT clusters from the beginning > till the end of the file. > Specifically for FAT12 it fails to detect the end of the file and goes > beyond the file bounds thus corrupting the fi

[U-Boot] [PATCH v1] fat: fatwrite: fix the command for FAT12

2016-12-10 Thread Philipp Skadorov
The u-boot command fatwrite empties FAT clusters from the beginning till the end of the file. Specifically for FAT12 it fails to detect the end of the file and goes beyond the file bounds thus corrupting the file system. The users normally workaround this by re-formatting the partition as FAT16/FA