Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check MSI interrupts for RISC-V #36

Open
mirrin00 opened this issue Jul 3, 2023 · 1 comment
Open

Check MSI interrupts for RISC-V #36

mirrin00 opened this issue Jul 3, 2023 · 1 comment
Assignees
Labels
arch_riscv kernel Task related to kernel

Comments

@mirrin00
Copy link
Collaborator

mirrin00 commented Jul 3, 2023

@mirrin00 mirrin00 self-assigned this Jul 3, 2023
@mirrin00
Copy link
Collaborator Author

mirrin00 commented Jul 4, 2023

Останавливается после после загрузки 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 смотреть в чём проблема

@mirrin00 mirrin00 added kernel Task related to kernel arch_riscv labels Jul 10, 2023
@AndrewGavril AndrewGavril changed the title Проверить MSI прерывания для RISC-V Check MSI interrupts for RISC-V Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch_riscv kernel Task related to kernel
Projects
None yet
Development

No branches or pull requests

1 participant