Adding meta-murata-wireless layer to sumo Yocto release causing problems

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding meta-murata-wireless layer to sumo Yocto release causing problems

1,296 Views
dhruvkakadiya
Contributor I

I am trying to build sumo Yocto build with meta-murata-wireless layer so that I can use Type 1MW WiFi/BT combo module with imx6ul-evk board. But I am not able to build that and getting below errors/warnings.

 

WARNING: ../imx-yocto-bsp/sources/meta-murata-wireless/recipes-kernel/backporttool-linux/backporttool-linux_1.0.bb: Exception during build_dependencies for KERNEL_VERSION                                

WARNING: ../imx-yocto-bsp/sources/meta-murata-wireless/recipes-kernel/backporttool-linux/backporttool-linux_1.0.bb: Error during finalise of ../imx-yocto-bsp/sources/meta-murata-wireless/recipes-kernel/backporttool-linux/backporttool-linux_1.0.bb

ERROR: ExpansionError during parsing ../imx-yocto-bsp/sources/meta-murata-wireless/recipes-kernel/backporttool-linux/backporttool-linux_1.0.bb Traceback (most recent call last): bb.data_smart.ExpansionError: Failure expanding variable KERNEL_VERSION, expression was ${@base_read_file('../imx-yocto-bsp/build-imx-wayland/tmp/work-shared/imx6ulevk/kernel-build-artifacts/kernel-abiversion')} which triggered exception NameError: name 'base_read_file' is not defined
Labels (2)
0 Kudos
4 Replies

676 Views
romitchatterjee
Contributor V

Hello dhruvkakadiya,

Sumo is not yet officially supported by meta-murata-wireless. But you can try to following steps to add meta-murata-wireless layer to the Yocto sumo build.

  • mkdir L4.14.98
  • cd L4.14.98
  • mkdir murata-imx-bsp
  • cd murata-imx-bsp
  • export BSP_DIR=`pwd`
  • repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.98-2.0.0_ga.xml
  • repo sync
  • cd $BSP_DIR
  • DISTRO=fsl-imx-x11 MACHINE=imx6ulevk source fsl-setup-release.sh -b build-imx6ulevk-x11
  • export BUILD_DIR=`pwd`
  • cd $BSP_DIR/sources
  • git clone https://github.com/bchen-murata/meta-murata-wireless.git
  • cd meta-murata-wireless
  • git checkout imx-sumo-manda
  • cd $BSP_DIR
  • chmod 777 sources/meta-murata-wireless/add-murata-layer-script/add-murata-wireless.sh
  • sh ./sources/meta-murata-wireless/add-murata-layer-script/add-murata-wireless.sh build-imx6ulevk-x11
  • mv $BSP_DIR/sources/meta-openembedded/meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bb $BSP_DIR/sources/meta-openembedded/meta-oe/recipes-connectivity/hostapd/hostapd_2.6.bbx
  • mv $BSP_DIR/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/hostapd/hostapd_%.bbappend $BSP_DIR/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/hostapd/hostapd_%.bbappendx
  • mv $BSP_DIR/sources/poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb $BSP_DIR/sources/poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bbx
  • mv $BSP_DIR/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend $BSP_DIR/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappendx
  • cd $BUILD_DIR
  • bitbake core-image-base

Thanks.

0 Kudos

676 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello dhruvkakadiya,

The information on the README from the Murata layers is not very clear, but it appears that this layers is based in morty and not sumo. Have you tried adding the layer to a Yocto Morty BSP?

Regards,

0 Kudos

676 Views
dhruvkakadiya
Contributor I

Hi gusarambula‌, 

Yes, I tried Murata layers with a Morty release and there it works fine. In that repo, they also provided a script to setup Yocto project automatically which works fine.

0 Kudos

676 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello dhruvkakadiya,

I would recommend contacting Murata to see if they have ported their layer to sumo. Otherwise you would need to make the necessary changes to port from morty to sumo, which while doable is not a trivial task.

Regards,

0 Kudos