create build environment container
Closed, WontfixPublic

Description

preferably a Fedora LXC container

preinstalled:

  • arm cross compiler with matching toolchain for userspace

Scripts to acquire/install:

  • Vivado for the zynq SOC
  • Diamond for the lattice FPGA

This is necessary since we are not allowed to redistribute Vivado/Diamond and the user has to register for the download and acquire a free license.

+ Documentation for using the above

sebastian updated the task description. (Show Details)
sebastian raised the priority of this task from to Normal.
sebastian added a project: AXIOM Beta Software.
sebastian moved this task to Backlog on the AXIOM Beta Software board.
sebastian added a subscriber: sebastian.
sebastian updated the task description. (Show Details)Oct 14 2015, 11:15 AM
sebastian added a subscriber: Bertl.

we also want sdcc and gputils (latest version) for pic related code and general tools like vim, gcc, python, etc for various tasks.

mithro added a subscriber: mithro.May 22 2016, 6:39 AM

So, we have been trying to do something like this for the HDMI2USB-misoc-firmware, you can see our instructions at https://github.com/timvideos/HDMI2USB-misoc-firmware/tree/master/scripts

Like you, we need;

  • Xilinx tools (we currently need ISE, but will soon also need Vivado)
  • Cross compiler tool chain
  • sdcc for FX2 firmware

We ended up deciding to use conda for the packaging of the cross compilers and FX2 toolchains, you can see how we have done this at https://github.com/timvideos/conda-hdmi2usb-packages. I don't like Conda very much but it made sense because we are already heavily invested in the Python ecosystem and the m-labs guys had already headed down that path.

Last time I looked, Vivado / ISE download and install can not be automated. The Xilinx website is deliberately designed to make it impossible to do automated download (and they seem to change it every 6 months too).

Other options include;

  • Docker container - basically a lightweight VM. Docker has a lot of mindshare and lots of people already know how to use it.
  • VirtualBox VM - full Linux system which can run on any OS. If you have a lot of Mac/Windows based developers, it probably makes sense as it will allow them to easily contribute.

BTW It would be awesome if your Lattice stuff could eventually be compiled using the open source toolchain that is slowly making progress. They are still probably a long way off doing something as complicated as what you need - but it would be an awesome goal.

anuejn added a subscriber: anuejn.EditedNov 5 2017, 9:35 PM

I think a ubuntu docker container with the required tools installed would be simple to create (this is the current solution for the ci-builds). However, I think, that distributing xilinx tools implys some licensing and export-control related issues. The simplest way to deal with them would be to just ignore those or make the container somehow protected.

sebastian closed this task as Wontfix.Feb 18 2019, 10:39 AM
sebastian claimed this task.

license issues currently not resolveable