Hello Husni,
just tested that and it works fine. With a simple curl I can reach about
8.5 MByte/s sending to the beagle and 19.5 MByte/s receiving from it.
Please take a look at the points that Chris Johns asked. As soon as
these are addressed, I think the patches could be merged.
Please also make the documentation that you started for this more public
visible. In other words: Send it as patches to the list and not only as
a link to some branch!
Best regards
Christian
On 28/07/2021 13:56, Husni Faiz wrote:
This set of patches import the drivers from freebsd and
configures it for the beagle bsp.
Github Branch for the commits
https://github.com/drac98/rtems-libbsd/commits/usb-cdce
Patch for 6-freebsd-12 branch
https://github.com/drac98/rtems-libbsd/commits/usb-cdce12
Husni Faiz (5):
usb_template:Import CDC Ethernet
usb_template: Configure template driver only for CDC Ethernet
nexus-devices: Include CDC Ethernet for Beagle
libbsd.py: add usb template files
create-kernel-namespace for USB Template driver
buildset/default.ini | 1 +
buildset/minimal.ini | 3 +-
freebsd/sys/dev/usb/template/usb_template.c | 1493 +++++++++++++++++
freebsd/sys/dev/usb/template/usb_template.h | 130 ++
.../sys/dev/usb/template/usb_template_cdce.c | 355 ++++
freebsd/sys/dev/usb/usb_device.c | 8 +-
libbsd.py | 25 +
rtemsbsd/include/bsp/nexus-devices.h | 5 +
.../machine/rtems-bsd-kernel-namespace.h | 5 +
.../include/machine/rtems-bsd-nexus-bus.h | 19 +
10 files changed, 2041 insertions(+), 3 deletions(-)
create mode 100644 freebsd/sys/dev/usb/template/usb_template.c
create mode 100644 freebsd/sys/dev/usb/template/usb_template.h
create mode 100644 freebsd/sys/dev/usb/template/usb_template_cdce.c
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel