riscv-software-src / opensbi

RISC-V Open Source Supervisor Binary Interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timer interrupt is not working with MangoPi (T-Head C906)

X547 opened this issue · comments

commented

sbi_set_timer() seems have no effect and do not trigger timer interrupt.

OpenSBI v1.2 is used from GitHub binary release (fw_dynamic.bin) with u-boot (mangopi_mq_pro_defconfig).

https://mangopi.org/mqpro

CC: @Icenowy

commented

Not an OpenSBI issue. The problem is missing CLINT entry in FDT that I used (https://github.com/smaeul/u-boot/tree/d1-wip). SBI timer become functional after manually adding CLINT FDT definition.