Skip to content

Run openamp echo test program fail in vek280 #85

Description

@yybingyybing

Hello,
We use the example dtsi for echo test,when run the echo_linux_test in vek 280, get fail message as follow:
root@xilinx-vek280-20251:~# ./echo_linux_test
CLIENT> ****** libmetal demo: shared memory ******
metal: error: metal_uio_dev_open:169 device platform:3ed80000.shm not found
metal: error: metal_uio_dev_open:169 device platform:3ed80000.shm not found
CLIENT> ERROR: Failed to open device 3ed80000.shm.
CLIENT> ERROR: shared memory demo failed

We try two dtsi config as follow, get the same error.
1:
amba {
vring: vring@0 {
compatible = "generic-uio";
reg = <0x0 0x3ed40000 0x0 0x4000>;
};
shm0: shm@0 {
compatible = "generic-uio";
reg = <0x0 0x3ed48000 0x0 0x0100000>;
};
ipi0: ipi@0 {
compatible = "generic-uio";
reg = <0x0 0xff360000 0x0 0x20>;
interrupt-parent = <&gic>;
interrupts = <0 33 4>;
};
};
2:
amba {
vring: vring@0 {
compatible = "vring_uio";
reg = <0x0 0x3ed40000 0x0 0x40000>;
};
shm0: shm@0 {
compatible = "shm_uio";
reg = <0x0 0x3ed20000 0x0 0x0100000>;
};
ipi0: ipi@0 {
compatible = "ipi_uio";
reg = <0x0 0xff340000 0x0 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 29 4>;
};
};

Could any one give our any suggestion ?
Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions