[imx8mp]real time image bitbake command failure

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[imx8mp]real time image bitbake command failure

5,504 Views
Ahelion
Contributor IV

Hello all.

Trying out the build specified here: https://www.nxp.com/docs/en/user-guide/REALTIMEEDGEUG.pdf

"3.2.2.3 Building meta-rtos-industrial"

It fails with fetch errors, anybody know why? and how can it be solved?

Br, Mircea

PS: is the machine an error here? as it contains 8mm and the build 8mp?

"DISTRO=nxp-real-time-edge MACHINE=imx8mm-lpddr4-evk source real-time-edgesetup-env.sh -b build-imx8mpevk-real-time-edge"

 

Tags (2)
0 Kudos
Reply
9 Replies

5,477 Views
Ahelion
Contributor IV

I did not modify anything ( except the typo, i fixed it ).

from the linux-imx.inc:

SRC_URI = "git://github.com/nxp-imx/linux-imx;protocol=https;branch=${SRCBRANCH}"

0 Kudos
Reply

5,482 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi 

The SRC_URI for kernel should be github.com/nxp-imx/linux-imx. From the error log, we see that "fatal: repository 'https://github.com/git/nxp-imx/linux-imx.git/' not found", make sure that you haven't modified it.

 

The machine is imx8mm-lpddr4-evk and the  "-b build-imx8mpevk-real-time-edge" is a typo. you can modify it to be  -b build-imx8mmevk-real-time-edge. 

 

Regards

Harvey

 

 

 

0 Kudos
Reply

5,316 Views
Ahelion
Contributor IV
@Harvey021.
Any update?
0 Kudos
Reply

5,303 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @Ahelion 

I did follow up the same guide and build the same on my side, have not seen such error.

 

Regards

Harvey

0 Kudos
Reply

5,294 Views
Ahelion
Contributor IV
@Harvey021
after several builds, starting a new one after one fails, i have a new error: | /usr/src/debug/bluez5/5.66-r0/src/battery.c:594: undefined reference to `adapter_get_path'

So...NXP did not test the build at all?
0 Kudos
Reply

5,299 Views
Ahelion
Contributor IV
I am doing it also this morning
"
WARNING: virtio-net-backend-ca-1.0-r0 do_fetch: Failed to fetch URL git://github.com/nxp-mcuxpresso/mcux-sdk.git;protocol=https;nobranch=1;destsuffix=git/mcux-sdk;name=mcux-sdk, attempting MIRRORS if available
ERROR: virtio-net-backend-ca-1.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/mircea/nxp/real-time-linux/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/mircea/nxp/real-time-linux/yocto-real-time-edge/sources/poky/scripts:/home/mircea/nxp/real-time-linux/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/armv8a-poky-linux/virtio-net-backend-ca/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/mircea/nxp/real-time-linux/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/armv8a-poky-linux/virtio-net-backend-ca/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/mircea/nxp/real-time-linux/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/armv8a-poky-linux/virtio-net-backend-ca/1.0-r0/recipe-sysroot-native/usr/sbin:/home/mircea/nxp/real-time-linux/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/armv8a-poky-linux/virtio-net-backend-ca/1.0-r0/recipe-sysroot-native/usr/bin:/home/mircea/nxp/real-time-linux/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/armv8a-poky-linux/virtio-net-backend-ca/1.0-r0/recipe-sysroot-native/sbin:/home/mircea/nxp/real-time-linux/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/work/armv8a-poky-linux/virtio-net-backend-ca/1.0-r0/recipe-sysroot-native/bin:/home/mircea/nxp/real-time-linux/yocto-real-time-edge/sources/poky/bitbake/bin:/home/mircea/nxp/real-time-linux/yocto-real-time-edge/build-imx8mpevk-real-time-edge/tmp/hosttools"; export HOME="/home/mircea"; LANG=C git -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/nxp-mcuxpresso/mcux-sdk.git /home/mircea/nxp/real-time-linux/yocto-real-time-edge/downloads//git2/github.com.nxp-mcuxpresso.mcux-sdk.git --progress failed with exit code 128, no output

"
I am following this guide here: https://www.nxp.com/docs/en/user-guide/REALTIMEEDGEUG.pdf
page 27.
Please share the log that you have for the build.
0 Kudos
Reply

5,444 Views
Ahelion
Contributor IV
BTW,
"
Searching 16943 files for "github.com/git/nxp-imx/linux-imx.git/"

0 matches"
0 Kudos
Reply

5,444 Views
Ahelion
Contributor IV
Harvey021 - any ideea?
I do not accept the git url as a solution as both zips where downloaded from nxp, no changes from my side.
0 Kudos
Reply

5,474 Views
Ahelion
Contributor IV

Harpoon build also fails, so I guess this is from your side of the network to fix.

 

0 Kudos
Reply