Hi Matthias,
do you mean like the following? Coz with the following set-up the l4linux is
not booting and no error message came out:
local mag_caps = {
mag = l:new_channel(),
svc = l:new_channel(),
};
hid = l:new_channel();
l:start({
caps = {
vbus = io_caps.con_bus,
fb = fb_caps.fb,
mag = mag_caps.mag:svr(),
svc = mag_caps.svc:svr(),
},
ev = hid;
log = { "mag", "g" },
l4re_dbg = L4.Dbg.Warn,
},
"rom/mag");
local linux_caps = {
log = L4.Env.log:m("rws");
vbus = io_caps.linux_bus;
rtc = rtc_caps.rtc;
rom = L4.Env.rom;
fb = mag_caps.svc:create(L4.Proto.Goos, "g=470x640,pos=10,20");
};
l:start(
{
caps = linux_caps,
ev = hid:srv(),
},
"rom/vmlinuz.android mem=256M l4-input-srv.enable=1 console=ttyLvx
ramdisk=rom/openwrt-x86-alix2-rootfs.tar.gz root=1:0 ramdisk_size=32768
l4x_rd=rom/openwrt-x86-alix2-rootfs.tar.gz init=/etc/preinit");
Best Regards,
________________________________
From: Matthias Lange <[email protected]>
To: Wajidali Whowe <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Thursday, November 8, 2012 4:51 PM
Subject: Re: Touchscreen
On Wed, Nov 07, 2012 at 05:19:39AM -0800, Wajidali Whowe wrote:
> Dear Matthias,
>
> Thank you very much for the information, the steps are clear except for the
> sentence "connect L4Linux to the "ev" capability of mag", could you please
> kindly detail this part?
You need something like this in your lua script
hid = l:new_channel()
(for L4Linux)
ev = hid::svr()
(for mag)
ev = hid;
Don't forget to enable the input server with l4-input-srv.enable=1 on the
command line.
Matthias.
--
Dipl.-Inf. Matthias Lange <[email protected]>
Security in Telecommunications
TU Berlin / Telekom Innovation Laboratories
Ernst-Reuter-Platz 7, 10587 Berlin
Phone: +49 - 30 - 8353 58 553
Mobile: +49 - 160 - 587 28 07
Web: http://www.t-labs.tu-berlin.de/sect_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers