summaryrefslogtreecommitdiffstats
path: root/user/bsps/arm
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-23 15:11:52 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-06-01 14:40:20 +0200
commit9f431e7ebc6a8acf44c89f200974c658ebc1b27b (patch)
treeddb5e1d4ecda0d894c676862a4891accc68cb9d7 /user/bsps/arm
parentuser/bsps/arm: improve stm32h7 BSP description (diff)
downloadrtems-docs-9f431e7ebc6a8acf44c89f200974c658ebc1b27b.tar.bz2
user: Document Zynq network
Content is from rtems-libbsd/libbsd.txt with minor modifications.
Diffstat (limited to 'user/bsps/arm')
-rw-r--r--user/bsps/arm/xilinx-zynq.rst18
1 files changed, 17 insertions, 1 deletions
diff --git a/user/bsps/arm/xilinx-zynq.rst b/user/bsps/arm/xilinx-zynq.rst
index 29f9cb0..0ac4487 100644
--- a/user/bsps/arm/xilinx-zynq.rst
+++ b/user/bsps/arm/xilinx-zynq.rst
@@ -1,6 +1,6 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
-.. Copyright (C) 2020 Chris Johns (chrisj@rtems.org)
+.. Copyright (C) 2015, 2020 Chris Johns (chrisj@rtems.org)
xilinx-zynq
===========
@@ -49,6 +49,22 @@ tools or a bootloader will be overwritten.
The settings for the console driver can be changed by the user
application through the termios API afterwards.
+Network
+-------
+
+The Cadence network interface driver of LibBSD works on the Xilinx Zynq
+platform. The hardware checksum support works on real hardware but does not
+seem to be supported on Qemu therefore the default state is to disable
+``IFCAP_TXCSUM`` and ``IFCAP_RXCSUM`` and this can be enabled from the shell
+with:
+
+.. code-block:: none
+
+ ifconfig cgem0 rxcsum txcsum
+
+or with an ``ioctl()`` call to the network interface driver with ``SIOCSIFCAP``
+and the mask ``IFCAP_TXCSUM`` and ``IFCAP_RXCSUM`` set.
+
Debugging with xilinx_zynq_a9_qemu
----------------------------------