mwojcik
d1ee0ffb83
subkernel: fix passing arguments
2024-02-01 18:56:07 +08:00
mwojcik
09462442f7
subkernel: allow negative timeouts for no timeout
2024-01-31 11:46:07 +08:00
mwojcik
171c7a6e11
runtime: use the destination passed by kernel
2024-01-31 11:46:07 +08:00
mwojcik
c9e3771cd5
subkernels: add support for (d)dma
2024-01-09 08:44:45 +08:00
mwojcik
4363cdf9fa
master: make use of the async message ready flag
2024-01-09 08:44:45 +08:00
mwojcik
95b92a178b
satman: make use of the async flag
2024-01-09 08:44:45 +08:00
mwojcik
4956fac861
satman: allow subkernels start subkernels
2024-01-09 08:44:45 +08:00
mwojcik
9bc66e5c14
support routing packets between satellites and master
2024-01-09 08:44:45 +08:00
mwojcik
4495f6035e
master: support source parameters
2024-01-09 08:44:45 +08:00
mwojcik
de10e584f6
support .tar flashed idle/startup kernels
2023-11-13 18:14:35 +08:00
mwojcik
6640bf0e82
drtioaux/subkernel/ddma: introduce proper errors, more robust
2023-11-07 13:42:04 +08:00
mwojcik
b3c0d084d4
drtio: better control state of bigger payloads
2023-11-07 13:42:04 +08:00
linuswck
bb0b8a6c00
kasli: Correct the GTP TX clock path during init
...
- TXOUT must be fed back into TXUSRCLK during initialization
- Now, MMCM Clock Input is switched before GTP TX Init is started instead of after GTP TX Init is done
- Reset in Sys Clock domain is kept asserted when clock is switched and GTP TX Init is NOT done
2023-11-07 13:40:32 +08:00
mwojcik
b168f0bb4b
subkernel: separate tags and data
2023-10-17 12:18:03 +02:00
mwojcik
f3c79e71e1
firmware: merge runtime and satman linker scripts
2023-10-09 15:33:29 +08:00
mwojcik
e05be2f8e4
runtime: support subkernels
2023-10-08 17:11:32 +08:00
mwojcik
6f4b8c641e
drtioaux_proto: use better payload names
2023-10-08 17:11:32 +08:00
mwojcik
af77885dfc
rtio_mgt: fix drtio reset on standalone
2023-09-22 09:46:40 +08:00
mwojcik
eb57b3b393
drtio: async messages become synchronous
...
They are now a reply for DestinationStatusRequest.
This prevents gateware errors and lost packets if the receiver is busy.
2023-09-21 16:30:00 +08:00
occheung
7f63bb322d
disable DRTIO-over-EEM OSERDES until clock is stable
...
This asserts OOB reset on EFC.
2023-09-05 16:59:01 +08:00
linuswck
b56f7e429a
drtio: rename drtio_transceiver to gt_drtio
2023-08-28 04:50:46 +00:00
occheung
64d3f867a0
add DRTIO-over-EEM PHY
...
for EFC and perhaps Phaser
2023-08-09 23:59:40 +00:00
David Nadlinger
efbae51f9d
runtime: Validate ksupport ELF against hard-coded address ranges
...
This would have caught the reduction in header padding with LLD 14.
In theory, we could just get rid of the hard-coded kernel CPU address
ranges altogether and use ksupport.elf as the one source of truth; the
code already exists in dyld. The actual base address of the file would
still need to be forwarded to the kernel-side libunwind glue, though,
as there doesn't seem to be a clean way to get the equivalent of
KSUPPORT_HEADER_SIZE through the linker script. I have left this as-is
with the hard-coded KERNELCPU_… constants for now.
2023-08-07 10:10:38 +00:00
mwojcik
a4895b591a
analyzer: fix satellite behavior
2023-05-29 13:13:24 +08:00
Sebastien Bourdeauducq
b9c7905b20
nixpkgs 23.05
2023-05-27 17:17:36 +08:00
mwojcik
ddfe51e7ac
analyzer: use transactions for data transmission
2023-05-19 11:39:14 +08:00
mwojcik
6c96033d41
analyzer: implement querying up satellites for data
2023-05-19 11:39:14 +08:00
mwojcik
918d30b900
dma: pass "uses_ddma" for non-remote recordings
2023-04-18 12:35:37 +08:00
Egor Savkin
8984f5104a
Move RTIO errors formatting to the session_proto
...
This would be closer to the artiq-zynq implementation
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-04-17 09:23:30 +08:00
Egor Savkin
d0b8818688
Add 125 MHz from 80 MHz reference option to rtio clocking
...
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-04-13 14:57:24 +08:00
Sebastien Bourdeauducq
97161a3df2
firmware: improve RTIO map error reporting
2023-04-04 11:27:31 +08:00
mwojcik
696bda5c03
handle playback status in aux_transact
2023-03-28 14:18:29 +08:00
mwojcik
9150230ea7
dma: gate ddma features behind cfg(has_drtio)
2023-03-28 14:18:29 +08:00
Spaqin
e9a153b985
runtime: implement distributed DMA
2023-03-22 11:16:25 +08:00
Egor Savkin
1ca09b9484
Add support for default route (IPv4 and IPv6) ( #2059 )
...
Based on code by Michael Birtwell <michael.birtwell@oxionics.com>
2023-03-13 17:29:10 +08:00
Egor Savkin
394138f00f
firmware: block session on startup kernel to be finished ( #2046 )
2023-01-19 16:46:53 +08:00
Sebastien Bourdeauducq
514ac953ce
remove obsolete SI5324_AS_SYNTHESIZER config option
2023-01-12 13:01:08 +08:00
Sebastien Bourdeauducq
0a37a1a4c1
Merge branch 'syncrtio'
2023-01-12 12:58:19 +08:00
Egor Savkin
070fed755b
firmware: unify RTIO error message format
2023-01-09 16:13:05 +08:00
Sebastien Bourdeauducq
5da9794895
remove Sayma and Metlino support
2023-01-06 17:41:12 +08:00
Spaqin
3838dfc1d1
DRTIO: RTIO/SYS clock merge, KC705
2023-01-06 07:13:38 +08:00
Spaqin
17efc28dbe
DRTIO: RTIO/SYS clock merge
2022-12-17 15:39:54 +08:00
David Nadlinger
1e0102379b
firmware: Rename si5324 crystal_{ref -> as_ckin2} [nfc]
...
This would have made the issue in the pre-740543d4e code
much more obvious (the config option by itself does not
have any effect on the choice of active reference input).
2022-12-17 02:17:12 +00:00
David Nadlinger
ceabeb8d84
firmware: Fix Si5324 initialisation for satellites
...
Commit 740543d4e2
had unintentionally broken DRTIO
satellites, as si5324::setup is also used there. This
imports setup_si5324_as_synthesizer() from artiq-zynq,
where the input selection was already explicitly done.
GitHub: Fixes #2028 .
2022-12-17 02:17:06 +00:00
SingularitySurfer
8e476dd502
implement pca9539 and runtime io-expander chip selection
...
better comments and address translation
fix spurious };
unwrap init in runtime and return err instead of panic
propagate error
del unnecessary use
Signed-off-by: SingularitySurfer <Norman_Krackow@gmx.de>
2022-12-14 22:46:38 +08:00
Egor Savkin
454ae39c5d
firmware: fix crash on exception with host message ( #2017 )
2022-12-07 10:41:43 +08:00
David Nadlinger
3c7a394eff
runtime/rtio_clocking: Deduplicate/document input selection [nfc]
2022-12-04 04:21:44 +00:00
David Nadlinger
740543d4e2
firmware: Fix Kasli v2 runtime rtio_clock selection
...
SI5324_EXT_REF now only controls the (deprecated) fallbacks
for when the rtio_clock option is not set.
2022-12-04 02:23:38 +00:00
Egor Savkin
1852491102
add channel names to RTIO errors
2022-12-02 16:27:03 +08:00
David Nadlinger
261dc6b933
firmware/runtime: Fix Ext0_Synth0_*to125 log messages
2022-12-02 01:37:56 +00:00