Commit Graph

1030 Commits

Author SHA1 Message Date
a325d5ce78 flake: update dependencies 2025-08-11 23:18:28 +08:00
40f1c94ecf satman: flush uart before reboot 2025-08-11 15:10:18 +08:00
92c586d266 runtime: flush uart before rebooting 2025-08-11 15:10:18 +08:00
96928b7d0d logger: implement flush for BufferLogger 2025-08-11 15:10:18 +08:00
59266fd141 runtime: make routing table static OnceLock 2025-08-04 12:55:40 +08:00
78080eae2b flake: add new required fields for buildPythonPackage 2025-07-31 15:17:07 +08:00
f1e79310ec update cargo lock 2025-07-31 15:07:04 +08:00
3a65d6c2a5 libksupport: wrap RTIO_DEVICE_MAP in OnceLock 2025-07-31 15:07:04 +08:00
734fd11ad6 libboard_artiq: wrap LOGGER in OnceLock 2025-07-31 15:07:04 +08:00
5843138a8e flake: update dependencies 2025-07-31 15:06:03 +08:00
1ab755838a ksupport: expose libc/compiler-rt strlen and bcmp 2025-07-30 18:17:09 +08:00
e21873d227 runtime: make aux_mutex static 2025-07-25 16:27:01 +08:00
767b725db7 runtime: make restart_idle static
Semaphore is already Send/Sync so there is no need to wrap it in an Rc
and pass it around.
2025-07-16 14:00:36 +08:00
e02b56b709 flake: update dependencies 2025-07-16 12:39:09 +08:00
8223d263f6 libconfig: remove Config struct
Replaced with module level functions.
2025-07-16 12:39:01 +08:00
1c64f4488a update cargo lockfile 2025-07-15 16:05:27 +08:00
67d79c81a5 satman: return rtio init reply in subkernels 2025-07-14 11:22:04 +08:00
9e6b06250a cargo fmt 2025-07-11 17:09:13 +08:00
58e54ec7af rtio init: wait for comms to acknowledge the reset 2025-07-11 17:03:51 +08:00
089f3cb664 cxp_camera_setup: support async read/write
cxp_camera_setup: change u32&u64 read/write functions to be async
2025-07-04 16:38:25 +08:00
b0f508f675 cxp_packet: support u64 async read/write
cxp_packet: refactor get_ctrl fns for reuse
cxp_packet: remove gating on async fns for cxp_camera_setup
cxp_packet: change u64 read/write fns to be async
cxp_packet: keep u32 read/write sync fn for cxp syscalls
2025-07-04 16:38:25 +08:00
89f22883e5 comms: suppress warning 2025-07-04 14:47:06 +08:00
160132a858 si5324: fix zc706 switch clock error 2025-07-04 10:55:53 +08:00
eeda17bbb5 rtio_mgt: don't panic if master not found 2025-07-04 10:16:10 +08:00
b7588ed629 rtio_mgt: do not assume master is at destination 0 2025-07-04 10:16:10 +08:00
7fc7e971f7 core1: don't assume 0 is the master's destination 2025-07-04 10:16:10 +08:00
aacf22211b rtio_mgt: move local rtio setup to link thread beginning 2025-07-04 10:16:10 +08:00
8769439d60 flake: update dependencies 2025-07-03 19:47:41 +08:00
7fb596e803 satman main: add CXP grabber thread and phy setup 2025-07-03 17:42:46 +08:00
137fb5375e satman: handle CXP drtio aux packet
satman main: gate drtiosat_cxp.rs behind has_cxp_grabber
drtiosat_cxp: spawn separate async task for read and write CXP operation
drtiosat_cxp: reply error if camera is not detected
drtiosat_cxp: process cxp roi viewer setup and data request
drtiosat_aux: forward and handle cxp aux packets
2025-07-03 17:42:46 +08:00
23af88157e si5324: fix no ack error with coaxpress_sfp led
si5324: select i2c mux ports when changing recovery clock
2025-07-03 17:42:46 +08:00
37cdc02b66 kasli_soc satellite: add coaxpress_sfp support
kasli_soc: remove error message when using coaxpress_sfp with satellite
satellite: use sfp slot 0 for coaxpress_sfp
satellite: connect the right virtual led bits when drtio_ch < 4
2025-07-03 17:42:46 +08:00
74a1ff2bc7 satellite json: add coaxpress_sfp 2025-07-03 17:42:46 +08:00
54d494e6ec kernel cxp: add CXP satellite support
api: compile cxp.rs with DRTIO using cfg gating
cxp: refactor xml helper fns to accept read byte closure
cxp: support non-local destination CXP syscall
cxp: pass satellite read, write, roi viewer request to core0
cxp: raise error when local has no cxp_grabber and no drtio
cxp: pass CXP error from satellite as CXPError
2025-07-03 17:42:46 +08:00
871de86e18 comms: handle CXP kernel message
kernel: add CXP error, read, write, roi viewer kernel messages
comms: send roi viewer setup to satellite
comms: support polling for roi viewer data, read, write request
comms: printout drtio aux and unexpected packet via error macro
comms: pass CXP error to kernel
2025-07-03 17:42:46 +08:00
fcb668dd23 drtioaux_proto: add CXP packets
proto: add CXP payload size in u8 and u64
proto: add CXP err, wait, read, write, roi viewer packets
2025-07-03 17:33:06 +08:00
7478ff4967 cxp_packet: add async CXP read/write operations 2025-07-03 17:33:06 +08:00
d9b5bb83c2 cxp_grabber: use async mutex to prevent deadlock 2025-07-03 17:33:06 +08:00
2defdc13bd cxp_grabber: move roi viewer setup from syscall 2025-07-03 17:33:06 +08:00
bb8bc269a2 cxp_grabber: move CXP thread from runtime main 2025-07-03 17:33:06 +08:00
c03d3c500b cargo fmt 2025-07-02 15:18:49 +08:00
23512254d4 cxp syscall: clear roi viewer ready CSR 2025-07-02 14:35:31 +08:00
e8b73e45fb cxp syscall: move to kernel directory 2025-07-02 14:35:31 +08:00
a5b46ca948 flake: update dependencies 2025-06-26 18:45:05 +08:00
eace3e9fb7 runtime: fix import warns 2025-06-26 15:39:02 +08:00
f2462b28e6 remove GlobalTimer, CountDown 2025-06-26 12:35:33 +08:00
ba3eec7154 flake: update dependencies 2025-06-26 12:35:25 +08:00
0c216c86ae flake: cleanup ramda python dep 2025-06-25 21:36:03 +08:00
ea3b6141c4 flake: update dependencies 2025-06-25 21:06:50 +08:00
955283eea4 cargo fmt 2025-06-19 10:54:31 +08:00