A interprocess communication system for two l4linux instances

Matthias Lange mlange at sec.t-labs.tu-berlin.de
Mon Jul 8 08:37:31 CEST 2013


On 05.07.2013, at 17:05, Wajidali Whowe <whowe123 at yahoo.com> wrote:

> 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: 

Just from the top of my head: there was a reason that you cannot connect two L4Linux instances via l4ser directly. However I cannot remember the exact reason right now. Instead you need a L4Re proxy task which implements the vlog protocol.

Matthias.

> 
> "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.
> 
> _______________________________________________
> l4android-dev mailing list
> l4android-dev at lists.l4android.org
> http://lists.l4android.org/mailman/listinfo/l4android-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.l4android.org/pipermail/l4android-dev/attachments/20130708/324ce08e/attachment.html>


More information about the l4android-dev mailing list