Enable wifi support for Wandboard Dual
v3 cover Enable wifi support for Wandboard Dual
This patchset provides fixes and wifi support for Wandboard-Dual.
Adds a recipe (broadcom-nvram-config) to provide the nvram file for the chip.
Adds a dependency in the wandboard-dual machine conf to integrate the broadcom-nvram-config recipe.
Changes since v2:
Driver replacement patches were merged through a different method due to excessive size of the patch. ESDHC patch was merged in the same manner. Both are not in this set.
Removed the linux-firmware bbappend as that function will be added through a contribution to poky/oe-core.
Changed wandboard-wifi-support recipe to broadcom-nvram-config and made it machine-independent and more useful. Thanks to Otavio for his assistance in doing this.
Changes since v1:
Removed an unneeded formatting change to the ESDHC platform data patch.
Combined the remove and add patches for the wifi device driver, as well as integrated the changes to the kernel recipe.
Separated out the machine-specific code from the linux-firmware.bbappend and removed the PRINC in linux-firmware_git.bbappend in anticipation that we will be upstreaming this into oe-core.
Created a machine-specific wifi support recipe for wandboard.
Added patch numbers to the shortlog
John Weber (2):
broadcom-nvram-config: add nvram file support
wandboard-dual: Add broadcom-nvram-support to machine
conf/machine/wandboard-dual.conf | 3 + .../broadcom-nvram-config/broadcom-nvram-config.bb | 28 ++++++++ .../files/LICENCE.broadcom_bcm43xx | 65 ++++++++++++++++++ .../files/wandboard-dual/nvram.txt | 70 ++++++++++++++++++++ 4 files changed, 166 insertions(+) create mode 100644 recipes-bsp/broadcom-nvram-config/broadcom-nvram-config.bb create mode 100644 recipes-bsp/broadcom-nvram-config/files/LICENCE.broadcom_bcm43xx create mode 100644 recipes-bsp/broadcom-nvram-config/files/wandboard-dual/nvram.txt
Signature · 1 line
1.7.9.5
PATCH v3 1/2 broadcom-nvram-config: add nvram file support
Add a recipe to provide an nvram file required by certain Broadcom wifi chips. This file is machine-specific.
Files are installed at /lib/firmware/brcm.
--- .../broadcom-nvram-config/broadcom-nvram-config.bb | 28 ++++++++ .../files/LICENCE.broadcom_bcm43xx | 65 ++++++++++++++++++ .../files/wandboard-dual/nvram.txt | 70 ++++++++++++++++++++ 3 files changed, 163 insertions(+) create mode 100644 recipes-bsp/broadcom-nvram-config/broadcom-nvram-config.bb create mode 100644 recipes-bsp/broadcom-nvram-config/files/LICENCE.broadcom_bcm43xx create mode 100644 recipes-bsp/broadcom-nvram-config/files/wandboard-dual/nvram.txt
recipes-bsp/broadcom-nvram-config/broadcom-nvram-config.bb new file +28 -0
@@ -0,0 +1,28 @@ +DESCRIPTION = "Nvram support for Broadcom wifi chips" +SECTION = "kernel" + +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc" + +SRC_URI = " \ + file://nvram.txt \ + file://LICENCE.broadcom_bcm43xx \ +" + +S="${WORKDIR}" + +do_install() { + install -d ${D}/lib/firmware/brcm + + cp -r ${WORKDIR}/nvram.txt \ + ${D}/lib/firmware/brcm/brcmfmac-sdio.txt +} + +FILES_${PN} = " \ + /lib/firmware/brcm/brcmfmac-sdio.txt \ +" +BROADCOM_FIRMWARE = "INVALID" +BROADCOM_FIRMWARE_wandboard-dual = "bcm4329" + +RDEPENDS_${PN} = "linux-firmware-${BROADCOM_FIRMWARE}" +
recipes-bsp/broadcom-nvram-config/files/LICENCE.broadcom_bcm43xx new file +65 -0
65 lines not on this page · raw message
recipes-bsp/broadcom-nvram-config/files/wandboard-dual/nvram.txt new file +70 -0
70 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v3 2/2 wandboard-dual: Add broadcom-nvram-support to machine
In reply to John WeberAdds a line MACHINE_EXTRA_RRECOMMENDS for broadcom-nvram-support which provides firmware files for the wifi chip (BCM4329) on Wandboard Dual.
--- conf/machine/wandboard-dual.conf | 3 +++ 1 file changed, 3 insertions(+)
conf/machine/wandboard-dual.conf +3 -0
@@ -18,3 +18,6 @@ UBOOT_PADDING = "2" SERIAL_CONSOLE = "115200 ttymxc0" MACHINE_FEATURES += " pci wifi bluetooth" + +MACHINE_EXTRA_RRECOMMENDS += " broadcom-nvram-config" +
Signature · 1 line
1.7.9.5
Quoted 7 lines · John Weber
This patchset provides fixes and wifi support for Wandboard-Dual.
Adds a recipe (broadcom-nvram-config) to provide the nvram file for the chip.
Adds a dependency in the wandboard-dual machine conf to integrate the broadcom-nvram-config recipe.
This is waiting for linux-fimware patch to be merged or we'd break the machine build. So it is marked as under review in patchwork.
Thanks by working on this.
--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br