bunnie
03a9719884
Merge branch 'bunnie-dev' into main
2021-07-28 23:58:46 +08:00
bunnie
8cdf3c148b
clean up warnings before merge to main
2021-07-28 23:58:15 +08:00
bunnie
f5a9cce4ac
fix minor bugs in rtc set routine
2021-07-28 23:15:53 +08:00
bunnie
e60478d8d3
checkbox and radiobox now working.
2021-07-28 23:00:25 +08:00
bunnie
9ae5feab78
refactor to add helper threads to the UX format; documentation
2021-07-28 17:35:25 +08:00
bunnie
9f3615fd3d
extend RTC setting with UX
...
not because this is so important, but because it's a simple
test case that exercises a lot of features.
2021-07-28 04:27:14 +08:00
bunnie
b6c443145c
extend modal functions; refactor status into its own server
2021-07-28 01:01:39 +08:00
bunnie
9b51edfe6c
add backspace (derp)
2021-07-27 18:00:09 +08:00
bunnie
4affdabc73
password modal box now nominally works
2021-07-27 17:30:37 +08:00
bunnie
1a65cd3389
password dialog box basic layout is kind of there
...
a little ugly, but...this has already taken too long.
2021-07-27 04:40:12 +08:00
bunnie
53f35f9928
intermediate work toward getting the password box going
...
lots of changes, maybe finally getting out of the UX rathole now
that basic localization is in place
2021-07-26 00:51:22 +08:00
bunnie
86e113b678
add locale to front-end; update menus to suppress 🔇 characters automatically
2021-07-26 00:49:33 +08:00
bunnie
2b57e1c4f8
add static localization
2021-07-25 23:46:03 +08:00
bunnie
bc5d262431
Update README.md
2021-07-23 17:19:50 +08:00
bunnie
556f0aaea5
beginnings of a password dialog system
2021-07-22 03:04:16 +08:00
bunnie
5280d232e5
figuring out which way is up on the RootKeys implementation
2021-07-21 19:47:09 +08:00
bunnie
ce18716b88
add the boilerplate for the keys server
2021-07-20 01:59:52 +08:00
bunnie
d0804ed330
add some notes about the keys block
2021-07-20 01:46:14 +08:00
bunnie
e362e2579f
un-break hosted mode
2021-07-18 18:29:24 +08:00
bunnie
d98f296499
fixed ordering bug in spinor driver
...
works now!
2021-07-18 18:02:46 +08:00
bunnie
7257dbcaef
add cache flush after array write
2021-07-18 16:04:44 +08:00
bunnie
91fe69ca27
add some real-hardware tests for spinor writes
...
definitely still bugs.
need to sleep on it.
2021-07-18 02:36:31 +08:00
bunnie
904f6f6f38
add more tests
2021-07-17 23:33:57 +08:00
bunnie
168d0fc2cb
start of some basic tests
2021-07-17 17:12:23 +08:00
bunnie
cc0f37a80e
rewrite the spinor services
...
- you can only "patch" regions of memory. caller provides a slice
to the region of data they are patching, so that patches can be
computed by the lib-side code of the server.
- erasing is done with a "patch" with all 0xff's as the write data.
a sequence of pure 0xff for a page does not actually cause a write,
the condition is detected and the write is skipped after an erase.
- patches attempt to be somewhat intelligent and not re-write unchnaged
data, or erase blocks that don't need udpating. However, if a user
submits a "sparse patch" with just a couple bytes modified in a
megabyte region they can expect bad performance. Ideally, in that
scenario, each of the smaller modifications are submitted as
individual calls to the patch function, instead of regurgitating
all the data and hoping that hthe patch function does some intelligent
diffing to be as light-fingered as possible about updating the flash.
In other words, the onus is on the calling server to format
patches intelligently. The patch server does only the simplest,
safest optimizations. You don't want to be shuttling megabytes of
redundant data anyways between servers for many other reasons....!
2021-07-17 02:04:22 +08:00
bunnie
7e7ae82156
pivot spinor implementation
...
realizing some core assumptions were wrong, so, scrapping and
restarting
2021-07-15 23:00:50 +08:00
bunnie
98c0054d7e
some progress on spinor drivers
2021-07-14 00:01:09 +08:00
bunnie
69d34d38dc
Merge branch 'main' into bunnie-dev
2021-07-13 23:11:46 +08:00
bunnie
7cd8b4107a
clear keyboard state vectors on resume
...
if any keys were pressed in the middle of a suspend...
probably, the user didn't care to have them still pressed on resume!
2021-07-13 23:10:10 +08:00
bunnie
ef93196cfc
stash commit to fix a bootloader issue
2021-07-13 22:28:46 +08:00
bunnie
8045e0aac8
add the keys command
...
this is the beginning of where key management goes. for now,
all you can do is just turn USB debug on and off.
2021-07-13 00:47:05 +08:00
bunnie
a4f8346c34
reflect the latest fixes to the secure boot process
...
also patch up some issues with sha512 reset and loose
ends on docs and updates
2021-07-13 00:46:31 +08:00
bunnie
5d62af49a5
simple signature checks in the bootloader now
...
checks xous.img as a single blob before accepting it.
2021-07-12 17:16:22 +08:00
bunnie
84a2e9f768
fix status bar so that it redraws out of suspend/resume
...
the bootloader modifies the screen, so all elements must
be redrawn regardless of the pervious state change!
2021-07-11 18:47:19 +08:00
bunnie
1949c1bbc9
a semblance of sanity, finally
2021-07-09 23:01:50 +08:00
bunnie
3ac17a99db
reduce miniruns count to save on gates
2021-07-08 15:58:59 +08:00
bunnie
d846c5ad0e
add a memory stress tester
2021-07-06 01:35:19 +08:00
bunnie
2c6ba2f127
fix brokenness with ptr_meta crate
2021-07-05 17:17:33 +08:00
bunnie
6ee6316beb
Merge branch 'main' into bunnie-dev
2021-07-05 17:12:43 +08:00
bunnie
6c697de512
add l2 cache support (suspend/resume flushing)
...
also noted some performance benchmark improvements
2021-07-05 17:05:10 +08:00
bunnie
1b5d4bd79b
push of spinor changes to validate l2cache
2021-07-05 00:08:58 +08:00
bunnie
47c1a98d13
fix the aesthetics of the suspend screen
2021-07-03 21:46:58 +08:00
bunnie
00be94d913
devboot mode support
2021-07-03 21:08:39 +08:00
bunnie
3f08dcccee
increase the susres timeout to be less aggressive
...
now that we have auto-clock throttling, fast SR cycles are not
as critical to power saving. They are more a mechanism to be
invoked based on user command, not automatically, and thus it's
not as critical to shut things down ungracefully if the CPU is
heavily loaded.
2021-06-30 19:05:20 +08:00
bunnie
674faa46d9
button up after debugging the ed25519 issue
2021-06-29 23:46:15 +08:00
bunnie
d00717bc17
try to make a simpler example
2021-06-29 01:35:03 +08:00
bunnie
c880eda822
commit renode changes
2021-06-29 00:51:52 +08:00
bunnie
0bad1ad755
isolate a potential compiler bug
2021-06-29 00:10:46 +08:00
bunnie
8da62390ad
add RFC7748 test vectors for diffie hellman
2021-06-28 19:01:22 +08:00
bunnie
e01676d563
move the montgomery multiply code into the engine server
...
this saves a fairly substantial amount of time marshalling
re-used bits of microcode around on the benchmarks.
2021-06-28 18:41:34 +08:00