[yocto] Is there a good "getting started" tutorial?

Scott Rifenbark srifenbark at gmail.com
Fri Jan 11 09:40:58 PST 2019


Grant - I will check this out.  I am going to use this manual -
https://www.yoctoproject.org/docs/2.6.1/brief-yoctoprojectqs/brief-yoctoprojectqs.html
.

Scott

On Fri, Jan 11, 2019 at 9:33 AM Grant Edwards <grant.b.edwards at gmail.com>
wrote:

>
> I'm new to Yocto and looking for a good "getting started"
> tutorial. I've tried
>
>
> https://www.yoctoproject.org/docs/2.6/brief-yoctoprojectqs/brief-yoctoprojectqs.html
>
> and immediately ran into mistakes on the very first step:
>
>     Use Git to Clone Poky¶
>     Once you complete the setup instructions for your machine, you need to
> get a copy of the Poky repository on your build host. Use the following
> commands to clone the Poky repository and then checkout the yocto-2.6
> release:
>
>          $ git clone git://git.yoctoproject.org/poky
>          Cloning into 'poky'...
>          remote: Counting objects: 361782, done.
>          remote: Compressing objects: 100% (87100/87100), done.
>          remote: Total 361782 (delta 268619), reused 361439 (delta 268277)
>          Receiving objects: 100% (361782/361782), 131.94 MiB | 6.88 MiB/s,
> done.
>          Resolving deltas: 100% (268619/268619), done.
>          Checking connectivity... done.
>          $ git checkout tags/yocto-2.5 -b my-yocto-2.5
>
>     The previous Git checkout command creates a local branch named
>     my-yocto-2.6. [...]
>
> It does? The 'git clone' command seems to be OK, but the second command
> fails:
>
>     $ git clone git://git.yoctoproject.org/poky
>     Cloning into 'poky'...
>     remote: Counting objects: 428632, done.
>     remote: Compressing objects: 100% (101203/101203), done.
>     remote: Total 428632 (delta 320463), reused 428532 (delta 320363)
>     Receiving objects: 100% (428632/428632), 153.01 MiB | 1.33 MiB/s, done.
>     Resolving deltas: 100% (320463/320463), done.
>     $ git checkout tags/yocto-2.5 -b my-yocto-2.5
>     fatal: not a git repository (or any parent up to mount point /)
>     Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not
> set).
>
> I re-tried the second command, changing the version from 2.5 to 2.6,
> and that didn't work either:
>
>     $ git checkout tags/yocto-2.6 -b my-yocto-2.6
>     fatal: not a git repository (or any parent up to mount point /)
>     Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not
> set).
>
> It looks like there's a missing 'cd poky' command that needs to be
> inserted before the 'git checkout', and the checkout command needs to
> be changed from 2.5 to 2.6.
>
> Has anybody tried this tutorial recently to see if it actually works?
>
> Is there a better getting started doc?
>
> --
> Grant
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190111/9defba70/attachment.html>


More information about the yocto mailing list