We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Visitor polosatiy
Registered: ‎03-04-2015

Accessing PL AXI QSPI core in Linux on zc702



Im trying to get access to AXI QSPI core and its drivers in Linux.

The problem is that i cant find it in /sys/ or in /dev/ and i have no idea vhere to look else and how to debug this.


Tools: Vivado+SDK 2014.4.

Board: zc702.


Design flow:

Hardware project in Vivado includes Zynq PS with SD0 for booting from SD card, UART1, and single AXI QSPI core. 

Vivado's Chipscope and standalone sw project shows that AXI QSPI core works fine.


zynq2.pngNext, I prepare SD card for boot:

BOOT creation flow:

1) Linux used is http://www.wiki.xilinx.com/Zynq+2014.4+Release

2) FSBL is generated by SDK with -DFSBL_DEBUG_INFO flag.

3) BOOT.bin is also generated by SDK and includes FSBL from previous step, bitstream (exported from Vivado to SDK), and U-boot.elf from Linux release.

4) Device-tree is also generated by SDK. Default section about qspi is added in the end of dts:

	amba_pl {
		#address-cells = <0x1>;
		#size-cells = <0x1>;
		compatible = "simple-bus";

		axi_quad_spi@41e00000 {
			compatible = "xlnx,xps-spi-2.00.a";
			num-cs = <0x1>;
			reg = <0x41e00000 0x10000>;

5) SD card contains: boot.bin, devicetree.dtb, uImage, uramdisk.image.

6) Bootlog passes with no messages about AXI QSPI and its addresses, but Linux boots.

What am i doing wrong?




0 Kudos
1 Reply
Observer kevin.jesse
Registered: ‎02-16-2015

Re: Accessing PL AXI QSPI core in Linux on zc702

My issue is I can't get a valid read from a fifo in PL. I had it working once not adding to the device tree. Your solution could help me too.

0 Kudos