UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor tim_k
Visitor
144 Views
Registered: ‎06-27-2018

How do I disable GIT fetch of QEMU in petalinux-build --sdk? (v2018.3)

Hi,

I'm trying to generate sysroot using petalinux-build -s, and my build dies when trying to update git submodules in qemu:

fatal: clone of 'git://git.qemu.org/capstone.git' <long path deleted> failed

There's a good reason for this - my company's IT group has disabled any net access that is not https from the build machines.

I've downloaded the cache file (https://www.xilinx.com/member/forms/download/xef.html?filename=sstate-rel-v2018.3.tar.gz), and configured petalinux to use it (per https://www.xilinx.com/member/forms/download/xef.html?filename=sstate_rel_2018.3_README.tar.gz). A regular build (petalinux-build) works fine. But for whatever reason the qemu portion of the SDK build insists on trying to go to git.qemu.org.

How do I convince petalinux to stay local for everything? If necessary I'm happy to disable qemu altogether, as I'm running on real hardware and don't need emulation, but I'm concerned that this is just the first failure, and if qemu is disabled, something else will break the build.

 

Thanks,

Tim.

0 Kudos
3 Replies
Moderator
Moderator
108 Views
Registered: ‎12-04-2016

Re: How do I disable GIT fetch of QEMU in petalinux-build --sdk? (v2018.3)

Hi

 

Set the proxies. Follow this wiki to know on how to 
 
And then rebuild the project
$ petalinux-build -x mrproper
$ petalinux-build --sdk
 
Best Regards
Shabbir
0 Kudos
Moderator
Moderator
95 Views
Registered: ‎04-24-2017

Re: How do I disable GIT fetch of QEMU in petalinux-build --sdk? (v2018.3)

Hi @tim_k,

Please refer Yocto proxy settings. https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy 

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
0 Kudos
Visitor tim_k
Visitor
74 Views
Registered: ‎06-27-2018

Re: How do I disable GIT fetch of QEMU in petalinux-build --sdk? (v2018.3)

So I tried what's described in the GIT section of the referenced wiki page, with no success. I still get:

 

| fatal: unable to connect to git.qemu.org:
| git.qemu.org[0: 172.99.69.163]: errno=Connection timed out

 

And the build dies.

 

I also tried the BB NoNetwork option in the configuration to try and convince Bit Bake that everything was local in the SSTATE_CACHE location, but that failed immediately.

So how do I convince petalinux that it can't go to the network for anything?

Thanks,

-Tim.

 

0 Kudos