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.
Best regards
Heinrich
---
cmd/Kconfig | 1 +
fs/jffs2/Kconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 5b9c13d85e76..278c6eaf0f3e 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2912,6 +2912,7 @@ config CMD_FS_UUID
config CMD_JFFS2
bool "jffs2 command"
+ depends on !64BIT
select FS_JFFS2
help
Enables commands to support the JFFS2 (Journalling Flash File System
diff --git a/fs/jffs2/Kconfig b/fs/jffs2/Kconfig
index 3bf01cd03137..dede59ee3362 100644
--- a/fs/jffs2/Kconfig
+++ b/fs/jffs2/Kconfig
@@ -1,5 +1,6 @@
config FS_JFFS2
bool "Enable JFFS2 filesystem support"
+ depends on !64BIT
help
This provides support for reading images from JFFS2 (Journalling
Flash File System version 2). JFFS2 is a log-structured file system