Skip to contentSkip to conversation

firmware-imx: Fix the installation directory

PATCH In review Marco Franchi 3 participants 3 messages Aug 26, 2016 – Aug 29, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 firmware-imx: Fix the installation directory

The default Kernel defconfig points the bcm repository, but the recipes was creating a brcm repository.

---
 recipes-bsp/firmware-imx/firmware-imx.inc | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
recipes-bsp/firmware-imx/firmware-imx.inc +10 -10
index 2f82791..90218c9 100644
@@ -16,29 +16,29 @@ inherit fsl-eula-unpack
 
 do_install() {
     install -d ${D}${base_libdir}/firmware/imx
-    install -d ${D}${base_libdir}/firmware/brcm
+    install -d ${D}${base_libdir}/firmware/bcm
     install -d ${D}${sysconfdir}/firmware
 
     cp -rfv firmware/* ${D}${base_libdir}/firmware/
 
     #1BW_BCM43340
-    cp -rfv git/brcm/1BW_BCM43340/*.bin ${D}${base_libdir}/firmware/brcm
-    cp -rfv git/brcm/1BW_BCM43340/*.cal ${D}${base_libdir}/firmware/brcm
+    cp -rfv git/brcm/1BW_BCM43340/*.bin ${D}${base_libdir}/firmware/bcm
+    cp -rfv git/brcm/1BW_BCM43340/*.cal ${D}${base_libdir}/firmware/bcm
     cp -rfv git/brcm/1BW_BCM43340/*.hcd ${D}${sysconfdir}/firmware/
 
     #1DX_BCM4343W
-    cp -rfv git/brcm/1DX_BCM4343W/*.bin ${D}${base_libdir}/firmware/brcm
-    cp -rfv git/brcm/1DX_BCM4343W/*.cal ${D}${base_libdir}/firmware/brcm
+    cp -rfv git/brcm/1DX_BCM4343W/*.bin ${D}${base_libdir}/firmware/bcm
+    cp -rfv git/brcm/1DX_BCM4343W/*.cal ${D}${base_libdir}/firmware/bcm
     cp -rfv git/brcm/1DX_BCM4343W/*.hcd ${D}${sysconfdir}/firmware/
 
     #SN8000_BCM43362
-    cp -rfv git/brcm/SN8000_BCM43362/*.bin ${D}${base_libdir}/firmware/brcm
-    cp -rfv git/brcm/SN8000_BCM43362/*.cal ${D}${base_libdir}/firmware/brcm
+    cp -rfv git/brcm/SN8000_BCM43362/*.bin ${D}${base_libdir}/firmware/bcm
+    cp -rfv git/brcm/SN8000_BCM43362/*.cal ${D}${base_libdir}/firmware/bcm
     cp -rfv git/brcm/1DX_BCM4343W/*.hcd ${D}${sysconfdir}/firmware/
 
     #ZP_BCM4339
-    cp -rfv git/brcm/ZP_BCM4339/*.bin ${D}${base_libdir}/firmware/brcm
-    cp -rfv git/brcm/ZP_BCM4339/*.cal ${D}${base_libdir}/firmware/brcm
+    cp -rfv git/brcm/ZP_BCM4339/*.bin ${D}${base_libdir}/firmware/bcm
+    cp -rfv git/brcm/ZP_BCM4339/*.cal ${D}${base_libdir}/firmware/bcm
     cp -rfv git/brcm/ZP_BCM4339/*.hcd ${D}${sysconfdir}/firmware/
 
     mv ${D}${base_libdir}/firmware/epdc/ ${D}${base_libdir}/firmware/imx/epdc/
@@ -74,6 +74,6 @@ PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-*"
 PACKAGES =+ "${PN}-epdc ${PN}-brcm"
 
 FILES_${PN}-epdc = "${base_libdir}/firmware/imx/epdc/"
-FILES_${PN}-brcm = "${base_libdir}/firmware/brcm/*.bin ${base_libdir}/firmware/brcm/*.cal ${sysconfdir}/firmware/"
+FILES_${PN}-brcm = "${base_libdir}/firmware/bcm/*.bin ${base_libdir}/firmware/bcm/*.cal ${sysconfdir}/firmware/"
 
 PACKAGE_ARCH = "${MACHINE_SOCARCH}"
Signature · 1 line
2.7.4
reviewer
#1 lore raw

Hi Marco,

Quoted 2 lines · Marco Franchi

The default Kernel defconfig points the bcm repository, but the recipes was creating a brcm repository.

Shouldn't we fix the kernel defconfig in this case?

#2 lore raw
Quoted 7 lines · Fabio Estevam

Hi Marco,

Quoted 2 lines · Marco Franchi

The default Kernel defconfig points the bcm repository, but the recipes was creating a brcm repository.

Shouldn't we fix the kernel defconfig in this case?

As far as I know, the piece needed to be fixed is the installation target directory, as the kernel defconfig is the one using the right standard used by Murata.

As far as I know, there are other codes using the same standard, such as installation scripts.

So, it makes sense to change the installation directory.

I add Lauren in cc only to make sure my understanding is the right one.

Daiane

Quoted 5 lines

--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale