NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
tsal_ has quit [Ping timeout: 264 seconds]
tsal has joined #openocd
erhankur_ has joined #openocd
erhankur has quit [Ping timeout: 256 seconds]
gzlb has quit [Quit: WeeChat 4.3.2]
tsal has quit [Ping timeout: 268 seconds]
tsal has joined #openocd
nerozero has joined #openocd
xantoz has quit [Ping timeout: 256 seconds]
xantoz has joined #openocd
Haohmaru has joined #openocd
Hawk777 has quit [Quit: Leaving.]
MGF_Fabio has joined #openocd
erhankur has joined #openocd
erhankur_ has quit [Ping timeout: 264 seconds]
MGF_Fabio has quit [Ping timeout: 268 seconds]
MGF_Fabio has joined #openocd
joconor has quit [Read error: Connection reset by peer]
joconor has joined #openocd
postal_blab_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
slobodan has joined #openocd
slobodan has quit [Ping timeout: 264 seconds]
rigid has quit [Read error: Connection reset by peer]
rigid has joined #openocd
Steffanx has quit [*.net *.split]
mithro has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
Steffanx has joined #openocd
mithro has joined #openocd
gruetzkopf has joined #openocd
Steffanx has quit [*.net *.split]
mithro has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
gruetzkopf has joined #openocd
Steffanx has joined #openocd
mithro has joined #openocd
gzlb has joined #openocd
gzlb has quit [Read error: Connection reset by peer]
gzlb has joined #openocd
rigid has quit [Ping timeout: 264 seconds]
crabbedhaloablut has quit []
crabbedhaloablut has joined #openocd
eliasph88 has joined #openocd
<eliasph88> Hi, I am currently trying to use the "adapter driver xlnx_pcie_xvc" option, and got stuck with:
<eliasph88> "Error: 19 1 xlnx-pcie-xvc.c:393 xlnx_pcie_xvc_init(): Failed to open device: /sys/bus/pci/devices/0000:09:00.0/config
<eliasph88> Debug: 20 1 command.c:528 exec_command(): Command 'init' failed with error code -100"
<eliasph88> Any suggestions? Can share more info if nedeed but don´t want to spam with more than 2 lines here
<PaulFertser> eliasph88: hi!
<PaulFertser> eliasph88: right, you can use pastebin for more context. But first things first, does /sys/bus/pci/devices/0000:09:00.0/config exist? Do you have permissions to read it?
<eliasph88> Hi, Paul. Thanks for replying
<eliasph88> Yes, I can "edit" /sys/bus/pci/devices/0000:09:00.0/config. Although is not human format
<PaulFertser> eliasph88: and how do you know it's the right device?
<PaulFertser> Please show permissions for that file.
<eliasph88> certainly
<eliasph88> -rw-r--r-- 1 root root 4096 jun 18 16:08 config
<PaulFertser> OK, and are you running OpenOCD as root?
<eliasph88> no
<eliasph88> make sense only OpenOCD as root can red the config file according to the permissions
<eliasph88> right?
<PaulFertser> Yes
<eliasph88> Thanks
<PaulFertser> open(filename, O_RDWR | O_SYNC);
<eliasph88> A lot!
<PaulFertser> And it needs WR so
<eliasph88> Perfect, I will try so. Thanks again!
<PaulFertser> Welcome :)
<Haohmaru> don't run it as root if possible
<eliasph88> ok
<eliasph88> will change the permissions to my user and chmod +w
<PaulFertser> Haohmaru: you think one can change permissions of that config file on sysfs? I'm not so sure.
<Haohmaru> i don't know, but for like USB devices, on some distributions there are ways to give yourself permission without running the whole program as root
<Haohmaru> so i thought... ^^^
<Haohmaru> i guess this ain't usb, so no clue
rigid has joined #openocd
zmatt has quit [Read error: Connection reset by peer]
eliasph88 has quit [Quit: Client closed]
Haohmaru has quit [Quit: saionara]
zmatt has joined #openocd
MGF_Fabio has quit [Ping timeout: 256 seconds]
nerozero has quit [Ping timeout: 260 seconds]
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd