• 0
edge30

Cora Z7: any chance to have Buildroot (or other opensource) support

Question

I think the Cora Z7 has landed ok in the community, I see many posts about it here, however, overall, there's very little information online, besides it seems all focus is on using Xilinx' Petalinux.

Has anybody tried to build Linux for Cora Z7 using buildroot?

I rather use open source and tools so it'd be great to have some support in this regards.

Thanks

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

https://github.com/Digilent/linux-digilent is just the kernel.

To build a Linux image or use a prebuilt image for Cora use

https://github.com/Digilent/Petalinux-Cora-Z7-07S or

https://github.com/Digilent/Petalinux-Cora-Z7-10

depending on which version you have.

We have no plans of working with buildroot since Petalinux integrates with the IP design from Vivado and makes the design flow easier to work with.

Share this post


Link to post
Share on other sites
  • 0

Hi @edge30,

I don't think any of us here at Digilent have attempted to use buildroot or other open source tools specifically with the Cora Z7, so the staff here will be of limited help in that regard. Perhaps some other community members have attempted this, though some basic searching online (which it sounds like you did) didn't seem to turn up anything particularly helpful.

Thanks,
JColvin

Share this post


Link to post
Share on other sites
  • 0

Thanks for your answer.

I found that Digilent's own github contains u-boot and linux and, according to the notes posted, they now support Cora Z7. This is great!

Howeve when I try to build u-boot I get this KNOWN error: https://forums.xilinx.com/t5/Embedded-Linux/U-Boot-compile-error-dereferencing-pointer/td-p/794782

According to that forum, the issue happens when using the latest libssl (1.1.0).

Would it be possible for Digilent to try and test with a system using the latest libssl and then fix this issue?

For Linux I'm a little puzzled since there're 2 repositories in Digilent's github with similar names, so I don't know which one is the one I should use, I tried with the one updated more recently but can't find the Cora config file, maybe the usage is different than other builders?

Thanks

e

Share this post


Link to post
Share on other sites
  • 0

Hi @edge30,

I have reached out to some of the other engineers more familiar with embedded Linux about your questions.

Thank you,
JColvin

Share this post


Link to post
Share on other sites
  • 0
On 6/10/2019 at 3:29 AM, edge30 said:

For Linux I'm a little puzzled since there're 2 repositories in Digilent's github with similar names, so I don't know which one is the one I should use, I tried with the one updated more recently but can't find the Cora config file, maybe the usage is different than other builders?

Which two repos are you referring to?

 

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

@vicentiu

I've marked your response as solution as it is the solution to my question.

However I'd like to add that some repos, such as u-boot, are too old already, the builder fails in latest ubuntu or debian (using libssl 1.1, maybe there're more problems after this point).

I haven't tried the linux repo but I'm afraid similar issues may arise

Been Cora a new board customers expect Digilent to provide updated tools and more documentation resources.

Edited by edge30

Share this post


Link to post
Share on other sites
  • 0

Both the kernel and u-boot build successfully from within Petalinux projects. That is the main workflow we support.

We plan to update u-boot, it's just a matter of prioritizing tasks before we get to it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now