Skip to contentSkip to conversation

In tree firmware not kept up to date

DISCUSSION Ian Campbell 3 participants 4 messages Apr 17, 2012 – Apr 18, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

What is the current policy wrt keeping the in-tree firmware updated alongside the drivers?

I use CONFIG_FIRMWARE_IN_KERNEL but a couple of times[0] recently this has failed me because the in-tree bnx2 driver requires bnx2/bnx2-mips-09-6.2.1b.fw but the tree contains firmware/bnx2/bnx2-mips-09-6.2.1a.fw.ihex and not 6.2.1b.

Is it a bug that bnx2 was updated without adding the new firmware or is a bug that the obsolete firmware is still sitting in the tree?

Ian.

[0] It's possible the same thing and I've just tripped over it more than once now.

#1 lore raw
Quoted 5 lines · Ian Campbell

Hello,

What is the current policy wrt keeping the in-tree firmware updated alongside the drivers?

Quoted 7 lines

I use CONFIG_FIRMWARE_IN_KERNEL but a couple of times[0] recently this has failed me because the in-tree bnx2 driver requires bnx2/bnx2-mips-09-6.2.1b.fw but the tree contains firmware/bnx2/bnx2-mips-09-6.2.1a.fw.ihex and not 6.2.1b.

Is it a bug that bnx2 was updated without adding the new firmware or is a bug that the obsolete firmware is still sitting in the tree?

We probably should remove the obsolete firmware in the kernel tree. All the firmware files to support old and new kernels are here:

git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

#2 lore raw
In reply to Ian Campbell
Quoted 4 lines · Ian Campbell

Hello,

What is the current policy wrt keeping the in-tree firmware updated alongside the drivers?

Muddled.

Quoted 7 lines

I use CONFIG_FIRMWARE_IN_KERNEL but a couple of times[0] recently this has failed me because the in-tree bnx2 driver requires bnx2/bnx2-mips-09-6.2.1b.fw but the tree contains firmware/bnx2/bnx2-mips-09-6.2.1a.fw.ihex and not 6.2.1b.

Is it a bug that bnx2 was updated without adding the new firmware or is a bug that the obsolete firmware is still sitting in the tree?

It's a bug that any firmware is still in-tree, but CONFIG_FIRMWARE_IN_KERNEL hasn't yet been made to work with a separate linux-firmware directory.

Ben.

Quoted 4 lines

Ian.

[0] It's possible the same thing and I've just tripped over it more than once now.

Signature · 3 lines
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                              - Albert Camus
#3 lore raw
Quoted 13 lines · Ben Hutchings
Quoted 4 lines · Ian Campbell

Hello,

What is the current policy wrt keeping the in-tree firmware updated alongside the drivers?

Muddled.

Quoted 5 lines

I use CONFIG_FIRMWARE_IN_KERNEL but a couple of times[0] recently this has failed me because the in-tree bnx2 driver requires bnx2/bnx2-mips-09-6.2.1b.fw but the tree contains firmware/bnx2/bnx2-mips-09-6.2.1a.fw.ihex and not 6.2.1b.

Quoted 6 lines
Quoted 2 lines

Is it a bug that bnx2 was updated without adding the new firmware or is a bug that the obsolete firmware is still sitting in the tree?

It's a bug that any firmware is still in-tree, but CONFIG_FIRMWARE_IN_KERNEL hasn't yet been made to work with a separate linux-firmware directory.

Thanks, so the future-proof solution is to clone and install firmware-linux.gitwhich is currently a rather manual process but will improve at some point.

Cheers,
Ian.

Quoted 8 lines

Ben.

Quoted 4 lines

Ian.

[0] It's possible the same thing and I've just tripped over it more than once now.