Hello,
We are using a Zedboard with Xilinx Linux and Vivado 2016.3 SDK. We allocated a BRAM in the PL side and then try to access the BRAM in PS.
The BRAM in PL:
axi_bram_ctrl_0: axi_bram_ctrl@40000000 {
compatible = "xlnx,axi-bram-ctrl-4.0";
reg = <0x40000000 0x2000>;
xlnx,bram-addr-width = <0xb>;
xlnx,bram-inst-mode = "EXTERNAL";
xlnx,ecc = <0x0>;
xlnx,ecc-onoff-reset-value = <0x0>;
xlnx,ecc-type = <0x0>;
xlnx,fault-inject = <0x0>;
xlnx,memory-depth = <0x800>;
xlnx,s-axi-ctrl-addr-width = <0x20>;
xlnx,s-axi-ctrl-data-width = <0x20>;
xlnx,s-axi-id-width = <0xc>;
xlnx,s-axi-supports-narrow-burst = <0x0>;
xlnx,select-xpm = <0x0>;
xlnx,single-port-bram = <0x1>;
};
And after the zedboard boot, when I try to access the BRAM address with:
"devmem 0x40000000 w" the Linux system hangs. However, when I tried with "devmem 0xe0001000 w" (the serial port), Linux system returns successfully. Look forward to any suggestions. Thank you.
Regards,
Eric