mwojcik
433a9cdaf1
runtime: fix warnings on nondrtio systems
2022-03-29 10:05:11 +08:00
mwojcik
a92561b9d3
implement rtio_get_destination_status ( #177 )
...
Co-authored-by: mwojcik <mw@m-labs.hk>
Co-committed-by: mwojcik <mw@m-labs.hk>
2022-03-25 18:20:05 +08:00
Sebastien Bourdeauducq
7502f3a765
update dependencies
2022-03-10 17:25:40 +08:00
pca006132
6f5ba46e89
runtime/eh_artiq: support exception allocation
...
The backtrace is now nested, and should be used together with the stack
pointer array to construct the full backtrace for each exception.
We now allocate exception objects in a stack, but their names are still
not allocated. This is fine for exceptions raised in the driver or artiq
code, but we will have to implement allocation for names of exceptions
raised in RPC calls. The compiler should also emit code to store the
exception names once they catch it, to prepare for later reraising.
2022-01-23 21:31:22 +08:00
stevefan1999
84becfe2c0
report async errors upon kernel termination
...
Port of 4a6bea479a
Co-authored-by: Steve Fan <sf@m-labs.hk>
Reviewed-on: M-Labs/artiq-zynq#156
Co-authored-by: stevefan1999 <sf@m-labs.hk>
Co-committed-by: stevefan1999 <sf@m-labs.hk>
2021-12-06 17:38:55 +08:00
mwojcik
aaec0abdf6
fix build/warnings before drtio is fully merged
2021-10-06 16:17:19 +08:00
mwojcik
827c6c1306
runtime: switch to libio/libboard_artiq, add DRTIO mastering support
...
Reviewed-on: M-Labs/artiq-zynq#137
Co-authored-by: mwojcik <mw@m-labs.hk>
Co-committed-by: mwojcik <mw@m-labs.hk>
2021-10-06 13:05:45 +08:00
Sebastien Bourdeauducq
21d98711c1
use new smoltcp error code
2021-05-29 17:13:22 +08:00
Astro
fcb38fae6c
runtime: disable TCP delayed ack
2021-02-08 03:24:18 +01:00
pca006132
faa335461d
runtime: modified protocols to use device endian
2021-01-22 13:36:38 +08:00
Sebastien Bourdeauducq
07b425a67a
fix other compilation warnings
2020-11-16 14:57:20 +08:00
pca006132
7dbffadf08
mgmt: implemented config write
2020-11-04 21:16:47 +08:00
pca006132
5e4bf8bbf7
runtime/comms: Faster RPC alloc
...
We do busy polling for some time before doing await, for small
allocations we could avoid the context switching and reduce the latency.
2020-09-03 16:58:44 +08:00
pca006132
42f94487cf
split config code into libconfig
2020-09-01 14:48:09 +08:00
pca006132
e592efb2b8
enabled L2 cache and optimized ethernet
2020-08-25 14:51:39 +08:00
Astro
760f46a115
update dependencies
2020-08-17 19:17:42 +02:00
pca006132
4b6c5d5679
runtime/kernel: store DMA and cache buffer on core0.
...
Closes #77 .
2020-08-05 15:33:40 +08:00
pca006132
fc21fcc920
runtime/comms: removed sync_channel hack.
...
Fixes #80
2020-08-04 14:40:02 +08:00
pca006132
56e7cc822c
runtime/comms: limited concurrent connections to 1 only.
2020-08-04 10:31:03 +08:00
pca006132
d58a3ef12c
runtime/comms: restart core1 before kernel load.
2020-08-04 10:17:19 +08:00
pca006132
fa00ab211d
Updated zc706 dependency and fixed compiler errors.
2020-08-04 10:15:57 +08:00
Sebastien Bourdeauducq
0b47ac75f0
comms,mgmt: log connections as soon as they arrive
2020-07-20 19:09:56 +08:00
Sebastien Bourdeauducq
4af29e8eca
comms: report error on incorrect connection start pattern
2020-07-20 19:07:12 +08:00
Sebastien Bourdeauducq
2e10922715
analyzer: implement firmware part
2020-07-16 11:47:55 +08:00
pca006132
62f39e2c08
mgmt: Implemented network log access.
2020-07-13 15:15:06 +08:00
pca006132
68d27ca2ee
comms: removed core1 restart
2020-07-10 17:21:55 +08:00
Sebastien Bourdeauducq
6454315cd2
config: refactor and share
2020-07-08 19:24:26 +08:00
pca006132
e263814546
Kernel: Added startup kernel
2020-07-08 15:54:50 +08:00
pca006132
c59772dca3
Exception handling: Implemented RPC exception.
2020-07-06 15:34:49 +08:00
Sebastien Bourdeauducq
33d12801b7
runtime: use network addresses from config
2020-07-06 12:59:51 +08:00
Sebastien Bourdeauducq
de8da59e56
adjust logging levels
2020-07-05 23:46:23 +08:00
Sebastien Bourdeauducq
60d42b1aaa
remove duplicated write_chunk function
2020-07-05 17:13:14 +08:00
pca006132
e65d4e0e84
Kernel: implemented KernelException
2020-07-03 17:21:42 +08:00
Sebastien Bourdeauducq
f52f10abc2
remove unnecessary dereferencing
2020-06-13 16:43:32 +08:00
Sebastien Bourdeauducq
dc78868109
update dependencies and add fatfs
2020-06-11 17:36:23 +08:00
Sebastien Bourdeauducq
bc81fa2e48
handle recursive RPC return values
2020-06-09 13:03:08 +08:00
Sebastien Bourdeauducq
4d03ecc187
decode RPC exception
2020-06-08 18:32:44 +08:00
Sebastien Bourdeauducq
bdf0831eb2
style
2020-06-08 18:16:38 +08:00
Sebastien Bourdeauducq
b1161a0f71
process RPC replies (WIP)
2020-06-08 13:11:09 +08:00
Sebastien Bourdeauducq
4b8bbdc3dc
send RPC requests to host
2020-06-07 15:13:20 +08:00
Sebastien Bourdeauducq
ed21457f28
replace libio with core_io
...
* based on https://github.com/jethrogb/rust-core_io but could not get the packaging scripts to work
and the repos is unmaintained anyway, so just copied the result
* more features and more up-to-date
* compatible with the fatfs crate
2020-06-05 17:14:36 +08:00
Sebastien Bourdeauducq
a915ed172a
send RPC requests to comms CPU, handle kernel termination
2020-06-05 11:48:34 +08:00
Sebastien Bourdeauducq
7aa9a95c21
add RPC protocol module (WIP)
2020-06-01 18:02:21 +08:00
Sebastien Bourdeauducq
b7695d9313
typo
2020-05-02 11:50:29 +08:00
Sebastien Bourdeauducq
bca2b3fe50
comms: add comment about closed connection handling
2020-05-02 11:44:10 +08:00
Sebastien Bourdeauducq
2439ba1f88
add impure incremental build process, document
2020-05-01 10:07:38 +08:00