tillitis / qemu

Fork of https://gitlab.com/qemu-project/qemu
Other
7 stars 3 forks source link

Implement TIMER #2

Closed mchack-work closed 2 years ago

mchack-work commented 2 years ago

Implement the timer in the qemu model of TK1.

According to software.md at least these MMIO addresses:

Also update the software.md table!

mchack-work commented 2 years ago

First stab in branch timer.

No way to reset timer yet. Have to figure out how the TIMER_CTRL works.

Don't know what TIMER_STATUS is for yet, either.

mchack-work commented 2 years ago

For qemu: https://github.com/tillitis/qemu/pull/5

Tests of the timer for testfw: https://github.com/tillitis/tillitis-key1/pull/27

Example hos/device app combo: https://github.com/tillitis/tillitis-key1-apps/pull/11

quite commented 2 years ago

It's done!