Commit graph

1263 commits

Author SHA1 Message Date
bunnie
85d78439d7 fcc-agent is now deprecated 2021-05-01 21:01:46 +08:00
bunnie
c7f1fe0817 cleanup after debugging ticktimer
the problem was that the load signal was not being respected
by the hardware, small patch to FPGA required but now all is OK.
2021-05-01 20:56:12 +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
087bb39ea7 chase down some bugs
noted there is a heisenbug on the ticktimer, it only manifests
when the log level is at info. go figure!
2021-05-01 02:26:28 +08:00
bunnie
174b88f13d
Merge pull request #60 from betrusted-io/bunnie-dev
merge in suspend/resume framework
2021-05-01 01:13:47 +08:00
bunnie
20040c5e02 fix a bogus error path that primarily trips up hosted mode 2021-05-01 01:12:32 +08:00
bunnie
142d512ffb remove a redundant check 2021-05-01 00:49:27 +08:00
bunnie
46fe3885dc cleanup more turds left over during the bringup of suspend/resume 2021-05-01 00:35:32 +08:00
bunnie
29615d06a3
Update memory.md 2021-05-01 00:18:51 +08:00
bunnie
48074b626b clean up more debug messages 2021-04-30 23:33:35 +08:00
bunnie
260b154741 clean up some boot process holdovers 2021-04-30 23:28:31 +08:00
bunnie
640ddb48e8 suspend/resume now works to hardware 2021-04-30 19:29:36 +08:00
bunnie
7053c2b7c6 able to detect the clean suspend, now figuring out how to resume 2021-04-30 05:00:03 +08:00
bunnie
0e2d57c9fb retrofit the kernel and loader to handle resume
and now the even harder debuggening begins...zomg o_O
2021-04-30 01:55:38 +08:00
bunnie
5ae4653ba8
Update memory.md 2021-04-30 01:10:20 +08:00
bunnie
3579b07317
Update memory.md 2021-04-30 01:09:10 +08:00
bunnie
2d3a643d20 retrofit COM for suspend/resume 2021-04-29 23:53:35 +08:00
bunnie
a55735fb1f add llio to suspend/resume set 2021-04-29 23:15:47 +08:00
bunnie
1014b53726 clean up some hosted mode errors
hosted mode is still a bit broken, but we'll figure that
out later. at least it compiles.
2021-04-29 17:24:38 +08:00
bunnie
19847f8fd4 add suspend/resume to the TRNG 2021-04-29 17:24:31 +08:00
bunnie
6e1e74ed84 a minimal but successful touch-and-go suspend/resume cycle 2021-04-29 16:37:43 +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
768eb548be fix some typos etc. 2021-04-29 00:23:18 +08:00
bunnie
805d7c79a2 add some preliminary bits for the loader to detect suspend/resume 2021-04-29 00:22:38 +08:00
bunnie
2df2e654dd add some more comments 2021-04-28 19:31:08 +08:00
bunnie
cad9c15849 intermediate save of suspend resume
building an awful rube-goldberg contraption of a "clean-suspend"
record.
2021-04-28 19:28:04 +08:00
bunnie
6d8fb5beec add a murmur3 hash implementation for checking the clean boot record 2021-04-28 18:29:41 +08:00
bunnie
ec3d411499
Update processes.md 2021-04-28 17:50:29 +08:00
bunnie
88f5199ba2 refactor os_timer to be integral to susres 2021-04-28 17:24:08 +08:00
bunnie
3043769170 move the os_timer into the susres server, so we can suspend it
also clean up various syntax errors
2021-04-28 15:38:56 +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
cbe0a2d7fc add manual image specifier 2021-04-27 21:56:18 +08:00
bunnie
42f21f8ef0
Merge pull request #58 from betrusted-io/bunnie-dev
fix soc version
2021-04-27 21:33:28 +08:00
bunnie
9997749c4c fix soc version 2021-04-27 21:32:43 +08:00
bunnie
9ec1de4c01 commit a SoC version for pre-build
should show up as version 0.8 but probably a bug in the gitver
on the soc side, will chase that down later
2021-04-27 19:30:49 +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
77ad54e193 fix hosted mode compatibility issues 2021-04-27 18:55:05 +08:00
bunnie
d2e9d35d37 modify loader to block out suspend resume pages per Xobs review 2021-04-27 18:47:55 +08:00
bunnie
8f679ce41f revert the loader assembly artifacts 2021-04-27 18:17:07 +08:00
bunnie
7f6abaea6a Revert "relocate top of kernel memory to save two pages for suspend/resume"
This reverts commit 36429de62f.

Turns out there is a better way to do this.
2021-04-27 18:16:33 +08:00
bunnie
68ed591189 start to flesh out API, allocate clean suspend page 2021-04-27 03:56:57 +08:00
bunnie
07d6055b4e new loader artifacts, change +x mode on script 2021-04-27 03:52:34 +08:00
bunnie
36429de62f relocate top of kernel memory to save two pages for suspend/resume 2021-04-27 03:51:38 +08:00
bunnie
8ae1a7ff8c
Update README.md 2021-04-27 03:47:32 +08:00
bunnie
181b14abbb
Update arguments.md 2021-04-27 03:43:28 +08:00
bunnie
74000354e8
Update arguments.md 2021-04-27 03:42:33 +08:00
bunnie
369630d4d1
Update memory.md 2021-04-27 03:08:38 +08:00