[yocto] tiny-linux distribution with raspberrypi error

Khem Raj raj.khem at gmail.com
Sat Nov 18 01:19:20 PST 2017


On Fri, Nov 17, 2017 at 5:34 PM, Michael Gloff <mgloff at 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 at 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 at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list