Skip to content

Conversation

@Ansuel
Copy link
Member

@Ansuel Ansuel commented Jan 22, 2024

Add support for EroFS rootfs image generation.

EroFS Filesystem should have better I/O performance with minimal
size increase on the final image with the use of the MicroLZMA
compressor.

This is currently supported only on 6.1+ as MicroLZMA got introduced
only in kernel 5.16. For kernel 6.1 MicroLZMA is flagged as EXPERIMENTAL
but in recent kernel version this has changed and is considered stable.

Signed-off-by: Christian Marangi ansuelsmth@gmail.com


This is a continue of #9968 @aparcar

@github-actions github-actions bot added build/scripts/tools pull request/issues for build, scripts and tools related changes kernel pull request/issue with Linux kernel related changes labels Jan 22, 2024
Add erofs-utils to create a EroFS based rootfs for image generation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Make FileSystem support for JFFS2 and SquashFS configurable to permit
disabling support for it if not needed.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Add support for EroFS rootfs image generation.

EroFS Filesystem should have better I/O performance with minimal
size increase on the final image with the use of the MicroLZMA
compressor.

This is currently supported only on 6.1+ as MicroLZMA got introduced
only in kernel 5.16. For kernel 6.1 MicroLZMA is flagged as EXPERIMENTAL
but in recent kernel version this has changed and is considered stable.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
@Ansuel Ansuel force-pushed the erofs-introduction branch from 3935b43 to aec0899 Compare January 22, 2024 14:36
@aparcar
Copy link
Member

aparcar commented Jan 24, 2024

Thanks for taking care.

@aparcar
Copy link
Member

aparcar commented May 17, 2024

I'll ask @Ansuel

@Ansuel
Copy link
Member Author

Ansuel commented May 17, 2024 via email

@Ansuel
Copy link
Member Author

Ansuel commented May 17, 2024 via email

@romanovj
Copy link

romanovj commented Jul 22, 2024

missing --all-root option when creating image

couple more fixes and
/dev/root on /rom type erofs (ro,relatime,cache_strategy=readaround)
mt7981, 6.6 kernel

@hsiangkao
Copy link
Contributor

hsiangkao commented Nov 22, 2024

missing --all-root option when creating image

couple more fixes and /dev/root on /rom type erofs (ro,relatime,cache_strategy=readaround) mt7981, 6.6 kernel

Hi @romanovj, could you post the fixes so it can be available to all?
Hi @Ansuel, could you help upstream this work if possible? or I could help work out too, at least give more end users to try to get the filesystem benefits (like bootup speed, better low memory performance, etc.) more easily.

@rgwan
Copy link

rgwan commented Feb 13, 2025

Any updates guys?

@Ansuel
Copy link
Member Author

Ansuel commented Jul 5, 2025

Superseded by #19244

@Ansuel Ansuel closed this Jul 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build/scripts/tools pull request/issues for build, scripts and tools related changes kernel pull request/issue with Linux kernel related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants