Pull request for branch yem-firmware
Hello All!
Here is a little series to rework the firmware packages in a consistent way (or so I think).
This moves all packages providing firmware files (and only providing firmware files) to their own sub-menu, so that:
- they are easier to spot
- it is more convenient to add new ones in the future
Also, new firmware files (for DVB tunners) can be installed from the linux-firmware package.
The following changes since commit 31ff7b5eac3883a11faf60d9af0b47bfc2d903f3:
docs: 2012.11.1 is out (2013-01-03 22:02:10 +0100)
are available in the git repository at:
git://gitorious.org/buildroot/buildroot.git yem-firmware
Yann E. MORIN (3):
firmwares: add a new package category to locate all firmwares package/linux-firmware: reorganise config menus
linux-firmware: add options for DVB firmware files
package/Config.in | 8 +++-- package/b43-firmware/Config.in | 2 +- package/linux-firmware/Config.in | 45 ++++++++++++++--------------- package/linux-firmware/linux-firmware.mk | 9 ++++++ 4 files changed, 37 insertions(+), 27 deletions(-)
Regards,
Yann E. MORIN
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/3 firmwares: add a new package category to locate all firmwares
We have quite a few packages that are dedicated to providing firmwares for miscellanous devices. Those package are spread out in the big "Hradware handling" menu, so are a bit hard to find.
Move all those packages to their own sub-menu:
Package Selection for the target --->
Hardware handling --->
Firmwares --->
[ ] b43-firware
[ ] linux-firmware
[ ] ux500-firmwareHopefully, this will make it nicer, when new firmware-providing packages are added in the future (eg. in the pipe: firmware for the RPI GPU).
Fix a typo in the 'b43-firmware' prompt (missing 'm').
--- package/Config.in | 8 +++++--- package/b43-firmware/Config.in | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-)
package/Config.in +5 -3
@@ -199,8 +199,12 @@ source "package/xfsprogs/Config.in" endmenu menu "Hardware handling" -source "package/acpid/Config.in" +menu "Misc devices firmwares" source "package/b43-firmware/Config.in" +source "package/linux-firmware/Config.in" +source "package/ux500-firmware/Config.in" +endmenu +source "package/acpid/Config.in" source "package/cdrkit/Config.in" source "package/dbus/Config.in" source "package/dbus-glib/Config.in"
@@ -232,7 +236,6 @@ source "package/iostat/Config.in" source "package/irda-utils/Config.in" source "package/kbd/Config.in" source "package/lcdproc/Config.in" -source "package/linux-firmware/Config.in" source "package/lm-sensors/Config.in" source "package/lshw/Config.in" source "package/lsuio/Config.in"
@@ -266,7 +269,6 @@ source "package/usb_modeswitch/Config.in" source "package/usb_modeswitch_data/Config.in" source "package/usbmount/Config.in" source "package/usbutils/Config.in" -source "package/ux500-firmware/Config.in" source "package/wipe/Config.in" endmenu
package/b43-firmware/Config.in +1 -1
@@ -1,5 +1,5 @@ config BR2_PACKAGE_B43_FIRMWARE - bool "b43-firware" + bool "b43-firmware" help Firmware for the Broadcom Wifi devices supported by the b43 kernel driver.
Signature · 1 line
1.7.2.5
PATCH 2/3 package/linux-firmware: reorganise config menus
In reply to Yann E. MORINReorganise the sub-menus for the linux-firmware package, so it is easier to add new categories of firmwares to install (coming in a future patch).
Remove the per-chipco sub-menus, as all entries have the chipco name in its prompt (except for TI, which is added).
--- package/linux-firmware/Config.in | 26 +++----------------------- 1 files changed, 3 insertions(+), 23 deletions(-)
package/linux-firmware/Config.in +3 -23
@@ -8,7 +8,7 @@ config BR2_PACKAGE_LINUX_FIRMWARE if BR2_PACKAGE_LINUX_FIRMWARE -menu "Atheros" +menu "WiFi firmwares" config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010 bool "Atheros 7010"
@@ -20,10 +20,6 @@ config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271 help Firmware files for the Atheros 9271 module -endmenu - -menu "Marvell Libertas" - config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8 bool "Libertas SD 8686 v8" help
@@ -39,19 +35,11 @@ config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688 help Firmware files for the Marvell SD8688 module -endmenu - -menu "Marvell WiFi-Ex" - config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787 bool "Marvell Wifi-Ex SD 8787" help Firmware files for the Marvell Wifi-Ex 8787 module on SDIO. -endmenu - -menu "Ralink" - config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61 bool "Ralink rt2501/rt61" help
@@ -67,10 +55,6 @@ config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX help Ralink rt27xx/rt28xx/rt30xx -endmenu - -menu "Realtek" - config BR2_PACKAGE_LINUX_FIRMWARE_RTL_8192 bool "Realtek 8192" help
@@ -81,17 +65,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_RTL_8712 help Realtek 8712 -endmenu - -menu "Texas Instruments" - config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X - bool "wl127X" + bool "TI wl127X" help Firmware files for WLAN and Bluetooth modules wl1271 and wl1273 config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X - bool "wl128X" + bool "TI wl128X" help Firmware files for WLAN and Bluetooth modules wl128x
Signature · 1 line
1.7.2.5
PATCH 3/3 linux-firmware: add options for DVB firmware files
In reply to Yann E. MORINThere are three firmware files that can be installed, each for different devices.
For example, the DIB0700 firmware can be used by quite a few DVB USB sticks based on this chipset (I know of at least two of them).
--- package/linux-firmware/Config.in | 19 +++++++++++++++++++ package/linux-firmware/linux-firmware.mk | 9 +++++++++ 2 files changed, 28 insertions(+), 0 deletions(-)
package/linux-firmware/Config.in +19 -0
@@ -77,4 +77,23 @@ config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X endmenu +menu "DVB firmwares" + +config BR2_PACKAGE_LINUX_FIRMWARE_DIB0700 + bool "DiBcom dib0700" + help + Firmware file for dib0700-based USB DVB tuner driver + +config BR2_PACKAGE_LINUX_FIRMWARE_H5_DRXK + bool "Terratec H5 DRX-K" + help + Firmware file for Terratec H5 DRX-K based DVB tuner driver + +config BR2_PACKAGE_LINUX_FIRMWARE_XC5000 + bool "Xceive xc5000" + help + Firmware file for xc5000-based DVB tuner driver + +endmenu + endif
package/linux-firmware/linux-firmware.mk +9 -0
@@ -92,6 +92,15 @@ LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X) += \ ti-connectivity/TIInit_7.2.31.bts \ LICENCE.ti-connectivity +LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_XC5000) += \ + dvb-fe-xc5000-1.6.114.fw + +LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_DIB0700) += \ + dvb-usb-dib0700-1.20.fw + +LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_H5_DRXK) += \ + dvb-usb-terratec-h5-drxk.fw + ifneq ($(LINUX_FIRMWARE_FILES_y),)
Signature · 1 line
1.7.2.5
Thomas Petazzoni
Acked-byDear Yann E. MORIN,
Quoted 4 lines · Yann E. MORIN
Yann E. MORIN (3):
firmwares: add a new package category to locate all firmwares package/linux-firmware: reorganise config menus
linux-firmware: add options for DVB firmware files
For the three patches:
(untested, visual inspection only).
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Yann> Hello All!
Yann> Here is a little series to rework the firmware packages in a consistent Yann> way (or so I think).
Yann> This moves all packages providing firmware files (and only providing Yann> firmware files) to their own sub-menu, so that:
Yann> - they are easier to spot
Yann> - it is more convenient to add new ones in the future
Yann> Also, new firmware files (for DVB tunners) can be installed from the Yann> linux-firmware package.
Committed series, thanks!
Signature · 1 line
Bye, Peter Korsgaard