All of lore.kernel.org
 help / color / mirror / Atom feed
* tiny-linux distribution with raspberrypi error
@ 2017-11-17  1:05 Sherif Omran
  2017-11-17  6:27 ` Zoran Stojsavljevic
  2017-11-18  1:34 ` Michael Gloff
  0 siblings, 2 replies; 12+ messages in thread
From: Sherif Omran @ 2017-11-17  1:05 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

hi

i am trying to compile the yocto-tiny for raspberry pi by adding the distro
to my local.conf

DISTRO = "poky-tiny"  and i  get the following


ERROR: nothing provides 'virtual/kernel'
ERROR: linux-yocto-tiny Provides virtual/kernel but was skipped:
incompatible with machine raspberrypi0-wifi (not in compatible_machine)
ERROR: linux-yocto-rt Provides virtual/kernel but was skipped: incompatible
with machine raspberrypi0-wifi (not in compatible_machine)
ERROR: linux-yocto Provides virtual/kernel but was skipped: incompatible
with machine raspberrypi0-wifi (not in compatible_machine)
ERROR: linux-yocto-dev Provides virtual/kernel but was skipped:
incompatible with machine raspberrypi0-wifi (not in compatible_machine)
ERROR: required build target 'rpi-basic-image' has no buildable providers.
Missing or unbuildable depency chain was: 'rpi-basic-image',
'virtual/kernel'


any body has a clue to solve it?

thanks

[-- Attachment #2: Type: text/html, Size: 1170 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tiny-linux distribution with raspberrypi error
  2017-11-17  1:05 tiny-linux distribution with raspberrypi error Sherif Omran
@ 2017-11-17  6:27 ` Zoran Stojsavljevic
  2017-11-17 14:13   ` Josef Holzmayr
  2017-11-18  1:34 ` Michael Gloff
  1 sibling, 1 reply; 12+ messages in thread
From: Zoran Stojsavljevic @ 2017-11-17  6:27 UTC (permalink / raw)
  To: Sherif Omran; +Cc: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]

> DISTRO = "poky-tiny"  and i  get the following

What is the difference between core-image-minimal and poky-tiny?

Thank you,
Zoran

On Fri, Nov 17, 2017 at 2:05 AM, Sherif Omran <sherifomran2000@gmail.com>
wrote:

> hi
>
> i am trying to compile the yocto-tiny for raspberry pi by adding the
> distro to my local.conf
>
> DISTRO = "poky-tiny"  and i  get the following
>
>
> ERROR: nothing provides 'virtual/kernel'
> ERROR: linux-yocto-tiny Provides virtual/kernel but was skipped:
> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
> ERROR: linux-yocto-rt Provides virtual/kernel but was skipped:
> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
> ERROR: linux-yocto Provides virtual/kernel but was skipped: incompatible
> with machine raspberrypi0-wifi (not in compatible_machine)
> ERROR: linux-yocto-dev Provides virtual/kernel but was skipped:
> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
> ERROR: required build target 'rpi-basic-image' has no buildable providers.
> Missing or unbuildable depency chain was: 'rpi-basic-image',
> 'virtual/kernel'
>
>
> any body has a clue to solve it?
>
> thanks
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 2121 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tiny-linux distribution with raspberrypi error
  2017-11-17  6:27 ` Zoran Stojsavljevic
@ 2017-11-17 14:13   ` Josef Holzmayr
  2017-11-17 16:36     ` Zoran Stojsavljevic
  0 siblings, 1 reply; 12+ messages in thread
From: Josef Holzmayr @ 2017-11-17 14:13 UTC (permalink / raw)
  To: Zoran Stojsavljevic; +Cc: yocto

On Fri, Nov 17, 2017 at 07:27:27AM +0100, Zoran Stojsavljevic wrote:
> > DISTRO = "poky-tiny"  and i  get the following
> 
> What is the difference between core-image-minimal and poky-tiny?

core-image-minimal is a IMAGE

poky-tiny is a DISTRO

Its just different things.

———————————————
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



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tiny-linux distribution with raspberrypi error
  2017-11-17 14:13   ` Josef Holzmayr
@ 2017-11-17 16:36     ` Zoran Stojsavljevic
  2017-11-17 20:13       ` Josef Holzmayr
  0 siblings, 1 reply; 12+ messages in thread
From: Zoran Stojsavljevic @ 2017-11-17 16:36 UTC (permalink / raw)
  To: Josef Holzmayr; +Cc: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 1441 bytes --]

Hello Josef,

Let me redefine the question? May I?

What is the difference while building an IMAGE="core-image-minimal"
using DISTRO="poky-tiny"
versus building an IMAGE="core-image-minimal" using DISTRO="poky"?

Or maybe I am mistaken (maybe some other IMAGE in DISTRO="poky-tiny") !?

Thank you for an answer,
Zoran

On Fri, Nov 17, 2017 at 3:13 PM, Josef Holzmayr <
holzmayr@rsi-elektrotechnik.de> wrote:

> On Fri, Nov 17, 2017 at 07:27:27AM +0100, Zoran Stojsavljevic wrote:
> > > DISTRO = "poky-tiny"  and i  get the following
> >
> > What is the difference between core-image-minimal and poky-tiny?
>
> core-image-minimal is a IMAGE
>
> poky-tiny is a DISTRO
>
> Its just different things.
>
> ———————————————
> 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
>
>

[-- Attachment #2: Type: text/html, Size: 2336 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tiny-linux distribution with raspberrypi error
  2017-11-17 16:36     ` Zoran Stojsavljevic
@ 2017-11-17 20:13       ` Josef Holzmayr
  0 siblings, 0 replies; 12+ messages in thread
From: Josef Holzmayr @ 2017-11-17 20:13 UTC (permalink / raw)
  To: Zoran Stojsavljevic; +Cc: yocto

On Fri, Nov 17, 2017 at 05:36:33PM +0100, Zoran Stojsavljevic wrote:
> Let me redefine the question? May I?

Of course you may.

> 
> What is the difference while building an IMAGE="core-image-minimal"
> using DISTRO="poky-tiny"
> versus building an IMAGE="core-image-minimal" using DISTRO="poky"?

If you look at http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-poky/conf/distro/poky-tiny.conf
then everything is laid out nicely. Running throuhg the most important
parts:
- it includes poky.conf, so it directly derives from it -> it just
  modifies some parts
- it selects musl, not glibc
- it selects busybox init

There's some more tweaks around, but I think those are the major ones.
Just read the .conf for more details.

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tiny-linux distribution with raspberrypi error
  2017-11-17  1:05 tiny-linux distribution with raspberrypi error Sherif Omran
  2017-11-17  6:27 ` Zoran Stojsavljevic
@ 2017-11-18  1:34 ` Michael Gloff
  2017-11-18  9:19   ` Khem Raj
  1 sibling, 1 reply; 12+ messages in thread
From: Michael Gloff @ 2017-11-18  1:34 UTC (permalink / raw)
  To: Sherif Omran; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 2070 bytes --]

This looks to be because poky-tiny.conf does not allow overriding of the
kernel provider. You could try the below patch to use a different kernel.

Michael Gloff

diff --git a/meta-poky/conf/distro/poky-tiny.conf
b/meta-poky/conf/distro/poky-tiny.conf
index 2032bfde32..acafd9fef4 100644
--- a/meta-poky/conf/distro/poky-tiny.conf
+++ b/meta-poky/conf/distro/poky-tiny.conf
@@ -37,7 +37,7 @@ TCLIBC = "musl"

 # Distro config is evaluated after the machine config, so we have to
explicitly
 # set the kernel provider to override a machine config.
-PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-tiny"
 PREFERRED_VERSION_linux-yocto-tiny ?= "4.12%"

 # We can use packagegroup-core-boot, but in the future we may need a new
packagegroup-core-tiny


On Thu, Nov 16, 2017 at 7:05 PM, Sherif Omran <sherifomran2000@gmail.com>
wrote:

> hi
>
> i am trying to compile the yocto-tiny for raspberry pi by adding the
> distro to my local.conf
>
> DISTRO = "poky-tiny"  and i  get the following
>
>
> ERROR: nothing provides 'virtual/kernel'
> ERROR: linux-yocto-tiny Provides virtual/kernel but was skipped:
> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
> ERROR: linux-yocto-rt Provides virtual/kernel but was skipped:
> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
> ERROR: linux-yocto Provides virtual/kernel but was skipped: incompatible
> with machine raspberrypi0-wifi (not in compatible_machine)
> ERROR: linux-yocto-dev Provides virtual/kernel but was skipped:
> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
> ERROR: required build target 'rpi-basic-image' has no buildable providers.
> Missing or unbuildable depency chain was: 'rpi-basic-image',
> 'virtual/kernel'
>
>
> any body has a clue to solve it?
>
> thanks
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 2821 bytes --]

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: tiny-linux distribution with raspberrypi error
  2017-11-18  1:34 ` Michael Gloff
@ 2017-11-18  9:19   ` Khem Raj
  2017-11-18 11:21     ` Sherif Omran
  0 siblings, 1 reply; 12+ messages in thread
From: Khem Raj @ 2017-11-18  9:19 UTC (permalink / raw)
  To: Michael Gloff; +Cc: Yocto discussion list

On Fri, Nov 17, 2017 at 5:34 PM, Michael Gloff <mgloff@emacinc.com> wrote:
> This looks to be because poky-tiny.conf does not allow overriding of the
> kernel provider. You could try the below patch to use a different kernel.
>
> Michael Gloff
>
> diff --git a/meta-poky/conf/distro/poky-tiny.conf
> b/meta-poky/conf/distro/poky-tiny.conf
> index 2032bfde32..acafd9fef4 100644
> --- a/meta-poky/conf/distro/poky-tiny.conf
> +++ b/meta-poky/conf/distro/poky-tiny.conf
> @@ -37,7 +37,7 @@ TCLIBC = "musl"
>
>  # Distro config is evaluated after the machine config, so we have to
> explicitly
>  # set the kernel provider to override a machine config.
> -PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-tiny"
>  PREFERRED_VERSION_linux-yocto-tiny ?= "4.12%"
>

please submit this patch with sign off and git format, its good for
inclusion upstream

>  # We can use packagegroup-core-boot, but in the future we may need a new
> packagegroup-core-tiny
>
>
> On Thu, Nov 16, 2017 at 7:05 PM, Sherif Omran <sherifomran2000@gmail.com>
> wrote:
>>
>> hi
>>
>> i am trying to compile the yocto-tiny for raspberry pi by adding the
>> distro to my local.conf
>>
>> DISTRO = "poky-tiny"  and i  get the following
>>
>>
>> ERROR: nothing provides 'virtual/kernel'
>> ERROR: linux-yocto-tiny Provides virtual/kernel but was skipped:
>> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
>> ERROR: linux-yocto-rt Provides virtual/kernel but was skipped:
>> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
>> ERROR: linux-yocto Provides virtual/kernel but was skipped: incompatible
>> with machine raspberrypi0-wifi (not in compatible_machine)
>> ERROR: linux-yocto-dev Provides virtual/kernel but was skipped:
>> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
>> ERROR: required build target 'rpi-basic-image' has no buildable providers.
>> Missing or unbuildable depency chain was: 'rpi-basic-image',
>> 'virtual/kernel'
>>
>>
>> any body has a clue to solve it?
>>
>> thanks
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tiny-linux distribution with raspberrypi error
  2017-11-18  9:19   ` Khem Raj
@ 2017-11-18 11:21     ` Sherif Omran
  2017-11-18 18:47       ` Sherif Omran
  0 siblings, 1 reply; 12+ messages in thread
From: Sherif Omran @ 2017-11-18 11:21 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 2896 bytes --]

it worked well with

PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tini"

in local.conf. However i don't know if it will work with real time kernel
.. to be tested later

 thank you

On Sat, Nov 18, 2017 at 10:19 AM, Khem Raj <raj.khem@gmail.com> wrote:

> On Fri, Nov 17, 2017 at 5:34 PM, Michael Gloff <mgloff@emacinc.com> wrote:
> > This looks to be because poky-tiny.conf does not allow overriding of the
> > kernel provider. You could try the below patch to use a different kernel.
> >
> > Michael Gloff
> >
> > diff --git a/meta-poky/conf/distro/poky-tiny.conf
> > b/meta-poky/conf/distro/poky-tiny.conf
> > index 2032bfde32..acafd9fef4 100644
> > --- a/meta-poky/conf/distro/poky-tiny.conf
> > +++ b/meta-poky/conf/distro/poky-tiny.conf
> > @@ -37,7 +37,7 @@ TCLIBC = "musl"
> >
> >  # Distro config is evaluated after the machine config, so we have to
> > explicitly
> >  # set the kernel provider to override a machine config.
> > -PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
> > +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-tiny"
> >  PREFERRED_VERSION_linux-yocto-tiny ?= "4.12%"
> >
>
> please submit this patch with sign off and git format, its good for
> inclusion upstream
>
> >  # We can use packagegroup-core-boot, but in the future we may need a new
> > packagegroup-core-tiny
> >
> >
> > On Thu, Nov 16, 2017 at 7:05 PM, Sherif Omran <sherifomran2000@gmail.com
> >
> > wrote:
> >>
> >> hi
> >>
> >> i am trying to compile the yocto-tiny for raspberry pi by adding the
> >> distro to my local.conf
> >>
> >> DISTRO = "poky-tiny"  and i  get the following
> >>
> >>
> >> ERROR: nothing provides 'virtual/kernel'
> >> ERROR: linux-yocto-tiny Provides virtual/kernel but was skipped:
> >> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
> >> ERROR: linux-yocto-rt Provides virtual/kernel but was skipped:
> >> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
> >> ERROR: linux-yocto Provides virtual/kernel but was skipped: incompatible
> >> with machine raspberrypi0-wifi (not in compatible_machine)
> >> ERROR: linux-yocto-dev Provides virtual/kernel but was skipped:
> >> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
> >> ERROR: required build target 'rpi-basic-image' has no buildable
> providers.
> >> Missing or unbuildable depency chain was: 'rpi-basic-image',
> >> 'virtual/kernel'
> >>
> >>
> >> any body has a clue to solve it?
> >>
> >> thanks
> >>
> >> --
> >> _______________________________________________
> >> yocto mailing list
> >> yocto@yoctoproject.org
> >> https://lists.yoctoproject.org/listinfo/yocto
> >>
> >
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>

[-- Attachment #2: Type: text/html, Size: 4244 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tiny-linux distribution with raspberrypi error
  2017-11-18 11:21     ` Sherif Omran
@ 2017-11-18 18:47       ` Sherif Omran
  2017-11-19  1:59         ` Khem Raj
  0 siblings, 1 reply; 12+ messages in thread
From: Sherif Omran @ 2017-11-18 18:47 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 3291 bytes --]

I have it now being compiled and created a file called
rpi-basic-image-raspberrypi0-wifi-20171118102213.rootfs.cpio.gz
but how can i burn it? it is not an img file.
Any clue is appreciated.

On Sat, Nov 18, 2017 at 12:21 PM, Sherif Omran <sherifomran2000@gmail.com>
wrote:

> it worked well with
>
> PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tini"
>
> in local.conf. However i don't know if it will work with real time kernel
> .. to be tested later
>
>  thank you
>
> On Sat, Nov 18, 2017 at 10:19 AM, Khem Raj <raj.khem@gmail.com> wrote:
>
>> On Fri, Nov 17, 2017 at 5:34 PM, Michael Gloff <mgloff@emacinc.com>
>> wrote:
>> > This looks to be because poky-tiny.conf does not allow overriding of the
>> > kernel provider. You could try the below patch to use a different
>> kernel.
>> >
>> > Michael Gloff
>> >
>> > diff --git a/meta-poky/conf/distro/poky-tiny.conf
>> > b/meta-poky/conf/distro/poky-tiny.conf
>> > index 2032bfde32..acafd9fef4 100644
>> > --- a/meta-poky/conf/distro/poky-tiny.conf
>> > +++ b/meta-poky/conf/distro/poky-tiny.conf
>> > @@ -37,7 +37,7 @@ TCLIBC = "musl"
>> >
>> >  # Distro config is evaluated after the machine config, so we have to
>> > explicitly
>> >  # set the kernel provider to override a machine config.
>> > -PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
>> > +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-tiny"
>> >  PREFERRED_VERSION_linux-yocto-tiny ?= "4.12%"
>> >
>>
>> please submit this patch with sign off and git format, its good for
>> inclusion upstream
>>
>> >  # We can use packagegroup-core-boot, but in the future we may need a
>> new
>> > packagegroup-core-tiny
>> >
>> >
>> > On Thu, Nov 16, 2017 at 7:05 PM, Sherif Omran <
>> sherifomran2000@gmail.com>
>> > wrote:
>> >>
>> >> hi
>> >>
>> >> i am trying to compile the yocto-tiny for raspberry pi by adding the
>> >> distro to my local.conf
>> >>
>> >> DISTRO = "poky-tiny"  and i  get the following
>> >>
>> >>
>> >> ERROR: nothing provides 'virtual/kernel'
>> >> ERROR: linux-yocto-tiny Provides virtual/kernel but was skipped:
>> >> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
>> >> ERROR: linux-yocto-rt Provides virtual/kernel but was skipped:
>> >> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
>> >> ERROR: linux-yocto Provides virtual/kernel but was skipped:
>> incompatible
>> >> with machine raspberrypi0-wifi (not in compatible_machine)
>> >> ERROR: linux-yocto-dev Provides virtual/kernel but was skipped:
>> >> incompatible with machine raspberrypi0-wifi (not in compatible_machine)
>> >> ERROR: required build target 'rpi-basic-image' has no buildable
>> providers.
>> >> Missing or unbuildable depency chain was: 'rpi-basic-image',
>> >> 'virtual/kernel'
>> >>
>> >>
>> >> any body has a clue to solve it?
>> >>
>> >> thanks
>> >>
>> >> --
>> >> _______________________________________________
>> >> yocto mailing list
>> >> yocto@yoctoproject.org
>> >> https://lists.yoctoproject.org/listinfo/yocto
>> >>
>> >
>> >
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
>> >
>>
>
>

[-- Attachment #2: Type: text/html, Size: 5027 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tiny-linux distribution with raspberrypi error
  2017-11-18 18:47       ` Sherif Omran
@ 2017-11-19  1:59         ` Khem Raj
  2017-12-07  5:45           ` Sherif Omran
  0 siblings, 1 reply; 12+ messages in thread
From: Khem Raj @ 2017-11-19  1:59 UTC (permalink / raw)
  To: Sherif Omran; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 3773 bytes --]

I think you can generate a SD card image which can be dd’ed into a sd card
​poky tiny by default generates an initramfs image only. ​
​
​you can add

IMAGE_FSTYPES_append = " rpi-sdimg​"

​in local.conf and see if you get a rpi-sdimag​



On Sat, Nov 18, 2017 at 10:47 AM Sherif Omran <sherifomran2000@gmail.com>
wrote:

> I have it now being compiled and created a file called
> rpi-basic-image-raspberrypi0-wifi-20171118102213.rootfs.cpio.gz
> but how can i burn it? it is not an img file.
> Any clue is appreciated.
>
> On Sat, Nov 18, 2017 at 12:21 PM, Sherif Omran <sherifomran2000@gmail.com>
> wrote:
>
>> it worked well with
>>
>> PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tini"
>>
>> in local.conf. However i don't know if it will work with real time kernel
>> .. to be tested later
>>
>>  thank you
>>
>> On Sat, Nov 18, 2017 at 10:19 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>>> On Fri, Nov 17, 2017 at 5:34 PM, Michael Gloff <mgloff@emacinc.com>
>>> wrote:
>>> > This looks to be because poky-tiny.conf does not allow overriding of
>>> the
>>> > kernel provider. You could try the below patch to use a different
>>> kernel.
>>> >
>>> > Michael Gloff
>>> >
>>> > diff --git a/meta-poky/conf/distro/poky-tiny.conf
>>> > b/meta-poky/conf/distro/poky-tiny.conf
>>> > index 2032bfde32..acafd9fef4 100644
>>> > --- a/meta-poky/conf/distro/poky-tiny.conf
>>> > +++ b/meta-poky/conf/distro/poky-tiny.conf
>>> > @@ -37,7 +37,7 @@ TCLIBC = "musl"
>>> >
>>> >  # Distro config is evaluated after the machine config, so we have to
>>> > explicitly
>>> >  # set the kernel provider to override a machine config.
>>> > -PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
>>> > +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-tiny"
>>> >  PREFERRED_VERSION_linux-yocto-tiny ?= "4.12%"
>>> >
>>>
>>> please submit this patch with sign off and git format, its good for
>>> inclusion upstream
>>>
>>> >  # We can use packagegroup-core-boot, but in the future we may need a
>>> new
>>> > packagegroup-core-tiny
>>> >
>>> >
>>> > On Thu, Nov 16, 2017 at 7:05 PM, Sherif Omran <
>>> sherifomran2000@gmail.com>
>>> > wrote:
>>> >>
>>> >> hi
>>> >>
>>> >> i am trying to compile the yocto-tiny for raspberry pi by adding the
>>> >> distro to my local.conf
>>> >>
>>> >> DISTRO = "poky-tiny"  and i  get the following
>>> >>
>>> >>
>>> >> ERROR: nothing provides 'virtual/kernel'
>>> >> ERROR: linux-yocto-tiny Provides virtual/kernel but was skipped:
>>> >> incompatible with machine raspberrypi0-wifi (not in
>>> compatible_machine)
>>> >> ERROR: linux-yocto-rt Provides virtual/kernel but was skipped:
>>> >> incompatible with machine raspberrypi0-wifi (not in
>>> compatible_machine)
>>> >> ERROR: linux-yocto Provides virtual/kernel but was skipped:
>>> incompatible
>>> >> with machine raspberrypi0-wifi (not in compatible_machine)
>>> >> ERROR: linux-yocto-dev Provides virtual/kernel but was skipped:
>>> >> incompatible with machine raspberrypi0-wifi (not in
>>> compatible_machine)
>>> >> ERROR: required build target 'rpi-basic-image' has no buildable
>>> providers.
>>> >> Missing or unbuildable depency chain was: 'rpi-basic-image',
>>> >> 'virtual/kernel'
>>> >>
>>> >>
>>> >> any body has a clue to solve it?
>>> >>
>>> >> thanks
>>> >>
>>> >> --
>>> >> _______________________________________________
>>> >> yocto mailing list
>>> >> yocto@yoctoproject.org
>>> >> https://lists.yoctoproject.org/listinfo/yocto
>>> >>
>>> >
>>> >
>>> > --
>>> > _______________________________________________
>>> > yocto mailing list
>>> > yocto@yoctoproject.org
>>> > https://lists.yoctoproject.org/listinfo/yocto
>>> >
>>>
>>
>>
>
>

[-- Attachment #2: Type: text/html, Size: 6404 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tiny-linux distribution with raspberrypi error
  2017-11-19  1:59         ` Khem Raj
@ 2017-12-07  5:45           ` Sherif Omran
  2017-12-07  6:54             ` Sherif Omran
  0 siblings, 1 reply; 12+ messages in thread
From: Sherif Omran @ 2017-12-07  5:45 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 4168 bytes --]

I trid the rpi-sdimg as mentioned but i get IMAGE_CMD defined for
IMAGE_FSTYOE entry 'rpi-sdimg' possibly invalid type name or missing
support class.
any idea how to create the rpi image.

On Sun, Nov 19, 2017 at 2:59 AM, Khem Raj <raj.khem@gmail.com> wrote:

> I think you can generate a SD card image which can be dd’ed into a sd card
> ​poky tiny by default generates an initramfs image only. ​
> ​
> ​you can add
>
> IMAGE_FSTYPES_append = " rpi-sdimg​"
>
> ​in local.conf and see if you get a rpi-sdimag​
>
>
>
> On Sat, Nov 18, 2017 at 10:47 AM Sherif Omran <sherifomran2000@gmail.com>
> wrote:
>
>> I have it now being compiled and created a file called
>> rpi-basic-image-raspberrypi0-wifi-20171118102213.rootfs.cpio.gz
>> but how can i burn it? it is not an img file.
>> Any clue is appreciated.
>>
>> On Sat, Nov 18, 2017 at 12:21 PM, Sherif Omran <sherifomran2000@gmail.com
>> > wrote:
>>
>>> it worked well with
>>>
>>> PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tini"
>>>
>>> in local.conf. However i don't know if it will work with real time
>>> kernel .. to be tested later
>>>
>>>  thank you
>>>
>>> On Sat, Nov 18, 2017 at 10:19 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>>
>>>> On Fri, Nov 17, 2017 at 5:34 PM, Michael Gloff <mgloff@emacinc.com>
>>>> wrote:
>>>> > This looks to be because poky-tiny.conf does not allow overriding of
>>>> the
>>>> > kernel provider. You could try the below patch to use a different
>>>> kernel.
>>>> >
>>>> > Michael Gloff
>>>> >
>>>> > diff --git a/meta-poky/conf/distro/poky-tiny.conf
>>>> > b/meta-poky/conf/distro/poky-tiny.conf
>>>> > index 2032bfde32..acafd9fef4 100644
>>>> > --- a/meta-poky/conf/distro/poky-tiny.conf
>>>> > +++ b/meta-poky/conf/distro/poky-tiny.conf
>>>> > @@ -37,7 +37,7 @@ TCLIBC = "musl"
>>>> >
>>>> >  # Distro config is evaluated after the machine config, so we have to
>>>> > explicitly
>>>> >  # set the kernel provider to override a machine config.
>>>> > -PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
>>>> > +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-tiny"
>>>> >  PREFERRED_VERSION_linux-yocto-tiny ?= "4.12%"
>>>> >
>>>>
>>>> please submit this patch with sign off and git format, its good for
>>>> inclusion upstream
>>>>
>>>> >  # We can use packagegroup-core-boot, but in the future we may need a
>>>> new
>>>> > packagegroup-core-tiny
>>>> >
>>>> >
>>>> > On Thu, Nov 16, 2017 at 7:05 PM, Sherif Omran <
>>>> sherifomran2000@gmail.com>
>>>> > wrote:
>>>> >>
>>>> >> hi
>>>> >>
>>>> >> i am trying to compile the yocto-tiny for raspberry pi by adding the
>>>> >> distro to my local.conf
>>>> >>
>>>> >> DISTRO = "poky-tiny"  and i  get the following
>>>> >>
>>>> >>
>>>> >> ERROR: nothing provides 'virtual/kernel'
>>>> >> ERROR: linux-yocto-tiny Provides virtual/kernel but was skipped:
>>>> >> incompatible with machine raspberrypi0-wifi (not in
>>>> compatible_machine)
>>>> >> ERROR: linux-yocto-rt Provides virtual/kernel but was skipped:
>>>> >> incompatible with machine raspberrypi0-wifi (not in
>>>> compatible_machine)
>>>> >> ERROR: linux-yocto Provides virtual/kernel but was skipped:
>>>> incompatible
>>>> >> with machine raspberrypi0-wifi (not in compatible_machine)
>>>> >> ERROR: linux-yocto-dev Provides virtual/kernel but was skipped:
>>>> >> incompatible with machine raspberrypi0-wifi (not in
>>>> compatible_machine)
>>>> >> ERROR: required build target 'rpi-basic-image' has no buildable
>>>> providers.
>>>> >> Missing or unbuildable depency chain was: 'rpi-basic-image',
>>>> >> 'virtual/kernel'
>>>> >>
>>>> >>
>>>> >> any body has a clue to solve it?
>>>> >>
>>>> >> thanks
>>>> >>
>>>> >> --
>>>> >> _______________________________________________
>>>> >> yocto mailing list
>>>> >> yocto@yoctoproject.org
>>>> >> https://lists.yoctoproject.org/listinfo/yocto
>>>> >>
>>>> >
>>>> >
>>>> > --
>>>> > _______________________________________________
>>>> > yocto mailing list
>>>> > yocto@yoctoproject.org
>>>> > https://lists.yoctoproject.org/listinfo/yocto
>>>> >
>>>>
>>>
>>>
>>
>>

[-- Attachment #2: Type: text/html, Size: 7082 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: tiny-linux distribution with raspberrypi error
  2017-12-07  5:45           ` Sherif Omran
@ 2017-12-07  6:54             ` Sherif Omran
  0 siblings, 0 replies; 12+ messages in thread
From: Sherif Omran @ 2017-12-07  6:54 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 4758 bytes --]

i tried the following
bitbake -c clean rpi-basic-image (to clean the build)

added the following to the local


IMAGE_FSTYPES_append = " rpi-sdimg" => when i copied the text from the
email, it gave class unavailable and then i found that there is a hidden
character before the end quotes from another language. By writing it, it
worked.

thank you






On Thu, Dec 7, 2017 at 6:45 AM, Sherif Omran <sherifomran2000@gmail.com>
wrote:

> I trid the rpi-sdimg as mentioned but i get IMAGE_CMD defined for
> IMAGE_FSTYOE entry 'rpi-sdimg' possibly invalid type name or missing
> support class.
> any idea how to create the rpi image.
>
> On Sun, Nov 19, 2017 at 2:59 AM, Khem Raj <raj.khem@gmail.com> wrote:
>
>> I think you can generate a SD card image which can be dd’ed into a sd card
>> ​poky tiny by default generates an initramfs image only. ​
>> ​
>> ​you can add
>>
>> IMAGE_FSTYPES_append = " rpi-sdimg​"
>>
>> ​in local.conf and see if you get a rpi-sdimag​
>>
>>
>>
>> On Sat, Nov 18, 2017 at 10:47 AM Sherif Omran <sherifomran2000@gmail.com>
>> wrote:
>>
>>> I have it now being compiled and created a file called
>>> rpi-basic-image-raspberrypi0-wifi-20171118102213.rootfs.cpio.gz
>>> but how can i burn it? it is not an img file.
>>> Any clue is appreciated.
>>>
>>> On Sat, Nov 18, 2017 at 12:21 PM, Sherif Omran <
>>> sherifomran2000@gmail.com> wrote:
>>>
>>>> it worked well with
>>>>
>>>> PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tini"
>>>>
>>>> in local.conf. However i don't know if it will work with real time
>>>> kernel .. to be tested later
>>>>
>>>>  thank you
>>>>
>>>> On Sat, Nov 18, 2017 at 10:19 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>>>
>>>>> On Fri, Nov 17, 2017 at 5:34 PM, Michael Gloff <mgloff@emacinc.com>
>>>>> wrote:
>>>>> > This looks to be because poky-tiny.conf does not allow overriding of
>>>>> the
>>>>> > kernel provider. You could try the below patch to use a different
>>>>> kernel.
>>>>> >
>>>>> > Michael Gloff
>>>>> >
>>>>> > diff --git a/meta-poky/conf/distro/poky-tiny.conf
>>>>> > b/meta-poky/conf/distro/poky-tiny.conf
>>>>> > index 2032bfde32..acafd9fef4 100644
>>>>> > --- a/meta-poky/conf/distro/poky-tiny.conf
>>>>> > +++ b/meta-poky/conf/distro/poky-tiny.conf
>>>>> > @@ -37,7 +37,7 @@ TCLIBC = "musl"
>>>>> >
>>>>> >  # Distro config is evaluated after the machine config, so we have to
>>>>> > explicitly
>>>>> >  # set the kernel provider to override a machine config.
>>>>> > -PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
>>>>> > +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-tiny"
>>>>> >  PREFERRED_VERSION_linux-yocto-tiny ?= "4.12%"
>>>>> >
>>>>>
>>>>> please submit this patch with sign off and git format, its good for
>>>>> inclusion upstream
>>>>>
>>>>> >  # We can use packagegroup-core-boot, but in the future we may need
>>>>> a new
>>>>> > packagegroup-core-tiny
>>>>> >
>>>>> >
>>>>> > On Thu, Nov 16, 2017 at 7:05 PM, Sherif Omran <
>>>>> sherifomran2000@gmail.com>
>>>>> > wrote:
>>>>> >>
>>>>> >> hi
>>>>> >>
>>>>> >> i am trying to compile the yocto-tiny for raspberry pi by adding the
>>>>> >> distro to my local.conf
>>>>> >>
>>>>> >> DISTRO = "poky-tiny"  and i  get the following
>>>>> >>
>>>>> >>
>>>>> >> ERROR: nothing provides 'virtual/kernel'
>>>>> >> ERROR: linux-yocto-tiny Provides virtual/kernel but was skipped:
>>>>> >> incompatible with machine raspberrypi0-wifi (not in
>>>>> compatible_machine)
>>>>> >> ERROR: linux-yocto-rt Provides virtual/kernel but was skipped:
>>>>> >> incompatible with machine raspberrypi0-wifi (not in
>>>>> compatible_machine)
>>>>> >> ERROR: linux-yocto Provides virtual/kernel but was skipped:
>>>>> incompatible
>>>>> >> with machine raspberrypi0-wifi (not in compatible_machine)
>>>>> >> ERROR: linux-yocto-dev Provides virtual/kernel but was skipped:
>>>>> >> incompatible with machine raspberrypi0-wifi (not in
>>>>> compatible_machine)
>>>>> >> ERROR: required build target 'rpi-basic-image' has no buildable
>>>>> providers.
>>>>> >> Missing or unbuildable depency chain was: 'rpi-basic-image',
>>>>> >> 'virtual/kernel'
>>>>> >>
>>>>> >>
>>>>> >> any body has a clue to solve it?
>>>>> >>
>>>>> >> thanks
>>>>> >>
>>>>> >> --
>>>>> >> _______________________________________________
>>>>> >> yocto mailing list
>>>>> >> yocto@yoctoproject.org
>>>>> >> https://lists.yoctoproject.org/listinfo/yocto
>>>>> >>
>>>>> >
>>>>> >
>>>>> > --
>>>>> > _______________________________________________
>>>>> > yocto mailing list
>>>>> > yocto@yoctoproject.org
>>>>> > https://lists.yoctoproject.org/listinfo/yocto
>>>>> >
>>>>>
>>>>
>>>>
>>>
>>>
>

[-- Attachment #2: Type: text/html, Size: 8049 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-12-07  6:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-17  1:05 tiny-linux distribution with raspberrypi error Sherif Omran
2017-11-17  6:27 ` Zoran Stojsavljevic
2017-11-17 14:13   ` Josef Holzmayr
2017-11-17 16:36     ` Zoran Stojsavljevic
2017-11-17 20:13       ` Josef Holzmayr
2017-11-18  1:34 ` Michael Gloff
2017-11-18  9:19   ` Khem Raj
2017-11-18 11:21     ` Sherif Omran
2017-11-18 18:47       ` Sherif Omran
2017-11-19  1:59         ` Khem Raj
2017-12-07  5:45           ` Sherif Omran
2017-12-07  6:54             ` Sherif Omran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.