Received: from yocto-www.yoctoproject.org (yocto-www.yoctoproject.org [140.211.169.56]) by mx.groups.io with SMTP id smtpd.web12.3243.1576189207060685790 for ; Thu, 12 Dec 2019 14:20:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sbcglobal.net header.s=s2048 header.b=OlPrYtiQ; spf=none, err=permanent DNS error (domain: sbcglobal.net, ip: 140.211.169.56, mailfrom: develone@sbcglobal.net) Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4AEB9E01227; Thu, 12 Dec 2019 14:20:06 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,MANY_SPAN_IN_TEXT,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no * trust * [74.6.129.45 listed in list.dnswl.org] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * 1.0 MANY_SPAN_IN_TEXT Many tags embedded within text Received: from sonic301-6.consmr.mail.bf2.yahoo.com (sonic301-6.consmr.mail.bf2.yahoo.com [74.6.129.45]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CF9FCE010FC for ; Thu, 12 Dec 2019 14:20:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1576189203; bh=5t/wuelkxaJiULjUD0Ggs7oG7qRLBbHeUNMhZm2BZwM=; h=Date:From:To:Subject:References:From:Subject; b=OlP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MDkiE9nJ_88gm 2ywjVT7.eztdOPpcv8Qj0gW9XH38XRYWfouKyPvNvGQ71hB2VEJq_tKAWtgeuoV1e06rR5.Cygp4 54ESBcsL549yGT.yO7d76ttp.TitmJdj7VuG9xX5.LqyEnYcgrUhgGODr6bnpZNggeY1gJ7LD40G jq0HNkTcMxC7OjQz6Dh8_6lWZ.ckYlwVqdPjRZiGliF0TLQ76228WnusWrnv8FMi.yZUp.vtct.E AReFhyzOrCEzEXCrxCo5okF4QAKtxzRSu47ww.yEYzu3fct1bTnT4R9NKnLI5RQLZtemHqzU0fm3 I6EqtlM6hU2yst_XAvIUJQyZL6TBbiJZigDZ4wK84hPPwFuDHGjMubFLPVVJlMrVJlRdkAUaDjo_ ozKjikyiOQlaoRxWifcu24W.Q355McymNTJltKDerYyI6BM7QFEJhUHWzepWfuLLovmOlONRCe7P HJ6._Zh467O6iVo.9VXuyaLBlnZDQPyqPnDtNK2JXn2FBSuqcUA9YSV0N.o4MxtHrDTsn6AklUDC 47UkT7Q_mMJAcQ03Z5NHeOvNjSRDaUEdcNRLwpc0o.7gK_V2NK85y8GKgFAySeuvv43viPyu7229 KG2QE3DIW7Wc5Y8dT1kNIzw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Thu, 12 Dec 2019 22:20:03 +0000 Date: Thu, 12 Dec 2019 22:20:03 +0000 (UTC) From: "Ed Vidal" To: "yocto@yoctoproject.org" Message-ID: <1425959048.4595077.1576189203518@mail.yahoo.com> Subject: Raspberry pi 4 recipe and layer issues. MIME-Version: 1.0 References: <1425959048.4595077.1576189203518.ref@mail.yahoo.com> X-Mailer: WebService/1.1.14728 YMailNorrin Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Raspbian Chromium/74.0.3729.157 Chrome/74.0.3729.157 Safari/537.36 Content-Type: multipart/alternative; boundary="----=_Part_4595076_1659908856.1576189203516" ------=_Part_4595076_1659908856.1576189203516 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi AllAny and all help is appreciated.=C2=A0 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 create= d 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. https://github.com/develone/meta-yosys-tools.git I can now execute "bitbake icestorm" which is a python and C++ Makefile pro= ject.The first time the recipe goes thru the python build and gets an error= existing the shell.If I rerun "bitbake icestorm" I get=C2=A0 | iceprog.c:27:10: fatal error: ftdi.h: No such file or directory|=C2=A0 = =C2=A0 27 | #include |=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ^~~~~~~~Which is the 2nd C++ program in the Makfile.On th= e rpi4-64 all that is needed are the following steps to build icestorm git = clone https://github.com/cliffordwolf/icestorm.git cd icestorm=C2=A0 make r= eal 33m4.774s user 32m39.073s sys 0m19.247s I first tried using the cross c= ompiler with little sucess.=C2=A0 This is why I trying to generate=C2=A0the= recipes to build using bitbake instead. These are the location of the head= er files, needed to be added to the cross compiler sdkwhich I installed for= rpi4 using the following commands. "bitbake meta-toolchain" "bitbake core-= image-sato -c populate_sdk_ext" "./poky-glibc-x86_64-meta-toolchain-aarch64= -raspberrypi4-64-toolchain-3.0.1.sh" =C2=A0=C2=A0/usr/include/libftdi1/ftdi.h/usr/include/pcap/usb.h As root make install which install to /usr/local/bin & /usr/local/share.Cre= ates /usr/local/bin & /usr/local/sharels /usr/local/bin/icebox.py icebox_di= ff icebox_maps=C2=A0 icebram=C2=A0 =C2=A0iceprogicebox_asc2hlc icebox_expla= in icebox_stat=C2=A0 icemulti=C2=A0 icetimeicebox_chipdb icebox_hlc2asc ice= box_vlog=C2=A0 icepack=C2=A0 =C2=A0iceunpackicebox_colbuf icebox_html icebo= xdb.py=C2=A0 icepll ls /usr/local/share/icebox/chipdb-1k.txt chipdb-lm4k.txt=C2=A0 =C2=A0timing= s_lp1k.txt=C2=A0 =C2=A0timings_up5k.txtchipdb-384.txt chipdb-u4k.txt =C2=A0= timings_lp384.txtchipdb-5k.txt timings_hx1k.txt=C2=A0 timings_lp8k.txtchip= db-8k.txt timings_hx8k.txt=C2=A0 timings_u4k.txt When I executed "bitbake nextpnr", I noticed the boost was built first.=C2= =A0 Since then=C2=A0I have added boost to rpi4-core-image-sato which added = quite a bit to the image2420113408 without boost and 2839543808 with boost. Let me know if I can provide additional information. Best Regards Edward Vidal Jr. e-mail develone@sbcglobal.net 915-595-1613 ------=_Part_4595076_1659908856.1576189203516 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All
Any and all help is appreciated.  Thanks in advance.

<= /div>
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, arachn= e-pnr_0.1.bb, yosys_0.1.bb, and nextpnr_0.1.bb)
using the recipet= ool & bitbake-layers, and I added these to a meta-yosys-tools layer.

https://github.com/develone/meta-yosys-tools.git

I can now execute "bitbake icestorm" which is a pytho= n and C++ Makefile project.
The first time the recipe goes thru t= he 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>
|       |  &nb= sp;       ^~~~~~~~
Which is the 2nd C++ program in= the Makfile.
On the rpi4-64 all that is needed are the following= steps to build icestorm
= =09git clone https://github.com/cliffordwolf/icestorm.git
= =09cd icestorm 
=09make
=09real=0933m4.774s
=0932m39.073s=
=09sys=090m19.247s
=09
I first tried using the cross co= mpiler with little sucess.  This is why I trying to generate 
the recipes to build using bitbake instead.
=09
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.
=09"bitbake meta-toolchain"
=09"bitbake core-image-sato -c = populate_sdk_ext"
=09"./poky-glibc-x86_64-meta-toolchain-aarch64-raspberrypi4-64-toolchain-3.0= .1.sh"

  
/usr/include/libftdi= 1/ftdi.h
/usr/include/pcap/usb.h

As root= make install which install to /usr/local/bin & /usr/local/share.
=
Creates /usr/local/bin & /usr/local/share
ls /usr/local/= bin/
icebox.py=09ic= ebox_diff=09icebox_maps = icebram   iceprog
icebox_asc2hlc=09icebox_explain=09icebox_stat  icemulti  icetime
icebox_ch= ipdb=09icebox_hlc2asc=09icebox_vlog  icepack  &n= bsp;iceunpack
icebox_colbuf=09icebox_html=09iceb= oxdb.py  icepll

ls /usr/local/share/icebox/
chipdb-1k.txt=09chip= db-lm4k.txt   timings_lp1k.txt   timings_up5k.txt
=
chipdb-384.txt=09chipdb-= u4k.txt=09  timings_lp38= 4.txt
chipdb-5k.txt=09timings_hx1k.txt  timings_lp8k.txt
chipdb-8k.txt=09timings_hx8k.txt  timings_u4k.= txt

When I executed "bitbake nextpnr", I noticed t= he boost was built first.  Since then 
I have added boo= st to rpi4-core-image-sato which added quite a bit to the image
2= 420113408 without boost and 2839543808 with boost.

Let me know if I can provide additional information.

<= div>Best Regards


Edward Vidal Jr. e-mail develone@sbcglobal.net 915-595-1613
------=_Part_4595076_1659908856.1576189203516--