aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorDaiane Angolini <daiane.angolini@nxp.com>2016-08-10 17:35:49 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-08-12 11:50:12 -0300
commite4a93c79de6aae56182c63c6223c19e01bdfeb42 (patch)
treeeb5d88c9c932a170c4553724350a9cb4f04dc535 /recipes-bsp
parent38e3c83401c7ef0dc71fdb0fe55a439d67993c3d (diff)
downloadmeta-fsl-arm-e4a93c79de6aae56182c63c6223c19e01bdfeb42.tar.gz
meta-fsl-arm-e4a93c79de6aae56182c63c6223c19e01bdfeb42.tar.bz2
meta-fsl-arm-e4a93c79de6aae56182c63c6223c19e01bdfeb42.zip
firmware-imx: Add firmware for WiFi and Bluetooth
Add firmware for BCM4339/TypeZP and include a new sub-package: firmware-imx-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.inc12
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx_5.4.bb4
2 files changed, 14 insertions, 2 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-imx.inc b/recipes-bsp/firmware-imx/firmware-imx.inc
index 3aa99a6..c8b0ff9 100644
--- a/recipes-bsp/firmware-imx/firmware-imx.inc
+++ b/recipes-bsp/firmware-imx/firmware-imx.inc
@@ -6,13 +6,19 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a"
PE = "1"
-SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true"
+SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \
+ git://git.freescale.com/imx/imx-firmware.git;branch=${SRCBRANCH};destsuffix=${S}/git"
inherit fsl-eula-unpack
do_install() {
install -d ${D}${base_libdir}/firmware/imx
+ install -d ${D}${base_libdir}/firmware/bcm
+
+ cp -rfv firmware/* ${D}${base_libdir}/firmware/
cp -rfv firmware/* ${D}${base_libdir}/firmware/
+ cp -rfv git/BCM4339/TypeZP/BCM4339_wifi/*.bin ${D}${base_libdir}/firmware/bcm
+ cp -rfv git/BCM4339/TypeZP/BCM4339_BT/*.hcd ${D}${base_libdir}/firmware/
mv ${D}${base_libdir}/firmware/epdc/ ${D}${base_libdir}/firmware/imx/epdc/
mv ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw
@@ -38,14 +44,16 @@ python populate_packages_prepend() {
description='Freescale IMX Firmware %s',
extra_depends='',
prepend=True)
+
}
ALLOW_EMPTY_${PN} = "1"
PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-*"
-PACKAGES =+ "${PN}-epdc"
+PACKAGES =+ "${PN}-epdc ${PN}-bcm4339"
FILES_${PN}-epdc = "${base_libdir}/firmware/imx/epdc/"
+FILES_${PN}-bcm4339 = "${base_libdir}/firmware/*.hcd ${base_libdir}/firmware/bcm/*"
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 a7a2b38..edfbc6e 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_5.4.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_5.4.bb
@@ -6,4 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a"
SRC_URI[md5sum] = "dae846ca2fc4504067f725f501491adf"
SRC_URI[sha256sum] = "c5bd4bff48cce9715a5d6d2c190ff3cd2262c7196f7facb9b0eda231c92cc223"
+#BCM4339/TypeZP firmware git
+SRCBRANCH = "pico-brillo-20160727"
+SRCREV = "43627cc213d5192293637933de3aecf1f51b1c22"
+
COMPATIBLE_MACHINE = "(mx5|mx6|mx6ul|mx7)"