newlisp on the Nokia N810 Internet tablet

Started by newdep, June 15, 2009, 09:04:34 AM

Previous topic - Next topic

newdep

The N810 is a Nokia Internet Tablet based on http://www.maemo.org">//http://www.maemo.org linux using the TI processor which is ARM based.

(N810 has a 400 MHz TI OMAP 2420 Cpu)



With the scratchbox setup on a linux PC you can cross-compile X86-ARM/EL.



If I did it all correct then newLisp v 10.0.0 was successfuly compiled for the ARM/EL, actualy out of the box without errors on the Diablo release of

maemo. Now this compilation was so very easy Im not sure it its correct ..hahaha.. But it sure does run ;-)



Now the real testing needs to be done, end of this week probably...



Here the output of the execution from within a scratchbox chrooted shell.

(a debian Arm version inside my slackware 12.2 environment with X11 client (xephyr) that emmulates the maemo GUI)


[sbox-DIABLO_ARMEL: ~/newlisp-10.0.0] > ldd newlisp
        libm.so.6 => /lib/libm.so.6 (0x00000000)
        libdl.so.2 => /lib/libdl.so.2 (0x00000000)
        libc.so.6 => /lib/libc.so.6 (0x00000000)
        /lib/ld-linux.so.3 => /lib/ld-linux.so.3 (0x00000000)

[sbox-DIABLO_ARMEL: ~/newlisp-10.0.0] > file newlisp
newlisp: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped

[sbox-DIABLO_ARMEL: ~/newlisp-10.0.0] > ls -al newlisp
-rwxrwxr-x  1 user users 232248 Jun 15 17:03 newlisp

[sbox-DIABLO_ARMEL: ~/newlisp-10.0.0] > ./newlisp
newLISP v.10.0.0 on Linux IPv4, execute 'newlisp -h' for more info.

> (sys-info)
(379 268435456 368 1 0 2048 31054 10000 1)
>


So actualy newlisp is now able to run on the ARM/EL based handheld

devices...Finaly I have newLisp in my handpalm ;-)



To be continued...
-- (define? (Cornflakes))

newdep

#1
Small update ->



newLisp version 10.0.4 compiles out of the box under scratchbox for X86 and ARM.



..

..

..

and newLisp version 10.0.8 compiles out of the box under scratchbox for X86 and ARM.



to be continued...
-- (define? (Cornflakes))

TedWalther

#2
It is really great to see this kind of activity and expansion in the newLISP world.



Can you apply this patch to the 10.0.8 tree, type ./configure --help, then compile to your hearts content?



http://ted.affordableaffiliates.com/newlisp-configure.patch">http://ted.affordableaffiliates.com/new ... gure.patch">http://ted.affordableaffiliates.com/newlisp-configure.patch



To compile:



./configure
make -f makefile_configure
make install


I'd like to hear how it works on your platform!  Whether it works or doesn't, can you email me the resulting makefile_configure and config.h files?
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence.  Nine months later, they left with a baby named newLISP.  The women of the ivory towers wept and wailed.  \"Abomination!\" they cried.

newdep

#3
Hi Ted,



Yes I will, but i just switch to my XP environment.. Ill do that tomorro

see what it bring Ill let you know ;-)



Norman.
-- (define? (Cornflakes))

newdep

#4
For all those NOT having a Linux machine running but are able to

run Qemu or Vmware player..There exists an Beta Image os the

Maemo SDK, so you can develop for the Maemo under i.e. Windows

with an Ubuntu enviornment..



Now if that newlisp is running on the N810, hopefuly stable at

the end of this week, you can create youre widgets using GTK on the

N810..thats should work out of the box too...



As an internet tablet is a network device newLisp fits right in ;-)



http://maemo.org/news/announcements/maemo_sdk_virtual_image_released/">//http://maemo.org/news/announcements/maemo_sdk_virtual_image_released/



To be continued...
-- (define? (Cornflakes))

newdep

#5
Ted,



Not Found

The requested URL /newlisp-configure.patch was not found on this server.



Any other link where I can ctach it ?
-- (define? (Cornflakes))

newdep

#6
got it..



http://ted.affordableaffiliates.com/newlisp-configure.patch">http://ted.affordableaffiliates.com/new ... gure.patch">http://ted.affordableaffiliates.com/newlisp-configure.patch
-- (define? (Cornflakes))

TedWalther

#7
Yes, sorry it was a glitch on my part, I'd been doing some mod_rewrite for another project, but all is well now.
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence.  Nine months later, they left with a baby named newLISP.  The women of the ivory towers wept and wailed.  \"Abomination!\" they cried.

newdep

#8
Oke here a screen dump of the emulated maemo evironment on

my slackware machine running a xterm session in black/white.

Note: this is an emulated ARM environment with Qemu on my X86 slackware Linux. I added my .init.lsp.



http://www.nodep.nl/downloads/newlisp/newlisp-maemo.jpg">



To be continued...
-- (define? (Cornflakes))

newdep

#9
Qemu doesnt support all IO call yet so some qa test fail, but this

should be fixed when running it on the real N810.

Here the qa-foop output..



http://www.nodep.nl/downloads/newlisp/newlisp-maemo-2.jpg">
-- (define? (Cornflakes))

newdep

#10
Oke some GTK2 test..



this code from pjot "http://www.turtle.dds.nl/newlisp/fractal.lsp">//http://www.turtle.dds.nl/newlisp/fractal.lsp"

runs out of the box on the scratchbox N810 emu.



Here the example where newlisp call GTK directly!



http://www.nodep.nl/downloads/newlisp/newlisp-maemo-3.jpg">
-- (define? (Cornflakes))

newdep

#11
I created a maemo project so maemo users can download

the uptodate precompiled/source for the N810 newlisp from there.

I expect it not to become a seperate tree of newlisp code,

as it now seems newlisp simply compiles out of the box.



http://newlisp.garage.maemo.org/">//http://newlisp.garage.maemo.org/



Although the binary will be listed there Ill put one on my personal pages too..



To be continued..
-- (define? (Cornflakes))

newdep

#12
oke here it is, the official working version of newLisp v10.0.8

on the Nokia Internet Tablet!



This is an actual screen dump for the screen.



http://www.nodep.nl/downloads/newlisp/screenshot00.png">



As always.. Enjoy...;-)
-- (define? (Cornflakes))

TedWalther

#13
OMG, I didn't know you could (load ...) URL's.  I learn something new every day on this forum.  Thanks newdep.  And nifty dragonfly graphic.  I love your other screenshots too.



Ted
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence.  Nine months later, they left with a baby named newLISP.  The women of the ivory towers wept and wailed.  \"Abomination!\" they cried.

newdep

#14
Now to give you actualy an impression on what size newLisp currently is running on the N810..and still running...

Dont mind that guy below the Tablet, he's just there to display progress ;-)





http://www.nodep.nl/downloads/newlisp/n810-newlisp.jpg">



To be Continued...
-- (define? (Cornflakes))