Jump to content
  • 0

Zybo Z7-10 Petalinux-Arty-Z7-10-2017.4-1.bsp petalinux-build problem


plu

Question

I'm trying to build Petalinux-Arty-Z7-10-2017.4-1.bsp, but encounter problems retrieving the libuio, libgpio, and libpwm packages.

In the .bb bitbake files, there are lines like:

SRC_URI = "git://github.com/mitchellorsucci/libuio.git \
                  "

which seem to perform:

git -c core.fsyncobjectfiles=0 ls-remote git://github.com/mitchellorsucci/libuio.git  failed with exit code 128, output:
fatal: read error: Connection reset by peer

that fail (probably because the git: protocol is not supported).

 

If I change the "git:" to "https:" then the git operation happens (downloads HTML), but then there is a demand for a SRC_URI[md5sum] which will never match (since the HTML page content changes).

It seems that what's really desired is:

git -c core.fsyncobjectfiles=0 ls-remote https://github.com/mitchellorsucci/libuio.git

to list (ls-remote) the branches of the item, but petalinux-build changes the git command issued (to get the HTML page).

 

Note that from a separate Bash shell, I can do:

> git -c core.fsyncobjectfiles=0 ls-remote https://github.com/mitchellorsucci/libuio.git
0447ef6dca91c6f5b9443af405b535d53ec518d1    HEAD
0447ef6dca91c6f5b9443af405b535d53ec518d1    refs/heads/master

 

The Bash commands I issue are:

petalinux-create -t project -s Petalinux-Arty-Z7-10-2017.4-1.bsp

cd Arty-Z7-10

petalinux-config

petalinux-build

 

 

Can anyone help me fix this problem?  Thank you so much in advance.

 

I'm using Petalinux-2017.4, as dictated by the BSP.

 

Links of relevance:

https://github.com/Digilent/Petalinux-Zybo-Z7-10?_ga=2.88983324.600084188.1583877953-759892192.1583161017

https://github.com/Digilent/Petalinux-Zybo-Z7-10/releases/

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

It looks like from a separate (non-secured) network, I am able to perform the git on the git: protocol...

> git -c core.fsyncobjectfiles=0 ls-remote git://github.com/mitchellorsucci/libuio.git
0447ef6dca91c6f5b9443af405b535d53ec518d1        HEAD
0447ef6dca91c6f5b9443af405b535d53ec518d1        refs/heads/master

 

So, the problem is that I can't get petalinux-build to do the ls-remote (as desired).

Is there any way to fix petalinux-build so that it DOESN'T require git using the git: protocol (but rather just https:)?

 

Thanks for help.

 

Problem solved.  Needed to tunnel git port 9418.

Thanks.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...