name of PL device in driver is hard coded

Description

on some zynq platforms with differnt device trees then the zedboard we get the follloing error during discovery:

root@zynq:~# ocpirun -C
OCPI( 2:9.849): When searching for PL device '0': Can't process file "/sys/devices/amba.2/f8007000.ps7-dev-cfg/prog_done" for string: file could not be open for reading
OCPI( 2:9.849): In HDL Container driver, got PL search error: Can't process file "/sys/devices/amba.2/f8007000.ps7-dev-cfg/prog_done" for string: file could not be open for reading
Available containers:

  1. Model Platform OS OS Version Name
    0 rcc arm linux zynq rcc0

this is caused by the name of the axi(amba) bus being slightly different in the device tree. maybe this should be put in an environment variable??

a workaround for this issue is to go into the device tree and change the name of the bus to the hard coded name.

Environment

None

Assignee

Unassigned

Reporter

chris hinkey

Labels

None

Components

Priority

Minor
Configure