Ankh with l4Linux
Shashi Sharma
ssharma at viosoft.com
Thu Mar 15 21:39:35 CET 2012
On Thu, 2012-03-15 at 21:19 +0100, Adam Lackorzynski wrote:
> Hi,
>
> On Mon Mar 12, 2012 at 17:09:49 -0700, Shashi Sharma wrote:
> > I want to enable l4linux to use the Ankh server. But I dont know how to
> > start l4linux so that it can bind to Ankh server.
> >
> > I enabled the l4ankh driver in l4linux. And Following is how I start the
> > Ankh server and l4linux
>
> Is Linux saying anything useful regarding the network driver?
I figured it out.
In the kernel boot command I have to pass the ankh_shm param to the
l4ankh driver/module (like this: l4ankh.ankh_shm=shm). Following is my
kernel boot command.
-----------------------
loader:start(
{ caps = {
log = L4.Env.log:m("rws"),
vbus = vbus_l4linux;
rtc = rtc_caps.rtc;
shm = ankh_shm:m("rws");
ankh = ankh_clnt:create(0,
"debug,promisc,device=eth0,shm=shm,bufsize=16384,phys_mac");
},
l4re_dbg = L4.Dbg.Warn,
log = { "l4linux", "yellow" },
},
"rom/vmlinuz mem=128M earlyprintk=yes showpfexc=1 console=ttyLv0
l4ankh.ankh_shm=shm tcp,nolock
ip=192.168.0.200:192.168.0.115:192.168.0.1:255.255.255.0::eth0:
l4x_rd=rom/drops-rd.rd root=1:0 ramdisk_size=20000 init=/bin/sh");
---------------------------------
>
>
>
I have another question. I am trying to incorporate "Tigon3
driver" (Broadcom ethernet driver) into Ankh. Has anybody done that
successfully before?
This is how I am approaching it.
- I took tg3.c & tg3.h from linux-2.6.29/drivers/net and put it under
l4/pkg/ankh/server/netlib
- I am trying to add "PHY" device support to "dde-linux26_net" so that
tigon3 can be build.
I am still getting some link-time errors which I am trying to solve. My
question is, does this look like a right approach to you?
Regards,
Shashi
More information about the l4-hackers
mailing list