SAMV7 EMAC: Fix alignment issue: RX buffers need to be invalidated. This means the alignment of buffers must be at least to the data cache line size at both ends of the buffer

This commit is contained in:
Gregory Nutt
2015-03-28 13:09:01 -06:00
parent bbeca4a91c
commit 3a93955fb3
2 changed files with 5 additions and 12 deletions
+3 -10
View File
@@ -88,14 +88,8 @@ The BASIC nsh configuration is fully function (as desribed below under
So there is still plenty to be done. So there is still plenty to be done.
6. There is a port of the SAMA5D4-EK Ethernet driver to the SAMV71-XULT. 6. There is a port of the SAMA5D4-EK Ethernet driver to the SAMV71-XULT.
Some basic functionality is present, but there are issues: Some basic functionality is present, but there is at least one issue:
The driver does not yet work I- and D-Caches enabled.
- There is a compiler optimization problem. At -O2, there is odd
behavior on pings and ARP messages. But the behavior is OK with
optimization disabled. This is clearly a compiler issue, but I
will need eventually to find something better than -O0.
- The driver has not been tested with I- and D-Caches enabled. There
are likely issues in that configuration.
7. The USBHS device controller driver (DCD) is complete but non-functional. 7. The USBHS device controller driver (DCD) is complete but non-functional.
At this point, work has stopped because I am stuck. The problem is that At this point, work has stopped because I am stuck. The problem is that
@@ -802,8 +796,7 @@ Configuration sub-directories
long, perhaps minutes, if the network cable is not connected! long, perhaps minutes, if the network cable is not connected!
If fast boot times are required, you need to perform asynchronous If fast boot times are required, you need to perform asynchronous
network initialization as described about under "Network Initialization network initialization as described under "Network Initialization Thread"
Thread"
5. SDRAM is NOT enabled in this configuration. 5. SDRAM is NOT enabled in this configuration.
+1 -1
View File
@@ -751,7 +751,7 @@ CONFIG_IOB_NCHAINS=8
CONFIG_IOB_THROTTLE=8 CONFIG_IOB_THROTTLE=8
# CONFIG_NET_ARCH_INCR32 is not set # CONFIG_NET_ARCH_INCR32 is not set
# CONFIG_NET_ARCH_CHKSUM is not set # CONFIG_NET_ARCH_CHKSUM is not set
# CONFIG_NET_STATISTICS is not set CONFIG_NET_STATISTICS=y
# #
# Routing Table Configuration # Routing Table Configuration