viveris / LoCod

LoCod is a framework developed to simplify Co-design on SoC (CPU / FPGA) devices. From a C source code you can select function that shall be run into an FPGA accelerator.
GNU General Public License v3.0
5 stars 0 forks source link

improve setup #1

Open LeFl0w opened 3 months ago

LeFl0w commented 3 months ago

Is is possible to improve initial installation paragraph ? https://github.com/viveris/LoCod?tab=readme-ov-file#install

locod script is referencing docker images included in the submodule but there is no automation to build those images.

for what I understand, it is mandatory to build each docker image located in submodules manually with command: docker build -t imaage_name:version and to respect the version identified in https://github.com/viveris/LoCod/blob/e09e7a731b96fae9573a63f864727e8c84b74537/locod.sh#L46-L49

Am I correct? thx

Hugokie commented 3 months ago

Hi,

Yes, it is correct.

You shall build all docker images manually, we know that this part is not user-friendly, but we can't share some docker images because of licences of proprietary tools (NanoXplore for example). In addition, sdk for enclustra and ultra96 can be customized for your needs, so we don't provide these.

To generate the SDK for enclustra and / or ultra96 we used petalinux and the two repositories below : https://github.com/viveris/LoCod-bsp-ME-XU7-6EG https://github.com/viveris/LoCod-bsp-u96v2 This procedure produce SDK archive used by dockefile.

If you want to use LoCod for ultra96 or enclustra the only needs are :

Perhaps we will share the docker images on a docker registry, but we shall verify licences of used tools inside.