Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [pull request] Pull request for branch yem-firmware
@ 2013-01-03 21:18 Yann E. MORIN
  2013-01-03 21:18 ` [Buildroot] [PATCH 1/3] firmwares: add a new package category to locate all firmwares Yann E. MORIN
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Yann E. MORIN @ 2013-01-03 21:18 UTC (permalink / raw)
  To: buildroot

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

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 1/3] firmwares: add a new package category to locate all firmwares
  2013-01-03 21:18 [Buildroot] [pull request] Pull request for branch yem-firmware Yann E. MORIN
@ 2013-01-03 21:18 ` Yann E. MORIN
  2013-01-03 21:18 ` [Buildroot] [PATCH 2/3] package/linux-firmware: reorganise config menus Yann E. MORIN
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2013-01-03 21:18 UTC (permalink / raw)
  To: buildroot

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-firmware

Hopefully, 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').

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/Config.in              |    8 +++++---
 package/b43-firmware/Config.in |    2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index 7860f3f..2cbadf4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
 
diff --git a/package/b43-firmware/Config.in b/package/b43-firmware/Config.in
index ab7f4a7..bc69bbc 100644
--- a/package/b43-firmware/Config.in
+++ b/package/b43-firmware/Config.in
@@ -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.
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/3] package/linux-firmware: reorganise config menus
  2013-01-03 21:18 [Buildroot] [pull request] Pull request for branch yem-firmware Yann E. MORIN
  2013-01-03 21:18 ` [Buildroot] [PATCH 1/3] firmwares: add a new package category to locate all firmwares Yann E. MORIN
@ 2013-01-03 21:18 ` Yann E. MORIN
  2013-01-03 21:18 ` [Buildroot] [PATCH 3/3] linux-firmware: add options for DVB firmware files Yann E. MORIN
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2013-01-03 21:18 UTC (permalink / raw)
  To: buildroot

Reorganise 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).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/linux-firmware/Config.in |   26 +++-----------------------
 1 files changed, 3 insertions(+), 23 deletions(-)

diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index f156756..4cfd4db 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -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
 
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 3/3] linux-firmware: add options for DVB firmware files
  2013-01-03 21:18 [Buildroot] [pull request] Pull request for branch yem-firmware Yann E. MORIN
  2013-01-03 21:18 ` [Buildroot] [PATCH 1/3] firmwares: add a new package category to locate all firmwares Yann E. MORIN
  2013-01-03 21:18 ` [Buildroot] [PATCH 2/3] package/linux-firmware: reorganise config menus Yann E. MORIN
@ 2013-01-03 21:18 ` Yann E. MORIN
  2013-01-03 23:17 ` [Buildroot] [pull request] Pull request for branch yem-firmware Thomas Petazzoni
  2013-01-03 23:46 ` Peter Korsgaard
  4 siblings, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2013-01-03 21:18 UTC (permalink / raw)
  To: buildroot

There 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).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/linux-firmware/Config.in         |   19 +++++++++++++++++++
 package/linux-firmware/linux-firmware.mk |    9 +++++++++
 2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index 4cfd4db..bf264eb 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -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
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index e9a5424..db20d33 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -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),)
 
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [pull request] Pull request for branch yem-firmware
  2013-01-03 21:18 [Buildroot] [pull request] Pull request for branch yem-firmware Yann E. MORIN
                   ` (2 preceding siblings ...)
  2013-01-03 21:18 ` [Buildroot] [PATCH 3/3] linux-firmware: add options for DVB firmware files Yann E. MORIN
@ 2013-01-03 23:17 ` Thomas Petazzoni
  2013-01-03 23:46 ` Peter Korsgaard
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2013-01-03 23:17 UTC (permalink / raw)
  To: buildroot

Dear Yann E. MORIN,

On Thu,  3 Jan 2013 22:18:56 +0100, Yann E. MORIN wrote:

> 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:

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

(untested, visual inspection only).

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [pull request] Pull request for branch yem-firmware
  2013-01-03 21:18 [Buildroot] [pull request] Pull request for branch yem-firmware Yann E. MORIN
                   ` (3 preceding siblings ...)
  2013-01-03 23:17 ` [Buildroot] [pull request] Pull request for branch yem-firmware Thomas Petazzoni
@ 2013-01-03 23:46 ` Peter Korsgaard
  4 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2013-01-03 23:46 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> 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!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-03 23:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 21:18 [Buildroot] [pull request] Pull request for branch yem-firmware Yann E. MORIN
2013-01-03 21:18 ` [Buildroot] [PATCH 1/3] firmwares: add a new package category to locate all firmwares Yann E. MORIN
2013-01-03 21:18 ` [Buildroot] [PATCH 2/3] package/linux-firmware: reorganise config menus Yann E. MORIN
2013-01-03 21:18 ` [Buildroot] [PATCH 3/3] linux-firmware: add options for DVB firmware files Yann E. MORIN
2013-01-03 23:17 ` [Buildroot] [pull request] Pull request for branch yem-firmware Thomas Petazzoni
2013-01-03 23:46 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox