Tiny Core Extensions > TCE Talk
piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]
(1/1)
repeat:
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.
Paul_123:
I thought we fixed that in submitqc
Rich:
Hi Paul_123
According to you, you fixed it:
--- Quote from: Paul_123 on February 16, 2025, 04:07:24 PM ---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.
--- End quote ---
From 16.x/aarch64/tcz/squashfs-tools.tcz.info:
--- Code: ---Current: 2024/04/13 Recompiled with new 16k blocksize
--- End code ---
Maybe submitqc is overriding the default for mksquashfs with -b 4096.
repeat:
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.
Rich:
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: -----blocksize=16384
--- End code ---
Although mksquashfs will also accept 16K , that will fail with submitqc.
--blocksize= must be specified in bytes, not Kbytes or Mbytes.
Navigation
[0] Message Index
Go to full version