FPGAwars / apio

:seedling: Open source ecosystem for open FPGA boards
https://github.com/FPGAwars/apio/wiki
GNU General Public License v2.0
802 stars 139 forks source link

apio on raspberry pi zero ( linux_armv6l ) with icezero #148

Open ps-account opened 6 years ago

ps-account commented 6 years ago

Hi!

I am trying out apio to see if it works on the raspberry pi zero with the icezero

https://blackmesalabs.wordpress.com/2017/02/07/icezero-fpga-board-for-rasppi/

https://shop.trenz-electronic.de/en/TE0876-02-Ice-Zero-with-Lattice-ICE-ICE40HX

The icezero uses a ICE40HX4K which should be similar to some of the already supported boards.

I seem to get into an issue with the raspberry pi zero, as it runs on linux_armv6l and so far it seems only packages exist for linux_armv7l

(apio) pi@raspberrypi:~ $ apio install --all Installing examples package: Download apio-examples-0.0.10.zip Downloading [####################################] 100%
Unpacking [####################################] 100%
Package 'examples' has been successfully installed! Installing icestorm package: Warning: full platform does not match: linux_armv6l
Trying OS name: linux
Error: Got an unrecognized status code '404' when downloaded https://github.com/FPGAwars/toolchain-icestorm/releases/download/v1.10.1/toolchain-icestorm-linux-1.10.1.tar.gz

I guess it should be possible to create linux_armv6l versions of the packages that already exist as linux_armv7l ?

ps-account commented 6 years ago

I think I should take this to https://github.com/FPGAwars/toolchain-icestorm first

Jesus89 commented 6 years ago

Hi @rdwrt.

The main packages for apio are not available for linux_armv6l yet:

We need to build all these packages for linux_armv6l in order to have support for this architecture in apio.

I have created several branches to start with it but I couldn't test it since I don't have an RPi Zero. Also it seems that it is not trivial to build source code for linux_armv6l. If you want to try it, here you have the branches:

If you have good results in cross-compiling these packages let me know in this ticket or with a PR contribution :)

Thanks!

ps-account commented 6 years ago

Ok, thanks, very useful pointers, I will start experimenting!

lagomorph commented 3 years ago

I assume no progress was made on this?