WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]  (Read 130 times)

Offline repeat

  • Newbie
  • *
  • Posts: 2
piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]
« 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.
« Last Edit: February 24, 2026, 05:05:49 PM by repeat »

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1509
Re: piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]
« Reply #1 on: February 24, 2026, 06:20:30 PM »
I thought we fixed that in submitqc

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12616
Re: piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]
« Reply #2 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.
« Last Edit: February 24, 2026, 08:24:29 PM by Rich »

Offline repeat

  • Newbie
  • *
  • Posts: 2
Re: piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]
« Reply #3 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.
« Last Edit: February 25, 2026, 08:47:51 AM by repeat »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12616
Re: piCore64 mksquashfs -b 16384 I get 4096 [SOLVED]
« Reply #4 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.