Error while adding usb ethernet driver

Deval Shah deval.maker at gmail.com
Wed Jul 6 12:59:30 UTC 2016


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: <RTEMS Nexus device>

bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> on nexus0
usbus0 on bcm283x_dwcotg0
usbus0: 480Mbps High Speed USB v2.0
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
uhub0: 1 port with 1 removable, self powered
...

And now these messages are not coming. Only the following

*** LIBBSD INIT 1 TEST ***
nexus0: <RTEMS Nexus device>
...



On Wed, Jul 6, 2016 at 12:25 PM, Chris Johns <chrisj at rtems.org> wrote:

> 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/testsuite/include/rtems/bsd/test/default-init.h
>> b/testsuite/include/rtems/bsd/test/default-init.h
>> index ab2ab3a..873c01a 100644
>> --- a/testsuite/include/rtems/bsd/test/default-init.h
>> +++ b/testsuite/include/rtems/bsd/test/default-init.h
>> @@ -39,6 +39,7 @@ rtems_task Init(
>>   {
>>     rtems_status_code sc;
>> +  rtems_bsd_setlogpriority("debug");
>>     puts( "*** " TEST_NAME " TEST ***" );
>>     /*
>>
>>
> Ah ok, you are using the tests. I think it is ok for the tests to have the
> priority set to 'debug'. I will make a change and push it.
>
> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160706/bd63a414/attachment-0002.html>


More information about the devel mailing list