Melkhior has quit [Read error: Connection reset by peer]
Melkhior has joined #litex
alainlou has quit [Quit: Client closed]
<DerekKozel[m]>
vomoniyi: Do you see the board with the litepcie_util info command or in the dmesg log when the kernel module loads? Or is it always the Unsupported device 255 error?
<DerekKozel[m]>
A way of checking if the FPGA board is seen at all is to run `lspci` and check for an entry for:
<DerekKozel[m]>
_florent_: I was just looking back at the reference bitstream you sent and realized that you said you load the FPGA, then reboot the computer. Doesn't that clear the bitstream?
<tpb>
Title: #litex on 2021-07-29 — irc logs at whitequark.org (at libera.irclog.whitequark.org)
<tnt>
DerekKozel[m]: Why would it clear the bitstream ? Board should stay powered.
alainlou has joined #litex
<DerekKozel[m]>
Hey tnt. Ah, I was guessing that the board would be power cycled when the computer was. But a reboot I guess preserves the power rails
<tnt>
Well, he said _reboot_, not power cycle.
<tnt>
If you power it off and on ... yeah, it'll clear it.
<DerekKozel[m]>
Ok, that's good to know. I'm slightly surprised that a reboot doesn't toggle the power rails to peripherals, but that's useful.
<DerekKozel[m]>
vomoniyi, I just loaded florent's example image and rebooted. The kernel is now picking up the FPGA after the init.sh script. Try the litepcie_util info command and if that works try the dma test
<vomoniyi[m]>
Derek Kozel: Both commands worked
<DerekKozel[m]>
Ok! Can you try loading a freshly built FPGA image from the latest LiteX, then reboot (run the `reboot` command), and try the init.sh and util tests again? Hopefully it's the reboot step that was missing before.
<vomoniyi[m]>
Yep, it's all working fine again.
cr1901 has joined #litex
cr1901 has quit [Read error: Connection reset by peer]