Hi,
I followed the instructions from https://github.com/NXPmicro/meta-nxp-hovergames README file.
On ubuntu 18.04, running the command bitbake imx-image-hovergames ends with the following error:
ERROR: imx-boot-1.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1162"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/brigitte/imx8/hovergames/sources/poky/scripts:/home/brigitte/imx8/hovergames/build/tmp/work/imx8mmnavq-poky-linux/imx-boot/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/brigitte/imx8/hovergames/build/tmp/work/imx8mmnavq-poky-linux/imx-boot/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/brigitte/imx8/hovergames/build/tmp/work/imx8mmnavq-poky-linux/imx-boot/1.0-r0/recipe-sysroot-native/usr/sbin:/home/brigitte/imx8/hovergames/build/tmp/work/imx8mmnavq-poky-linux/imx-boot/1.0-r0/recipe-sysroot-native/usr/bin:/home/brigitte/imx8/hovergames/build/tmp/work/imx8mmnavq-poky-linux/imx-boot/1.0-r0/recipe-sysroot-native/sbin:/home/brigitte/imx8/hovergames/build/tmp/work/imx8mmnavq-poky-linux/imx-boot/1.0-r0/recipe-sysroot-native/bin:/home/brigitte/imx8/hovergames/sources/poky/bitbake/bin:/home/brigitte/imx8/hovergames/build/tmp/hosttools"; export HOME="/home/brigitte"; git -c core.fsyncobjectfiles=0 remote failed with exit code 128, output:
fatal: not a git repository (or any of the parent directories): .git
ERROR: imx-boot-1.0-r0 do_fetch: Fetcher failure for URL: 'git://source.codeaurora.org/external/imx/imx-mkimage.git;protocol=https;branch=imx_5.4.24_2.1.0'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/brigitte/imx8/hovergames/build/tmp/work/imx8mmnavq-poky-linux/imx-boot/1.0-r0/temp/log.do_fetch.13442
ERROR: Task (/home/brigitte/imx8/hovergames/sources/meta-imx/meta-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_fetch) failed with exit code '1'
What could possibly be wrong?
Thanks,
Brigitte
Solved! Go to Solution.
Defining these git parameters solved the problem:
git config --global user.email "<first.last@example.com>"
git config --global user.name "<First Last>"
Needed to clean the current state with command first:
bitbake -c cleanall imx-image-hovergames
Thanks for posting this issue and the solution!
Indeed the first time you use git it must be configured to have your username and email
Defining these git parameters solved the problem:
git config --global user.email "<first.last@example.com>"
git config --global user.name "<First Last>"
Needed to clean the current state with command first:
bitbake -c cleanall imx-image-hovergames