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 <[email protected]> > > 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
signature.asc
Description: PGP signature

