Skip to contentSkip to conversation

linux-firmware: Bump version

PATCH New Joel Stanley 2 participants 3 messages Oct 28, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 linux-firmware: Bump version

---
 package/linux-firmware/linux-firmware.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/linux-firmware/linux-firmware.mk +1 -1
index 8d8b7b2da163..38bced643fbb 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LINUX_FIRMWARE_VERSION = c4c07a8d1128d50a5c2885ceea1abbebaa82f820
+LINUX_FIRMWARE_VERSION = a179db97914da5e650c21ba8f9b0bae04a0f8a41
 LINUX_FIRMWARE_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
 LINUX_FIRMWARE_SITE_METHOD = git
 
Signature · 1 line
2.9.3
#1 lore raw

PATCH 2/2 linux-firmware: Include all bnx2x firmwares

Currently buildroot will create a broken system for any kernel version not between 3.18 and 4.1, as the bnx2x firmware it includes is only valid for that version of the upstream driver.

This change modifies the build so that all versions are included as there was a strong preference for not adding options for each version, nor only supporting the latest kernel:

Quoted 9 lines · Thomas Petazzoni

I think adding new config to chose between different versions of a given firmware is going a bit too far. If we were to do that for all firmwares in linux-firmware, it would really increase the number of Config.in options too much.

Shall I suggest to install both versions of the firmware? The firmware files are not that large, and if filesystem size is really a strong issue, it is always possible to clean up the non-required firmware files in a post-build script.

Quoted 6 lines · Arnout Vandecappelle

No, this is certainly not good, it fixes 4.2+ and simultaneously breaks 4.1-.

What is wrong with Thomas's proposal to remove the unneeded versions in a post-build script? If your size is so important that 640K matters, you would probably anyway want to keep only one of the six binaries instead of three different chip revisions.

It is up to the user to ensure they remove the versions they don't want.

Note that this increases the size of the root file system by about 8MB.

---
 package/linux-firmware/linux-firmware.mk | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
package/linux-firmware/linux-firmware.mk +1 -4
index 38bced643fbb..535b69a690ec 100644
@@ -295,10 +295,7 @@ LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
 endif
 
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BNX2X),y)
-LINUX_FIRMWARE_FILES += \
-	bnx2x/bnx2x-e1-7.10.51.0.fw \
-	bnx2x/bnx2x-e1h-7.10.51.0.fw \
-	bnx2x/bnx2x-e2-7.10.51.0.fw
+LINUX_FIRMWARE_FILES += bnx2x/*
 # No license file; the license is in the file WHENCE
 # which is installed unconditionally
 endif
Signature · 1 line
2.9.3
#2 lore raw

PATCH 1/2 linux-firmware: Bump version

In reply to Joel Stanley

Hello,

Quoted 4 lines · Joel Stanley
---
 package/linux-firmware/linux-firmware.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Both applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com