參考
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