Raspberry pi 4 recipe and layer issues.
Any and all help is appreciated. Thanks in advance.
I want to install 6 software packages needed for FPGA Development.
These are icestorm, arachne-pnr, yosys, nextpnr, verilator, and zipcpu.
I have created 4 of the recipes (icestorm_0.1.bb, arachne-pnr_0.1.bb, yosys_0.1.bb, and nextpnr_0.1.bb)
using the recipetool & bitbake-layers, and I added these to a meta-yosys-tools layer.
I can now execute "bitbake icestorm" which is a python and C++ Makefile project.
The first time the recipe goes thru the python build and gets an error existing the shell.
If I rerun "bitbake icestorm" I get
| iceprog.c:27:10: fatal error: ftdi.h: No such file or directory
| 27 | #include <ftdi.h>
| | ^~~~~~~~
Which is the 2nd C++ program in the Makfile.
On the rpi4-64 all that is needed are the following steps to build icestorm
git clone https://github.com/cliffordwolf/icestorm.git
I first tried using the cross compiler with little sucess. This is why I trying to generate
the recipes to build using bitbake instead.
These are the location of the header files, needed to be added to the cross compiler sdk
which I installed for rpi4 using the following commands.
"bitbake core-image-sato -c populate_sdk_ext"
As root make install which install to /usr/local/bin & /usr/local/share.
Creates /usr/local/bin & /usr/local/share
icebox.py icebox_diff icebox_maps icebram iceprog
icebox_asc2hlc icebox_explain icebox_stat icemulti icetime
icebox_chipdb icebox_hlc2asc icebox_vlog icepack iceunpack
icebox_colbuf icebox_html iceboxdb.py icepll
chipdb-1k.txt chipdb-lm4k.txt timings_lp1k.txt timings_up5k.txt
chipdb-384.txt chipdb-u4k.txt timings_lp384.txt
chipdb-5k.txt timings_hx1k.txt timings_lp8k.txt
chipdb-8k.txt timings_hx8k.txt timings_u4k.txt
When I executed "bitbake nextpnr", I noticed the boost was built first. Since then
I have added boost to rpi4-core-image-sato which added quite a bit to the image
2420113408 without boost and 2839543808 with boost.
Let me know if I can provide additional information.
Edward Vidal Jr. e-mail develone@... 915-595-1613