bunnie
d17ae106f1
kernel panic on memory lend
2021-05-05 00:58:48 +08:00
bunnie
7a7e77d346
intermediate checkin, taking a break
2021-05-04 19:08:56 +08:00
bunnie
61611caddd
some general ideas to debug later
2021-05-04 02:47:03 +08:00
bunnie
f8979d6341
intermediate progress on audio. doesn't compile.
2021-05-04 02:22:35 +08:00
bunnie
a4ca725c2a
add a reset to an i2c core
2021-05-03 21:24:37 +08:00
bunnie
01e2c7edca
migrate to an interrupt-handler only I2C handler
...
the amount of time it takes to send messages to initiate each
packet is too slow, and causing timeouts. By handling the I2C
directly in an interrupt handler, we accelerate the bus, at
the expense of no visibility via log/trace messages.
2021-05-03 18:53:17 +08:00
bunnie
d65e91f792
refactor i2c to be in the implementation block
2021-05-03 18:14:58 +08:00
bunnie
8e8b515a36
add a script to provision audio artifacts
2021-05-03 18:02:20 +08:00
bunnie
50174f99e5
re-org the codec crate so that it can accommodate gnarly backends
...
This is in anticipation of:
1) supply chain issues causing CODEC chips to change out
2) host integration being a PITA
2021-05-03 00:31:05 +08:00
bunnie
f558f75116
add the skeleton for the codec server
2021-05-03 00:20:51 +08:00
bunnie
dcb9956bcc
add a "skeleton" server which is a template for other servers
2021-05-03 00:19:45 +08:00
bunnie
68aff967e8
Update flash.md
2021-05-02 23:45:39 +08:00
bunnie
6e0e3f7490
Update flash.md
2021-05-02 23:43:44 +08:00
bunnie
4854cc98ee
expand README
2021-05-02 18:15:29 +08:00
bunnie
d936b69c14
merge credits into README
2021-05-02 18:13:24 +08:00
bunnie
ba729bd172
rename as generics
2021-05-02 18:11:31 +08:00
bunnie
4fbee9cabd
add a note about the audio samples
2021-05-02 18:08:34 +08:00
bunnie
c3e02cca0e
add audio samples for testing + credits
2021-05-02 18:04:13 +08:00
bunnie
5a829b1b59
Update flash.md
2021-05-02 18:00:08 +08:00
bunnie
abf308e82d
try to trace down issue #61
2021-05-02 16:39:08 +08:00
bunnie
a35392f35b
Merge pull request #62 from betrusted-io/bunnie-dev
...
Bunnie dev
2021-05-02 16:14:19 +08:00
bunnie
a2280639d9
forgot to uncomment a line
2021-05-02 16:13:06 +08:00
bunnie
05df98d1c1
disable suspend/resume support in hosted mode
...
hosted mode doesn't have suspend/resume support, and it's
not worth debugging subtle issues on that side of the fence
that seem to be OS-dependent.
2021-05-02 16:10:51 +08:00
bunnie
0621fed5d6
back up debugging statements
2021-05-02 12:51:41 +08:00
bunnie
8b29fc4dd3
make the sleep note screen a little more aesthetic
2021-05-02 03:57:40 +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
b17753ce8b
retrofit the rest of the servers for suspend/resume
...
we can now do suspend/resume in the xous chat!
2021-05-02 01:38:44 +08:00
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