Re: Ankh with l4Linux

Shashi Sharma <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Organization Viosoft Inc.
Message-ID <1331845435.8753.63.camel@shashi-desktop>
On Thu, 2012-03-15 at 21:50 +0100, Björn Döbel wrote:
> Hi,
> 
> > I figured it out.
> 
> Cool!
> 
> [..]
> 
> > I have another question. I am trying to incorporate "Tigon3
> > driver" (Broadcom ethernet driver) into Ankh. Has anybody done that
> > successfully before?
> 
> Yes. I think we had TG3 running in Ankh's predecessor.
> 
> > 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?
> 
> The approach looks perfect. If you need help with the link time errors,
> just let us know. We'll also happily accept patches. ;)

Thanks Bjoern for quick reply. 

Since you offered to help with link errors, here they are. Lets focus on
two errors first, solving them might give me some ideas about solving
other link errors.

1. l4/pkg/ankh/server/netlib/tg3.c:11644: undefined reference to
`pci_get_device'

This method is defined in
"l4/pkg/dde/linux26/contrib/drivers/pci/search.c". This file is getting
built into "dde-linux26". 

And "Ankh" links to "dde-linux26", so it should find the reference.

2. l4/pkg/ankh/server/netlib/tg3.c:11659: undefined reference to
`pci_dev_put'

This method is present in
"l4/pkg/dde/linux26/lib/src/drivers/pci/pci-driver.c". And is getting
built into "dde-linux26" also.


Thanks,
Shashi


> 
> Cheers,
> Bjoern
> 
> _______________________________________________
> l4-hackers mailing list
> [email protected]
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers



_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.