public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC 0/3] efi_loader: allow writing to FAT
@ 2018-05-26  8:34 Heinrich Schuchardt
  2018-05-26  8:34 ` [U-Boot] [RFC 1/3] fs: fat: cannot write to subdirectories Heinrich Schuchardt
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Heinrich Schuchardt @ 2018-05-26  8:34 UTC (permalink / raw)
  To: u-boot

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.

I am still unhappy that we cannot write to subdirectories. I therefore
mark the series as RFC.

Heinrich Schuchardt (3):
  fs: fat: cannot write to subdirectories
  efi_selftest: imply FAT, FAT_WRITE
  efi_selftest: test writing to file

 fs/fat/fat_write.c                           | 18 ++++++-
 lib/efi_selftest/Kconfig                     |  2 +
 lib/efi_selftest/efi_selftest_block_device.c | 56 ++++++++++++++++++++
 3 files changed, 75 insertions(+), 1 deletion(-)

-- 
2.17.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-01  7:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-26  8:34 [U-Boot] [RFC 0/3] efi_loader: allow writing to FAT Heinrich Schuchardt
2018-05-26  8:34 ` [U-Boot] [RFC 1/3] fs: fat: cannot write to subdirectories Heinrich Schuchardt
2018-05-28  7:30   ` Lukasz Majewski
2018-05-26  8:34 ` [U-Boot] [RFC 2/3] efi_selftest: imply FAT, FAT_WRITE Heinrich Schuchardt
2018-05-26  8:34 ` [U-Boot] [RFC 3/3] efi_selftest: test writing to file Heinrich Schuchardt
2018-06-01  7:13   ` AKASHI, Takahiro
2018-06-01  7:38     ` Heinrich Schuchardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox