XB+Ubuntu: No Root & Initializing XB without Reboot
Posted:
Hello,
I'm working on a science project with the Xillybus for PCIe.
It's an Altera Stratix IV / Terasic DE4 running under Ubuntu 14.04 LTS.
Principally everything works fine: Reading, writing, the whole communication process. Satisfying as advertised!
I have two questions though:
1. I need root privileges to open or write to the xillybus files.
Is there any way to not need root for that?
Not only development, but also later the user experience would profit highly.
2. When I flash the fpga, I have to reboot the host to use the Xillybus again.
Is there a way to like "reinitialise pcie & xillybus" without rebooting? That would save me an enormous amount of time!
(I tried to unload and reload the kernel modules xillybus_pcie and xillybus_core, but that won't do the trick.)
Thanks and regards
Andreas
I'm working on a science project with the Xillybus for PCIe.
It's an Altera Stratix IV / Terasic DE4 running under Ubuntu 14.04 LTS.
Principally everything works fine: Reading, writing, the whole communication process. Satisfying as advertised!
I have two questions though:
1. I need root privileges to open or write to the xillybus files.
Is there any way to not need root for that?
Not only development, but also later the user experience would profit highly.
2. When I flash the fpga, I have to reboot the host to use the Xillybus again.
Is there a way to like "reinitialise pcie & xillybus" without rebooting? That would save me an enormous amount of time!
(I tried to unload and reload the kernel modules xillybus_pcie and xillybus_core, but that won't do the trick.)
Thanks and regards
Andreas