Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-23 Thread Deval Shah
I retested with the updated RTEMS master, everything is working great. I didn't have to make any changes. On Sat, Jul 23, 2016 3:51 PM, Pavel Pisa ppisa4li...@pikron.com wrote: Hello Deval Shah, On Thursday 21 of July 2016 18:57:11 Deval Shah wrote: Hello all, Good news ! The usb_eth

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-23 Thread Pavel Pisa
Hello Deval Shah, On Thursday 21 of July 2016 18:57:11 Deval Shah wrote: > Hello all, > Good news ! The usb_ethernet controller is working. > Dr. Joel pointed out to check if I am actually getting the interrupt. So I > checked there and found out that there was no entry for USB interrupt. As > soo

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-22 Thread Deval Shah
RTEMS: https://github.com/deval-maker/rtems/tree/RPi Libbsd: https://github.com/deval-maker/rtems-libbsd/tree/rpi_usb Deval Shah On Fri, Jul 22, 2016 5:33 AM, Alan Cudmore alan.cudm...@gmail.com wrote: Hi Deval, That is great news! Is this in your bsdlib github repository? I would like to tr

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-21 Thread Alan Cudmore
Hi Deval, That is great news! Is this in your bsdlib github repository? I would like to try it out soon. Thanks, Alan > On Jul 21, 2016, at 12:57 PM, Deval Shah wrote: > > Hello all, > > Good news ! The usb_ethernet controller is working. > > Dr. Joel pointed out to check if I am actually get

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-21 Thread Deval Shah
Hello all, Good news ! The usb_ethernet controller is working. Dr. Joel pointed out to check if I am actually getting the interrupt. So I checked there and found out that there was no entry for USB interrupt. As soon as I added that entry, everything started working. Now I am getting the Power in t

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-19 Thread Deval Shah
Hello everyone, As per the conversation at IRC I booted the testsuit with turning USB and ethernet on. Also I ran FreeBSD on my Pi and got the bootup log as suggested by Alan and Chris. Here are some observations. 1. After turning on USB in u-boot, I was getting power on USB devices atached. (One o

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-12 Thread Chris Johns
On 12/07/2016 23:32, Alan Cudmore wrote: I'm not sure what I did to get the extra debug messages. When I run the usb01 example, I just see: nexus0: I will have to read up on how the libbsd drivers are used, and what needs to be done to set them up in nexus-devices.h I would work backwards fr

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-12 Thread Alan Cudmore
I'm not sure what I did to get the extra debug messages. When I run the usb01 example, I just see: nexus0: I will have to read up on how the libbsd drivers are used, and what needs to be done to set them up in nexus-devices.h Chris: do you know if it would help to boot FreeBSD on the Pi to see t

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-12 Thread Chris Johns
On 12/07/2016 7:13 PM, Deval Shah wrote: > > > On Tue, Jul 12, 2016 at 11:07 AM, Chris Johns > wrote: > > On 12/07/2016 14:41, Deval Shah wrote: > > The problem with the RaspberryPi_USB was that due to some other > updates > in mainline, I w

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-12 Thread Deval Shah
On Tue, Jul 12, 2016 at 11:07 AM, Chris Johns wrote: > On 12/07/2016 14:41, Deval Shah wrote: > >> The problem with the RaspberryPi_USB was that due to some other updates >> in mainline, I was not getting the device_printfs. So I switched back to >> the old repo of mine. >> > > It would help if y

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-11 Thread Chris Johns
On 12/07/2016 14:41, Deval Shah wrote: The problem with the RaspberryPi_USB was that due to some other updates in mainline, I was not getting the device_printfs. So I switched back to the old repo of mine. It would help if you could please debug this. It is easy to do. Just add a printf in the

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-11 Thread Deval Shah
I am sorry, I forgot to mention those details. I have added --freebsd-options=bootverbose,verbose_sysinit,bus_debug for more log, while configuring waf. There are two branches currently. RaspberryPi_USB and rpi_usb. Both are same as far as my added code is concerned. rpi_usb has a different start

Re: Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-11 Thread Alan Cudmore
Hi Deval, What code do I need to add to try your test? I am using the items git head kernel, and your rtems-libbsd RaspberryPi_USB branch. When I run init01 on my Pi Zero, I get the output below. Alan *** LIBBSD INIT 1 TEST *** nexus0: bcm283x_dwcotg0: on nexus0 usbus0 on bcm283x_dwcotg0 u

Updates and Problems on "Raspberry Pi USB and Ethernet Support" Project

2016-07-11 Thread Deval Shah
Hello all, I am trying to add usb_ethernet (smsc) driver for raspberry pi for both USB and Ethernet support. Now I have added the required files. But the USB device is not getting power. To get the compilation error-less, I have applied a hack. if_smsc.c is using the function “usbd_m_copy_in”