Open PatrickChenHZ opened 1 year ago
Hi @PatrickChenHZ,
I can probably help on this and have the hardware at hand. Can you send attach your bistream + litepcie kernel (including csr.h). I'll do a test to see if it's related to the hardware or to the bistream/software header generation.
I could also share a version working on my setup to do tests on yours.
Thank you so much!
Just wanted to add that I am in the same spot. However, I can add that creating the target directly from litex-boards, I can get litex_term to see the BIOS works fine. I’m going to check whether adding more flags to the AcornPCIE target, when launched from make.py, to correspond to how I ran the script on the command line (e.g. —driver), produces working drivers.
In what may or may not be a coincidence, I’m also using a NUC 10 i7FNH with the Acorn connected via a Thunderbolt bay for the M.2 card.
Did you ever figure this out @PatrickChenHZ ?
Something definitely weird with the Linux-on-litex build, I wonder if it’s something to do with the operational/fallback stuff. In that documented anywhere?
Raw build from the target in litex-boards seems to work reliably, but once flashed with the Linux-on-litex version, the PCIe stuff is sketchy, sometimes the board shuts down completely, with the fan turning off and the led chaser stopping even.
Okay I got it to load in "safe" mode, via litex_term --images=images/boot.json --safe /dev/ttyLXU0
. I also, personally, changed the make.py to not specifically use the fallback bitstream when flashing, since I think that might also have been causing problems?
Hi, I have been stuck on this issue for days where I built the linux for acorn board but cannot connect to bios or upload linux image via litex_term. More specifically my host computer would just lock up/freeze when I try to use litex_term on the virtual UART port created by litex_pcie driver. The driver loaded fine, and litexpcie_util can correctly see FPGA info and do DMA test. I didn't observer any major error when building the bitstream. Sorry I am failing to provide more specific info on where the issue is, because I just straight up don't know. It could be FPGA side or PCIe driver side or litex_term, but there is no error message showed when lock up happens, and it happens every single time. I attached syslog when lockup happens below, hope that will help, since that's all I got.
Board:Acorn_CLE215 Project:linux-on-litex-vexriscv Build command used:
./make.py --board=acorn_pcie --build --flash
System lock up when executing:litex_term /dev/ttyLXU0
orlitex_term --image wheremyimageis /dev/ttyLXU0
Host operating system ubuntu 22.04 (also tried on different computer with ubuntu 18.04 same result) Host computer: Intel NUC PCIe Connection: Thunderbolt3 (also tried directly attach to motherboard with same result)syslog when computer crashed:
Thank you!