[poky] Impressions of using Poky to create a BSP

Chris Larson clarson at kergoth.com
Fri May 27 13:06:47 PDT 2011


On Fri, May 27, 2011 at 12:48 PM, Darren Hart <dvhart at linux.intel.com> wrote:
> On 05/27/2011 10:42 AM, Holger Freyther wrote:
>> Hi all,
>>
>> I hope these impressions are useful. In the last two days I added a BSP for a
>> TI Davinci based system and I am afraid it was a bit harder than I think it
>> should be. This is a summary of the underlying issues (without them being
>> debugged or completely understood).
>>
>> meta-skeleton and BBFILES:
>>    - Maybe it would be nice if the file glob would list *.bbappend as I think
>>      many people want to use it.
>>
>> BBLAYERs and dependencies:
>>     - I had changed BBFILES to list *.bbappend but the change didn't take
>>       effect. I had to touch conf/local.conf to force a re-parse. So somehow
>>       the layers config didn't end up in dependencies.
>>
>> fetch vs. fetch2:
>>     - I wanted to fetch my kernel from my internal git/ssh repository. I was
>>       not sure where to put the username (git://foo@bar or git://bar;user=foo)
>
> I believe the correct options would have been:
>
> ssh://foo@bar/path/to/repo
> or
> foo at bar:/path/to/repo
>
> with protocol=git
>

This is backwards. The url scheme determines the fetcher to use, the
protocol= determines the method that fetcher uses to obtain the
sources. Holger had it correct. git:// to associate with the git
fetcher, protocol= to ensure it uses ssh.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the poky mailing list