cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bhavinlapasia
Adventurer
Adventurer
338 Views
Registered: ‎05-18-2018

PL programming error v2018.3. /dev/xdevcfg device not found

Hi,

I am using 2018.3 Vivado and petalinux. Using SDK, I am trying to run my custom application and program the PL (after boot). In SDK application itself, the programming part has been included.

int xdevcfg_fd = open(/dev/xdevcfg,O_WRONLY);

When I try to open the device xdevcfg in above line, it gives me error saying

No such device or address
Please run "mknod /dev/xdevcfg c 259 0"

 I have checked few other forum posts and checked that in petalinux kernel settings enabled the FPGA configuration. My device tree zynq-7000.dtsi has following entry 

devcfg: devcfg@F8007000 {
........ };

Earlier when I used 2015.4, it used to work seamlessly. Please let me know if there are any settings that needs to be additionally enabled. Let me know if any more details regarding this are required.

 

Thanks

0 Kudos
0 Replies