Skip to content

utshina/mruby-lkm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mruby-lkm

A set of files to run mruby inside the Linux kernel.

Preparation

You need a development environment for mruby and Linux kernel modules.

Compile

Just type 'make'.

It will download the mruby source code, change the branch, compile mruby, compile rutime to run mruby on host, and make a mruby kernel module.

Run

sudo insmod kernel/mruby.ko                # load the mruby kernel module
sudo sh -c 'cat hello.mrb > /proc/mruby'   # load and execute the mruby bytecode
dmesg                                      # check the output

About

mruby running inside the Linux kernel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published