OSLL / ntb-cxl

NTB/CXL Bridge
MIT License
4 stars 0 forks source link

Check MSI interrupts for RISC-V #36

Open mirrin00 opened 1 year ago

mirrin00 commented 1 year ago
mirrin00 commented 1 year ago

Останавливается после после загрузки OpenSBI и находится в вечном ожмдании (т.е. в выводе ничего не происходит). Логи:

OpenSBI v1.1
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : riscv-virtio,qemu
Platform Features         : medeleg
Platform HART Count       : 4
Platform IPI Device       : aia-imsic
Platform Timer Device     : aclint-mtimer @ 10000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform Reboot Device    : sifive_test
Platform Shutdown Device  : sifive_test
Firmware Base             : 0x80000000
Firmware Size             : 300 KB
Runtime SBI Version       : 1.0

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*,1*,2*,3*
Domain0 Region00          : 0x0000000024000000-0x0000000024003fff (I)
Domain0 Region01          : 0x000000000c000000-0x000000000c007fff (I)
Domain0 Region02          : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region03          : 0x0000000080000000-0x000000008007ffff ()
Domain0 Region04          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080200000
Domain0 Next Arg1         : 0x0000000082200000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART Priv Version    : v1.12
Boot HART Base ISA        : rv64imafdch
Boot HART ISA Extensions  : time,aia,sstc
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 54
Boot HART MHPM Count      : 16
Boot HART MIDELEG         : 0x0000000000001666
Boot HART MEDELEG         : 0x0000000000f0b509

Нужно пересобирать с debug символами и при помощи gdb смотреть в чём проблема