Re: Error while adding usb ethernet driver

2016-07-07 Thread Chris Johns
On 7/07/2016 12:59 AM, Deval Shah wrote: > I updated the code. Still I am not getting the debug messages. > Can there be any other possibility ? Could you please have a look at this code .. https://git.rtems.org/rtems-libbsd/tree/rtemsbsd/rtems/syslog.c#n54 and see if you can see a problem. I

Re: Error while adding usb ethernet driver

2016-07-06 Thread Deval Shah
I updated the code. Still I am not getting the debug messages. Can there be any other possibility ? Previously I used to get messages from bcm283x_dwcotg driver. *** LIBBSD INIT 1 TEST *** nexus0: bcm283x_dwcotg0: on nexus0 usbus0 on bcm283x_dwcotg0 usbus0: 480Mbps High Speed USB v2.0 uhub0:

Re: Error while adding usb ethernet driver

2016-07-05 Thread Chris Johns
On 06/07/2016 16:46, Deval Shah wrote: I couldn't find rc.conf file. It is something you add into your application. I assumed you had an app. Sorry for the confusion. And I added the following. Is this the correct place ? Because I am still not getting the debug printfs. diff --git a/tests

Re: Error while adding usb ethernet driver

2016-07-05 Thread Deval Shah
I couldn't find rc.conf file. And I added the following. Is this the correct place ? Because I am still not getting the debug printfs. diff --git a/testsuite/include/rtems/bsd/test/default-init.h b/testsuite/include/rtems/bsd/test/default-init.h index ab2ab3a..873c01a 100644 --- a/testsuite/includ

Re: Error while adding usb ethernet driver

2016-07-05 Thread Chris Johns
On 05/07/2016 16:54, Deval Shah wrote: 1. I updated the rtems-libbsd to the latest version, and it looks like all the device_printf are closed in one of the update. I am not able to see any log coming from them. Is there any way to switch that on ? You can either add: syslog_priority="debug"

Re: Error while adding usb ethernet driver

2016-07-04 Thread Deval Shah
I have got some more issues on which I want some help. 1. I updated the rtems-libbsd to the latest version, and it looks like all the device_printf are closed in one of the update. I am not able to see any log coming from them. Is there any way to switch that on ? 2. I could not find file "rtems/

Re: Error while adding usb ethernet driver

2016-07-04 Thread Deval Shah
okay I get it. On Mon, Jul 4, 2016 at 11:31 AM, Chris Johns wrote: > On 04/07/2016 15:46, Sebastian Huber wrote: > >> On 03/07/16 06:56, Chris Johns wrote: >> >>> On 30/06/2016 20:22, Deval Shah wrote: >>> On Tue, Jun 28, 2016 at 3:12 AM, Chris Johns >>> > wrote: >>

Re: Error while adding usb ethernet driver

2016-07-03 Thread Chris Johns
On 04/07/2016 15:46, Sebastian Huber wrote: On 03/07/16 06:56, Chris Johns wrote: On 30/06/2016 20:22, Deval Shah wrote: On Tue, Jun 28, 2016 at 3:12 AM, Chris Johns mailto:chr...@rtems.org>> wrote: It might pay for us to add these to an RTEMS header to make porting simpler. Can't we

Re: Error while adding usb ethernet driver

2016-07-03 Thread Sebastian Huber
On 03/07/16 06:56, Chris Johns wrote: On 30/06/2016 20:22, Deval Shah wrote: On Tue, Jun 28, 2016 at 3:12 AM, Chris Johns mailto:chr...@rtems.org>> wrote: It might pay for us to add these to an RTEMS header to make porting simpler. Can't we update our sys/net/if.c and sys/net/if_var.h

Re: Error while adding usb ethernet driver

2016-07-02 Thread Chris Johns
On 30/06/2016 20:22, Deval Shah wrote: On Tue, Jun 28, 2016 at 3:12 AM, Chris Johns mailto:chr...@rtems.org>> wrote: It might pay for us to add these to an RTEMS header to make porting simpler. Can't we update our sys/net/if.c and sys/net/if_var.h files accourding to new FreeBSD ? I d

Re: Error while adding usb ethernet driver

2016-06-30 Thread Deval Shah
On Tue, Jun 28, 2016 at 3:12 AM, Chris Johns wrote: > On 27/06/2016 22:29, Deval Shah wrote: > >> Hello all, >> >> I am trying to add USB-Ethernet driver for Raspberry Pi. I added >> required files to libbsd.py and tried to compile. >> >> I am getting the following error which is very strange bec

Re: Error while adding usb ethernet driver

2016-06-27 Thread Chris Johns
On 27/06/2016 22:29, Deval Shah wrote: Hello all, I am trying to add USB-Ethernet driver for Raspberry Pi. I added required files to libbsd.py and tried to compile. I am getting the following error which is very strange because the symbols in this error are already defined in net/if_var.h and t