Quantcast
Channel: Xilinx Wiki : Xilinx Wiki - all changes
Viewing all 11776 articles
Browse latest View live

Linux AXI Ethernet driver

$
0
0
...
};
};
...
configured with MCDMAMCDMA, The driver supports
Driver supports random Queue/Channel selection.
...
don't want linuxLinux driver to use
Then need to do below changes in the mac device-tree node
...
and 10 for linuxwith Linux driver purpose and rest of the channelschannel for his
Need to modify below properties in the device-tree for MAC node
xlnx,num-queues = <0x3>;

AXI MCDMA Standalone Driver

$
0
0

Page is under development...

AXI Ethernet Standalone Driver

$
0
0
...
Support for AXI DMA Ethernet based designs
Support for Axi Ethernet FIFO based designs
Support for Axi MCDMA Ethernet based designs
Supports different Speeds 10/100/1000 Mbps
Supports Partial/Full Check sum offloading

Baremetal Drivers and Libraries

$
0
0
...
axicdma
Zynq, ZynqMP, Microblaze
To be updatedAXI CDMA Standalone Driver
axicdma
AXI dma
...
emaclite
Zynq, ZynqMP, Microblaze
To be updatedEmaclite Standalone Driver
emaclite
AXI gpio controller
...
llfifo
Zynq, ZynqMP, Microblaze
To be updatedFIFO Standalone Driver
llfifo
Mutex

ZynqMp USB Stadalone Driver

$
0
0
...
Changed usbpsu.mdd file to be in sync with pcw IP_NAME property
Corrected MISRA C errors
2017.2:
NONE
2017.3:
Added Cache Coherency (CCI) suuport to USB

TEST CASES
Mass storage profile can be tested by compiling xusbpsu_ch9_storage.c , xusbpsu_ch9_storage.h , xusbpsu_ch9.c , xusbpsu_ch9.h , xusbpsu_class_storage.c , xusbpsu_class_storage.h , xusbpsu_intr_example.c
...
The below gives the testing procedure of zynqmp USB standalone example which operates as a mass storage gadget
PERIPHERAL MODE-USB 2.0 PHERIPHERAL MODE-Testing procedureTesting procedure
For generating USB3.0 mass storage example ELF, please add “XUSBPSU_SUPER_SPEED” in xsdk C/C++ build setting , compile it and generate elf
Download and run the generated USB 3.0 example ELF on board
Debug prints you can see on com port(Teraterm/putty)

ZynqMp USB Stadalone Driver

$
0
0
...
Changed usbpsu.mdd file to be in sync with pcw IP_NAME property
Corrected MISRA C errors
2017.2:2017.2
NONE
2017.3:2017.3
Added Cache Coherency (CCI) suuport to USB
TEST CASES

SATA

$
0
0
...
md5sum /tmp/data /tmp/data1
(sha values reported by md5sum should be equal for data and data1 files
Change Log for 2016.3Log:
2016.3

None
Change Log for 2016.42016.4
NONE
Change Log for 2017.12017.1
Added CCI support in SATA if "dma-coherent" flag is enabled in device-tree node ( 69dcb783437853d3aaafc )
Corrected the sequence of AXI bus configuration register programming ( 69dcb783437853d3aaa )
Added Common Clock Framework for SATA
Change Log for 2017.22017.2
None
RELATED LINKS

SATA

$
0
0
...
NONE
2017.1
...
node ( 69dcb783437853d3aaafc1815f189e9768e9 )
Corrected the sequence of AXI bus configuration register programming ( 69dcb783437853d3aaa )
Added Common Clock Framework for SATA
2017.2
None
2017.3
Corrected suspend/resume logic for SATA ( a8e3bfa8c817d4f9 )
Added SMMU support for SATA IP ( 398aae32580884 )

RELATED LINKS
Linux Device Drivers

SATA

$
0
0
...
md5sum /tmp/data /tmp/data1
(sha values reported by md5sum should be equal for data and data1 files
Performance test Tools:
hdparm
Use petalinux apps setup and edit makefile to install app into rootfs.
Download - http://sourceforge.net/projects/hdparm/
Performance Results:
These below tests are performed using hdparm tool on Samsung SSD 850 EVO 120GB drive
Timing cached reads: 2264 MB in 2.00 seconds = 1132.50 MB/sec
Timing buffered disk reads: 1366 MB in 3.00 seconds = 455.02 MB/sec

Change Log:
2016.3

SATA

$
0
0
...
Download - http://sourceforge.net/projects/hdparm/
Performance Results:
...
120GB drive
Timing cached reads: 2264 MB in 2.00 seconds = 1132.50 MB/sec
Timing buffered disk reads: 1366 MB in 3.00 seconds = 455.02 MB/sec

Zynq Linux USB Device Driver

$
0
0
...
None
CHANGE LOG for 2017.2
None
CHANGE LOG for 2017.3

None
Related Links

ZynqMp USB Stadalone Driver

$
0
0
...
After format complete you can copy file to usb device
{image2016-6-1 15-58-57.png}
Performance Results
The below performance results are observed using CrystalDiskMark tool on windows
{Img1.png}

USB 3.0 PHERIPHERAL MODE
The below gives the testing procedure of zynqmp USB standalone example which operates as a mass storage gadget
...
After format complete you can copy file to usb device
{image2016-6-1 15-58-57.png}
PERIPHERAL MODE-USB 2.0 PHERIPHERAL MODE-Testing procedurePerformance Results:
The below performance results are observed using CrystalDiskMark tool on windows
{Img3.png}

USB DFU TESTING:
The below gives the testing procedure of zynqmp USB DFU example

Zynq Ultrascale MPSOC Linux USB device driver

$
0
0
...
[84944.309725] sda:
[84944.312888] sd 1:0:0:0: [sda] Attached SCSI removable disk
Performance Results:
Mass Storage
Device used :
USB 3.0 : HP USB 3.0 16 GB pendrive (idVendor=03f0, idProduct=4840)
USB 2.0 : Sandisk Cruzer Blade USB 2.0 8 GB Pendrive (idVendor=0781, idProduct=5567)
HDPARM tool :
Mode
Speed
USB 3.0 (Super Speed)
126.20 MB/sec
USB 2.0 (High Speed)
25.48 MB/sec
Note : Above results may vary from device to device
Ethernet
Device used :
USB 3.0/2.0 : Xilinx ZynqMP RNDIS/Ethernet Gadget
iperf tool (TCP) :
Mode
Speed
USB 3.0 (Super Speed)
761.6 Mbits/sec
USB 2.0 (High Speed)
467.2 Mbits/sec
iperf tool (UDP) :
Mode
Speed
USB 3.0 (Super Speed)
761.6 Mbits/sec
USB 2.0 (High Speed)
467.2 Mbits/sec
Note : The above results are taken with LPM mode disabled

PERIPHERAL MODE
ZCU102 jumper settings for peripheral mode

Zynq Ultrascale MPSOC Linux USB device driver

$
0
0
...
[84944.312888] sd 1:0:0:0: [sda] Attached SCSI removable disk
Performance Results:
Mass StorageMASS STORAGE
Device used :
USB 3.0 : HP USB 3.0 16 GB pendrive (idVendor=03f0, idProduct=4840)

Zynq Ultrascale MPSOC Linux USB device driver

$
0
0
...
The board will be detected as mass storage drive with size 256 MB.
Copy some files into the mass storage drive , remove the cable and connect it again. We should be able to see the files that we copied into the drive.
Performance Results
HDPARM tool (Linux Host)
Link Power Management (LPM) mode Enable
Mode
Speed
USB 3.0 (Super Speed)
127.18 MB/sec
USB 2.0 (High Speed)
38.82 MB/sec
Link Power Management (LPM) mode Disable:
Mode
Speed
USB 3.0 (Super Speed)
204.71 MB/sec
USB 2.0 (High Speed)
38.47 MB/sec

ETHERNET GADGET
Kernel Configuration Settings

Zynq Ultrascale MPSOC Linux USB device driver

$
0
0
...
The board will be detected as mass storage drive with size 256 MB.
Copy some files into the mass storage drive , remove the cable and connect it again. We should be able to see the files that we copied into the drive.
Performance ResultsResults:
HDPARM tool (Linux Host)
Link Power Management (LPM) mode Enable
...
USB 2.0 (High Speed)
38.82 MB/sec
...
mode Disable:
Mode
Speed
...
Expected Output:
{image2016-8-25 18-30-40.png}
Performance Results:
iperf tool (TCP) :
Mode
Speed
USB 3.0 (Super Speed)
761.6 Mbits/sec
USB 2.0 (High Speed)
467.2 Mbits/sec
iperf tool (UDP) :
Mode
Speed
USB 3.0 (Super Speed)
761.6 Mbits/sec
USB 2.0 (High Speed)
467.2 Mbits/sec

OTG MODE
Using the correct cables is the key to OTG operation. Testing was done using two cables joined together to create an OTG cable. An OTG cable has a micro A connector on one end and a micro B connector on the other end. The micro A connector is the host side of the cable and the micro B connector is the device side by default.

img4.PNG

img5.PNG

img6.PNG

img7.PNG

Viewing all 11776 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>