Hello Chipyard community!
One problem seems to be that the version of screen provided by chipyard's conda environment doesn't seem to... work? I run:
screen -S FPGA_UART_CONSOLE /dev/ttyUSB1 115200
and I instantly get back:
[screen is terminating]
however if I use:
sudo screen -S FPGA_CONSOLE_UART /dev/ttyUSB1 115200
then at least screen stays open. However, I'm getting mangled output. Things like:
|CMD0
ERROR
OpenSBI v0.8
____ _____ ____ _____
/
or
CMD41 |
OpenSBI v0.8
____ _____ ____ _____
/rm Name : freechips,rocketchip-unknown
Platform Features ersion : 0.2
MIDELEG : 0x0000000000000222
MEDELEG : 0x000000
And then the output just stops. Any suggestions? I've tried mashing CPU_RESET, swapping the USB cable, regenerating the SD-card (following instructions
here), reprogramming the bitstream. Still persists. I got the whole OpenSBI logo once, but that seems to have been a fluke and then the system didn't continue. I gave up after fifteen minutes. It looked like this:
LOADING 0x01e00000B PAYLOAD
LOADING
BOOT
OpenSBI v0.8
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : freechips,rocketchip-unknown
Platform Features : timer,mfdeleg
Platform HART Count : 1
Boot HART ID : 0
Boot HART ISA : rv64imafdcsu
BOOT HART Features : pmp,scounteren,mcounteren
BOOT HART PMP Count : 16
Firmware Base : 0x80000000
Firmware Size : 96 KB
Runtime SBI Version : 0.2
MIDELEG : 0x0000000000000222
MEDELEG : 0x000000000000b109
PMP0 : 0x0000000080000000-0x000000008001ffff (A)
PMP1 : 0x0000000000000000-0x00000001ffffffff (A,R,W,X)
I notice upon programming the device that I also have one Vivado error that could be related:
[Xicom 50-38] xicom: CseXsdb_getParameter() - Unknown parameter name 'ddr_cal_status_rank0_10'
Any advice for me? Should I be looking for a new SD card? Is it possible my VCU118 is defective? The self-test seemed fine...
Thank you!
-John Deppe