I've learned here : git.freescale.com down
that freescale git moved to github.
"The git://git.freescale.com repository was replaced by git://github.com/NXP/imx-firmware"
I'm trying to build LINUX YOCTO SDK 2.0 for b4860qds and constantly get errors:
b4860qds@Ubuntu64:~/tmp$ git clone git://git.freescale.com/yocto/meta-nxp-npi.git
Cloning into 'meta-nxp-npi'...
fatal: unable to connect to git.freescale.com:
git.freescale.com[0: 192.88.156.202]: errno=Connection refused
I've looked about it in git://github.com/NXP but find nothing applicable.
Please help.
what should be written instead
SRC_URI = "git://git.freescale.com/ppc/sdk/fmlib.git;branch=sdk-v2.0.x"
SRC_URI = "git://git.freescale.com/ppc/sdk/hv-cfg.git;branch=sdk-v2.0.x"
etc.
???
Hello Michael Beilin,
SDK 2.0 can be built in your local PC without networking environment.
Please download both "QorIQ Linux SDK 2.0 SOURCE ISO" and "QorIQ Linux SDK V2.0 PPCE6500 Yocto Cache.iso"
from Linux® SDK for QorIQ® Processors | NXP , and install them in the same path.
The source ISO includes recipes and source tar balls, the Cache ISO is used to accelerate the building.
Thanks,
Yiping
That it what I did exactly, and get the following screen:
b4860qds@Ubuntu64:~/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b$ bitbake fsl-image-minimal
WARNING: Host distribution "Ubuntu-19.10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |####################################################################################| ETA: 00:00:00
Loaded 6083 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-19.10"
TARGET_SYS = "powerpc64-fsl-linux"
MACHINE = "b4860qds-64b"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "2.0"
TUNE_FEATURES = "m64 fpu-hard e6500 altivec"
TARGET_FPU = "hard"
meta
meta-yocto
meta-yocto-bsp = "HEAD:9a211a4a2c1bfcb292dc97d8dcac149bca9e3f1b"
meta-oe
meta-multimedia
meta-gnome
meta-networking
meta-perl
meta-python
meta-ruby
meta-filesystems
meta-webserver
meta-xfce = "HEAD:dc5634968b270dde250690609f0015f881db81f2"
meta-freescale = "HEAD:7facbdb726e2dda0515e084c2066a4b8dd99c6d2"
meta-freescale-internal = "HEAD:4829293f807e35a1111e79763294fc8b98b97810"
meta-freescale-extra = "HEAD:bee911b027e0480b034674d0ddee3fcb06d2e985"
meta-virtualization = "HEAD:042425c1d98bdd7e44a62789bd03b375045266f5"
meta-java = "HEAD:8b776ac68f9af4596be3824152bcf0bc6b67fa1d"
meta-openstack
meta-openstack-aio-deploy
meta-openstack-compute-deploy
meta-openstack-compute-test-config
meta-openstack-controller-deploy
meta-openstack-controller-test-config
meta-openstack-qemu
meta-openstack-swift-deploy
meta-cloud-services = "HEAD:d8bc0d92d0f741e2ea1e6d3d9bc6b7a091d03cfb"
meta-security = "HEAD:f9367e71f923fc7d2fb600208e2b97535ea41777"
meta-nxp-npi-1703 = "jethro-sdk-v2.0-ga-17.03:d8f8d3a5d3ee18f881466938b847cef9b08c4a35"
NOTE: Preparing RunQueue
NOTE: Checking sstate mirror object availability (for 13 objects)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
No currently running tasks (985 of 1487)
No real function for mknod: /home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libpseudo.so: undefined symbol: mknod
No real function for mknodat: /home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libpseudo.so: undefined symbol: mknodat
No real function for mknod: /home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64/libpseudo.so: undefined symbol: mknod
No real function for mknodat: /home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/uERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: branch 'origin/sdk-v2.0.x' does not exist
ERROR: Logfile of failure stored in: /home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/work/b4860qds_64b-fsl-linux/hv-cfg/git-r6/temp/log.do_unpack.89227
Log data follows:
| DEBUG: Executing python function do_unpack
| DEBUG: Executing python function base_do_unpack
| DEBUG: Running export SSH_AGENT_PID="1553"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/bin/powerpc64-fsl-linux:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/b4860qds-64b/usr/bin/crossscripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/sbin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/bin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/sbin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/bin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/b4860qds"; git -c core.fsyncobjectfiles=0 clone -s -n /home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/downloads/git2/git.freescale.com.ppc.sdk.hv-cfg.git/ /home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/work/b4860qds_64b-fsl-linux/hv-cfg/git-r6/git/
| DEBUG: Running export SSH_AGENT_PID="1553"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/bin/powerpc64-fsl-linux:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/b4860qds-64b/usr/bin/crossscripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/sbin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/bin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/sbin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/bin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/b4860qds"; git -c core.fsyncobjectfiles=0 remote set-url origin git://git.freescale.com/ppc/sdk/hv-cfg.git
| DEBUG: Running export SSH_AGENT_PID="1553"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/bin/powerpc64-fsl-linux:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/b4860qds-64b/usr/bin/crossscripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/sbin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/bin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/sbin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/bin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/b4860qds"; git -c core.fsyncobjectfiles=0 checkout -B sdk-v2.0.x 348748b2ce26258509997b19fead0dd7bba4dea4
| DEBUG: Running export SSH_AGENT_PID="1553"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/bin/powerpc64-fsl-linux:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/b4860qds-64b/usr/bin/crossscripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/sbin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/usr/bin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/sbin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-linux/bin:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/b4860qds"; git -c core.fsyncobjectfiles=0 branch --set-upstream-to sdk-v2.0.x origin/sdk-v2.0.x
| DEBUG: Python function base_do_unpack finished
| DEBUG: Python function do_unpack finished
| ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
| fatal: branch 'origin/sdk-v2.0.x' does not exist
|
ERROR: Task 127 (/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-virtualization/hv-cfg/hv-cfg_git.bb, do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 986 tasks of which 984 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-virtualization/hv-cfg/hv-cfg_git.bb, do_unpack
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
With annoying complains about mknod and mknotat
No real function for mknod: /home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-
No real function for mknodat: /home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/build_b4860qds-64b/tmp/sysroots/x86_64-
And error to access freescale git:
ERROR: Task 127 (/home/b4860qds/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-virtualization/hv-cfg/hv-cfg_git.bb, do_unpack) failed with exit code '1'
I've fixed git option to "--set-upstream-to" as you say in some other post of that forum,
It still try to access git.freescale.com server.
I've also read somewhere that the latest patch should be fetched to repair mknod/mknodat compiler complains.
I'll highly appreciate your help.
Michael
Hello Michael,
Please refer to the following topics.
[yocto] [pyro][bitbake][PATCH] bitbake: Replace deprecated git branch parameter "--set-upstream"
[pseudo-native] No real function for mknod
Thanks,
Yiping