参考
ug1082
使用
SW6配置启动方式,
网口使用GEM3,PHY地址0xc,PHY芯片TI DP83867IRPAP。
PS-GTR使用I2C GPIO TCA6416A来切换
PS-GTR的时钟来自于SI5341B,PS I2C1/PL I2C1/MSP430可控置,
J162用于PCIe EP的热插拔发现,Root模式不使用,接5-6,
启动
使用SD卡启动比较方便,Win10手动选择FAT32,拷贝BOOT.BIN和image.ub文件。
sata
没有使能dma-coherent
,axi-cache
特性,
root@zynqmp:~# blk_benchmark -r /dev/sda2 -s 0x1000000 -l 0x400000
speed: 307.69MB/s, cost times: 13ms
root@zynqmp:~# blk_benchmark -r /dev/sda2 -s 0x1000000 -l 0x400000 -c 16
speed: 316.83MB/s, cost times: 202ms
root@zynqmp:~# blk_benchmark -r /dev/sda2 -s 0x1000000 -l 0x400000 -c 128
speed: 328.84MB/s, cost times: 1557ms
root@zynqmp:~# blk_benchmark -w /dev/sda2 -s 0x1000000 -l 0x400000 -c 128
speed: 249.51MB/s, cost times: 2052ms
root@zynqmp:~# blk_benchmark -w /dev/sda2 -s 0x1000000 -l 0x400000 -c 256
speed: 265.42MB/s, cost times: 3858ms
root@zynqmp:~# blk_benchmark -r /dev/sda2 -s 0x1000000 -l 0x400000 -c 256
speed: 318.51MB/s, cost times: 3215ms
NVMe
PCIe 2.0 x1时带宽和sata一样,PCIe 2.0 x4带宽,读带宽比写大这么多?
root@zynqmp:~# lspci -tv
-[0000:00]---00.0-[01-0c]----00.0 Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
root@zynqmp:~# blk_benchmark -r /dev/nvme0n1 -s 0x1000000 -l 0x400000 -c 128
speed: 1340.31MB/s, cost times: 382ms
root@zynqmp:~# blk_benchmark -w /dev/nvme0n1 -s 0x1000000 -l 0x400000 -c 128
speed: 425.96MB/s, cost times: 1202ms