On Thu, Mar 31, 2011 at 05:41:57PM +0800, Xiangfu Liu wrote:
> Hi KristianPaul
> 
> some confuse
> how you make the lua boot on milkymist one? lua is a language not an os?


I modified makefiles in order to be link agains rtems toolchain.
(I mostly get the idea of what to do from the flickernoise build-instructions)

I modified luac a lua intepreter in order to run standlone and not check
some stuff.. so is a dirty hack :/. After a while od trial an error, got
the comand line interpreter to run.

The proper  will be just run luac from a rtems shell in order to load lua
scripts. that will be cool :-)

> are you run 'lua' under Linux in Milkymist one?

No linux, just let said rtems is like a lib, is ansi c, and lua went
okay when compiled with rtem toolchain.

Luam (the hacked luac) just run stadalone as you can see bios boot from 
serial/flterm.

Other people did boot it by qemmu (Yann Sionneau i remenber)

> 
> On 02/08/2011 04:27 AM, Cristian Paul Peñaranda Rojas wrote:
> > I hacked the lua 5.1.4 version to allow it boot on the Milkymist One
> > board, you can grab the code from 
> > 
> >  https://github.com/kristianpaul/milkymist-lua.git
> 
> is this git gone?
No is not 

Plese check here:

http://kristianpaul.org/comoblog/Hacked_port_of_Lua_for_the_Milkymist_One.html
> 
> >  git checkout milkymist
> > 
> > And check  README.Milkymist,
> > 
> > You can run:
> > 
> >   print(math.floor(((1+math.sqrt(5))/2)^20/math.sqrt(5)+0.5))
> >   (http://kristianpaul.org/~paul/tmp/luam.png) 
> > 
> > In order to compute and print the 20th Fibonacci number using just a
> > line of code, later rtems could help in order to load scripts from file
> > system.
> > 
> > Saludos,
> > Cristian Paul
> 
> 
> -- 
> Best Regards
> Xiangfu
> -- Qi RSS feed, http://en.qi-hardware.com/feed/rss20.xml --

Attachment: signature.asc
Description: Digital signature

_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode
Twitter: www.twitter.com/milkymistvj
Ideas? http://milkymist.uservoice.com

Reply via email to