Commit graph

10340 commits

Author SHA1 Message Date
buncram
9cdb967741 add widgets to ux-api 2025-02-11 08:33:42 +08:00
buncram
69baf0f6e8 some initial notions of what widgets might look like 2025-02-11 08:33:09 +08:00
bunnie
3710f765c0 update timestamp 2025-02-08 05:20:42 +08:00
bunnie
437a5a2520 modify fast dma test for clocking option 2025-02-08 05:20:25 +08:00
bunnie
dff5bc7fa6 update bio tests for clkmode option 2025-02-08 04:35:02 +08:00
bunnie
ac7dc1b390 create baosec-emu target
this is meant to be a "hosted mode" equivalent for the baosec
platform that should allow us to do more rapid development of
UX related things.
2025-02-02 07:03:44 +08:00
bunnie
eb0487a5e5 update lockfile mods due to ux-api 2025-02-02 07:03:22 +08:00
bunnie
b65d352925 add ux-api to the workspace 2025-02-02 07:03:15 +08:00
bunnie
c0822a6109 refactor bao-video to use ux-api 2025-02-02 07:02:53 +08:00
bunnie
25dfc4723d refactor loader to use ux-api 2025-02-02 07:02:35 +08:00
bunnie
e4646013d0 remove minigfx from the HAL aspect of cramium
it was sort of out of place there anyways...
2025-02-02 07:02:07 +08:00
bunnie
19de313067 add ux-api
ux-api is meant to be a platform-independent set of APIs for
elements involving UX interchange in xous. In particular, it
sets up the path for portability of the gfx/minigfx crates and modals.
2025-02-02 07:00:24 +08:00
bunnie
7679dc12d1 formatting changes due to changes in nightly rust
needed to get a clean check on gh
2025-02-01 06:37:38 -08:00
bunnie
7ce19868ed
Merge branch 'main' into cram-dev 2025-02-01 22:33:29 +08:00
bunnie
54ba8c9cf7
Merge branch 'main' into pddb-feat-down 2025-02-01 22:29:55 +08:00
bunnie
6647cc43f0
Merge pull request #619 from betrusted-io/format-rust
formatting changes due to changes in nightly rust
2025-02-01 22:29:37 +08:00
bunnie
4f14a67504 formatting changes due to changes in nightly rust
needed to get a clean check on gh
2025-02-01 22:26:40 +08:00
bunnie
935a11bb31 Merge remote-tracking branch 'origin/main' into cram-dev 2025-02-01 21:52:14 +08:00
bunnie
55f563062e update register descriptionts against latest RTL 2025-02-01 05:48:11 -08:00
bunnie
8518743003 update register descriptionts against latest RTL 2025-02-01 21:45:28 +08:00
bunnie
1b18152c1d
Merge pull request #616 from buncram/cram-dev
modify i2c reset condition to have wait states
2025-02-01 03:22:44 +08:00
bunnie
3b05282618 commit a configuration for testing the pddb port build
doesn't compile but at least we can get a list of errors
that we need to fix
2025-02-01 02:38:34 +08:00
bunnie
c853c29f59 update lockfile changes associated with the WIP 2025-02-01 02:38:21 +08:00
bunnie
858d7a739f part way through the main module, we have more clarity on the task
i think it's becoming clearer at this point that other elements
need to be implemented before we can attack this. leaving notes
and bread crumbs so I can come back to this branch later
2025-02-01 02:37:33 +08:00
bunnie
ecaab9041f add the hw module 2025-02-01 02:37:09 +08:00
bunnie
deb2b6ac53 add an interim shim for the spinor implementation
The Spinor struct will be pulled into the PDDB for the cramium
version. This is done in part to reduce the number of servers
(keep the memory footprint light) and also because the physical
spinor hardware is owned by the swapper crate (because the ROM
shares a bus with the swap RAM). So, all that is needed in
this case is a thin shim that can adapt the two APIs to be
compatible with each other.

THe currently checked in code is just a copy of the existing
spinor code tho - it has no bearing on reality, it's just there
as a placeholder that contains all the APIs.
2025-02-01 02:35:26 +08:00
bunnie
aea415cca8 figure out changes necessary at the external API level 2025-02-01 02:35:09 +08:00
bunnie
73458dbd4c make a wish list of the dependencies we want to isolate
gate the dependencies behind a "gen1" and "gen2" feature
flag.
2025-02-01 02:31:59 +08:00
bunnie (Cramium)
dedf8c21d9
Merge branch 'main' into cram-dev 2025-01-30 20:21:28 +08:00
bunnie
43bc35b26e modify i2c reset condition to have wait states
this is necessary because the cpu can easily outrun the udma
block as the reset is processing, causing the re-initialization
to fail.
2025-01-30 04:17:57 -08:00
bunnie
c73393398c
Merge pull request #615 from betrusted-io/cram-dev
reconfigure xtask for better demo presentation
2025-01-20 15:39:06 +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
9e97046a52
Merge branch 'main' into cram-dev 2025-01-20 15:35:46 +08:00
bunnie
b23909cb2a reconfigure xtask for better demo presentation 2025-01-20 15:27:47 +08:00
bunnie
0a99ad9ef8
Merge pull request #614 from betrusted-io/cram-dev
update to track the latest coreuser spec changes
2025-01-12 01:07:29 +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
db83d3810c update generated artifacts 2025-01-12 00:35:30 +08:00
bunnie
fce6cf621a Merge branch 'main' into cram-dev 2025-01-12 00:05:43 +08:00
bunnie
30bec2d193 update hw descs 2025-01-12 00:04:35 +08:00
bunnie
e0d1085ec7
Merge pull request #613 from betrusted-io/usb-irq
USB IRQ integration
2025-01-02 22:14:17 +02:00
bunnie
5f11dadde7 update todo 2025-01-03 04:12:41 +08:00
bunnie
2a8ca92487 add generated artifacts for CGU update
CGU has some additional dividers to help with ATPG and other things.
2025-01-03 04:10:16 +08:00
bunnie
80f0dd2ba7 add reminder for where the verbose debug feature lives 2025-01-03 04:09:57 +08:00
bunnie
8e693990fb update lock with bitfield crate dependency 2025-01-03 04:09:40 +08:00
bunnie
e5fdd5da77 add bitfield crate depedency 2025-01-03 04:09:32 +08:00
bunnie
96073cc12e add Iox IRQ registration and event forwarding
the Iox block can register up to 8 interrupts on any of the
GPIO pins on the device. All the interrupts get OR'd together
to generate a single interrupt to the CPU, which has to be
disambiguated and forwarded on to the registering server as an
event.

Due to the protection model of Xous, the configuration of
the IRQ has to be centralized, and the handling is done with
a message. This means that the actual time from the interrupt
to the handling can be a bit variable, up to several ms, so
this method isn't suitable for hard real time.

For hard real time stuff, see the implementation in the USB
stack for Cramium, which has a very timing sensitive IRQ
handler requirement.
2025-01-03 04:07:20 +08:00
bunnie
af6289b8e4 add USB unplug/replug handling & stack resetting 2025-01-03 04:06:48 +08:00
bunnie
71ac106ee7 add the CGU perclk divider for the NTO target 2025-01-03 04:06:11 +08:00
bunnie
b02112b05a fix reset conditions and straggler debug statements 2025-01-03 04:05:51 +08:00
bunnie
fa3550a30f add trait for setting IRQ on GPIO 2025-01-03 04:04:45 +08:00