mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-11 02:04:11 +00:00
m1n1.setup: Always clear PMU counters
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
b6f358021c
commit
5921631f28
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@ from .proxyutils import *
|
|||
from .sysreg import *
|
||||
from .tgtypes import *
|
||||
from .utils import *
|
||||
from .hw.pmu import PMU
|
||||
|
||||
# Create serial connection
|
||||
iface = UartInterface()
|
||||
|
@ -26,3 +27,5 @@ hv = HV(iface, p, u)
|
|||
fb = u.ba.video.base
|
||||
|
||||
print(f"m1n1 base: 0x{u.base:x}")
|
||||
|
||||
PMU(u).reset_panic_counter()
|
||||
|
|
Loading…
Reference in a new issue