Running UEFI Self-Certifcation Test (SCT) will require to support
writing to a FAT file system.

Writing to the FAT root directory from EFI fails because the leading
slash of the file path is interpreted as part of the filename.

With the 1st patch we can write to the root directory.

A unit test for writing a new file to the FAT root directory is supplied.

We still cannot write to subdirectories.

v3:
        Do not throw an error in the unit test if CONFIG_FAT_WRITE is not
        not set.
        Drop accepted patch implying CONFIG_FAT_WRITE from patch set.

Heinrich Schuchardt (2):
  fs: fat: cannot write to subdirectories
  efi_selftest: test writing to file

 fs/fat/fat_write.c                           | 16 ++++-
 lib/efi_selftest/efi_selftest_block_device.c | 70 ++++++++++++++++++++
 2 files changed, 85 insertions(+), 1 deletion(-)

-- 
2.18.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to