<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/fs, branch next</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/fs?h=next</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/fs?h=next'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2026-06-25T20:13:42Z</updated>
<entry>
<title>Kconfig: fs: restyle</title>
<updated>2026-06-25T20:13:42Z</updated>
<author>
<name>Johan Jonker</name>
<email>jbx6244@gmail.com</email>
</author>
<published>2026-06-10T14:38:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5c1ab62653eb772fc5e6d6db65c405fce44f86b0'/>
<id>urn:sha1:5c1ab62653eb772fc5e6d6db65c405fce44f86b0</id>
<content type='text'>
Restyle all Kconfigs for "fs":
Menu entries   : no space left
Menu attributes: 1 TAB
Help text      : 1 TAB + 2 spaces
Replace '---help---' by 'help'

Signed-off-by: Johan Jonker &lt;jbx6244@gmail.com&gt;
</content>
</entry>
<entry>
<title>fs: fat: fix seconds in timestamp</title>
<updated>2026-05-27T23:59:12Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2026-05-16T18:37:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7af4196d9e9beaae6a69586cd87bd861b7fc2cda'/>
<id>urn:sha1:7af4196d9e9beaae6a69586cd87bd861b7fc2cda</id>
<content type='text'>
The FAT time format stores seconds/2 in bits 4:0. The expression
'tm.tm_sec &gt; 1' is a boolean comparison (yields 0 or 1) where a
right-shift 'tm.tm_sec &gt;&gt; 1' was intended.  As a result every
file timestamp written by U-Boot has its seconds field set to
either 0 or 1, depending on whether tm_sec is greater than 1.

Also fix the indentation of the tm_hour line.

Fixes: ba23c378c544 ("fs: fat: fill creation and change date")
Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fs: ubifs: remove dead code</title>
<updated>2026-05-18T07:19:56Z</updated>
<author>
<name>Peter Collingbourne</name>
<email>peter@pcc.me.uk</email>
</author>
<published>2026-05-12T05:50:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0646ee0ed86bd2809e10cff1f8ca3310ad7bf33b'/>
<id>urn:sha1:0646ee0ed86bd2809e10cff1f8ca3310ad7bf33b</id>
<content type='text'>
This code is dead because it appears after an infinite loop; remove it.

Fixes: d5888d509cc4 ("fs: ubifs: fix bugs involving symlinks in ubifs_findfile")
Signed-off-by: Peter Collingbourne &lt;peter@pcc.me.uk&gt;
Reviewed-by: Heiko Schocher &lt;hs@nabladev.com&gt;

hs: corrected the commit ID
</content>
</entry>
<entry>
<title>fs: ubifs: fix bugs involving symlinks in ubifs_findfile</title>
<updated>2026-05-11T18:18:56Z</updated>
<author>
<name>Peter Collingbourne</name>
<email>peter@pcc.me.uk</email>
</author>
<published>2026-05-05T10:38:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d5888d509cc43942ec98d993f2d129f5c8ddc432'/>
<id>urn:sha1:d5888d509cc43942ec98d993f2d129f5c8ddc432</id>
<content type='text'>
When encountering a symlink pointing to an absolute path, ubifs_findfile
would return the target of the symlink as the result instead of resolving
any following components in the original path. Fix it by following the
same code path that is used for relative paths except that we set the
next inode to the root if we see a leading slash.

The existing code used memcpy and sprintf to copy the symlink target
into a fixed size stack buffer and was therefore vulnerable to buffer
overflows with a sufficiently long symlink target. Fix it by using a
heap buffer for the temporary path during path resolution.

Signed-off-by: Peter Collingbourne &lt;peter@pcc.me.uk&gt;
Fixes: 9d7952e4c636 ("ubifs: Add support for looking up directory and relative symlinks")
</content>
</entry>
<entry>
<title>fat: initialize ret in disk_rw()</title>
<updated>2026-05-04T20:35:10Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2026-04-29T15:54:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ba1209d7a756552677f07c207cdf7fac400a8b7c'/>
<id>urn:sha1:ba1209d7a756552677f07c207cdf7fac400a8b7c</id>
<content type='text'>
If fat_sect_size = 0 and nr_sect = 0, the value of ret is never initialized.
A random return value is returned.

Initialize ret to 0.

Addresses-Coverity-ID: - 645495 Uninitialized scalar variable
Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fs/squashfs: Set ret to 0 on successful read</title>
<updated>2026-04-24T17:28:10Z</updated>
<author>
<name>Michael Zimmermann</name>
<email>sigmaepsilon92@gmail.com</email>
</author>
<published>2026-04-20T16:35:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=30885b01aaa4bcdfa3fee9ca3066d3af563e6688'/>
<id>urn:sha1:30885b01aaa4bcdfa3fee9ca3066d3af563e6688</id>
<content type='text'>
It might still be a positive number due to the call to sqfs_disk_read.
This only happens when reading a file from an uncompressed squashfs.

I found this by trying to boot using the extlinux bootmethod, where
positive values are treated as errors.

Signed-off-by: Michael Zimmermann &lt;sigmaepsilon92@gmail.com&gt;
Acked-by: Richard Genoud &lt;richard.genoud@bootlin.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fs: fat: Refactor dirty flag handling</title>
<updated>2026-03-27T19:14:18Z</updated>
<author>
<name>Daniel Palmer</name>
<email>daniel@thingy.jp</email>
</author>
<published>2026-03-10T22:06:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=29cb951e8ca6a9feecd920da31af9f18918057fe'/>
<id>urn:sha1:29cb951e8ca6a9feecd920da31af9f18918057fe</id>
<content type='text'>
Refactor the dirty flag handling a little bit so an inline
function is called instead of directly stuffing a value into
the variable.

This allows variable that holds the flag to be completely removed
if its not used i.e. CONFIG_FAT_WIRTE=n

Signed-off-by: Daniel Palmer &lt;daniel@thingy.jp&gt;
</content>
</entry>
<entry>
<title>Merge patch series "Introduce SQUASHFS support in SPL"</title>
<updated>2026-03-26T17:04:41Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2026-03-26T17:04:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=80a4c49a4ab2ad06fa84a8b7bdf6e33b3b5101bf'/>
<id>urn:sha1:80a4c49a4ab2ad06fa84a8b7bdf6e33b3b5101bf</id>
<content type='text'>
Richard Genoud &lt;richard.genoud@bootlin.com&gt; says:

SquashFS has support in U-Boot, but not in SPL.

This series adds the possibility for the SPL to load files from SquashFS
partitions.
This is useful, for instance, when there's a SquashFS rootfs containing
U-Boot binary.

NB: falcon mode is not supported yet.

Link: https://lore.kernel.org/r/20260313104229.1555236-1-richard.genoud@bootlin.com
</content>
</entry>
<entry>
<title>spl: add squashfs support</title>
<updated>2026-03-26T17:04:28Z</updated>
<author>
<name>Richard Genoud</name>
<email>richard.genoud@bootlin.com</email>
</author>
<published>2026-03-13T10:42:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6494e823b46ced400764b6203d7480c9e3badc20'/>
<id>urn:sha1:6494e823b46ced400764b6203d7480c9e3badc20</id>
<content type='text'>
Implement spl_load_image_sqfs() in spl code.

This will be used in MMC to read a file from a squashfs partition.

Also, loosen squashfs read checks on file size by not failing when a
bigger size than the actual file size is requested. (Just read the file)
This is needed for FIT loading, because the length is ALIGNed.

Signed-off-by: Richard Genoud &lt;richard.genoud@bootlin.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: João Marcos Costa &lt;joaomarcos.costa@bootlin.com&gt;
</content>
</entry>
<entry>
<title>fs/squashfs: sqfs_decompressor: simplify code</title>
<updated>2026-03-26T17:04:28Z</updated>
<author>
<name>Richard Genoud</name>
<email>richard.genoud@bootlin.com</email>
</author>
<published>2026-03-13T10:42:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0fe2801730edb99e24b601b043ec5595af319274'/>
<id>urn:sha1:0fe2801730edb99e24b601b043ec5595af319274</id>
<content type='text'>
Switch to if (CONFIG_IS_ENABLED()) instead of #if when possible and
remove unnecessary cases.

Signed-off-by: Richard Genoud &lt;richard.genoud@bootlin.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: João Marcos Costa &lt;joaomarcos.costa@bootlin.com&gt;
</content>
</entry>
</feed>
