<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/fs, branch v2020.10-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/fs?h=v2020.10-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/fs?h=v2020.10-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-08-08T02:31:32Z</updated>
<entry>
<title>fs/fs.c: add symbolic link case to fs_ls_generic()</title>
<updated>2020-08-08T02:31:32Z</updated>
<author>
<name>Joao Marcos Costa</name>
<email>joaomarcos.costa@bootlin.com</email>
</author>
<published>2020-07-30T13:33:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=02c366b5d5f7022e573732fbe7b80c199e934d4f'/>
<id>urn:sha1:02c366b5d5f7022e573732fbe7b80c199e934d4f</id>
<content type='text'>
Adds an 'else if' statement inside the loop to check for symbolic links.

Signed-off-by: Joao Marcos Costa &lt;joaomarcos.costa@bootlin.com&gt;
</content>
</entry>
<entry>
<title>fs/squashfs: add support for zlib decompression</title>
<updated>2020-08-08T02:31:32Z</updated>
<author>
<name>Joao Marcos Costa</name>
<email>joaomarcos.costa@bootlin.com</email>
</author>
<published>2020-07-30T13:33:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3634b35089df7e6edfe034c26e4243dc708b6382'/>
<id>urn:sha1:3634b35089df7e6edfe034c26e4243dc708b6382</id>
<content type='text'>
Add call to zlib's 'uncompress' function. Add function to display the
right error message depending on the decompression's return value.

Signed-off-by: Joao Marcos Costa &lt;joaomarcos.costa@bootlin.com&gt;
</content>
</entry>
<entry>
<title>include/u-boot, lib/zlib: add sources for zlib decompression</title>
<updated>2020-08-08T02:31:32Z</updated>
<author>
<name>Joao Marcos Costa</name>
<email>joaomarcos.costa@bootlin.com</email>
</author>
<published>2020-07-30T13:33:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=81014f73f0906a70bd710ed8d7e8559e1fd8f400'/>
<id>urn:sha1:81014f73f0906a70bd710ed8d7e8559e1fd8f400</id>
<content type='text'>
Add zlib (v1.2.11) uncompr() function to U-Boot. SquashFS depends on
this function to decompress data from a raw disk image. The actual
support for zlib into SquashFS sources will be added in a follow-up
commit.

Signed-off-by: Joao Marcos Costa &lt;joaomarcos.costa@bootlin.com&gt;
</content>
</entry>
<entry>
<title>fs/squashfs: new filesystem</title>
<updated>2020-08-08T02:31:32Z</updated>
<author>
<name>Joao Marcos Costa</name>
<email>joaomarcos.costa@bootlin.com</email>
</author>
<published>2020-07-30T13:33:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c51006130370b48b7eb5a93ada745385aa27f6bf'/>
<id>urn:sha1:c51006130370b48b7eb5a93ada745385aa27f6bf</id>
<content type='text'>
Add support for SquashFS filesystem. Right now, it does not support
compression but support for zlib will be added in a follow-up commit.

Signed-off-by: Joao Marcos Costa &lt;joaomarcos.costa@bootlin.com&gt;
</content>
</entry>
<entry>
<title>fs/fat/fat.c: Do not perform zero block reads if there are no blocks left</title>
<updated>2020-08-04T21:53:58Z</updated>
<author>
<name>Jason Wessel</name>
<email>jason.wessel@windriver.com</email>
</author>
<published>2020-06-23T21:36:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5b3ddb17baec13b4386620b533527d0f53ddeddf'/>
<id>urn:sha1:5b3ddb17baec13b4386620b533527d0f53ddeddf</id>
<content type='text'>
While using u-boot with qemu's virtio driver I stumbled across a
problem reading files less than sector size.  On the real hardware the
block reader seems ok with reading zero blocks, and while we could fix
the virtio host side of qemu to deal with a zero block read instead of
crashing, the u-boot fat driver should not be doing zero block reads
in the first place.  If you ask hardware to read zero blocks you are
just going to get zero data.  There may also be other hardware that
responds similarly to the virtio interface so this is worth fixing.

Without the patch I get the following and have to restart qemu because
it dies.
---------------------------------
=&gt; fatls virtio 0:1
       30   cmdline.txt
=&gt; fatload virtio 0:1 ${loadaddr} cmdline.txt
qemu-system-aarch64: virtio: zero sized buffers are not allowed
---------------------------------

With the patch I get the expected results.
---------------------------------
=&gt; fatls virtio 0:1
       30   cmdline.txt
=&gt; fatload virtio 0:1 ${loadaddr} cmdline.txt
30 bytes read in 11 ms (2 KiB/s)
=&gt; md.b ${loadaddr} 0x1E
40080000: 64 77 63 5f 6f 74 67 2e 6c 70 6d 5f 65 6e 61 62    dwc_otg.lpm_enab
40080010: 6c 65 3d 30 20 72 6f 6f 74 77 61 69 74 0a          le=0 rootwait.

---------------------------------

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>fs: error handling in do_load()</title>
<updated>2020-07-17T14:47:19Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2020-06-29T18:08:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1244f369006370722dbcca9fb26e59458d462567'/>
<id>urn:sha1:1244f369006370722dbcca9fb26e59458d462567</id>
<content type='text'>
If a file cannot be loaded, show an error message.
Set the EFI boot device only after successfully loading a file.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fs/fat: reduce data size for FAT_WRITE</title>
<updated>2020-07-11T21:14:16Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2020-07-06T05:48:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5a8d1f60b2505cf2ee116ac38e54e65b757a1773'/>
<id>urn:sha1:5a8d1f60b2505cf2ee116ac38e54e65b757a1773</id>
<content type='text'>
Allocated tmpbuf_cluster dynamically to reduce the data size added by
compiling with CONFIG_FAT_WRITE.

Reported-by: Tom Rini &lt;trini@konsulko.com&gt;
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>fs: fat_write: fix short name creation.</title>
<updated>2020-07-07T22:23:48Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2020-05-26T19:06:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a20f0c820fb024a48f667334777ca4022838693d'/>
<id>urn:sha1:a20f0c820fb024a48f667334777ca4022838693d</id>
<content type='text'>
Truncate file names if the buffer size is exceeded to avoid a buffer
overflow.

Use Sphinx style function description.

Add a TODO comment.

Reported-by: CID 303779
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: fs: Add command to list supported fs types</title>
<updated>2020-07-07T19:36:59Z</updated>
<author>
<name>Niel Fourie</name>
<email>lusus@denx.de</email>
</author>
<published>2020-03-24T15:17:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2280fa56a00a63bbabc2076330367ec2863a474b'/>
<id>urn:sha1:2280fa56a00a63bbabc2076330367ec2863a474b</id>
<content type='text'>
Added command "fstypes" to list supported/included filesystems.

Signed-off-by: Niel Fourie &lt;lusus@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
[trini: Limit to sandbox]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>fs: fat: fix fat iteration</title>
<updated>2020-07-07T13:45:12Z</updated>
<author>
<name>Christian Gmeiner</name>
<email>christian.gmeiner@gmail.com</email>
</author>
<published>2020-06-09T07:09:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1788a9697f51aebb25623e6216c09304756748ff'/>
<id>urn:sha1:1788a9697f51aebb25623e6216c09304756748ff</id>
<content type='text'>
According to the FAT specification it is valid to have files with an
attribute value of 0x0. This fixes a regression where different U-Boot
versions are showing different amount of files on the same storage
device. With this change U-Boot shows the same number of files and folders
as Linux and Windows.

Fixes: 39606d462c ("fs: fat: handle deleted directory entries correctly")
Signed-off-by: Christian Gmeiner &lt;christian.gmeiner@gmail.com&gt;
</content>
</entry>
</feed>
