Hi,
I am referring to https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf
1. Section 10.3.4 Code Signing Tool says If Yocto doesn't install CST Package below steps should be followed
In the Yocto environment, the user can use below commands to rebuild cst:
1. bitbake cst-native –c cleanall
2. bitbake cst-native
While I try to execute these commands, i get an error saying
"Failed to fetch URL git://git.freescale.com/ppc/sdk/cst.git;nobranch=1"
2. I tried to edit cst_git.bb to edit the URL to
SRC_URI = "git://git.freescale.com/git/cgit.cgi/ppc/sdk/cst.git;branch=sdk-v2.0.x"
But the execution is still using the old URL (which is incorrect)
How to make cst_git.bb reflect changes while executing?
3. What should be the value of SRCREV?
It looks like an auto-generated code, since I am modifying the URL. How do i get the corresponding SRCREV?
Is SRCREV = "${AUTOREV}" correct?
Thanks,
Rashmitha
I have removed SDK 2.0-1703 folder from Ubuntu 14.
Install again SDK 2.0 and SDK 2.0-1703.
There is no error message for these commands:
Try to remove SDK 2.0 from your Ubuntu, install again SDK 2.0 and SDK 2.0-1703 and test these commands again.
Have a great day,
Pavel Chubakov
It looks like that your SDK is not completely installed.
The following command sequence was used under Ubuntu 14:
Message: /bin/sh -> dash
Answer after password – No
Message:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
Message: /bin/sh -> bash
Usually Linux recommends also run the following command: sudo usr/sbin/visudo
Have a great day,
Pavel Chubakov
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Yes, I had missed Step 9. But even when i run command given in step 9, I am facing the same GIT URL error
WARNING: Failed to fetch URL git://git.freescale.com/ppc/sdk/cst.git;nobranch=1, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: unable to connect to git.freescale.com:
git.freescale.com: Name or service not known
ERROR: Function failed: Fetcher failure for URL: 'git://git.freescale.com/ppc/sdk/cst.git;nobranch=1'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/rashmitha/QorIQ-SDK-V2.0-20160527-yocto/build_ls1046ardb/tmp/work/x86_64-linux/cst-native/git-r0/temp/log.do_fetch.27875
ERROR: Task 80 (virtual:native:/home/rashmitha/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-devtools/cst/cst_git.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 965 tasks of which 678 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
virtual:native:/home/rashmitha/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-devtools/cst/cst_git.bb, do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
.
.
.
I tried changing SOURCE_MIRROR_URL in local.conf to
http://git.freescale.com/git/cgit.cgi/ppc/sdk/
Now the error is
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: unable to connect to git.freescale.com:
git.freescale.com[0: 192.88.156.202]: errno=Connection timed out
.
.
.
Ping to 192.88.156.202 does not fetch any packets. Is there an issue with the GIT server?