Hello,
Finally, I closed my eyes and zen picked a commit near master that just worked (258cda9). Then, kind of bisected (70a6f14,2f91330, fbfe559, afccd4a, ee2e234) towards master until the the last working commit (afccd4a).
It seem ok till now.
1) First question:
when I tried the xdevcfg method, it seems to timeout
cat parallella.bit.bin > /dev/xdevcfg
cdns-i2c e0004000.i2c: timeout waiting on completion
cdns-i2c e0004000.i2c: timeout waiting on completion
cdns-i2c e0004000.i2c: timeout waiting on completion
...
it is normal? I left it two minutes, I do not think so.
2) I burned the bitstream in the BOOT partition, compiled driver.c and test.c ok, but when run, it fails:
f_map: No such file or directory
Segmentation fault
when tries to open /dev/epiphany, that does not exist.
[driver.c]
//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;
}
}
I saw
viewtopic.php?f=48&t=1528, but it seems to old (2014), it should've failed with the 15 minutes example (2016-2017)
My uname -a:
Linux parallella 4.6.0+ #1 SMP PREEMPT Wed Dec 7 13:27:40 CET 2016 armv7l armv7l armv7l GNU/Linux
Any hints or advice?