0

when I am creating image first time for imx8mm board via these command 

$source sources/poky/oe-init-build-env

`$bitbake phytec-qt5demo-image

it is showing ERROR: nxp-wlan-sdk-git-r0 do_compile: oe_runmake failed   , and 

/bin/sh: 1: scripts/mod/modpost: Permision denied .

typehost@host-OptiPlex-3010:~/yocto_imx8mm/yocto_source/build$ bitbake phytec-qt5demo-image Loading cache: 100% |#################################################################################################| Time: 0:00:00 Loaded 5018 entries from dependency cache. NOTE: Resolving any missing task queue dependencies`

Build Configuration: BB_VERSION = "1.44.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-phytec-linux" MACHINE = "phyboard-polis-imx8mm-3" DISTRO = "yogurt-vendor-xwayland" `DISTRO_VERSION = "BSP-Yocto-FSL-i.MX8MM-PD21.1.0" `TUNE_FEATURES = "aarch64 cortexa53 crc crypto" `TARGET_FPU = "" `meta `meta-poky = "HEAD:d88d62c20d7d8da85f02edb170dae0280624ad7e" `meta-oe `meta-networking `meta-python `meta-multimedia `meta-filesystems `meta-perl `meta-gnome = "HEAD:2b5dd1eb81cd08bc065bc76125f2856e9383e98b" meta-bsp
meta-sdk meta-ml = "HEAD:63665ab70ca609451533101cded2a620b340768c" meta-browser = "HEAD:ee3be3b5986a4aa0e73df2204a625ae1fe5df37e" meta-clang = "HEAD:711e593d5984aad3bf35c51b7ac4482982bc16c7" meta-freescale = "HEAD:14f1a630a47375432f93c556927b879b51d84c4e" meta-freescale-3rdparty = "HEAD:dbcc686f52c3c84db8cb86aa8973a4e373651b98" meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857" meta-phytec = "HEAD:dcb4b2b9ddf26649f4487c07c3250b3d8233893b" meta-qt5 = "HEAD:21ce4c124d9a972d9122f87c64ac2773bf04c284" meta-rauc = "HEAD:cc7d622b2d49c8c7d426bb9965ad1d58806ef52f" meta-rust = "HEAD:53bfa324891966a2daf5d36dc13d4a43725aebed" meta-python2 = "HEAD:4400f9155ec193d028208cf0c66aeed2ba2b00ab" meta-yogurt = "HEAD:12d36b8433d4730dbf7445bfac2b5cea618d94fd" meta-security
`meta-tpm = "HEAD:52e83e6b7e57bf352fd6770466996530dece3da5"

Initialising tasks: 100% |############################################################################################| Time: 0:00:03 Sstate summary: Wanted 1478 Found 0 Missed 1478 Current 909 (0% match, 38% complete) NOTE: Executing Tasks NOTE: Setscene tasks completed `ERROR: nxp-wlan-sdk-git-r0 do_compile: oe_runmake failed ``ERROR: nxp-wlan-sdk-git-r0 do_compile: Execution of '/home/host/yocto_imx8mm/yocto_source/build/tmp/work/aarch64-phytec-linux/nxp-wlan-sdk/git-r0/temp/run.do_compile.9800' failed with exit code 1:

`make[1]: Entering directory '/lib/modules/5.4.0-59-generic/build'
`  Building modules, stage 2.
`  MODPOST 0 modules
`/bin/sh: 1: scripts/mod/modpost: Permission denied
`scripts/Makefile.modpost:93: recipe for target '__modpost' failed
`make[2]: *** [__modpost] Error 126
`Makefile:1670: recipe for target 'modules' failed
`make[1]: *** [modules] Error 2
`make[1]: Leaving directory '/lib/modules/5.4.0-59-generic/build'
`Makefile:412: recipe for target 'default' failed
`make: *** [default] Error 2
`WARNING: exit code 1 from a shell command.
``
`ERROR: Logfile of failure stored in: `/home/host/yocto_imx8mm/yocto_source/build/tmp/work/aarch64-phytec-linux/nxp-wlan-sdk/git-r0/temp/log.do_compile.9800`
`Log data follows:
`| DEBUG: Executing shell function do_compile
`| NOTE: make -j 4 build
``| make -C /lib/modules/5.4.0-59-generic/build M=/home/host/yocto_imx8mm/yocto_source/build/tmp/work/aarch64-phytec-linux/nxp-wlan-sdk/git-r0/git/mxm_wifiex/wlan_src modules
`| make[1]: Entering directory '/lib/modules/5.4.0-59-generic/build'
|   Building modules, stage 2.
|   MODPOST 0 modules
| /bin/sh: 1: scripts/mod/modpost: Permission denied
| scripts/Makefile.modpost:93: recipe for target '__modpost' failed
| make[2]: *** [__modpost] Error 126
| Makefile:1670: recipe for target 'modules' failed
| make[1]: *** [modules] Error 2
| make[1]: Leaving directory '/lib/modules/5.4.0-59-generic/build'
| Makefile:412: recipe for target 'default' failed
| make: *** [default] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/host/yocto_imx8mm/yocto_source/build/tmp/work/aarch64-phytec-linux/nxp-wlan-sdk/git-r0/temp/run.do_compile.9800' failed with exit code 1:
| make -C /lib/modules/5.4.0-59-generic/build M=/home/host/yocto_imx8mm/yocto_source/build/tmp/work/aarch64-phytec-linux/nxp-wlan-sdk/git-r0/git/mxm_wifiex/wlan_src modules
| make[1]: Entering directory '/lib/modules/5.4.0-59-generic/build'
|   Building modules, stage 2.
|   MODPOST 0 modules
| /bin/sh: 1: scripts/mod/modpost: Permission denied
| scripts/Makefile.modpost:93: recipe for target '__modpost' failed
| make[2]: *** [__modpost] Error 126
| Makefile:1670: recipe for target 'modules' failed
| make[1]: *** [modules] Error 2
| make[1]: Leaving directory '/lib/modules/5.4.0-59-generic/build'
| Makefile:412: recipe for target 'default' failed
| make: *** [default] Error 2
| WARNING: exit code 1 from a shell command.`
| 
`ERROR: Task (/home/host/yocto_imx8mm/yocto_source/sources/poky/../meta-imx/meta-bsp/recipes-connectivity/nxp-wlan-sdk/nxp-wlan-sdk_git.bb:do_compile) failed with exit code '1'

Second Keyboard Interrupt, stopping...


Summary: 1 task failed:
  /home/host/yocto_imx8mm/yocto_source/sources/poky/../meta-imx/meta-bsp/recipes-connectivity/nxp-wlan-sdk/nxp-wlan-sdk_git.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.`

here


 anyone can help on this I have attached ss too ?

Thanks  


I am expecting successful image creation in yocto  
GOURAV
  • 1

0 Answers0