Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: repeat on February 24, 2026, 04:38:33 PM

Title: piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]
Post by: repeat on February 24, 2026, 04:38:33 PM
I'm compiling an binary for piCore64 but no matter what I do I get 4096 block size. I have added -b 16K and -b 16384.

I've tried this with piCore64 16.0 on raspberry pi 4 and 5 with the same results.

What am I doing wrong? (everything)

I figured out submitqc was changing it back to 4096 even though I'm on aarch64 and required to submit as 16K.
Title: Re: piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]
Post by: Paul_123 on February 24, 2026, 06:20:30 PM
I thought we fixed that in submitqc
Title: Re: piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]
Post by: Rich on February 24, 2026, 08:22:06 PM
Hi Paul_123
According to you, you fixed it:
armhf can stay 4k, but I have changed the defaults for squashfs-tools to 16k for both.

If someone is building an arch independant extension like firmware-*   those should be 16k since they tend to get copied between repos.

From 16.x/aarch64/tcz/squashfs-tools.tcz.info:
Code: [Select]
Current:        2024/04/13 Recompiled with new 16k blocksize
Maybe submitqc is overriding the default for mksquashfs with -b 4096.
Title: Re: piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]
Post by: repeat on February 25, 2026, 08:22:45 AM
sorry.. my issue was with submitqc unstable release 20241219

Have to add the --blocksize or converts back to 4096.

gutmensch accepted my build of rsgain after I figured that out and a few other niggles.
Title: Re: piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]
Post by: Rich on February 25, 2026, 09:07:04 AM
Hi repeat
OK, I just looked at the latest submitqc and you are correct.

For anyone else that runs into this, the syntax for 16K is:
Code: [Select]
--blocksize=16384
Although  mksquashfs  will also accept  16K , that will fail with  submitqc.
--blocksize=  must be specified in bytes, not  Kbytes  or  Mbytes.