Commit graph

543 commits

Author SHA1 Message Date
bunnie
3a8e00eb3c map in the SPIM FLASH IFRAM pages to the swapper 2025-05-17 16:28:02 +08:00
bunnie
250bf4553e add routines for manipulating the dirty field 2025-05-16 19:03:02 +08:00
bunnie
769616e266 fix the FLG_DIRTY field so that it's not sitting in the PID area 2025-05-16 19:02:37 +08:00
bunnie
c8b3fa9aad if swap is turned on bodge a extra page buffer on the memory clear
this prevents some key loader constants from being zeroed out
2025-05-15 11:54:26 +08:00
bunnie
75fbcd5be8 fix some bit-rotted constant locations in the precursor target 2025-05-15 11:54:02 +08:00
bunnie
e2379821e6 republish xous-rs to fix cargo test 2025-05-11 15:36:17 +08:00
bunnie
8a4959056b bump version for xous crate update - commit so we can publish crates 2025-05-11 14:45:24 +08:00
bunnie
6d858e9fce cleanup out of place/duplicated constant definitions 2025-05-11 14:42:08 +08:00
bunnie
ad4a3ef3f2 KB_C2 pin just died?
KB_C2 pin on this test board just got shorted to ground internally
in the chip. I think it may have been due to power glitches
when the ammeter was switching modes feeding through and causing
trouble for the system.

Anyawys, disable that row and remap some keys so we can continue
with testing. MPW boards will hopefully be retired soon enough...
2025-05-06 19:07:25 +08:00
bunnie
51b103d674 add cam-test target to the loader 2025-05-01 16:44:43 +08:00
bunnie
3f2c4e396a cleanup the camera/QR testing loop in bootloader
This loop was useful in bringing up the GC2145 camera, so
we should keep this code around. had to be refactored/shuffled
around a bit to compensate for e.g. bitrot.
2025-05-01 16:43:53 +08:00
bunnie
bb6820419f sanity check AXP2101 e-fuse settings 2025-04-27 15:12:07 +08:00
bunnie
e22997874d add DCDC5 configuration 2025-04-21 02:42:40 +08:00
bunnie
92427822a1 add todo 2025-04-21 00:41:07 +08:00
bunnie
993836cb4e some test code for battery fet disconnect / leakage measurements
put into the commit log just in case i need to refer to it again in
the future...
2025-03-05 22:43:33 +08:00
bunnie
845e40884b add pwm mode setting to loader start 2025-03-04 01:25:02 +08:00
bunnie
e6a85c5573 add note about safety 2025-02-28 16:46:24 +08:00
bunnie
98bfc724aa remove outdated todo list 2025-02-28 16:46:08 +08:00
bunnie
55592afaaf try to isolate dependencies better 2025-02-28 16:45:48 +08:00
bunnie
a21dd3572d try to eliminate floating point debug prints
for some reason the loader has a lot of code devoted to formatting
debug prints of floating point numbers. In the version of the loader
that's being built for production I think we shouldn't need any
of this?
2025-02-28 16:34:51 +08:00
bunnie
dde034c101 document the safety issue vs USB static mut in the loader
I think we're OK to get away with this, but, it's a pretty big
set of assumptions we're making so let's write it up in a location
that we're likely to look at if/when things break.
2025-02-28 16:31:17 +08:00
bunnie
420800f329 fix text location with fb rotations 2025-02-27 21:37:08 +08:00
bunnie
836ccacf64 change polarity of dark color in fill 2025-02-27 21:36:43 +08:00
bunnie
729a0ca6b9 remove buffer swap calls
we now go between a ram-based compositing buffer and the hw
buffer which effectively gives us our double buffer
2025-02-27 03:14:45 +08:00
bunnie
216ff46e29 fix font rendering due to fb orientation adjustments 2025-02-27 03:14:21 +08:00
bunnie
1646b2913e add feature flag to gate out sh1107 bit ordering routine 2025-02-27 03:13:58 +08:00
bunnie
89b39303f1 add a routine for characterizing bit order in frame buffer 2025-02-27 03:13:33 +08:00
bunnie
c2714dca12 note fontmap hard-coded location inside link file 2025-02-24 02:29:41 +08:00
bunnie
96811143fd use the blit routine in the library for the loader logo 2025-02-24 00:58:09 +08:00
bunnie
20f96f189a fix typo 2025-02-23 16:52:59 +08:00
bunnie
c3051c0332 fix dangling reference to dependency 2025-02-23 12:14:46 +08:00
bunnie
1429944ff3 remove interim boot logo 2025-02-23 12:02:11 +08:00
bunnie
28122b764e point bootloader at the new logo 2025-02-23 12:01:22 +08:00
bunnie
e27f468acd adjust native pixel api change in loader 2025-02-21 17:45:47 +08:00
bunnie
130571b0f4 bring loader up to latest API spec 2025-02-20 15:05:23 +08:00
bunnie
5fd75ec373 update maintenance notes 2025-02-17 18:27:17 +08:00
bunnie
e4f1f8e15d update generated artifacts in the loader 2025-02-17 18:26:55 +08:00
bunnie
adad07262e fix warning about missing feature in compilation 2025-02-17 18:26:30 +08:00
bunnie
6e18096247 ux-api needs to have the board specified when cramium features are selected 2025-02-11 16:25:22 +08:00
bunnie
25dfc4723d refactor loader to use ux-api 2025-02-02 07:02:35 +08:00
bunnie
0d1a137597 restore the missing font section
this goes missing every now and then because i comment it out for
faster load times during dev
2025-01-20 15:37:00 +08:00
bunnie
cb60120bb2 add some prelim coreuser test routines
these currently only make sense in a simulation environment,
but they allow us to work the significant configuration test
cases for practical execution to make sure we haven't missed
something in the coreuser spec.
2025-01-12 00:55:43 +08:00
bunnie
71ac106ee7 add the CGU perclk divider for the NTO target 2025-01-03 04:06:11 +08:00
bunnie
201decd4ca more feature flag bitrot in loader 2025-01-01 22:47:59 +08:00
bunnie
f3517603e9 cleanup some feature flag bitrot 2025-01-01 22:47:19 +08:00
bunnie
8c0cfd9eab clean up unused args in API 2024-12-23 01:15:49 +08:00
bunnie
6dcb23a53b add flags for configuring uart 2024-12-22 00:32:14 +08:00
bunnie
44f50a992a add irq disabling routine 2024-12-22 00:31:54 +08:00
bunnie
c66a7c47fb another spot where the irq enable has to be moved 2024-12-22 00:31:32 +08:00
bunnie
e07ab36984 fixup IRQ handling
- disable IRQs on departure
- put EV enable outside of the HAL function
this is necessary because we need all HAL calls to be finished
before an interrupt happens to avoid locking problems
2024-12-22 00:30:27 +08:00