Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase block size of kernel squashfs image to 128K #3509

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

sairon
Copy link
Member

@sairon sairon commented Aug 7, 2024

While mksquashfs uses this value by default, Genimage's default is 4K. This is far too low value and results in slower kernel load, especially on embedded boards with a flash drive. Explicitly set it to 128K to generate same images as in pre-genimage builds.

While mksquashfs uses this value by default, Genimage's default is 4K. This is
far too low value and results in slower kernel load, especially on embedded
boards with a flash drive. Explicitly set it to 128K to generate same images as
in pre-genimage builds.
@sairon sairon added the os label Aug 7, 2024
@sairon sairon requested a review from agners August 7, 2024 17:48
@sairon sairon merged commit edba18f into dev Aug 7, 2024
2 checks passed
@sairon sairon deleted the fix-kernel-img-squashfs-block-size branch August 7, 2024 18:14
sairon added a commit that referenced this pull request Aug 8, 2024
While mksquashfs uses this value by default, Genimage's default is 4K. This is
far too low value and results in slower kernel load, especially on embedded
boards with a flash drive. Explicitly set it to 128K to generate same images as
in pre-genimage builds.

(cherry picked from commit edba18f)
This was referenced Aug 13, 2024
@sairon sairon mentioned this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants