Re: [PATCH v3 1/7] Imported files for driver: bcm283x_dwcotg

2016-09-04 Thread Deval Shah
project. Mostly after a couple of weeks I will be able to start contributing again. My apologis for that. Hardware used here is RPi 1/B+. Best wishes, > > Pavel > > PS: I have managed to start the second core on RPi2 > by RTEMS SMP support. But then the system

[PATCH v3 7/7] USB and ethernet controller: Update to FreeBSD trunk 2016-08-23 FreeBSD trunk, 2016-08-23, 9fe7c416e6abb28b1398fd3e5687099846800cfd.

2016-08-31 Thread Deval Shah
--- freebsd/sys/dev/usb/net/usb_ethernet.c | 6 +- libbsd.txt | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/freebsd/sys/dev/usb/net/usb_ethernet.c b/freebsd/sys/dev/usb/net/usb_ethernet.c index de923e9..6497385 100644 ---

[PATCH v3 4/7] Imported files for driver usb_ethernet for Raspberry Pi.

2016-08-31 Thread Deval Shah
--- freebsd/sys/dev/usb/net/if_smsc.c | 1863 freebsd/sys/dev/usb/net/if_smscreg.h | 277 + freebsd/sys/dev/usb/net/usb_ethernet.c | 647 +++ freebsd/sys/dev/usb/net/usb_ethernet.h | 127 +++ libbsd.py |8 +-

[PATCH v3 6/7] Added Ethernet support for Raspberry Pi.

2016-08-31 Thread Deval Shah
--- rtemsbsd/include/bsp/nexus-devices.h | 2 ++ testsuite/include/rtems/bsd/test/network-config.h.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h index ce9d45c..7ba3541 100644 ---

[PATCH v3 1/7] Imported files for driver: bcm283x_dwcotg

2016-08-31 Thread Deval Shah
--- freebsd/sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c | 100 ++ freebsd/sys/dev/usb/controller/dwc_otg_fdt.c | 222 + freebsd/sys/dev/usb/controller/dwc_otg_fdt.h | 39 libbsd.py | 3 + libbsd.txt

[PATCH v3 3/7] Added USB roothub support for Raspberry Pi.

2016-08-31 Thread Deval Shah
--- rtemsbsd/include/bsp/nexus-devices.h | 9 + testsuite/usb01/usb-sysinit.h| 2 ++ 2 files changed, 11 insertions(+) diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h index 45beb30..ce9d45c 100644 ---

Re: [PATCH v2 1/6] Imported files for driver: bcm283x_dwcotg

2016-08-31 Thread Deval Shah
Okay. Understood. I will update and prepare a patch. ᐧ On Mon, Aug 29, 2016 at 12:26 PM, Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > Am 27.08.2016 um 13:16 schrieb Deval Shah: > > > > > > On Tue, Aug 23, 2016 at 7:08 PM, Sebastian Huber &g

Re: [PATCH v2 1/6] Imported files for driver: bcm283x_dwcotg

2016-08-27 Thread Deval Shah
e for your work. > > Is it okay if I provide a new patch (not resend in the previous ones) updating the code ? > On 22/08/16 10:37, Deval Shah wrote: > >> >> >> On Mon, Aug 22, 2016 at 11:25 AM, Sebastian Huber < >> sebastian.hu...@embedded-brains.de

Re: [PATCH v2 1/6] Imported files for driver: bcm283x_dwcotg

2016-08-22 Thread Deval Shah
gt; -- > Sebastian Huber, embedded brains GmbH > > Address : Dornierstr. 4, D-82178 Puchheim, Germany > Phone : +49 89 189 47 41-16 > Fax : +49 89 189 47 41-09 > E-Mail : sebastian.hu...@embedded-brains.de > PGP : Public key available on request. > > Diese Nachri

[PATCH v2 6/6] Added Ethernet support for Raspberry Pi.

2016-08-19 Thread Deval Shah
--- rtemsbsd/include/bsp/nexus-devices.h | 2 ++ testsuite/include/rtems/bsd/test/network-config.h.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h index ce9d45c..7ba3541 100644 ---

[PATCH v2 5/6] Ported driver usb_ethernet(smsc) to RTEMS. USB DMA related functions commented out, since DMA support for raspberry is underdevelopment.

2016-08-19 Thread Deval Shah
--- freebsd/sys/dev/usb/net/if_smsc.c | 34 ++ freebsd/sys/dev/usb/net/if_smscreg.h | 1 + freebsd/sys/dev/usb/net/usb_ethernet.c | 12 + freebsd/sys/sys/sysctl.h | 1 +

[PATCH v2 1/6] Imported files for driver: bcm283x_dwcotg

2016-08-19 Thread Deval Shah
--- freebsd/sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c | 100 ++ freebsd/sys/dev/usb/controller/dwc_otg_fdt.c | 222 + freebsd/sys/dev/usb/controller/dwc_otg_fdt.h | 39 libbsd.py | 3 + libbsd.txt

[PATCH v2 4/6] Imported files for driver usb_ethernet for Raspberry Pi.

2016-08-19 Thread Deval Shah
--- freebsd/sys/dev/usb/net/if_smsc.c | 1863 freebsd/sys/dev/usb/net/if_smscreg.h | 277 + freebsd/sys/dev/usb/net/usb_ethernet.c | 647 +++ freebsd/sys/dev/usb/net/usb_ethernet.h | 127 +++ libbsd.py |8 +-

[PATCH v2 3/6] Added USB roothub support for Raspberry Pi.

2016-08-19 Thread Deval Shah
--- rtemsbsd/include/bsp/nexus-devices.h | 9 + testsuite/usb01/usb-sysinit.h| 2 ++ 2 files changed, 11 insertions(+) diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h index 45beb30..ce9d45c 100644 ---

[PATCH v2 2/6] Ported driver bcm283x_dwcotg to RTEMS.

2016-08-19 Thread Deval Shah
--- freebsd/sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c | 24 + freebsd/sys/dev/usb/controller/dwc_otg_fdt.c | 10 libbsd.txt | 30 ++ rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 22

[PATCH v2 2/6] Ported driver bcm283x_dwcotg to RTEMS.

2016-08-19 Thread Deval Shah
--- freebsd/sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c | 24 + freebsd/sys/dev/usb/controller/dwc_otg_fdt.c | 10 libbsd.txt | 30 ++ rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 22

[PATCH v2 1/6] Imported files for driver: bcm283x_dwcotg

2016-08-19 Thread Deval Shah
--- freebsd/sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c | 100 ++ freebsd/sys/dev/usb/controller/dwc_otg_fdt.c | 222 + freebsd/sys/dev/usb/controller/dwc_otg_fdt.h | 39 libbsd.py | 3 + libbsd.txt

[PATCH v2 3/6] Added USB roothub support for Raspberry Pi.

2016-08-19 Thread Deval Shah
--- rtemsbsd/include/bsp/nexus-devices.h | 9 + testsuite/usb01/usb-sysinit.h| 2 ++ 2 files changed, 11 insertions(+) diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h index 45beb30..ce9d45c 100644 ---

Re: [PATCH 4/4] Added ethernet support for Raspberry Pi. USB DMA related functions commented out, since DMA support for raspberry is underdevelopment.

2016-08-19 Thread Deval Shah
g the final patches ? Also, do I have to send all the patches again ? or just the ones which I will add now. > > > On 19/08/16 10:46, Deval Shah wrote: > >> --- >> freebsd/sys/dev/usb/net/if_smsc.c | 44 >> ++ >>

[PATCH 4/4] Added ethernet support for Raspberry Pi. USB DMA related functions commented out, since DMA support for raspberry is underdevelopment.

2016-08-19 Thread Deval Shah
--- freebsd/sys/dev/usb/net/if_smsc.c | 44 ++ freebsd/sys/dev/usb/net/if_smscreg.h | 1 + freebsd/sys/dev/usb/net/usb_ethernet.c | 17 + freebsd/sys/sys/sysctl.h | 1 +

[PATCH 3/4] Imported files for driver usb_ethernet for Raspberry Pi.

2016-08-19 Thread Deval Shah
--- freebsd/sys/dev/usb/net/if_smsc.c | 1863 freebsd/sys/dev/usb/net/if_smscreg.h | 277 + freebsd/sys/dev/usb/net/usb_ethernet.c | 647 +++ freebsd/sys/dev/usb/net/usb_ethernet.h | 127 +++ libbsd.py |8 +-

[PATCH 2/4] Added USB roothub support for Raspberry Pi.

2016-08-19 Thread Deval Shah
--- freebsd/sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c | 27 ++ freebsd/sys/dev/usb/controller/dwc_otg_fdt.c | 10 rtemsbsd/include/bsp/nexus-devices.h | 9 rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 22 ++

[PATCH 1/4] Imported files for driver: bcm283x_dwcotg

2016-08-19 Thread Deval Shah
--- freebsd/sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c | 100 ++ freebsd/sys/dev/usb/controller/dwc_otg_fdt.c | 222 + freebsd/sys/dev/usb/controller/dwc_otg_fdt.h | 39 libbsd.py | 3 + libbsd.txt

Re: [PATCH 01/02] USB driver bcm283x_dwcotg added.

2016-08-10 Thread Deval Shah
i 2) and 9. It would be easier to use the macros. i.e. RTEMS_BSD_DRIVER_BCM283X_DWCOTG(BCM2835_USB_BASE, BCM2835_IRQ_ID_USB); ᐧ On Wed, Aug 10, 2016 at 1:11 PM, Thomas Kim <thomas73@gmail.com> wrote: > Dear Deval Shah, > > Thank you very much for your reply. > I checked this again.

[PATCH 01/02] USB driver bcm283x_dwcotg added.

2016-08-05 Thread Deval Shah
--- freebsd/sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c | 127 freebsd/sys/dev/usb/controller/dwc_otg_fdt.c | 228 + freebsd/sys/dev/usb/controller/dwc_otg_fdt.h | 39 libbsd.py | 3 + libbsd_waf.py

[PATCH 02/02] Added usb_ehternet controller and configured for Raspberry Pi.

2016-08-05 Thread Deval Shah
--- freebsd/sys/dev/usb/controller/dwc_otg_fdt.c |4 + freebsd/sys/dev/usb/net/if_cdce.c | 1583 freebsd/sys/dev/usb/net/if_cdcereg.h | 105 ++ freebsd/sys/dev/usb/net/if_smsc.c | 1886

Error in initializing network parameters

2016-08-02 Thread Deval Shah
created and the problem arises. I tried moving bsp/nexus-devices.h before rtems/bsd/test/default-network-init.h, but the problem remains the same. Any pointers ? Regards, Deval Shah ᐧ ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Errors due to USB_HAVE_UGEN option

2016-07-25 Thread Deval Shah
Hello everyone, I am trying to add USB mouse to Raspberry Pi, therefore adding related files. There are some functions which are used by “/dev/usb/input/ums.c” but are not being compiled due to the switch/macro USB_HAVE_UGEN in the file rtems-libbsd/rtemsbsd/include/rtems/bsd/local/opt_usb.h.

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

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

2016-07-19 Thread Deval Shah
check the messages and what is detected match. I am doing this on the Beckhoff PC hardware at the moment. Chris Deval Shah Graduate Student, B.E. (Hons.) Electrical and Electronics Engineering BITS Pilani Hyderabad Campus Github Profile___ devel m

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

2016-07-11 Thread Deval Shah
latest code. https://lists.rtems.org/pipermail/devel/2016-July/015557.html Regards, Deval Shah On Tue, Jul 12, 2016 at 7:05 AM, Alan Cudmore <alan.cudm...@gmail.com> wrote: > Hi Deval, > > What code do I need to add to try your test? > > I am using the items git head kernel,

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

2016-07-11 Thread Deval Shah
); SYSINIT_DRIVER_REFERENCE(smsc, ether); SYSINIT_DRIVER_REFERENCE(smsc, miibus); I am also attaching the log of INIT01 Test. I need help at this point. I am kind of stuck here. Thank you in advance. Deval Shah *** LIBBSD INIT 1 TEST *** VERBOSE_SYSINIT: DDB not enabled, symbol lookups disabled. subsystem

Re: Error while adding usb ethernet driver

2016-07-06 Thread Deval Shah
6 at 1:52 PM, Chris Johns <chr...@rtems.org> wrote: > 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

Error while adding usb ethernet driver

2016-06-27 Thread Deval Shah
); ^~ Regards, Deval Shah ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: Code review for Raspberry Pi USB driver

2016-06-26 Thread Deval Shah
Hello Pavel, I am also not getting the Error now. The issue is resolved. Thanks a lot. Deval Shah On Sun, Jun 26, 2016 at 1:12 PM, Mudit Jain <muditjain18011...@gmail.com> wrote: > Hi Pavel and Deval, > > I don't get the error after Pavel's patch. The is

Code review for Raspberry Pi USB driver

2016-06-26 Thread Deval Shah
00c _BSD 0x19e9d8 - 0x1a69d7 0x1a6918 32752232 0x0a01000d _BSD 0x1a6a40 - 0x1aea3f 0x1ae980 32752880 0x0a01000e _BSD 0x1aeaa8 - 0x1b6aa7 0x1b69e8 32752232 *** END OF TEST LIBBSD INIT 1 *** Thank you, Deval S

Re: Code review for Raspberry Pi USB driver

2016-06-24 Thread Deval Shah
On Friday 24 June 2016, Pavel Pisa <ppisa4li...@pikron.com> wrote: > Hello Deval Shah and others, > > On Friday 24 of June 2016 10:45:34 Deval Shah wrote: > > Hello all, > > > > I have successfully ported the bcm283x_dwcotg driver for the Raspberry > Pi.

Re: Errors while building USB DWC OTG driver

2016-06-03 Thread Deval Shah
a 0018 bcm283x_dwc_otg_driver 003014e0 g O .data 0010 _bsd_bcm283x_dwcotg_nexusmodule_sys_init This shows that my driver is linked properly with the app testsuit right ? Now for the debugging what are the methods with qemu? As in how to get step by step analysis of the running program ? Thank you,

Re: Errors while building USB DWC OTG driver

2016-06-03 Thread Deval Shah
.de> wrote: > Hello Deval, > > I would use a hardware debugger or Qemu to tackle this problem. > > On 31/05/16 19:32, Deval Shah wrote: > >> Hello, >> >> I have managed to resolve previous errors and the driver is finally >> building. I want to test this on h

Re: RTEMS on QEMU emulated RPi and RPi2

2016-06-02 Thread Deval Shah
Hello Pavel, I would like to work on this problem. Can I get some more details and some literature to go through ? Thanks, Deval Shah On Fri, May 27, 2016 at 1:59 AM, Pavel Pisa <ppisa4li...@pikron.com> wrote: > Hello all, > > it seems that Raspberry Pi QEMU emulat

Re: Errors while building USB DWC OTG driver

2016-05-29 Thread Deval Shah
I reverted back to the latest commit of RTEMS. I am getting the same errors. On Sun, May 29, 2016 at 11:23 AM, Deval Shah <deval.ma...@gmail.com> wrote: > I followed the libbsd.txt and added bcm 283x driver from freebsd source. > Now I am getting new errors. This time drivers got co

Re: Errors while building USB DWC OTG driver

2016-05-28 Thread Deval Shah
? Commit for above code changes. https://github.com/deval-maker/rtems-libbsd/commit/d90e11ec8e775eed9580e17a6ecaff11fac39931 Thanks, Deval Shah On Wed, May 25, 2016 7:24 PM, Deval Shah deval.ma...@gmail.com wrote: On Wed, May 25, 2016 at 7:12 PM, Sebastian Huber < sebastian.hu...@embedd

Re: Errors while building USB DWC OTG driver

2016-05-25 Thread Deval Shah
On Wed, May 25, 2016 at 7:12 PM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 25/05/16 14:59, Deval Shah wrote: > >> >> On Wed, May 25, 2016 at 3:07 PM, Sebastian Huber < >> sebastian.hu...@embedded-brains.de > sebastian.hu...@embedded-bra

Re: Errors while building USB DWC OTG driver

2016-05-25 Thread Deval Shah
On Wed, May 25, 2016 at 3:07 PM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > If you get > > On 25/05/16 10:19, Deval Shah wrote: > >> >> I got the following result. >> >> nm: 'a.out': No such file >> >> &

Re: Errors while building USB DWC OTG driver

2016-05-25 Thread Deval Shah
This might help for debugging. 1. Code on which I am building raspberrypi BSP https://github.com/deval-maker/rtems-libbsd 2. Testsuits whcih contains #include or #include are having this redefination error. On Wed, May 25, 2016 at 1:49 PM, Deval Shah <deval.ma...@gmail.com> wrote: &

Re: Errors while building USB DWC OTG driver

2016-05-25 Thread Deval Shah
are getting redefined. Any suggestion on how to proceed ? On Wed, May 25, 2016 at 1:17 PM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > > > On 25/05/16 09:12, Deval Shah wrote: > >> That is here in this commit >> https://github.c

Re: Errors while building USB DWC OTG driver

2016-05-25 Thread Deval Shah
river must have the right > DRIVER_MODULE() and MODULE_DEPEND() definitions. > > On 24/05/16 20:04, Deval Shah wrote: > >> Hello, >> >> Currently, I am working on porting USB DWC OTG driver on Raspberry Pi. >> Last year Yurii Shevtsov worked on the same. So, I forked

Re: Error while building arm/realview_pbx_a9_qemu BSP

2016-04-14 Thread Deval Shah
On Wed, Apr 6, 2016 at 10:34 PM, Gedare Bloom <ged...@rtems.org> wrote: > On Wed, Apr 6, 2016 at 10:10 AM, Deval Shah <deval.ma...@gmail.com> wrote: > > > > > > On Wed, Apr 6, 2016 at 7:13 PM, Sebastian Huber > > <sebastian.hu...@embedded-brains.de>

Re: Error while building arm/realview_pbx_a9_qemu BSP

2016-04-06 Thread Deval Shah
On Wed, Apr 6, 2016 at 7:13 PM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > > > On 06/04/16 15:39, Deval Shah wrote: > >> I am building this using RTEMS 4.12 and latest master branch pulled from >> github. >> > > I don't know how relia

Re: Error while building arm/realview_pbx_a9_qemu BSP

2016-04-06 Thread Deval Shah
I am building this using RTEMS 4.12 and latest master branch pulled from github. I tried the same thing with RTEMS 4.11 also. I got the similar error. Looks like some files are not getting included/ missing. On Wed, Apr 6, 2016 at 6:26 PM, Sebastian Huber < sebastian.hu...@embedded-brains.de>

Error while building arm/realview_pbx_a9_qemu BSP

2016-04-05 Thread Deval Shah
;queue, THREAD_QUEUE_DISCIPLINE_PRIORITY); ^~~~ Can anyone help me with this ? Regards, Deval Shah ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: Participation in GSoC 2016

2016-03-24 Thread Deval Shah
ee/libbsd.txt > https://git.rtems.org/rtems-libbsd/tree/README.waf > Looks like the arm/realview_pbx_a9_qemu BSP is the one use. > > I have run some of the SMP examples on qemu with the > arm/realview_pbx_a9_qemu_smp BSP and it worked well for me. > > Alan > > > On Wed, Mar 23,

Re: Participation in GSoC 2016

2016-03-23 Thread Deval Shah
dels. > If you have time, I would love to see USB support for the BCM2835 on the Pi > Model A+ and especially the Pi Zero. Sure, I had left some buffer time in my proposal, probably if things goes as per plan that time can be used for USB support for the BCM2835. > > Thanks,

Re: Participation in GSoC 2016

2016-03-22 Thread Deval Shah
on it, especially regarding the project description and timeline. Thank you. Regards, Deval Shah On Fri, Mar 11, 2016 at 11:02 PM, Deval Shah <deval.ma...@gmail.com> wrote: > On Fri, Mar 11, 2016 at 8:33 PM, Gedare Bloom <ged...@gwu.edu> wrote: >> On Fri, Mar 11, 2016 a

Re: Participation in GSoC 2016

2016-03-11 Thread Deval Shah
On Fri, Mar 11, 2016 at 8:33 PM, Gedare Bloom <ged...@gwu.edu> wrote: > On Fri, Mar 11, 2016 at 8:19 AM, Deval Shah <deval.ma...@gmail.com> wrote: >> Hello everyone! >> >> I went through the links and blogs of the SD card and USB/Ethernet >> project

Re: Participation in GSoC 2016

2016-03-11 Thread Deval Shah
if someone could point that out, so as to increase my chances of selection. A quick question: How can I add my name to the tracking list @ https://devel.rtems.org/wiki/GSoC/2016 ? Deval Shah On Tue, Mar 1, 2016 at 3:07 AM, André Marques <andre.lousa.marq...@gmail.com> wrote: > Hello Jan

Re: Participation in GSoC 2016

2016-02-29 Thread Deval Shah
vices. Is this a wikd goose chase or of >> potential value? >> >> > Sounds like an interesting idea, but isn't Arduino written in C++? > > Best regards, > >Jan > > >>> I very much look forward for any pointers on this. >>>>&g

Seeking Projects

2015-07-17 Thread Deval Shah
Hello, I am currently perusing electronics engineering (currently in final year) from BITS-Pilani University. I love embedded systems and system programming. I want to contribute to opensource community and for that I am looking for projects related to real time embedded systems. skills: C