Skip to content

Commit

Permalink
Increase block size of kernel squashfs image to 128K (#3509)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sairon authored Aug 7, 2024
1 parent 50a0062 commit edba18f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildroot-external/genimage/images-os.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ image kernel.img {

squashfs {
compression = "lzo"
block-size = 131072
}
}

Expand Down

0 comments on commit edba18f

Please sign in to comment.