[yocto] Crosscompile packages (ipk) based on SDK

Manuel Geeler geeler at identech.ch
Thu Jul 27 09:55:51 PDT 2017


Hello Raj

I only got the standard SDK. Are the information I need for building my own yocto installation matching the target somewhere hidden in the SDK? 

Manuel

> 
>     Khem Raj <raj.khem at gmail.com> hat am 27. Juli 2017 um 18:20 geschrieben:
> 
>     On Thu, Jul 27, 2017 at 9:05 AM, Manuel Geeler <geeler at identech.ch> wrote:
> 
>         > > 
> >         Hello Raj,
> > 
> >         thank you for your input. This solves the problem of bringing the packages
> >         to the target once I havt the packages. But I'm still challenged with how to
> >         create the packages in the first place.
> > 
> >         Do I need to have my own yocto installation to setup along the SDK? Will
> >         such a setup be able to build me *ipk packages without knowing the original
> >         settings for the image in the first place? Are the information to build the
> >         buildsystem somwhere hidden in the SDK?
> > 
> >     > 
>     if you are using extensible SDK then it should be able to build ipks. You might
>     have to ask the SDK provider on that. Otherwise you will need full yocto build
>     system to generate ipks is the easiest way.
> 
>     >
> 
>         > > 
> >         Thank you
> > 
> >         Manuel
> > 
> >         Khem Raj <raj.khem at gmail.com> hat am 27. Juli 2017 um 17:57 geschrieben:
> > 
> >         On Thu, Jul 27, 2017 at 7:43 AM, Manuel Geeler <geeler at identech.ch> wrote:
> > 
> >         Hello community,
> > 
> >         I got an image and the corresponding SDK for a hardware based on an iMX6
> >         processor. With this setup I was able to crosscompile a simple "Hello World"
> >         program on the development machine (Ubuntu 16.04.2 LTS), install and run it
> >         on the target.
> > 
> >         I then started to look deeper into yocto and realized that there's the opkg
> >         package manager available in the image.
> > 
> >         Now comes my question, how can I build *.ipk packages on my development
> >         machine, which will then run on my target?
> > 
> >         yes you can. you can setup a feedserver pointing to tmp/deploy/ipk in
> >         your workspace
> > 
> >         something as simple as cd tmp/deploy/ipk && python3 -m http.server 8000
> > 
> >         will do it. Once you have it then setup the feed on your device to
> >         point to this server
> >         something like
> > 
> >         https://github.com/cbrake/oe-build/blob/master/envsetup.sh#L480-L489
> > 
> >         then you can do normal opkg operations
> > 
> >         if you are able to rebuild the whole image then step to edit feed
> >         confs is not needed
> >         you can add
> > 
> >         PACKAGE_FEED_URIS = "http://<ip>:<port>/" in local.conf
> > 
> >         where ip is the local address of your build machine and port is the
> >         port on which you
> >         are starting the http server.
> > 
> >         >
> > 
> >         The image is based on poky 2.1.
> > 
> >         My endgoal is to run node.js and node red on the target.
> > 
> >         Can someone please point me to the right direction?
> > 
> >         Thanks a lot in advance.
> > 
> >         regards
> > 
> >         Manuel
> > 
> >         Manuel Geeler
> >         Technischer Leiter
> > 
> >         Identech AG
> >         Lagerstrasse 14, CH-8600 Dübendorf
> >         Tel.: +41 (0) 44 885 22 26
> >         Mobil: +41 (0) 76 323 65 44
> >         geeler at identech.ch
> >         www.identech.ch
> > 
> >         --
> > 
> >         _______________________________________________
> >         yocto mailing list
> >         yocto at yoctoproject.org
> >         https://lists.yoctoproject.org/listinfo/yocto
> > 
> >     > 


 

Manuel Geeler

Technischer Leiter
Identech AG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170727/376928b6/attachment.html>


More information about the yocto mailing list