Re: [yocto] should a BSP layer *really* ever need additional layers to be functional?

2017-03-23 Thread Robert P. J. Day
On Thu, 23 Mar 2017, Josef Holzmayr wrote:

> Hi,
>
> On 23.03.2017 11:35, Robert P. J. Day wrote:
> >   i always thought that using nothing more than a BSP layer (plus, of
> > course, the underlying OE layers) should allow you to get to the
> > command line. is that not true?
>
> I don't think that this generally holds true, as it would lead to
> significant duplication. Imagine a board based off something already
> in meta-ti or meta-intel. And maybe just needing a slightly modified
> bootloader.

  true, but the wording in the BSP Guide is:

"Some BSPs require additional layers on top of the BSP's root layer in
 ^
order to be functional. "

  that particular phrasing suggests that perhaps what's needed is more
user space content of some kind. perhaps rewording that to say that a
BSP layer might be based on top of other layers as a starting point
would be clearer.

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


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


Re: [yocto] should a BSP layer *really* ever need additional layers to be functional?

2017-03-23 Thread Josef Holzmayr

Hi,

On 23.03.2017 11:35, Robert P. J. Day wrote:

  i always thought that using nothing more than a BSP layer (plus, of
course, the underlying OE layers) should allow you to get to the
command line. is that not true?


I don't think that this generally holds true, as it would lead to 
significant duplication. Imagine a board based off something already in 
meta-ti or meta-intel. And maybe just needing a slightly modified 
bootloader.


Greetz,
--
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


[yocto] should a BSP layer *really* ever need additional layers to be functional?

2017-03-23 Thread Robert P. J. Day

  perusing current BSP Guide:

"Some BSPs require additional layers on top of the BSP's root layer in
order to be functional. For these cases, you also need to add those
layers to the BBLAYERS variable in order to build the BSP."

  really? should a properly-designed BSP layer need additional layers
to simply boot a simple image (say, core-image-minimal) to the command
line?

  i always thought that using nothing more than a BSP layer (plus, of
course, the underlying OE layers) should allow you to get to the
command line. is that not true?

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


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