[yocto] Web frameworks on embedded linux

Edward Wingate edwingate8 at gmail.com
Fri Nov 14 09:10:13 PST 2014


On Fri, Nov 14, 2014 at 12:13 AM, Maciek Borzecki <
maciej.borzecki at open-rnd.pl> wrote:

> On czw, 2014-11-13 at 23:12 -0800, Edward Wingate wrote:
> > I've been trying to get an existing python flask application running
> > on an embedded linux distro (Poky).  The web app was originally
> > deployed on a Debian distro.  I need to move the application to a less
> > heftier board and wanted to try a distro created by Yocto, rather than
> > try to pare down Debian.
> >
> > I've been following the chain of dependencies for the web application
> > and adding them to Yocto to try and get the app to work (nginx, uwsgi,
> > python, pyserial, etc.), and hit a bump - Python's built-in logging
> > and codecs modules are not provided by Yocto.  Maybe I can add them
> > myself, or maybe I'll rip them out of the application, but I wanted to
> > take a step back and see if maybe Python/Flask is not the best app
> > framework to use in an embedded linux distro.
> Have you installed python-modules pacakge? This package pulls in all
> standard python modules as dependencies.
>
>
No, I haven't.  I still have a lot to learn about Yocto and recipes.  I
went ahead and pulled python-modules in and and got a lot further in making
this app work.  Thanks, Maciek, for your help.

The ramdisk image ballooned to 22MB though.  It's expected, but due to
flash size constraints, Python may not be an option in this case.


> I've used Tornado to provide a REST-ful API for an Android application
> and some basic web pages with status information and so on. Worked quite
> well.
>

Do you remember what your final ramdisk image size was?

I would still love to hear what web frameworks others here have used on
embedded linux.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141114/040d89d4/attachment.html>


More information about the yocto mailing list