Kristian Paul's Blog

Free Software, Electronics, Society and more

About This Site

This is a simple blog relating to Debian & Free Software issues.

Archive

Hacked port of Lua for the Milkymist One
7th February 2011
~/blog/Untitled.html Hi again,

This is a one day project, so be aware of posible bugs, and dirty hacks in the code !!

I wanted learn lua, as i found very interesting language, lighter than python, used
from router, networks scanners (nmap) and even window managers.

So i decide start with the port, you can get it working follwing:

 git clone https://github.com/kristianpaul/milkymist-lua.git
 git checkout milkymist
 cd milkymist-lua
 cd src
 make rtems
 lm32-rtems4.11-objcopy -Obinary luam
 ~/milkymist/tools/flterm --port /dev/ttyUSB0 --kernel luam

Last two steps asume you have a MM1 Board, but you can try it on qemu as well,
 http://milkymist.org/wiki/index.php?title=Using_QEMU

Still missing full integration with rtems, that will allow load lua scripts easilly.
Tags: c, hack, lua, milkymist.

Tags

Created by Chronicle v4.4