Skip to contentSkip to conversation

Guidance on Submitting Firmware File >100MB to linux-firmware

DISCUSSION Kishore Batta 3 participants 4 messages Aug 2, 2025 – Aug 8, 2025

lore
Share & tools
lore
#0 lore raw

Hi Maintainers,

I’m preparing a contribution to the linux-firmware repository for the QDU100 platform, which includes a firmware blob (qdsp6sw.mbn) that is ~110.88 MB in size.

Since GitHub enforces a 100 MB file size limit, I’m unable to push this file directly. I understand that the repository does not currently use Git LFS, so I wanted to ask what is the recommended approach for submitting large firmware files?

I’d appreciate your guidance so I can align with the repository’s standards.

Thanks,
Kishore Batta

#1 lore raw
Quoted 4 lines · Kishore Batta

Hi Maintainers,

I’m preparing a contribution to the linux-firmware repository for the QDU100 platform, which includes a firmware blob (qdsp6sw.mbn) that is ~110.88 MB in size.

Obvious question, likely with an obvious answer: why is it so big?

Quoted 1 line

Since GitHub enforces a 100 MB file size limit, I’m unable to push this file directly. I understand that the repository does not currently use Git LFS, so I wanted to ask what is the recommended approach for submitting large firmware files?

We could enable LFS on the Gitlab side, but I don't believe kernel.org repos allow this. I can follow up there. Assuming they don't, I don't really have a great solution off the top of my head.

Mario, any thoughts?

josh

Quoted 5 lines

I’d appreciate your guidance so I can align with the repository’s standards.

Thanks,
Kishore Batta

#2 lore raw
Quoted 8 lines · Josh Boyer
Quoted 4 lines · Kishore Batta

Hi Maintainers,

I’m preparing a contribution to the linux-firmware repository for the QDU100 platform, which includes a firmware blob (qdsp6sw.mbn) that is ~110.88 MB in size.

Obvious question, likely with an obvious answer: why is it so big?

Yeah I guess I'd echo the same question. Is this like a recovery image or something? If the hardware takes this image and spits it out to a SPI chip (or similar) it would be much better to flash it with fwupd.

Quoted 8 lines
Quoted 2 lines

Since GitHub enforces a 100 MB file size limit, I’m unable to push this file directly. I understand that the repository does not currently use Git LFS, so I wanted to ask what is the recommended approach for submitting large firmware files?

We could enable LFS on the Gitlab side, but I don't believe kernel.org repos allow this. I can follow up there. Assuming they don't, I don't really have a great solution off the top of my head.

Mario, any thoughts?

That's right; we asked about this before and there was no LFS support on git.kernel.org. The options that come to mind to me:

0) Beg and plead for adding LFS to git.kernel.org
1) Abandon git.kernel.org for linux-firmware (move entirely to Gitlab and turn on LFS)
2) Come up with some mechanism to split up firmware files and let them get reconstructed during 'make install' time.

But all that being said; what system host architectures is this firmware actually intended for? I wonder if this also pushes our need to start indicating which firmware goes with which architecture/which subsystem.

Quoted 9 lines

josh

Quoted 5 lines

I’d appreciate your guidance so I can align with the repository’s standards.

Thanks,
Kishore Batta

#3 lore raw
Quoted 11 lines · Mario Limonciello
Quoted 8 lines · Josh Boyer
Quoted 4 lines · Kishore Batta

Hi Maintainers,

I’m preparing a contribution to the linux-firmware repository for the QDU100 platform, which includes a firmware blob (qdsp6sw.mbn) that is ~110.88 MB in size.

Obvious question, likely with an obvious answer: why is it so big?

Yeah I guess I'd echo the same question.  Is this like a recovery image or something?  If the hardware takes this image and spits it out to a SPI chip (or similar) it would be much better to flash it with fwupd.

Its a Modem firmware image required for Modem to boot properly. More details are shared below.

Quoted 10 lines
Quoted 9 lines
Quoted 3 lines

Since GitHub enforces a 100 MB file size limit, I’m unable to push this file directly. I understand that the repository does not currently use Git LFS, so I wanted to ask what is the recommended approach for submitting large firmware files?

We could enable LFS on the Gitlab side, but I don't believe kernel.org repos allow this.  I can follow up there.  Assuming they don't, I don't really have a great solution off the top of my head.

Mario, any thoughts?

Quoted 8 lines

That's right; we asked about this before and there was no LFS support on git.kernel.org.  The options that come to mind to me:

0) Beg and plead for adding LFS to git.kernel.org
1) Abandon git.kernel.org for linux-firmware (move entirely to Gitlab and turn on LFS)
2) Come up with some mechanism to split up firmware files and let them get reconstructed during 'make install' time.

But all that being said; what system host architectures is this firmware actually intended for?  I wonder if this also pushes our need to start indicating which firmware goes with which architecture/which subsystem.

The firmware is intended for the Qualcomm DSP firmware for a Hexagon core on ARM based systems specifically used by QDU100 driver in linux kernel. Due to Github's 100 MB file size limit, we have compressed the firmware using .xz format which brings the size down to 5.4 MB. We have verified the corresponding in-tree driver uses request_firmware_no_warn() API and supports compressed firmware loading via CONFIG_FW_LOADER_COMPRESS, CONFIG_FW_LOADER_XZ options. The driver has been tested with the .xz file and is able to decompress and load the firmware successfully.

- Kishore

Quoted 10 lines
Quoted 9 lines

josh

Quoted 5 lines

I’d appreciate your guidance so I can align with the repository’s standards.

Thanks,
Kishore Batta