Commit graph

1233 commits

Author SHA1 Message Date
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
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
bunnie
d62f936454 start fleshing out the susres server 2021-04-27 02:53:22 +08:00
bunnie
3c66aff2a6 only check soc_csr.bin if it exists 2021-04-27 01:44:00 +08:00
bunnie
3fe52b31c5 add some debug for the trng CI process 2021-04-27 01:37:58 +08:00
bunnie
6a703def63 commit the latest SVD files and other minor changes 2021-04-27 00:53:08 +08:00
bunnie
94505ae6c5 improve some error messages 2021-04-27 00:52:52 +08:00
bunnie
00e3cd55fd fix generic error message 2021-04-27 00:46:24 +08:00
bunnie
655c92a36c clean up ticktimer susres prototype code 2021-04-27 00:40:50 +08:00
bunnie
a1bcfb469e add another call to make sure the RTC is initialized correctly 2021-04-27 00:40:29 +08:00
bunnie
a4678ee95c remove dependency of xous-names on ticktimer; use d11ctimeout instead
this allows susres to manage ticktimer and have secured namespace
integration
2021-04-27 00:39:18 +08:00
bunnie
85211bb57d add susres server skeleton 2021-04-27 00:38:51 +08:00
bunnie
fab8687aeb move susres stuff to its own server 2021-04-27 00:38:09 +08:00
bunnie
836c836aec wip for susres extensions 2021-04-26 14:55:45 +08:00
Sean Cross
fe86d5b9e3 xtask: fix new path to soc svd file
The soc.svd file has now moved under `emulation/soc/` instead of just
under `emulation/`, due to the fact that we now have an EC to emulate as
well.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-26 09:29:54 +08:00
bunnie
760b45be38 add some version commands 2021-04-26 09:24:43 +08:00
bunnie
f86f295fa5 add some version commands 2021-04-26 01:11:45 +08:00
bunnie
308cda1af4 remove unused sie use 2021-04-25 21:44:21 +08:00
bunnie
77c44ccb76 depracate use of SIE by storing SIM to RAM-based backing 2021-04-25 18:49:57 +08:00
Sean Cross
33e89201c1 Merge branch 'master' of github.com:betrusted-io/xous-core 2021-04-25 14:42:51 +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
3522e0ad56 Merge branch 'master' of github.com:betrusted-io/xous-core 2021-04-23 18:02:48 +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
c385f4bdd5 fix hosted mode boot vs RTC alarm clear 2021-04-23 17:59:12 +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
061284ec5f debugging BOOST mode glitch issue
Here's an arcane bug for you:

When powering down, the Spartan 7 3.3V I/O drivers will
output a roughly 800us wide glitch as 3.3V falls below around
1.7V, if the 0.95V core voltage comes down first (which it does
because we have an active discharge on 0.95V, but not on 3.3V).

In this case, it's just wide and high enough to cause the
BOOST mode line to engage, which takes the BOOST output
and ties it to VBUS, which is just enough for the system to
think you're powering it back on again. Which is not what
you want when powering down.

The ultimate fix was to put a heftier pull-down on the BOOST
line so that it can't trip the BOOST output into the VBUS.
Another option could be more active discharge FETs, but that
would require a full board spin and we are already at certification,
so we'll stick with the stronger pull-down on BOOST. It seems to
be a robust fix in the worst corner cases we can find.

The downside is that when powering an external USB device,
you are burning an extra 30mW of power overcoming the pull-down,
but typically, any external USB devices plugged into Precursor
will burn far in excess of that, so the delta should be negligible.
2021-04-23 15:33:14 +08:00