* [cip-dev] CIP / Yocto / RaspberryPI 3 @ 2019-02-15 1:15 scottk at optimcloud.com 2019-02-15 2:14 ` daniel.sangorrin at toshiba.co.jp 0 siblings, 1 reply; 5+ messages in thread From: scottk at optimcloud.com @ 2019-02-15 1:15 UTC (permalink / raw) To: cip-dev is there a recent CIP layer for Yocto ? We would like to test a build for raspberrypi3 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20190215/326d1330/attachment.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [cip-dev] CIP / Yocto / RaspberryPI 3 2019-02-15 1:15 [cip-dev] CIP / Yocto / RaspberryPI 3 scottk at optimcloud.com @ 2019-02-15 2:14 ` daniel.sangorrin at toshiba.co.jp 2019-02-15 9:00 ` Agustin Benito Bethencourt 0 siblings, 1 reply; 5+ messages in thread From: daniel.sangorrin at toshiba.co.jp @ 2019-02-15 2:14 UTC (permalink / raw) To: cip-dev Hello Scott, > From: cip-dev-bounces at lists.cip-project.org <cip-dev-bounces@lists.cip-project.org> On Behalf Of > scottk at optimcloud.com > is there a recent CIP layer for Yocto ? We would like to test a build for raspberrypi3 CIP core is focused on making sure that Debian source code packages that are relevant for civil infrastructure systems are maintained for a long time. The tool that you use to build that source code doesn't matter. Having said that, we do provide a few examples of how to use Debian source code in a yocto/OE-like project. You can find the examples here: https://gitlab.com/cip-project/cip-core/deby/tree/master/poky These examples use a meta layer called "meta-debian" that modifies recipes to build Debian-maintained source code instead of Yocto-maintained code. Note that officially, meta-debian itself is not part of the CIP project (although it is led by Toshiba). The examples cover support for CIP reference boards (Renesas RZ/G1M, Beaglebone Black, CycloneV, and QEMU). Please check this quickstart and the READMEs in the repository https://wiki.linuxfoundation.org/civilinfrastructureplatform/cip-core-quickstart [Note] If you take a look at meta-debian, you will also see that RaspberryPi version 1 is a supported BSP. https://github.com/meta-debian/meta-debian/tree/morty/bsp If you want to test a build for raspberrypi3, I suggest that you clone the cip-core Deby examples (https://gitlab.com/cip-project/cip-core/deby.git) and try the Beaglebone Black first to get an idea of how it works. Then, all you have to do is to copy meta-cip-bbb to a new meta-raspi3 layer and modify a few items such as: - machine: adjust to raspi3 architecture - kas yaml file: adjust the kernel/devicetree and u-boot parameters for raspi3 Once you get that working (let me know if you have any problem), you can start adding packages to your rootfs from here: https://github.com/meta-debian/meta-debian/tree/morty/recipes-debian [Note] I will be glad to add your layer to the CIP core examples. An important point that you need to understand is that all this recipes try to follow Debian package policies (with some exceptions to make the rootfs tiny). In other words, they do not follow Yocto/OE policies (they configure/build the code in a different manner). For that reason, if you add any famous meta-foo layer created for Yocto you will most likely find compiling or dependency problems. Renesas has done some work integrating recipes from meta-debian into their yocto/OE meta layers. You can also look at that for reference: https://github.com/renesas-rz/meta-renesas/tree/yocto_2.4-rt/meta-rzg1/recipes-cip-core Here they are using the Debian source code only for binutils, busybox, glibc and openssl. This allows them to have a well maintained core but also benefit from the flexibility to use any yocto layer. [Note] The new version of meta-debian (Deby v2) will probably take a new approach to increase compatibility with the Yocto/OE ecosystem. Finally, the other important thing to know is that meta-debian/Deby is used to build what we call the CIP tiny profile. In other words, it is aimed at creating tiny operating system images with support for the typical C/C++ applications that you usually find in an industrial embedded controller. If you want to create applications with a lot of functionality and dependencies (think python, java, go, node js) then Deby (and Yocto in my personal opinion) is not suited for the job. In that case, you probably want to use a tool such as ISAR (https://gitlab.com/cip-playground/isar-cip-core) or any other Debian image build tool (live-wrapper, debos, etc). Thanks, Daniel ^ permalink raw reply [flat|nested] 5+ messages in thread
* [cip-dev] CIP / Yocto / RaspberryPI 3 2019-02-15 2:14 ` daniel.sangorrin at toshiba.co.jp @ 2019-02-15 9:00 ` Agustin Benito Bethencourt 2019-02-18 5:47 ` daniel.sangorrin at toshiba.co.jp 0 siblings, 1 reply; 5+ messages in thread From: Agustin Benito Bethencourt @ 2019-02-15 9:00 UTC (permalink / raw) To: cip-dev Hi Daniel, El viernes, 15 de febrero de 2019 3:14:06 (CET) daniel.sangorrin at toshiba.co.jp escribi?: > Hello Scott, > > > From: cip-dev-bounces at lists.cip-project.org > > <cip-dev-bounces@lists.cip-project.org> On Behalf Of > > scottk at optimcloud.com > > is there a recent CIP layer for Yocto ? We would like to test a build for > > raspberrypi3 > CIP core is focused on making sure that Debian source code packages that are > relevant for civil infrastructure systems are maintained for a long time. > The tool that you use to build that source code doesn't matter. > > Having said that, we do provide a few examples of how to use Debian source > code in a yocto/OE-like project. You can find the examples here: > https://gitlab.com/cip-project/cip-core/deby/tree/master/poky > <snip> is this the kind of information we can consolidate on the wiki at this point? Best Regards -- Agust?n Benito Bethencourt Principal Consultant Codethink Ltd We respect your privacy. See https://www.codethink.co.uk/privacy.html ^ permalink raw reply [flat|nested] 5+ messages in thread
* [cip-dev] CIP / Yocto / RaspberryPI 3 2019-02-15 9:00 ` Agustin Benito Bethencourt @ 2019-02-18 5:47 ` daniel.sangorrin at toshiba.co.jp 2019-02-18 8:44 ` Agustin Benito Bethencourt 0 siblings, 1 reply; 5+ messages in thread From: daniel.sangorrin at toshiba.co.jp @ 2019-02-18 5:47 UTC (permalink / raw) To: cip-dev Hola Agustin, I have updated the wiki to be more explicit. https://wiki.linuxfoundation.org/civilinfrastructureplatform/cip-core Please, let me know if you have any comment. Thanks, Daniel > -----Original Message----- > From: Agustin Benito Bethencourt <agustin.benito@codethink.co.uk> > Sent: Friday, February 15, 2019 6:01 PM > To: sangorrin daniel(????? ???? ????????) <daniel.sangorrin@toshiba.co.jp> > Cc: cip-dev at lists.cip-project.org; scottk at optimcloud.com > Subject: Re: [cip-dev] CIP / Yocto / RaspberryPI 3 > > Hi Daniel, > > El viernes, 15 de febrero de 2019 3:14:06 (CET) daniel.sangorrin at toshiba.co.jp > escribi?: > > Hello Scott, > > > > > From: cip-dev-bounces at lists.cip-project.org > > > <cip-dev-bounces@lists.cip-project.org> On Behalf Of > > > scottk at optimcloud.com > > > is there a recent CIP layer for Yocto ? We would like to test a build for > > > raspberrypi3 > > CIP core is focused on making sure that Debian source code packages that are > > relevant for civil infrastructure systems are maintained for a long time. > > The tool that you use to build that source code doesn't matter. > > > > Having said that, we do provide a few examples of how to use Debian source > > code in a yocto/OE-like project. You can find the examples here: > > https://gitlab.com/cip-project/cip-core/deby/tree/master/poky > > > <snip> > > is this the kind of information we can consolidate on the wiki at this point? > > Best Regards > > -- > Agust?n Benito Bethencourt > Principal Consultant > Codethink Ltd > We respect your privacy. See https://www.codethink.co.uk/privacy.html > ^ permalink raw reply [flat|nested] 5+ messages in thread
* [cip-dev] CIP / Yocto / RaspberryPI 3 2019-02-18 5:47 ` daniel.sangorrin at toshiba.co.jp @ 2019-02-18 8:44 ` Agustin Benito Bethencourt 0 siblings, 0 replies; 5+ messages in thread From: Agustin Benito Bethencourt @ 2019-02-18 8:44 UTC (permalink / raw) To: cip-dev Hi Daniel, El lunes, 18 de febrero de 2019 6:47:40 (CET) daniel.sangorrin at toshiba.co.jp escribi?: > Hola Agustin, > > I have updated the wiki to be more explicit. > https://wiki.linuxfoundation.org/civilinfrastructureplatform/cip-core > > Please, let me know if you have any comment. Nice. Good docu. It is easier now to understand the work being done. <snip> Best Regards -- Agust?n Benito Bethencourt Principal Consultant Codethink Ltd We respect your privacy. See https://www.codethink.co.uk/privacy.html ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-02-18 8:44 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-02-15 1:15 [cip-dev] CIP / Yocto / RaspberryPI 3 scottk at optimcloud.com 2019-02-15 2:14 ` daniel.sangorrin at toshiba.co.jp 2019-02-15 9:00 ` Agustin Benito Bethencourt 2019-02-18 5:47 ` daniel.sangorrin at toshiba.co.jp 2019-02-18 8:44 ` Agustin Benito Bethencourt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox