[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
On Fri, Aug 19, 2016 at 2:51 PM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > I updated the rules to modify FreeBSD code. Please follow them. In > particular we have: > > "Add nothing (even blank lines) before or after the |__rtems__| guards. > Always include a |__rtems__| in

RE: [PATCH 2/2] RTEMS changes for lpc32xx VFP support

2016-08-19 Thread Kirspel, Kevin
The Coprocessor access control register is not VFP dependent. Processors either have one or not (V5TEJ does not). The VFP run fast option in the FPSCR may be unique to each VFP version (I'm not sure). For now, we could introduce defines such as the following to distinguish between the

Re: [PATCH 1/2] RTEMS Source Builder changes for lpc32xx VFP support

2016-08-19 Thread Sebastian Huber
On 19/08/16 14:39, Kirspel, Kevin wrote: This goes back 5 or more years ago so my recollection might be off but I had issues with GCC 4.5.2 using -mfloat-abi=hard. NXP recommends -mfloat-abi=softfp. I can't find the article or forum now but I think it had to do with the fact that the

RE: [PATCH 1/2] RTEMS Source Builder changes for lpc32xx VFP support

2016-08-19 Thread Kirspel, Kevin
This goes back 5 or more years ago so my recollection might be off but I had issues with GCC 4.5.2 using -mfloat-abi=hard. NXP recommends -mfloat-abi=softfp. I can't find the article or forum now but I think it had to do with the fact that the LPC3250 VFP didn't support all the required

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 Sebastian Huber
I updated the rules to modify FreeBSD code. Please follow them. In particular we have: "Add nothing (even blank lines) before or after the |__rtems__| guards. Always include a |__rtems__| in the guards" Please don't merge changes for a particular BSP and generic changes into one commit.

[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