[PATCH] fs/jffs2: Make depend on !64BIT
Tom Rini
trini at konsulko.com
Tue Nov 25 15:14:04 CET 2025
On Tue, Nov 25, 2025 at 01:18:05AM +0100, Heinrich Schuchardt wrote:
> On 11/12/25 22:19, Tom Rini wrote:
> > Building this code on 64bit platforms leads to warnings (and so errors
> > in CI). Rather than rework the code, as this is a deprecated filesystem,
> > don't try and disallow building on 64bit hosts.
> >
> > Signed-off-by: Tom Rini <trini at konsulko.com>
>
> Linux has support 64bit ARM boards using the JFFS2 file-system.
> The JFFS2 filesystem is actively maintained in Linux.
>
> Using uintptr_t could overcome the warnings.
> But it seems that map_sysmem() is needed.
>
> U-Boot seems to have a restriction that the flash memory must be mapped in
> the low 4 GiB.
Yes, JFFS2 itself is not limited to 64bit. However, it's rarely used
within U-Boot, and only on 32bit platforms. There's also known security
issues and previously when I've asked custodians of boards that use it
if they would be interested in fixing the issues, they instead removed
JFFS2 support.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251125/45f7cd79/attachment.sig>
More information about the U-Boot
mailing list