Closed stefanberger closed 4 months ago
Thanks for the report. Can you give us the actual values you have configured in WDOG_BARK_THOLD
and WDOG_BITE_THOLD
?
Thanks for the report. Can you give us the actual values you have configured in
WDOG_BARK_THOLD
andWDOG_BITE_THOLD
?
# define AON_TIMER_FREQUENCY 62500000
[...]
unsigned int *wdog_bark_thold = (unsigned int *)(AON_TIMER_BASE + 0x18);
unsigned int *wdog_bite_thold = (unsigned int *)(AON_TIMER_BASE + 0x1c);
*wdog_bark_thold = (AON_TIMER_FREQUENCY * 5) / 10; // update every 0.5s
*wdog_bite_thold = (AON_TIMER_FREQUENCY * 7) / 10;
Should be fixed in https://github.com/lowRISC/qemu/pull/67
Should be fixed in #67
Yes, it works now.
I noticed there was not bite after the bark by the AON_TIMER. The following experimental patch fixed it for me.