Skip to contentSkip to conversation

Revert "firmware-imx: Add firmware for WiFi and Bluetooth"

PATCH In review Daiane Angolini 3 participants 3 messages Aug 17, 2016 – Aug 18, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "firmware-imx: Add firmware for WiFi and Bluetooth"

This reverts commit e4a93c79de6aae56182c63c6223c19e01bdfeb42.

The git repository pointed in the commit is not part of any NXP release so it is not tested.

---
 recipes-bsp/firmware-imx/firmware-imx.inc    | 12 ++----------
 recipes-bsp/firmware-imx/firmware-imx_5.4.bb |  4 ----
 2 files changed, 2 insertions(+), 14 deletions(-)
recipes-bsp/firmware-imx/firmware-imx.inc +2 -10
index c8b0ff9..3aa99a6 100644
@@ -6,19 +6,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a"
 
 PE = "1"
 
-SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \
-           git://git.freescale.com/imx/imx-firmware.git;branch=${SRCBRANCH};destsuffix=${S}/git"
+SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true"
 
 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
@@ -44,16 +38,14 @@ 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 ${PN}-bcm4339"
+PACKAGES =+ "${PN}-epdc"
 
 FILES_${PN}-epdc = "${base_libdir}/firmware/imx/epdc/"
-FILES_${PN}-bcm4339 = "${base_libdir}/firmware/*.hcd ${base_libdir}/firmware/bcm/*"
 
 PACKAGE_ARCH = "${MACHINE_SOCARCH}"
recipes-bsp/firmware-imx/firmware-imx_5.4.bb +0 -4
index edfbc6e..a7a2b38 100644
@@ -6,8 +6,4 @@ 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)"
Signature · 1 line
2.7.4
#1 lore raw
Quoted 6 lines · Daiane Angolini

This reverts commit e4a93c79de6aae56182c63c6223c19e01bdfeb42.

The git repository pointed in the commit is not part of any NXP release so it is not tested.

This is indeed a valid point but in this case it would be better to move the firmware contents.

I propose to create a new firmware-fslc-imx recipe which does that and leave the firmware-imx original. What do you think?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#2 lore raw
Quoted 7 lines · Otavio Salvador
Quoted 5 lines · Daiane Angolini

This reverts commit e4a93c79de6aae56182c63c6223c19e01bdfeb42.

The git repository pointed in the commit is not part of any NXP release so it is not tested.

Quoted 7 lines
Quoted 1 line

This is indeed a valid point but in this case it would be better to move the firmware contents.

I propose to create a new firmware-fslc-imx recipe which does that and leave the firmware-imx original. What do you think?

Hi Otavio,

In fact, the firware pointed in this commit (the reverted one) targets only Brillo. In addition, the git [1] is updated with the linux firware and I'm already preparing a recipe update to install the update version.

So I think the best now is to apply the revert patch in order to make sure it is wrong, and apply the new patch (I'm preparing) to get the right firmware.

Maybe it's better to wait for my new patch, so you can review it and decide which is the best approach. (I plan to have it tested by tomorrow)

Daiane

Quoted 10 lines

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale