creating a output register/interrup from PL to arm processor

Using Zynq Programmable Logic and Xilinx tools to create custom board configurations

Re: creating a output register/interrup from PL to arm proce

Postby cpantel » Sun Oct 28, 2018 8:57 pm

Hi dipin

do you remember which distro/kernel worked for you? The accelerator example opens /dev/epiphany this way

int mem_fd = -1;
//############################################
//# Map Memory Using Generic Epiphany driver
//############################################
int e_map(unsigned addr, void **ptr, unsigned *offset) {
...
//Open /dev/mem file if not already
if(mem_fd < 1) {
mem_fd = open ("/dev/epiphany", O_RDWR);
if (mem_fd < 1) {
perror("f_map");
return -1;
}
}

but in these distros

parabuntu-2016.11.1-headless-z7010.img
ubuntu-15.04-esdk-2016.3-headless-z7010.img

/dev/epiphany is a folder with some content:

elink0
mesh0


I could not make work this one yet:
ubuntu-14.04-headless-z7010-20150130.1.img


Any hints?
cpantel
 
Posts: 9
Joined: Sat Sep 01, 2018 5:47 pm

Re: creating a output register/interrup from PL to arm proce

Postby cpantel » Wed Nov 07, 2018 12:01 am

cpantel
 
Posts: 9
Joined: Sat Sep 01, 2018 5:47 pm

Previous

Return to FPGA Design

Who is online

Users browsing this forum: No registered users and 2 guests

cron