Commit graph

347 commits

Author SHA1 Message Date
bunnie
6ce2c50c02 add static sleep screen 2020-10-11 15:42:57 +08:00
bunnie
a397981355 change references to "ci" to "hw-image" 2020-10-06 00:57:26 +08:00
bunnie
7dc011e6d8 make build process a bit more transparent
- print help messages when running svd2utra from command line for
development
- do not allow utra to silently fall back to a default if one
has not been specified in the environment
2020-10-06 00:48:34 +08:00
bunnie
c5d8ccc67c update the example.rs file with the latest run 2020-10-06 00:35:42 +08:00
bunnie
9417984752 add a buildpush script, instead of a package script
packaging is now done by the `ci` command
2020-10-06 00:35:13 +08:00
bunnie
d55fc0fc26 commit last changes to package-xous so we can nuke it 2020-10-06 00:34:56 +08:00
bunnie
16b3d78feb add interrupt generation to svd2utra 2020-10-06 00:34:18 +08:00
Sean Cross
53b4918c54 xtask: create ci command that builds xous.img
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 12:25:32 +08:00
Sean Cross
eb97fcf9fb xtask: add ci command
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 11:59:48 +08:00
Sean Cross
a3f6e6ea48 cargo: add svd2utra to lockfile
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 11:38:31 +08:00
Sean Cross
dd3e646a46 utra: mark entire library as no_std
This library should be usable with embedded projects.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 11:38:11 +08:00
Sean Cross
96df91f53b create-image: support generating an image from an svd
Now that we can parse svd files, support creating an image using an svd
instead of a csv file.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 11:37:44 +08:00
Sean Cross
e9d9315418 svd2utra: mark base field as pub
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 11:37:18 +08:00
Sean Cross
da50dffa94 sv2utra: fix no_std attribute generation
We only need `no_std` when building for embedded platforms, and it no
longer goes inside the library file.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 11:27:47 +08:00
Sean Cross
422789eda7 svd2utra: make svd parsing public
This will be useful when replacing `csr.csv` with the svd file.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:57:01 +08:00
Sean Cross
30abc1413a utra: move example.svd to emulation
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:52:43 +08:00
Sean Cross
9140482a6b lock: add missing lockfiles
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:52:26 +08:00
Sean Cross
bcbfec466e utra: add real package in
This does not use a submodule.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:40:29 +08:00
Sean Cross
d3d055ff4b utra: really remove submodule
Git submodules are hard and weird.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:39:44 +08:00
Sean Cross
453e934ffd utra: remove submodule
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:37:59 +08:00
Sean Cross
2691d67e30 gitignore: don't ignore utra anymore
This is now generated based on environment variables.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:35:42 +08:00
Sean Cross
6a01505d11 svd2utra: fix test generation
Tests now compile.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:34:24 +08:00
Sean Cross
d0d687a239 utra: fix build on non-hardware release
This adds svd2utra, which enables building for non-embedded harware.

It also fixes some build issues, and paves the way for generating UTRA
at compile-time.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:13:51 +08:00
bunnie
15e5b674d1 bump submodule ref 2020-10-05 01:53:32 +08:00
Sean Cross
d4f0496371 kernel: remove unused debug data
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 19:08:29 +08:00
Sean Cross
8be5855ea3 examples: shell: remove Log Server stuff
We don't have a log server yet, so remove this dependency.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 19:07:53 +08:00
Sean Cross
2aa6d1298f shell: timer: add timer function
We're now a preemptive kernel, yay!

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 19:07:34 +08:00
Sean Cross
18129d575b shell: add utra to Cargo.toml
This is required in order to get the timer address.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 19:07:06 +08:00
Sean Cross
81ff6afd66 shell: disable debug output for now
We don't have a serial console yet, so disable this.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 19:06:13 +08:00
Sean Cross
e73fe08a3e graphics-server: bounds-check for negative coords
This prevents us from drawing pixels off the screen.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 19:04:24 +08:00
Sean Cross
8759f552f7 kernel: syscall: allow returning to the kernel
If nothing is running, don't crash when the timer hits.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 18:28:58 +08:00
Sean Cross
fa23cfa88b kernel: services: update some debug comments
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 18:28:29 +08:00
Sean Cross
7843189c45 kernel: remove printing of "hello, world!"
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 18:28:02 +08:00
Sean Cross
a00151b4de kernel: use IRQ 0 for UART
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-04 18:27:49 +08:00
Sean Cross
5f4ee01a0d kernel: use fixed address for debug port
Don't use the hardware address, since it is not likely to be in
the universal address space.

Signed-off-by: Sean <xobs@ci.betrusted.io>
2020-10-04 18:13:58 +08:00
Sean
bbab52be7f kernel: flush MMU when we rotate the SATP value
Signed-off-by: Sean <xobs@ci.betrusted.io>
2020-10-04 18:12:27 +08:00
Sean
ba320184b0 tools: create-image: print out error when csr.csv can't be opened
Signed-off-by: Sean <xobs@ci.betrusted.io>
2020-10-03 20:32:31 +08:00
bunnie
68ed82cb66 update submod 2020-10-02 05:12:52 +08:00
bunnie
711e5ea910 slot in utra references 2020-10-02 04:52:03 +08:00
bunnie
6be6975c77 update utra 2020-10-02 04:33:38 +08:00
bunnie
6fc83db9c0 Merge branch 'dvt-hardware' of github.com:betrusted-io/xous-core into dvt-hardware 2020-10-02 04:22:27 +08:00
bunnie
58bf06fd14 add utra module 2020-10-02 04:16:20 +08:00
bunnie
a077e49ec6
Update README.md 2020-09-26 02:01:48 +08:00
bunnie
0303b2ec8f add a helper script to boot kernel gdb session 2020-09-26 01:41:55 +08:00
bunnie
1c78a339d4 update intermediate notes 2020-09-26 01:37:51 +08:00
bunnie
4cded404e3 fix offset of UART 2020-09-26 01:36:45 +08:00
bunnie
5deeebae3b the loader seems to be working now. 2020-09-26 00:03:46 +08:00
bunnie
4760422162 add a xous-packaging script 2020-09-25 17:51:22 +08:00
bunnie
44f1a6b307 Merge branch 'master' of https://github.com/betrusted-io/xous-core into dvt-hardware 2020-09-25 17:50:24 +08:00
bunnie
8cc85f4e11 mods for running on DVT hardware 2020-09-25 17:50:02 +08:00