python port for embedded linux

View: New views
6 Messages — Rating Filter:   Alert me  

python port for embedded linux

by Ashish Lal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Does anyone know of a python port for embedded linux. I want to use it to do some "basic" scripting in python, mostly involving a library that we will develop. Nothing  more. But this is on embedded linux, not WinCE.
 
I think this list is the best place to place this question. though it is for WinCE.
 
Any pointers would be deeply appreciated.
 
Regards,
--Ashish

_______________________________________________
PythonCE mailing list
PythonCE@...
http://mail.python.org/mailman/listinfo/pythonce

Re: python port for embedded linux

by Mirko Vogt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,

it depends against which type of embedded C-library you link(ed) pythonce.
E.g. if your mebedded Linux-distribution uses the uclibc, you have to search for x86-binaries compiled against that version of c-library.
Same with dietlibc, normal libc, etc.
Which type of embedded linux-distribution are you using?

Greetz

d@ten

Ashish Lal wrote:

> Does anyone know of a python port for embedded linux. I want to use it
> to do some "basic" scripting in python, mostly involving a library that
> we will develop. Nothing  more. But this is on embedded linux, not WinCE.
>  
> I think this list is the best place to place this question. though it is
> for WinCE.
>  
> Any pointers would be deeply appreciated.
>  
> Regards,
> --Ashish
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> PythonCE mailing list
> PythonCE@...
> http://mail.python.org/mailman/listinfo/pythonce
_______________________________________________
PythonCE mailing list
PythonCE@...
http://mail.python.org/mailman/listinfo/pythonce

Re: python port for embedded linux

by Ashish Lal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi -
 
We have an embedded device with 8MB flash and 32 MB RAM with ARM 9 processor runining 2.6.XX. kernel. We just used standard linux (Debian) and configured (or hacked it) to suit our needs. I am looking for a python distribution that has the math library, some IPC mechanisms and some string functions. Thats all.
 
Any pointers on a python distribution for embedded applications is deeply appreciated.
I have looked at distributions like tinypy etc.
 
Regards,
--Ashish

> Date: Sat, 26 Apr 2008 11:26:08 +0200
> From: lists@...
> To: pythonce@...
> Subject: Re: [PythonCE] python port for embedded linux
>
> Hey,
>
> it depends against which type of embedded C-library you link(ed) pythonce.
> E.g. if your mebedded Linux-distribution uses the uclibc, you have to search for x86-binaries compiled against that version of c-library.
> Same with dietlibc, normal libc, etc.
> Which type of embedded linux-distribution are you using?
>
> Greetz
>
> d@ten
>
> Ashish Lal wrote:
> > Does anyone know of a python port for embedded linux. I want to use it
> > to do some "basic" scripting in python, mostly involving a library that
> > we will develop. Nothing more. But this is on embedded linux, not WinCE.
> >
> > I think this list is the best place to place this question. though it is
> > for WinCE.
> >
> > Any pointers would be deeply appreciated.
> >
> > Regards,
> > --Ashish
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > PythonCE mailing list
> > PythonCE@...
> > http://mail.python.org/mailman/listinfo/pythonce
> _______________________________________________
> PythonCE mailing list
> PythonCE@...
> http://mail.python.org/mailman/listinfo/pythonce


_______________________________________________
PythonCE mailing list
PythonCE@...
http://mail.python.org/mailman/listinfo/pythonce

Re: python port for embedded linux

by Luke Dunstan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,
 
Have you tried just building the normal Python source with your cross compiler? I expect that there would be a lot less porting problems than Windows CE. For the same reason, the main Python mailing list may give you more responses.
 
Luke
 
Sent: Saturday, April 26, 2008 6:28 PM
Subject: Re: [PythonCE] python port for embedded linux

Hi -
 
We have an embedded device with 8MB flash and 32 MB RAM with ARM 9 processor runining 2.6.XX. kernel. We just used standard linux (Debian) and configured (or hacked it) to suit our needs. I am looking for a python distribution that has the math library, some IPC mechanisms and some string functions. Thats all.
 
Any pointers on a python distribution for embedded applications is deeply appreciated.
I have looked at distributions like tinypy etc.
 
Regards,
--Ashish

> Date: Sat, 26 Apr 2008 11:26:08 +0200
> From: lists@...
> To: pythonce@...
> Subject: Re: [PythonCE] python port for embedded linux
>
> Hey,
>
> it depends against which type of embedded C-library you link(ed) pythonce.
> E.g. if your mebedded Linux-distribution uses the uclibc, you have to search for x86-binaries compiled against that version of c-library.
> Same with dietlibc, normal libc, etc.
> Which type of embedded linux-distribution are you using?
>
> Greetz
>
> d@ten
>
> Ashish Lal wrote:
> > Does anyone know of a python port for embedded linux. I want to use it
> > to do some "basic" scripting in python, mostly involving a library that
> > we will develop. Nothing more. But this is on embedded linux, not WinCE.
> >
> > I think this list is the best place to place this question. though it is
> > for WinCE.
> >
> > Any pointers would be deeply appreciated.
> >
> > Regards,
> > --Ashish
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > PythonCE mailing list
> > PythonCE@...
> > http://mail.python.org/mailman/listinfo/pythonce
> _______________________________________________
> PythonCE mailing list
> PythonCE@...
> http://mail.python.org/mailman/listinfo/pythonce


_______________________________________________
PythonCE mailing list
PythonCE@...
http://mail.python.org/mailman/listinfo/pythonce

_______________________________________________
PythonCE mailing list
PythonCE@...
http://mail.python.org/mailman/listinfo/pythonce

Re: python port for embedded linux

by bkc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Four or more years ago I cross compiled Python for an older ARM
processor (no mmap support), I statically linked with uclibc and
libxslt/libxml2.

It worked and performed reasonably. I just used the base Python source.

The only problem I had was the Python's makefile tries to compile itself
twice, clearly that didn't work in a cross-compile situation but I
worked around it by changing the makefile.

I think I had posted some suggestions to python-dev list about how to
better support cross-compile development. I don't remember and I don't
know if they accepted my suggestions.


 
Ashish Lal wrote:

> Hi -
>  
> We have an embedded device with 8MB flash and 32 MB RAM with ARM 9
> processor runining 2.6.XX. kernel. We just used standard linux
> (Debian) and configured (or hacked it) to suit our needs. I am looking
> for a python distribution that has the math library, some IPC
> mechanisms and some string functions. Thats all.
>  
> Any pointers on a python distribution for embedded applications is
> deeply appreciated.
> I have looked at distributions like tinypy etc.
>  
> Regards,
> --Ashish


--
Brad Clements,                bkc@...    (315)268-1000
http://www.murkworks.com                         
AOL-IM: BKClements

_______________________________________________
PythonCE mailing list
PythonCE@...
http://mail.python.org/mailman/listinfo/pythonce

Re: python port for embedded linux

by Mark Eichin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Or just look at the OpenMoko build rules, they set up the rest of the
cross environment too but you end up with it being trivial to build
current python just by cross-compiling.

Or look at the OpenEmbedded toolchain for the gumstix (an XScale ARM.)

On Sun, Apr 27, 2008 at 9:42 AM, Brad Clements <bkc@...> wrote:

> Four or more years ago I cross compiled Python for an older ARM processor
> (no mmap support), I statically linked with uclibc and libxslt/libxml2.
>
> It worked and performed reasonably. I just used the base Python source.
>
> The only problem I had was the Python's makefile tries to compile itself
> twice, clearly that didn't work in a cross-compile situation but I worked
> around it by changing the makefile.
>
> I think I had posted some suggestions to python-dev list about how to better
> support cross-compile development. I don't remember and I don't know if they
> accepted my suggestions.
>
>
>
> Ashish Lal wrote:
>>
>> Hi -
>>  We have an embedded device with 8MB flash and 32 MB RAM with ARM 9
>> processor runining 2.6.XX. kernel. We just used standard linux (Debian) and
>> configured (or hacked it) to suit our needs. I am looking for a python
>> distribution that has the math library, some IPC mechanisms and some string
>> functions. Thats all.
>>  Any pointers on a python distribution for embedded applications is deeply
>> appreciated.
>> I have looked at distributions like tinypy etc.
>>  Regards,
>> --Ashish
>
>
> --
> Brad Clements,                bkc@...    (315)268-1000
> http://www.murkworks.com                          AOL-IM: BKClements
>
> _______________________________________________
> PythonCE mailing list
> PythonCE@...
> http://mail.python.org/mailman/listinfo/pythonce
>



--
_Mark_ <eichin@...> <eichin@...>
_______________________________________________
PythonCE mailing list
PythonCE@...
http://mail.python.org/mailman/listinfo/pythonce