Egor Savkin
4bc936f071
Copy io expander from kasli
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-02-15 14:37:55 +08:00
Egor Savkin
d36899b485
firmware: unify RTIO error message format
...
Co-authored-by: Egor Savkin <es@m-labs.hk>
Co-committed-by: Egor Savkin <es@m-labs.hk>
2023-01-09 16:13:42 +08:00
Egor Savkin
6b3fa98d70
add channel names to RTIO errors
...
Co-authored-by: Egor Savkin <es@m-labs.hk>
Co-committed-by: Egor Savkin <es@m-labs.hk>
2023-01-09 12:35:56 +08:00
mwojcik
dc862a9051
match ident message with mainline
2022-10-21 12:08:11 +08:00
kk105
b638fce069
update SEEN_ASYNC_ERRORS in destination_survey ( #195 )
...
Co-authored-by: kk105 <kkl@m-kabs.hk>
Reviewed-on: M-Labs/artiq-zynq#195
Co-authored-by: kk105 <kkl@m-labs.hk>
Co-committed-by: kk105 <kkl@m-labs.hk>
2022-06-20 17:41:08 +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
8be5048cd3
upgrade to new clock configuration system ( #152 )
...
As mentioned in https://github.com/m-labs/artiq/issues/1735 - this is the Zynq version.
Reviewed-on: M-Labs/artiq-zynq#152
Co-authored-by: mwojcik <mw@m-labs.hk>
Co-committed-by: mwojcik <mw@m-labs.hk>
2021-11-29 11:17:59 +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
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
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
Sebastien Bourdeauducq
f1fd55dee5
kasli-soc: work around I2C breakage ( #130 )
2021-05-29 17:13:41 +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
pca006132
c2a6fb72f7
updated zynq-rs dependency
2021-01-26 12:38:09 +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
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
Sebastien Bourdeauducq
291a782db0
fix compiler warning
...
Feature is now stable.
2020-11-06 12:22:34 +08:00
pca006132
7dbffadf08
mgmt: implemented config write
2020-11-04 21:16:47 +08:00
Sebastien Bourdeauducq
36d8ffec3b
expose i2c to kernels
2020-09-06 00:11:19 +08:00
Sebastien Bourdeauducq
b0706f470d
runtime: set default log level to Info
2020-09-01 17:11:21 +08:00
pca006132
050b2457a4
runtime/main: removed bitstream loading code
2020-09-01 15:43:54 +08:00
pca006132
42f94487cf
split config code into libconfig
2020-09-01 14:48:09 +08:00
Astro
760f46a115
update dependencies
2020-08-17 19:17:42 +02:00
Sebastien Bourdeauducq
f8d4036451
add ACP kernel initiator
...
Based on work by Chris Ballance
https://github.com/m-labs/artiq/issues/1167#issuecomment-427188287
M-Labs/artiq-zynq#55
Work-in-progress, only gateware part and build system, untested.
2020-08-04 13:15:26 +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
Astro
b388b529ad
dyld: remove KERNEL_EXIDX_START/END globals, move dl_unwind_find_exidx() into runtime::kernel::core1
...
Gitea issue #16
2020-07-27 19:56:06 +02:00
Sebastien Bourdeauducq
e64f59723c
dma: use const initializer for manager
2020-07-25 12:12:56 +08:00
Sebastien Bourdeauducq
26874030fc
retry RTIO PLL lock
2020-07-25 11:15:33 +08:00
Astro
4846f2891b
use blocking timer api, update microseconds api
2020-07-22 23:58:55 +02:00
pca006132
d11e3fdad8
runtime/mgmt: mgmt.rs consistency
...
Closes #67 .
2020-07-21 13:54:32 +08:00
Sebastien Bourdeauducq
d65e893d1c
more conservative RTIO PLL reset timing
2020-07-20 14:19:13 +08:00
Sebastien Bourdeauducq
db2a8e7726
implement RTIO log
2020-07-20 14:10:46 +08:00
Sebastien Bourdeauducq
2e10922715
analyzer: implement firmware part
2020-07-16 11:47:55 +08:00
Sebastien Bourdeauducq
fa2d71615a
report async RTIO errors
2020-07-13 16:06:05 +08:00
pca006132
62f39e2c08
mgmt: Implemented network log access.
2020-07-13 15:15:06 +08:00
pca006132
855b26aa19
Logger: ported log_buffer.
2020-07-13 14:59:56 +08:00
Sebastien Bourdeauducq
bd7d58e239
add RTIO PLL and clock source selection
2020-07-08 19:58:13 +08:00
Sebastien Bourdeauducq
6454315cd2
config: refactor and share
2020-07-08 19:24:26 +08:00
Sebastien Bourdeauducq
a8de572014
set up PL clocks
2020-07-07 19:40:32 +08:00
Sebastien Bourdeauducq
33d12801b7
runtime: use network addresses from config
2020-07-06 12:59:51 +08:00
Sebastien Bourdeauducq
bbe6812792
add network address config code
2020-07-06 12:04:22 +08:00
Sebastien Bourdeauducq
0c1de42547
use simplified ps7_init
2020-07-06 00:54:44 +08:00
Sebastien Bourdeauducq
3bd4643009
use fpu_enable from zc706
2020-07-06 00:18:28 +08:00
pca006132
f3c3bd7384
Backtrace: panic handler with proper backtrace.
2020-07-02 13:12:12 +08:00
pca006132
eb750eb1f0
Exception handling: patched exception handling for ARTIQ.
2020-07-02 10:13:42 +08:00
Sebastien Bourdeauducq
507edb5a78
make config demo errors non-fatal
2020-06-25 11:27:50 +08:00
pca006132
f43ad05be5
Testing for config.
2020-06-18 11:33:52 +08:00