Commit Graph

432 Commits

Author SHA1 Message Date
14c2abe578 runtime/rpc: fixes alignment and size problem 2022-01-05 08:24:41 +08:00
1155802cf7 Revert "runtime: expose rint from libm"
This reverts commit 95d024e38b.
2021-10-11 08:13:15 +08:00
95d024e38b runtime: expose rint from libm 2021-10-10 20:40:43 +08:00
d765b83e36 libdyld: fixed symbol relocation
Note that in libdyld/src/lib.rs #117-118, image pointer is already added
to the symbol offset, so we do not need to add the pointer again
2021-09-25 13:50:30 +08:00
62a30bda9b update dependencies 2021-07-27 16:29:09 +08:00
801d7ac911 nixpkgs 21.05 2021-07-27 15:46:32 +08:00
298085b62d fix compilation with nixpkgs 21.05
The environment variable is optional to keep compatibility with other build environments.

Closes #131
2021-07-27 15:40:56 +08:00
93e26087ee update copyright year 2021-07-07 18:07:34 +08:00
bb65074254 updated zynq-rs and IRQ handling 2021-01-28 12:56:54 +08:00
c2a6fb72f7 updated zynq-rs dependency 2021-01-26 12:38:09 +08:00
faa335461d runtime: modified protocols to use device endian 2021-01-22 13:36:38 +08:00
be01fbd943 runtime/irq: use assembly for naked IRQ handler
and solves the bug introduced due to stack unwinding...
2021-01-18 17:08:04 +08:00
9e8b554c6d runtime/kernel/core1: use correct ABI 2021-01-18 16:43:30 +08:00
b4ff6dda24 runtime: use naked function for IRQ
non-naked IRQ would somehow trigger interrupts after several kernel
restarts, investigating
2021-01-18 10:38:50 +08:00
35204d4716 fixed new compiler warnings 2021-01-15 17:55:58 +08:00
93493397ae updated zynq-rs dependency 2021-01-15 17:55:47 +08:00
a5ccabb8e6 follow changes in zynq-rs 2021-01-15 01:02:15 +01:00
e5207b86db update rust dependencies 2020-12-24 01:17:24 +01:00
28fe61b061 runtime: add feature target_kasli_soc 2020-12-23 20:11:43 +01:00
ce55e2ed23 update rust dependencies 2020-12-23 17:02:19 +01:00
cb9dae1951 update rust dependencies 2020-11-20 17:54:09 +01:00
07b425a67a fix other compilation warnings 2020-11-16 14:57:20 +08:00
57ae8619f8 remove unnecessary no_mangle
no_mangle does nothing on extern items as per https://github.com/rust-lang/rust/issues/78989#issuecomment-726163973

Closes #115
2020-11-16 14:51:30 +08:00
32048ead20 gateware/coraz7: remove unused VARIANTS 2020-11-14 02:24:29 +01:00
113c8eb0b8 add coraz7 + redpitaya targets 2020-11-13 20:17:18 +01:00
9259cffeb2 i2c: add stubs for targets without i2c 2020-11-12 15:26:06 +01:00
David Nadlinger
7c336f7770 kernel/api: Add additional binary libm functions
Also factored out (f64, f64) -> f64 libm wrappers into
a macro, similar to the unary ones.
2020-11-11 01:24:44 +01:00
291a782db0 fix compiler warning
Feature is now stable.
2020-11-06 12:22:34 +08:00
479e6afd12 update Rust dependencies 2020-11-06 12:20:48 +08:00
c865c82883 README: add note about zynq-rs update procedure 2020-11-06 12:16:19 +08:00
7dbffadf08 mgmt: implemented config write 2020-11-04 21:16:47 +08:00
1695076baf shell.nix: add artiq-netboot 2020-10-15 16:16:53 +08:00
b7155c9ded Makefile: cleanup 2020-10-14 13:06:15 +08:00
7f75dbd87e nix: fix cargoSha256 issues 2020-10-13 23:42:30 +08:00
5c62d6a141 update dependencies, disable custom compiler_builtins (#113) 2020-10-13 21:51:40 +08:00
74a453b3a5 README: nixpkgs 20.09 2020-10-13 19:19:10 +08:00
eab839aed0 follow changes in zynq-rs 2020-10-13 19:12:55 +08:00
dffe00990b device_db: add DDS channels
Used by some tests.
2020-09-11 11:22:06 +08:00
a374d8a02f runtime/kernel/dma: reduced replay overhead
We can just flush the cache once when we get the handle, instead of
everytime before replay.
2020-09-09 21:25:03 +08:00
03d9827a5a acpki: working 2020-09-09 21:24:49 +08:00
01093f02cf default.nix: expose zynq-rs 2020-09-09 19:22:08 +08:00
86b9045417 use liconfig, libcoreio, szl from zynq-rs 2020-09-09 18:44:12 +08:00
7e26a87aed fix previous commit 2020-09-09 18:12:39 +08:00
a277e89b3a Makefile: fix runtime.bin target 2020-09-09 17:01:14 +08:00
a99ee3ec32 use Nix files from zynq-rs 2020-09-09 16:58:37 +08:00
c3f9a76f2a use openocd files from zynq-rs 2020-09-09 15:44:29 +08:00
4dfd82f6ec nix: pin mozilla overlay 2020-09-09 15:19:43 +08:00
8bb1727e64 openocd: remove cable file for built-in ZC706 JTAG
This typically crappy JTAG adapter just doesn't work.
2020-09-09 14:51:21 +08:00
1e742cc390 updated zynq-rs dependency 2020-09-07 16:18:50 +08:00
2fe73505c8 improve i2c error reporting 2020-09-06 00:38:28 +08:00