apio on raspberry pi zero ( linux_armv6l ) with icezero
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 ?
I think I should take this to https://github.com/FPGAwars/toolchain-icestorm first
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:
- Toolchain-icestorm linux-armv6l branch
- Toolchain-iverilog linux-armv6l branch
- Tools-system linux-armv6l branch
If you have good results in cross-compiling these packages let me know in this ticket or with a PR contribution :)
Thanks!
Ok, thanks, very useful pointers, I will start experimenting!
I assume no progress was made on this?