diff options
author | Philipp Skadorov <philipp.skadorov@savoirfairelinux.com> | 2016-12-15 15:52:53 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-27 11:24:13 -0500 |
commit | 49abbd9cc309235895c9ff7ccb6ad75c40fca4a9 (patch) | |
tree | cde9103347ae17a2bbae256f1c591f2d366e31e7 /include/dt-bindings/pmic | |
parent | 43db3e3b3d7d24c080ee04605a0f045939137b19 (diff) | |
download | u-boot-imx-49abbd9cc309235895c9ff7ccb6ad75c40fca4a9.zip u-boot-imx-49abbd9cc309235895c9ff7ccb6ad75c40fca4a9.tar.gz u-boot-imx-49abbd9cc309235895c9ff7ccb6ad75c40fca4a9.tar.bz2 |
fat: fatwrite: fix the command for FAT12
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.
Additionally, FAT entry chaining-up into a file is not implemented
for FAT12.
The users normally workaround this by re-formatting the partition as
FAT16/FAT32, like here:
https://github.com/FEDEVEL/openrex-uboot-v2015.10/issues/1
The patch fixes the bounds of a file and FAT12 entries chaining into
a file, including EOF markup.
Signed-off-by: Philipp Skadorov <philipp.skadorov@savoirfairelinux.com>
Diffstat (limited to 'include/dt-bindings/pmic')
0 files changed, 0 insertions, 0 deletions