systemctlm-cosim-demo
systemctlm-cosim-demo copied to clipboard
PL memory blocks doesnot work
I tried to implement the whole tutorial with following steps. So far I was been able to connect the petalinux qemu with system c socket and I can boot the os in linux. But I couldnot read the values of the IPs that was included in the hardware design by calling devmem command. Could you guide me on emulating PL side ?
This was my pl.dtsi contents of the petalinux project : This memory addresses is giving wrong values in emulation. /*
- CAUTION: This file is automatically generated by Xilinx.
- Version:
- Today is: Fri Aug 20 18:20:38 2021 */
/ { amba_pl: amba_pl { #address-cells = <1>; #size-cells = <1>; compatible = "simple-bus"; ranges ; apb_wrapper_policy_s_0: apb_wrapper_policy_server@43c00000 { compatible = "xlnx,apb-wrapper-policy-server-1.0"; reg = <0x43c00000 0x10000>; }; apb_wrapper_puf_0: apb_wrapper_puf@43c10000 { compatible = "xlnx,apb-wrapper-puf-1.0"; reg = <0x43c10000 0x10000>; }; apb_wrapper_rsa_0: apb_wrapper_rsa@43c20000 { compatible = "xlnx,apb-wrapper-rsa-1.0"; reg = <0x43c20000 0x10000>; }; apb_wrapper_trng_0: apb_wrapper_trng@43c30000 { compatible = "xlnx,apb-wrapper-trng-1.0"; reg = <0x43c30000 0x10000>; }; }; };
My question is if export the a soc design with several IP block and create a custom petalinux project, can I read the values of this PL side ?