run idle kernel on flash #325
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#325
Loading…
Reference in New Issue
No description provided.
Delete Branch "srenblad/artiq-zynq:run_idle_on_flash_alt"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Run idle kernel on flash
Implements https://github.com/m-labs/artiq/pull/2569 for artiq-zynq as closely as possible.
Related issue: Discussed in https://github.com/m-labs/artiq/issues/2041.
At the moment the only difference in idle kernel behavior between Zynq and RISC-V is:
KernelNotFound
.artiq_coremgmt config
calls, after an experiment is run or on startup.I don't hold a strong preference either way. Thoughts @mwojcik, @sb10q?
Testing
All tests performed with the Kasli-SoC v1.1 demo.json variant.
artiq_coremgmt config write idle_kernel ...
artiq_coremgmt config remove idle_kernel
artiq_coremgmt config write/remove idle_kernel ...
calls are properly handledI believe "idle" would mean the device would be running it, when otherwise it would be doing nothing; RISC-V behaviour seems more fitting that the kernel would fully fill the idle state. Even weirder if any irrelevant
artiq_coremgmt config
call would cause the idle kernel to restart;Just to clarify, only config calls that edit the idle_kernel cause a restart.
WIP: run idle kernel on flashto run idle kernel on flashUpdated with idle kernel rerunning on finish.