Commit graph

93 commits

Author SHA1 Message Date
Sean Cross
04f1d11c69 emulation: fix interrupt offset for keyboard
This fixes the keyboard interrupt offset to be at 11, rather than 10.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-12 21:26:18 +08:00
bunnie
fe6b417643 checkpoint 2021-05-08 01:13:30 +08:00
bunnie
ab67cf46b2 fix path to renode 2021-05-07 23:43:52 +08:00
bunnie
7dd66a4c18 playback is mostly working and stable 2021-05-07 05:42:39 +08:00
bunnie
d17ae106f1 kernel panic on memory lend 2021-05-05 00:58:48 +08:00
bunnie
a4ca725c2a add a reset to an i2c core 2021-05-03 21:24:37 +08:00
bunnie
0ca2f58c6e add a note to indicate if we're in cold sleep
it's not terribly aesthetic right now, but we can fix that later.
2021-05-02 03:36:54 +08:00
bunnie
b28dff273f intermediate checkin figuring out ticktimer issue
seems to be a hardware problem with the loading routine
2021-05-01 19:13:22 +08:00
bunnie
46fe3885dc cleanup more turds left over during the bringup of suspend/resume 2021-05-01 00:35:32 +08:00
bunnie
bbcf698ff3 flesh out a simple touch-and-go suspend/resume demo loop
now the debuggening begins. lord help us.
2021-04-29 02:56:53 +08:00
bunnie
e481df71da add a resume kicker port for the handoff of bootloader to kernel 2021-04-29 01:05:50 +08:00
bunnie
3153d6aa66 intermediate progress on suspend/resume 2021-04-28 04:15:25 +08:00
bunnie
46741b5162 update fpga description 2021-04-27 21:56:35 +08:00
bunnie
39eb916297 add pre-builds for users who aren't building the FPGA from source 2021-04-27 19:01:20 +08:00
bunnie
f76358e716 Merge branch 'bunnie-dev' 2021-04-27 18:55:57 +08:00
bunnie
6a703def63 commit the latest SVD files and other minor changes 2021-04-27 00:53:08 +08:00
Sean Cross
c96c78e9ef emulation: document how to edit Renode peripherals
Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-25 14:42:28 +08:00
Sean Cross
2202736aad xous-release: remove unimplemented lattice_hip block
Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-25 14:37:27 +08:00
Sean Cross
37fa1d7cc4 emulation: add initial draft of ec
Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-25 14:32:02 +08:00
bunnie
4ecd7c06ac trying to fix renode stuff, but not quite there 2021-04-23 21:49:13 +08:00
bunnie
2b973fa29c check in failing svd file 2021-04-23 18:06:25 +08:00
bunnie
b8be041663 fix renode emulation -- need to figure out why TRNG server location changed 2021-04-23 18:02:03 +08:00
bunnie
4022462144 fix RTC wakeup alarm code 2021-04-23 17:51:12 +08:00
bunnie
6e8bc612f1 update emulation files 2021-04-23 17:09:46 +08:00
Sean Cross
428ccd2e0f emulation: memlcd: add PRESCALER register
This register is not wired to anything.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 17:04:59 +08:00
bunnie
8192c68a63 update emulation files 2021-04-23 14:17:21 +08:00
Sean Cross
4ce311d166 emulation: trng_server: physically reorder the enum
Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 14:15:11 +08:00
Sean Cross
d1b6ad0eb7 emulation: xous-release: silence unimplemented blocks
Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 13:58:40 +08:00
Sean Cross
b19dadd1c6 emulation: trng_server: fix trng register addresses
This swaps the STATUS and DATA registers, which were incorrectly
created.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 13:58:01 +08:00
Sean Cross
560cd696ab emulation: keyboard: implement keyboard driver
This implements a keyboard driver based on the current understanding of
the keyboard server.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 13:57:33 +08:00
Sean Cross
9d9473645b emulation: update betrusted platform file
This updates the memory addresses and attaches the keyboard interrupt.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 13:56:48 +08:00
bunnie
07c20f6285 update to latest SVD 2021-04-23 01:49:31 +08:00
bunnie
084b66a927 update SVD references to latest SoC design (ticktimer/susres) 2021-04-22 18:08:43 +08:00
bunnie
8916f3e6a3 bump to latest soc.svd 2021-04-21 00:02:10 +08:00
bunnie
e5343bceb9 retrofit system to use the new device-based CSR image 2021-04-20 19:27:29 +08:00
bunnie
d807098ed1 more mods for the braille branch 2021-04-16 05:34:08 +08:00
bunnie
ac40075140 add keyboard input via UART 2021-04-16 04:11:25 +08:00
bunnie
024a072a7c absorb WDT fix to eliminate a race condition 2021-04-15 18:40:00 +08:00
bunnie
93400df67c an initial cut at fcc test commands 2021-04-15 04:10:47 +08:00
bunnie
9f4dc8a7b1 add wifi reset opcodes 2021-04-14 22:43:23 +08:00
bunnie
75295485a7 fix RTC callbacks 2021-04-14 02:58:22 +08:00
bunnie
b408882de7 add updated SVD files to track litex changes 2021-04-12 22:42:02 +08:00
bunnie
a9de4782c5 crashing on load when logger is in callback 2021-04-08 23:07:02 +08:00
bunnie
45c90659e5 rtc first draft 2021-04-08 02:30:57 +08:00
bunnie
da7ace04d4 rebuild and prep for testing on hardware 2021-04-04 02:15:46 +08:00
bunnie
ef3653bf36 add updated SVD files for WDT interrupt rev 2021-03-25 02:40:18 +08:00
Sean Cross
0e8c231758 emulation: add description to renode.svd
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-24 08:41:40 +08:00
Sean Cross
f3ed417c7a emulation: xous-release: add more debug examples
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-22 22:23:53 +08:00
Sean Cross
cb5efccdf8 emulation: ticktimer: fix spurious interrupt on init
Due to a race condition, an IRQ was always fired when the timer was
turned on.

Force a recalculation of the IRQ state when the IRQ is turned on to
avoid firing an interrupt when none should fire.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-22 22:23:03 +08:00
bunnie
0e8767aea2 this commit crashes on boot 2021-03-16 19:07:03 +08:00