Commit Graph

218 Commits

Author SHA1 Message Date
mwojcik 758adf0495 drtioaux: created async version 2021-10-01 12:53:31 +02:00
mwojcik b9f0bb3899 runtime: enable target feature for libboard_artiq 2021-09-27 15:50:20 +02:00
mwojcik f897c41d2b master: fix lifetime of drtio variables 2021-09-27 15:06:32 +02:00
mwojcik 6dbd817d3e master: runtime fixes per compiler's requests 2021-09-24 14:15:33 +02:00
mwojcik 94ecc48d5d master: fix typos, missing imports 2021-09-24 11:34:57 +02:00
mwojcik 32df88c771 runtime: async delay instead of usual 2021-09-24 09:49:49 +02:00
mwojcik e8541c4cf5 runtime: moving rtio_mgt to async/await 2021-09-23 13:22:27 +02:00
mwojcik f1b22330d3 runtime: rtio_mgt's async_error_read exists already 2021-09-21 12:02:27 +02:00
mwojcik 85e7784b91 runtime: restored refcells for rtio_mgt 2021-09-21 11:48:59 +02:00
mwojcik da366b7a0d runtime: added drtio init function 2021-09-21 11:13:36 +02:00
mwojcik 589c4bebe4 master: moninj supports local and remote with dispatch 2021-09-20 15:25:55 +02:00
mwojcik 241113c6b2 'while' is reverse of 'until'... 2021-09-20 15:03:49 +02:00
mwojcik 414cfd2fa7 * few cleanups
* libcortexa9 mutex behavior understood
* io.until replaced with spinlock
2021-09-20 14:41:15 +02:00
mwojcik ff77204d37 moving drtio master code from mainline artiq: moninj and rtio_mgt 2021-09-17 14:20:37 +02:00
mwojcik 0b89cf8002 slight cleanup, started work on master mode 2021-09-16 15:38:51 +02:00
mwojcik e38c4a14ca code cleanup:
* moved shared init_gateware to libboard_artiq
* suppressed warnings for zc706 satman
2021-09-02 14:39:34 +02:00
mwojcik b95692548e Merge branch 'master' into drtio_port 2021-08-04 09:38:08 +02:00
mwojcik e3d3cb2311 si5324: bring on par with mainline ARTIQ (#132)
si5324 driver in runtime should be now equal in function to the one in artiq.

kasli-soc has no way of doing a hard reset on the peripheral, but zc706 does.

Reviewed-on: M-Labs/artiq-zynq#132
Co-authored-by: mwojcik <mw@m-labs.hk>
Co-committed-by: mwojcik <mw@m-labs.hk>
2021-08-04 09:12:38 +08:00
mwojcik 6a9729bede Merge branch 'master' into drtio_port 2021-08-03 09:56:14 +02:00
Sebastien Bourdeauducq f543501012 si5324: remove debug print 2021-08-02 14:14:59 +08:00
Sebastien Bourdeauducq 111ac0c716 runtime: clock Si5324 from its crystal 2021-07-30 17:07:58 +08:00
Sebastien Bourdeauducq 8128dc0b56 Revert "kasli-soc: work around I2C breakage (#130)"
This reverts commit f1fd55dee5.
2021-07-30 16:55:06 +08:00
mwojcik 4540b8ec98 share identifier_read between runtime and satman 2021-07-27 14:42:29 +02:00
mwojcik 4e5f1a0673 fixed compilation errors - runtime compiles now 2021-07-27 12:40:55 +02:00
mwojcik 0d7d403edc merged proto_core_io with libio 2021-07-27 09:38:38 +02:00
mwojcik 5e39cd32d1 removed unused imports, added necessary. 2021-07-26 14:41:00 +02:00
mwojcik 522bea7e1c reverted build script with linker file arg. Hybrid solution. 2021-07-26 14:38:43 +02:00
mwojcik 2c3091e792 experimental: build script with linker file arg 2021-07-26 13:57:37 +02:00
mwojcik e081ea926b build script taken from runtime to libbuild_zynq, dependencies adjusted 2021-07-26 10:28:44 +02:00
mwojcik 5e76f7c0b4 moved proto, moved logger, updated runtime 2021-07-23 11:28:16 +02:00
mwojcik f170104304 libboard_artiqzynq -> libboard_artiq; moved si5324 2021-07-23 11:15:31 +02:00
Sebastien Bourdeauducq f1fd55dee5 kasli-soc: work around I2C breakage (#130) 2021-05-29 17:13:41 +08:00
Sebastien Bourdeauducq 21d98711c1 use new smoltcp error code 2021-05-29 17:13:22 +08:00
Sebastien Bourdeauducq 0ae2138034 kasli-soc: preliminary si5324 support 2021-05-29 16:15:27 +08:00
Sebastien Bourdeauducq 506c741238 support absence of gateware RTIO clock selection mux 2021-02-15 21:41:30 +08:00
Sebastien Bourdeauducq 8d4e42be32 remove redpitaya and coraz7 support 2021-02-15 19:30:13 +08:00
Astro fcb38fae6c runtime: disable TCP delayed ack 2021-02-08 03:24:18 +01:00
pca006132 bb65074254 updated zynq-rs and IRQ handling 2021-01-28 12:56:54 +08:00
pca006132 c2a6fb72f7 updated zynq-rs dependency 2021-01-26 12:38:09 +08:00
pca006132 faa335461d runtime: modified protocols to use device endian 2021-01-22 13:36:38 +08:00
pca006132 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
pca006132 9e8b554c6d runtime/kernel/core1: use correct ABI 2021-01-18 16:43:30 +08:00
pca006132 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
pca006132 35204d4716 fixed new compiler warnings 2021-01-15 17:55:58 +08:00
Astro 28fe61b061 runtime: add feature target_kasli_soc 2020-12-23 20:11:43 +01:00
Sebastien Bourdeauducq 07b425a67a fix other compilation warnings 2020-11-16 14:57:20 +08:00
Sebastien Bourdeauducq 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
Astro 113c8eb0b8 add coraz7 + redpitaya targets 2020-11-13 20:17:18 +01:00
Astro 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