[yocto] What is the procedure for creating a board support package?

Petter Mabäcker petter at technux.se
Tue Jan 9 23:21:34 PST 2018


 

2018-01-09 19:38 skrev Peter Spierenburg: 

> I'm trying to follow
the instructions at: 
> 
>
http://www.yoctoproject.org/docs/current/bsp-guide/bsp-guide.html#creating-a-new-bsp-layer-using-the-yocto-bsp-script
[1] 
> 
> I followed the prompts exactly as specified (although the SMP
support prompt did not appear), and I chose the default 4.12 kernel
(presumably the guide is slightly out of date). 
> 
> I included the
generated bsp in bblayers.conf as indicated. 
> 
> I invoked: 
> 
>
bitbake core-image-minimal
> However, the resulting build was intel
based, and not arm as one might expect since I asked for ARM when
prompted by the yocto-bsp script.Is there a more hands-on document that
I could be following? 
> 
> Peter.
> 
> This communication, including
any attached documentation, is intended only for the person or entity to
which it is addressed, and may contain confidential, personal, and/or
privileged information. Any unauthorized disclosure, copying, or taking
action on the contents is strictly prohibited. If you have received this
message in error, please contact us immediately so we may correct our
records. Please then delete or destroy the original transmission and any
subsequent reply. Thank you.

Hi Peter, 

Have you set MACHINE = "myarm"
in conf/local.conf in your project? That is required in order to enable
full usage of your new bsp. If not it will by default be set to qemux86.


Also note that you can type arm instead of qemu when doing it for the
real target ($ ./yocto-bsp create myarm arm) 

BR Petter 

Petter
Mabäcker

Technux <petter at technux.se>
www.technux.se



Links:
------
[1]
http://www.yoctoproject.org/docs/current/bsp-guide/bsp-guide.html#creating-a-new-bsp-layer-using-the-yocto-bsp-script
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180110/4c99d9db/attachment.html>


More information about the yocto mailing list