mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
SAMV7/Cortex-M7: Add support for write through D-Cache. SAMV7 Ethernet look like it needs this
This commit is contained in:
@@ -105,6 +105,12 @@ The BASIC nsh configuration is fully function (as desribed below under
|
|||||||
At -O2, many packets can be exchanged but eventually there is a
|
At -O2, many packets can be exchanged but eventually there is a
|
||||||
hardfault, presumably because of a misdirected DMA.
|
hardfault, presumably because of a misdirected DMA.
|
||||||
|
|
||||||
|
I have no hard evidence, but I believe that the nature of the problem
|
||||||
|
related to fact that each descriptor in the arrays are 8-bytes each,
|
||||||
|
but cache operations are performed on 32-byte memory chunks. So it is
|
||||||
|
impossible to clean or invalidate a single descriptor without also
|
||||||
|
cleaning or invalidaing adjacent descriptors.
|
||||||
|
|
||||||
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
|
||||||
bus events are not occurring: Nothing is detected by the USBHS when the
|
bus events are not occurring: Nothing is detected by the USBHS when the
|
||||||
@@ -117,9 +123,7 @@ The BASIC nsh configuration is fully function (as desribed below under
|
|||||||
sample code and study of the data sheet, but I have not found the key to
|
sample code and study of the data sheet, but I have not found the key to
|
||||||
solving this.
|
solving this.
|
||||||
|
|
||||||
- I need to try this as -O2 optimization as well.
|
+nmnmSerial Console
|
||||||
|
|
||||||
Serial Console
|
|
||||||
==============
|
==============
|
||||||
|
|
||||||
The SAMV71-XULT has no on-board RS-232 drivers so it will be necessary to
|
The SAMV71-XULT has no on-board RS-232 drivers so it will be necessary to
|
||||||
@@ -767,6 +771,12 @@ NOTES:
|
|||||||
System Type -> Toolchain:
|
System Type -> Toolchain:
|
||||||
CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU ARM EABI toolchain
|
CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU ARM EABI toolchain
|
||||||
|
|
||||||
|
NOTE: As of this writing, there are issues with using this tool at
|
||||||
|
the -Os level of optimization. This has not been proven to be a
|
||||||
|
compiler issue (as least not one that might not be fixed with a
|
||||||
|
well placed volatile qualifier). However, in any event, it is
|
||||||
|
recommend that you use not more that -O2 optimization.
|
||||||
|
|
||||||
Configuration sub-directories
|
Configuration sub-directories
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user