[PATCH] CPSW lwIP library build changes

2015-08-14 Thread ragunath
This change builds the cpsw driver as a library for lwIP. The application can link to the lwIP & driver libraries. The driver is based on TI Starterware & is taken from lwIP port done by Marcos/Daniel. The driver files are available at https://github.com/ragunath3252/cpsw-lwip.git --- rtems/conf

[PATCH] RTEMS specific changes for lwIP

2015-08-09 Thread Ragunath
From: ragunath --- .gitignore| 1 + Makefile | 170 +++ ports/include/arch/cc.h | 123 ports/include/arch/perf.h | 38 +++ ports/include/arch/sys_arch.h | 59 ports/include/lwipopts.h | 178 ports

[PATCH] lwIP configuration & build files

2015-08-09 Thread Ragunath
From: ragunath Patch to build lwip with RTEMS Resource builder. It builds the lwip sources and creates a library. --- rtems/config/4.11/net/lwip.bset | 20 +++ rtems/config/net/lwip-1-1.cfg| 27 source-builder/config/lwip-1.cfg | 54

[PATCH] RTEMS libbsd changes for cpsw driver

2015-06-28 Thread ragunath
--- Makefile | 1 + freebsd/sys/arm/ti/cpsw/if_cpsw.c | 64 +- freebsd/sys/arm/ti/cpsw/if_cpswreg.h | 3 + freebsd/sys/arm/ti/cpsw/if_cpswvar.h | 2 + rtemsbsd/include/bsp/nexus-devices.h

[PATCH] Temporary fix for ethernet rx intr hang issue and Disable cache

2015-06-28 Thread ragunath
--- c/src/lib/libbsp/arm/beagle/configure.ac | 3 +++ c/src/lib/libbsp/arm/beagle/irq.c | 5 +++-- c/src/lib/libbsp/arm/beagle/startup/bspstartmmu.c | 17 + 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/c/src/lib/libbsp/arm/beagle/config

[PATCH] RTEMS related changes for cpsw ethernet driver

2015-06-26 Thread ragunath
--- Makefile | 1 + freebsd/sys/arm/ti/cpsw/if_cpsw.c | 56 -- freebsd/sys/arm/ti/cpsw/if_cpswreg.h | 1 + freebsd/sys/arm/ti/cpsw/if_cpswvar.h | 2 + rtemsbsd/include/bsp/nexus-devices.h

[PATCH] Import cpsw driver and smscphy driver from FreeBSD

2015-06-26 Thread ragunath
--- Makefile |2 + freebsd/sys/arm/ti/cpsw/if_cpsw.c| 2198 ++ freebsd/sys/arm/ti/cpsw/if_cpswreg.h | 137 +++ freebsd/sys/arm/ti/cpsw/if_cpswvar.h | 124 ++ freebsd/sys/dev/mii/smscphy.c| 227 libbsd.py

[PATCH] Temporary fix for ethernet rx intr hang issue and Disable cache

2015-06-25 Thread ragunath
This patch has two changes that are needed for networking to work in BBB. We disable cache as it is causing random values to be learned in the cpsw Address Lookup Engine(ALE) causing tx to fail. Vector enable is done after handler is called by the server task. --- c/src/lib/libbsp/arm/beagle/i

[PATCH] Ethernet driver For BBB ported from FreeBSD

2015-06-25 Thread ragunath
This patch includes changes for porting cpsw ethernet driver for Beaglebone black from Freebsd. It also includes smsc phy ported from FreeBSD. Corresponding nexus devices are added. For networking to work properly, two additional changes are needed on the RTEMS side. --- Makefile