diff options
author | Daiane Angolini <daiane.angolini@nxp.com> | 2016-08-23 14:14:39 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-08-23 23:26:55 -0300 |
commit | 2edf5d7a499582eceb5d8da257dac28aef2edbe6 (patch) | |
tree | 945f246525d6b1ed3a6351fd419f98539170cd3a /recipes-bsp | |
parent | 2d2ec411cd6e4c1afbca68e14336e2b017b8cb02 (diff) | |
download | meta-freescale-2edf5d7a499582eceb5d8da257dac28aef2edbe6.tar.gz |
firmware-imx: Add brcm firmware installation
Add the subpackage firmware-imx-brcm which installs 4 set of WiFi and Bluetooth
firmwares:
* 1BW_BCM43340
* 1DX_BCM4343W
* SN8000_BCM43362
* ZP_BCM4339
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/firmware-imx/firmware-imx.inc | 32 | ||||
-rw-r--r-- | recipes-bsp/firmware-imx/firmware-imx_5.4.bb | 3 |
2 files changed, 33 insertions, 2 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-imx.inc b/recipes-bsp/firmware-imx/firmware-imx.inc index 3aa99a62..2f827915 100644 --- a/recipes-bsp/firmware-imx/firmware-imx.inc +++ b/recipes-bsp/firmware-imx/firmware-imx.inc | |||
@@ -6,14 +6,41 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a" | |||
6 | 6 | ||
7 | PE = "1" | 7 | PE = "1" |
8 | 8 | ||
9 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true" | 9 | #BRCM firmware git |
10 | SRCBRANCH ?= "master" | ||
11 | |||
12 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \ | ||
13 | git://git.freescale.com/imx/imx-firmware.git;branch=${SRCBRANCH};destsuffix=${S}/git " | ||
10 | 14 | ||
11 | inherit fsl-eula-unpack | 15 | inherit fsl-eula-unpack |
12 | 16 | ||
13 | do_install() { | 17 | do_install() { |
14 | install -d ${D}${base_libdir}/firmware/imx | 18 | install -d ${D}${base_libdir}/firmware/imx |
19 | install -d ${D}${base_libdir}/firmware/brcm | ||
20 | install -d ${D}${sysconfdir}/firmware | ||
21 | |||
15 | cp -rfv firmware/* ${D}${base_libdir}/firmware/ | 22 | cp -rfv firmware/* ${D}${base_libdir}/firmware/ |
16 | 23 | ||
24 | #1BW_BCM43340 | ||
25 | cp -rfv git/brcm/1BW_BCM43340/*.bin ${D}${base_libdir}/firmware/brcm | ||
26 | cp -rfv git/brcm/1BW_BCM43340/*.cal ${D}${base_libdir}/firmware/brcm | ||
27 | cp -rfv git/brcm/1BW_BCM43340/*.hcd ${D}${sysconfdir}/firmware/ | ||
28 | |||
29 | #1DX_BCM4343W | ||
30 | cp -rfv git/brcm/1DX_BCM4343W/*.bin ${D}${base_libdir}/firmware/brcm | ||
31 | cp -rfv git/brcm/1DX_BCM4343W/*.cal ${D}${base_libdir}/firmware/brcm | ||
32 | cp -rfv git/brcm/1DX_BCM4343W/*.hcd ${D}${sysconfdir}/firmware/ | ||
33 | |||
34 | #SN8000_BCM43362 | ||
35 | cp -rfv git/brcm/SN8000_BCM43362/*.bin ${D}${base_libdir}/firmware/brcm | ||
36 | cp -rfv git/brcm/SN8000_BCM43362/*.cal ${D}${base_libdir}/firmware/brcm | ||
37 | cp -rfv git/brcm/1DX_BCM4343W/*.hcd ${D}${sysconfdir}/firmware/ | ||
38 | |||
39 | #ZP_BCM4339 | ||
40 | cp -rfv git/brcm/ZP_BCM4339/*.bin ${D}${base_libdir}/firmware/brcm | ||
41 | cp -rfv git/brcm/ZP_BCM4339/*.cal ${D}${base_libdir}/firmware/brcm | ||
42 | cp -rfv git/brcm/ZP_BCM4339/*.hcd ${D}${sysconfdir}/firmware/ | ||
43 | |||
17 | mv ${D}${base_libdir}/firmware/epdc/ ${D}${base_libdir}/firmware/imx/epdc/ | 44 | mv ${D}${base_libdir}/firmware/epdc/ ${D}${base_libdir}/firmware/imx/epdc/ |
18 | mv ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw | 45 | mv ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw |
19 | 46 | ||
@@ -44,8 +71,9 @@ ALLOW_EMPTY_${PN} = "1" | |||
44 | 71 | ||
45 | PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-*" | 72 | PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-*" |
46 | 73 | ||
47 | PACKAGES =+ "${PN}-epdc" | 74 | PACKAGES =+ "${PN}-epdc ${PN}-brcm" |
48 | 75 | ||
49 | FILES_${PN}-epdc = "${base_libdir}/firmware/imx/epdc/" | 76 | FILES_${PN}-epdc = "${base_libdir}/firmware/imx/epdc/" |
77 | FILES_${PN}-brcm = "${base_libdir}/firmware/brcm/*.bin ${base_libdir}/firmware/brcm/*.cal ${sysconfdir}/firmware/" | ||
50 | 78 | ||
51 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 79 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
diff --git a/recipes-bsp/firmware-imx/firmware-imx_5.4.bb b/recipes-bsp/firmware-imx/firmware-imx_5.4.bb index a7a2b383..5f7a6a1f 100644 --- a/recipes-bsp/firmware-imx/firmware-imx_5.4.bb +++ b/recipes-bsp/firmware-imx/firmware-imx_5.4.bb | |||
@@ -6,4 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a" | |||
6 | SRC_URI[md5sum] = "dae846ca2fc4504067f725f501491adf" | 6 | SRC_URI[md5sum] = "dae846ca2fc4504067f725f501491adf" |
7 | SRC_URI[sha256sum] = "c5bd4bff48cce9715a5d6d2c190ff3cd2262c7196f7facb9b0eda231c92cc223" | 7 | SRC_URI[sha256sum] = "c5bd4bff48cce9715a5d6d2c190ff3cd2262c7196f7facb9b0eda231c92cc223" |
8 | 8 | ||
9 | #BRCM firmware git | ||
10 | SRCREV = "951c1363abe95dd75ab3e9447f640d7807240236" | ||
11 | |||
9 | COMPATIBLE_MACHINE = "(mx5|mx6|mx6ul|mx7)" | 12 | COMPATIBLE_MACHINE = "(mx5|mx6|mx6ul|mx7)" |