<div dir="ltr"><div><div><div>i tried the following<br></div>bitbake -c clean rpi-basic-image (to clean the build)<br><br></div>added the following to the local<br><br><br>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.<br><br></div>thank you<br><div><br><br><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 7, 2017 at 6:45 AM, Sherif Omran <span dir="ltr"><<a href="mailto:sherifomran2000@gmail.com" target="_blank">sherifomran2000@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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.<br></div>any idea how to create the rpi image.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 19, 2017 at 2:59 AM, Khem Raj <span dir="ltr"><<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="auto">I think you can generate a SD card image which can be dd’ed into a sd card</div><div dir="auto"><span style="font-family:monospace,monospace"><div class="gmail_default" style="font-family:monospace,monospace;display:inline">​poky tiny by default generates an initramfs image only. ​</div>​</span><br></div><div dir="auto"><div class="gmail_default" style="font-family:monospace,monospace">​you can add</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">IMAGE_FSTYPES_append = " rpi-sdimg​"</div><br></div><div dir="auto"><div class="gmail_default" style="font-family:monospace,monospace">​in local.conf and see if you get a rpi-sdimag​</div><br></div><div><div class="m_4540042791999285791h5"><div dir="auto"><br></div><br><div class="gmail_quote"><div>On Sat, Nov 18, 2017 at 10:47 AM Sherif Omran <<a href="mailto:sherifomran2000@gmail.com" target="_blank">sherifomran2000@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div>I have it now being compiled and created a file called rpi-basic-image-raspberrypi0-w<wbr>ifi-20171118102213.rootfs.cpio<wbr>.gz<br></div>but how can i burn it? it is not an img file.<br></div>Any clue is appreciated. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 18, 2017 at 12:21 PM, Sherif Omran <span><<a href="mailto:sherifomran2000@gmail.com" target="_blank">sherifomran2000@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span><div>it worked well with<br><br>PREFERRED_PROVIDER_virtual/ker<wbr>nel = "linux-yocto-tini"<br><br></div></span>in local.conf. However i don't know if it will work with real time kernel .. to be tested later<br><br> thank you</div><div class="gmail_extra"><br><div class="gmail_quote"><span>On Sat, Nov 18, 2017 at 10:19 AM, Khem Raj <span><<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>></span> wrote:<br></span><div><div class="m_4540042791999285791m_-3080092133078545076gmail-m_5577605016296185275m_3319031554831047341m_-3521953229864195975h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Fri, Nov 17, 2017 at 5:34 PM, Michael Gloff <<a href="mailto:mgloff@emacinc.com" target="_blank">mgloff@emacinc.com</a>> wrote:<br>
> This looks to be because poky-tiny.conf does not allow overriding of the<br>
> kernel provider. You could try the below patch to use a different kernel.<br>
><br>
> Michael Gloff<br>
><br>
> diff --git a/meta-poky/conf/distro/poky-t<wbr>iny.conf<br>
> b/meta-poky/conf/distro/poky-t<wbr>iny.conf<br>
> index 2032bfde32..acafd9fef4 100644<br>
> --- a/meta-poky/conf/distro/poky-t<wbr>iny.conf<br>
> +++ b/meta-poky/conf/distro/poky-t<wbr>iny.conf<br>
> @@ -37,7 +37,7 @@ TCLIBC = "musl"<br>
><br>
>Â # Distro config is evaluated after the machine config, so we have to<br>
> explicitly<br>
>Â # set the kernel provider to override a machine config.<br>
> -PREFERRED_PROVIDER_virtual/ke<wbr>rnel = "linux-yocto-tiny"<br>
> +PREFERRED_PROVIDER_virtual/ke<wbr>rnel ?= "linux-yocto-tiny"<br>
>Â PREFERRED_VERSION_linux-yocto-<wbr>tiny ?= "4.12%"<br>
><br>
<br>
</span>please submit this patch with sign off and git format, its good for<br>
inclusion upstream<br>
<div class="m_4540042791999285791m_-3080092133078545076gmail-m_5577605016296185275m_3319031554831047341m_-3521953229864195975m_-8125658621375618980HOEnZb"><div class="m_4540042791999285791m_-3080092133078545076gmail-m_5577605016296185275m_3319031554831047341m_-3521953229864195975m_-8125658621375618980h5"><br>
>Â # We can use packagegroup-core-boot, but in the future we may need a new<br>
> packagegroup-core-tiny<br>
><br>
><br>
> On Thu, Nov 16, 2017 at 7:05 PM, Sherif Omran <<a href="mailto:sherifomran2000@gmail.com" target="_blank">sherifomran2000@gmail.com</a>><br>
> wrote:<br>
>><br>
>> hi<br>
>><br>
>> i am trying to compile the yocto-tiny for raspberry pi by adding the<br>
>> distro to my local.conf<br>
>><br>
>> DISTRO = "poky-tiny" and i get the following<br>
>><br>
>><br>
>> ERROR: nothing provides 'virtual/kernel'<br>
>> ERROR: linux-yocto-tiny Provides virtual/kernel but was skipped:<br>
>> incompatible with machine raspberrypi0-wifi (not in compatible_machine)<br>
>> ERROR: linux-yocto-rt Provides virtual/kernel but was skipped:<br>
>> incompatible with machine raspberrypi0-wifi (not in compatible_machine)<br>
>> ERROR: linux-yocto Provides virtual/kernel but was skipped: incompatible<br>
>> with machine raspberrypi0-wifi (not in compatible_machine)<br>
>> ERROR: linux-yocto-dev Provides virtual/kernel but was skipped:<br>
>> incompatible with machine raspberrypi0-wifi (not in compatible_machine)<br>
>> ERROR: required build target 'rpi-basic-image' has no buildable providers.<br>
>> Missing or unbuildable depency chain was: 'rpi-basic-image',<br>
>> 'virtual/kernel'<br>
>><br>
>><br>
>> any body has a clue to solve it?<br>
>><br>
>> thanks<br>
>><br>
>> --<br>
>> ______________________________<wbr>_________________<br>
>> yocto mailing list<br>
>> <a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a><br>
>> <a href="https://lists.yoctoproject.org/listinfo/yocto" rel="noreferrer" target="_blank">https://lists.yoctoproject.org<wbr>/listinfo/yocto</a><br>
>><br>
><br>
><br>
> --<br>
> ______________________________<wbr>_________________<br>
> yocto mailing list<br>
> <a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a><br>
> <a href="https://lists.yoctoproject.org/listinfo/yocto" rel="noreferrer" target="_blank">https://lists.yoctoproject.org<wbr>/listinfo/yocto</a><br>
><br>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br><br></div>
</blockquote></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>