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
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
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
---
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
---
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
---
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
---
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
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
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