Re: [yocto] Is Yocto the right fit for my project?

2019-11-21 Thread Mauro Ziliani

Hello,

Yocto is a must for your project, regarding the project evolution.


I made a project starting from an intel platform, then I port it on 
raspberry, now on imx6 dual lite.


My application never change, the system services never change.

I need to change only the parts which driver the hardware.

You can achieve this goal playing with layers

If you made a good planning of the layers, the porting will be "easy2.


Good work


Il 20/11/19 14:12, Richard Barrass ha scritto:


Hello,

I am a lead engineer on project where we run a well-known Linux 
distribution on-top of a SBC (Intel Quad Pentium processor based) 
driving a 27” display. We have a 32GB SSD to run from, which we 
partition with multiple EXT4 partitions to help with potential 
corruption mitigation if the device is switched off ‘hard’.


But, with the well-known Linux distribution comes a lot of things we 
don’t need, plus the potential ability to ‘break’ in to our 
application which is running full-screen.


We basically need

QT 5.12 runtime (our application)

SSH

OpenVPN

Wifi

Ethernet

Modem (via Telit modem)

USB-ACM

USB-Memory stick

Is this something I should be looking to the yocto project for, or 
should I be looking at a more ‘traditional’ custom linux distro.


The only other aspect, is that we have future plans to cost reduce the 
application to be running on a Pi based, 10” display system …


Any thoughts and ideas would be appreciated.

Regards

Richard

*--*

*Richard Barrass*

BassettElectronicSystemsLtd_Logo **

*Bassett Electronic Systems Ltd*. /Solutions under one roof./

T: 01793 859974 E: r.barr...@bassettelectronics.com 



Unit 23-25 Whitehill Industrial Estate, Whitehill Lane, Royal Wootton 
Bassett, Wiltshire, SN4 7DB



-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Is Yocto the right fit for my project?

2019-11-21 Thread Mikko.Rapeli
On Wed, Nov 20, 2019 at 01:12:52PM +, Richard Barrass wrote:
> Hello,
> 
> I am a lead engineer on project where we run a well-known Linux distribution 
> on-top of a SBC (Intel Quad Pentium processor based) driving a 27" display. 
> We have a 32GB SSD to run from, which we partition with multiple EXT4 
> partitions to help with potential corruption mitigation if the device is 
> switched off 'hard'.
> 
> But, with the well-known Linux distribution comes a lot of things we don't 
> need, plus the potential ability to 'break' in to our application which is 
> running full-screen.
> 
> We basically need
> 
> QT 5.12 runtime (our application)
> SSH
> OpenVPN
> Wifi
> Ethernet
> Modem (via Telit modem)
> USB-ACM
> USB-Memory stick
> 
> Is this something I should be looking to the yocto project for, or should I 
> be looking at a more 'traditional' custom linux distro.
> 
> The only other aspect, is that we have future plans to cost reduce the 
> application to be running on a Pi based, 10" display system ...
> 
> Any thoughts and ideas would be appreciated.

Sounds like yocto could fit to your needs well. My personal experiences 
summarized:

Pros with yocto:
 * configuration of everything is possible
 * BSP support available for various SoC's and boards
 * optimization for size and disabling not-needed functionality is relatively 
easy
 * BSP, OS vendor and community support is available
 * licensing policies can be configured for the build, e.g. avoid GPLv3
 * test tooling and infrastructure is provided, ptests and selftests, which can
   be reused for product specific ones
 * documentation is good, mega manual
 * fast moving and following latest open source component releases

Cons with yocto:
 * steep learning curve with bitbake and yocto distro configuration
 * need to recompile everything
 * everything needs to be configured, defaults may not be available
 * long term support not available from community directly, yet at least,
   though OS vendors do provide this for a fee
 * BSP support quality varies and may conflict with non-HW specific SW parts
 * fast moving and following latest open source component releases

Pros with well known Linux distros:
 * default configurations quite often work out of the box
 * no need to recompile everything
 * minimal BSP binaries usually available
 * long term support quite often available
 * large package collection enable fast prototyping
 * larger developer base compared to yocto

Cons with well known Linux distros:
 * dependencies are complex and images larger than needed for product
 * recompiling and customizing large set of packages may be difficult
 * cross compiling may be trickier
 * BSP deliveries may be outdated
 * licensing policies may be hard to implement, e.g. avoid GPLv3 in product 
images
 * integrated test tooling may not be available

In short I would say, with yocto you need to configure and optimize
and figure out how to maintain. With well known Linux distro you will
struggle to configure and optimize but long term maintenance will be
covered by an LTS.

"With enough thrust any pig will fly" :)

Hope this helps,

-Mikko
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Is Yocto the right fit for my project?

2019-11-21 Thread Josef Holzmayr
Howdy!

On Wed, Nov 20, 2019 at 01:12:52PM +, Richard Barrass wrote:
> Hello,
> 
> I am a lead engineer on project where we run a well-known Linux distribution 
> on-top of a SBC (Intel Quad Pentium processor based) driving a 27" display. 
> We have a 32GB SSD to run from, which we partition with multiple EXT4 
> partitions to help with potential corruption mitigation if the device is 
> switched off 'hard'.
> 
> But, with the well-known Linux distribution comes a lot of things we don't 
> need, plus the potential ability to 'break' in to our application which is 
> running full-screen.
> 
> We basically need
> 
> QT 5.12 runtime (our application)
> SSH
> OpenVPN
> Wifi
> Ethernet
> Modem (via Telit modem)
> USB-ACM
> USB-Memory stick
> 
> Is this something I should be looking to the yocto project for, or should I 
> be looking at a more 'traditional' custom linux distro.

Certainly doable.

> 
> The only other aspect, is that we have future plans to cost reduce the 
> application to be running on a Pi based, 10" display system ...

If thats a set goal, then it makes YP even more interesting for you.

> 
> Any thoughts and ideas would be appreciated.

Prepare for a steep learning curve and a lot of headshaking each time
you say "but I just want to". But you will be rewarded with an awesome
amount of control and power if you make it through.

Have a look at 
https://www.youtube.com/playlist?list=PLD4M5FoHz-TxMfBFrDKfIS_GLY25Qsfyj
to get an idea how things work.

Greetz

> 
> Regards
> Richard
> 
> --
> Richard Barrass
> 
> [BassettElectronicSystemsLtd_Logo]
> Bassett Electronic Systems Ltd. Solutions under one roof.
> T: 01793 859974 E: 
> r.barr...@bassettelectronics.com
> Unit 23-25 Whitehill Industrial Estate, Whitehill Lane, Royal Wootton 
> Bassett, Wiltshire, SN4 7DB
> 



> -- 
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


-- 
———
Josef Holzmayr
Software Developer Embedded Systems

Tel: +49 8444 9204-48
Fax: +49 8444 9204-50

R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
———
Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
Ust-IdNr: DE 128592548 

_
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Is Yocto the right fit for my project?

2019-11-21 Thread Nicolas Dechesne
hey,

On Thu, Nov 21, 2019 at 10:16 AM Richard Barrass
 wrote:
>
> Hello,
>
>
>
> I am a lead engineer on project where we run a well-known Linux distribution 
> on-top of a SBC (Intel Quad Pentium processor based) driving a 27” display. 
> We have a 32GB SSD to run from, which we partition with multiple EXT4 
> partitions to help with potential corruption mitigation if the device is 
> switched off ‘hard’.
>
>
>
> But, with the well-known Linux distribution comes a lot of things we don’t 
> need, plus the potential ability to ‘break’ in to our application which is 
> running full-screen.
>
>
>
> We basically need
>
>
>
> QT 5.12 runtime (our application)
>
> SSH
>
> OpenVPN
>
> Wifi
>
> Ethernet
>
> Modem (via Telit modem)
>
> USB-ACM
>
> USB-Memory stick
>
>
>
> Is this something I should be looking to the yocto project for, or should I 
> be looking at a more ‘traditional’ custom linux distro.

The way you ask the question, you seem to already know the answer ;)

Based on tools, metadata and processes provided by the Yocto Project
and OpenEmbedded, you will be able to create *the* Linux system that
fits your exact needs and requirements. You can customize the content
of the system (image), and also the features you need from each
component that make up the whole system (distro). Doing that with the
Yocto Project means that you are using a standard tool that many
people are familiar with, so it's definitely better than starting your
own custom Linux, or starting to randomly try to trim down an existing
standard Linux distro.

>
>
>
> The only other aspect, is that we have future plans to cost reduce the 
> application to be running on a Pi based, 10” display system …

The project is architecture agnostic. So once you have defined your
distro (system config) and your image (system content), you can build
the *same* Linux system for any hardware, even for different
architecture, using the same tools, same metadata, same CI scripts,
... you just need to integrate a BSP layer that provides kernel,
bootloader and hardware specific content.

>
>
>
> Any thoughts and ideas would be appreciated.

On top of that you get to work with our great community ;)

>
>
>
> Regards
>
> Richard
>
>
>
> --
>
> Richard Barrass
>
>
>
> Bassett Electronic Systems Ltd. Solutions under one roof.
>
> T: 01793 859974 E: r.barr...@bassettelectronics.com
>
> Unit 23-25 Whitehill Industrial Estate, Whitehill Lane, Royal Wootton 
> Bassett, Wiltshire, SN4 7DB
>
>
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Is Yocto the right fit for my project?

2019-11-21 Thread Richard Barrass
Hello,

I am a lead engineer on project where we run a well-known Linux distribution 
on-top of a SBC (Intel Quad Pentium processor based) driving a 27" display. We 
have a 32GB SSD to run from, which we partition with multiple EXT4 partitions 
to help with potential corruption mitigation if the device is switched off 
'hard'.

But, with the well-known Linux distribution comes a lot of things we don't 
need, plus the potential ability to 'break' in to our application which is 
running full-screen.

We basically need

QT 5.12 runtime (our application)
SSH
OpenVPN
Wifi
Ethernet
Modem (via Telit modem)
USB-ACM
USB-Memory stick

Is this something I should be looking to the yocto project for, or should I be 
looking at a more 'traditional' custom linux distro.

The only other aspect, is that we have future plans to cost reduce the 
application to be running on a Pi based, 10" display system ...

Any thoughts and ideas would be appreciated.

Regards
Richard

--
Richard Barrass

[BassettElectronicSystemsLtd_Logo]
Bassett Electronic Systems Ltd. Solutions under one roof.
T: 01793 859974 E: 
r.barr...@bassettelectronics.com
Unit 23-25 Whitehill Industrial Estate, Whitehill Lane, Royal Wootton Bassett, 
Wiltshire, SN4 7DB

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto