Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Device tree

Code Block
themeDJango
//Reference node for xilinx-spi for vcu118
axi_quad_spi@44a00000 {
	bits-per-word = <8>;
	compatible = "xlnx,axi-quad-spi-3.2", "xlnx,xps-spi-2.00.a";
	fifo-size = <256>;
	num-cs = <0x2>;
	reg = <0x44a00000 0x10000>;
	xlnx,spi-mode = <2>;
};

Test procedure

Code Block
themeDJango
Zynq>U-Boot> sf probe
SF: Deteced s25fl064l with page size 256 Bytes, erase size 64 KiB, total 8 MiB
Zynq>U-Boot> sf erase 0 100000
SF: 1048576 bytes @ 0x0 Erased: OK
Zynq>U-Boot> mw.b 100000 ab 100000
Zynq>U-Boot> sf write 100000 0 100000
device 0 offset 0x0, size 0x100000
SF: 1048576 bytes @ 0x0 Written: OK
Zynq>U-Boot> sf read 200000 0 100000
device 0 offset 0x0, size 0x100000
SF: 1048576 bytes @ 0x0 Read: OK
Zynq>U-Boot> cmp.b 100000 200000 100000
Total of 1048576 byte(s) were the same

...