A interprocess communication system for two l4linux instances
Wajidali Whowe
whowe123 at yahoo.com
Fri Jul 5 18:05:12 CEST 2013
Dear all,
I am trying to implement an IPC method between two l4linux instances (lets call them as vmlinuz1 and vmlinuz2) using l4ser driver. Nevertheless both l4linux instances stuck during boot up printing, the following last sentence:
"vmlinuz.| L4 serial driver"
Going over the driver/tty/serial/l4ser.c file, I have seen that the stuck position line is in the function "l4ser_init_port";
"t = L4XV_FN(l4_msgtag_t,
l4_icu_bind(l4ser_port[num].vcon_cap, 0,
l4ser_port[num].vcon_irq_cap));"
The following is my lua script:
local ttyChannel = l:new_channel();
local hid = l:new_channel();
local linux_caps = {
log = L4.Env.log:m("rws");
vbus = io_caps.linux_bus,
rtc = rtc_caps.rtc,
ev = hid:svr(),
rom = L4.Env.rom,
ttyMv0 = ttyChannel,
};
l:start(
{
caps = linux_caps,
},
"rom/vmlinuz1 mem=512M l4ser.add=ttyMv0 l4-input-srv.enable=1 console=ttyLv0 ramdisk=rom/myRamdisk root=1:0 ramdisk_size=190000 l4x_rd=rom/myRamdisk init=/sbin/init");
local linux_caps2 = {
vbus = io_caps.linux_bus2,
rtc = rtc_caps.rtc,
rom = L4.Env.rom,
ttyMv0 = ttyChannel,
};
l:start(
{
caps = linux_caps2,
},
"rom/vmlinuz.android mem=512M l4ser.add=ttyMv0 console=ttyLv0 ramdisk=rom/ramdisk root=1:0 ramdisk_size=190000 l4x_rd=rom/ramdisk init=/sbin/init");
How do you think that might cause the problem?
Best regards and many thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20130705/619fffaa/attachment.html>
More information about the l4-hackers
mailing list