idle kernel changes: run on startup, flashing new kernel after startup #276
No reviewers
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#276
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "srenblad/artiq-zynq:idle_kernel_rework_simple"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
idle kernel changes: run on startup, flashing new kernel after startup
Relevant issue: https://github.com/m-labs/artiq/issues/2246
Proposed fix:
Testing
@ -727,0 +733,4 @@
let up_destinations = up_destinations.clone();
let aux_mutex = aux_mutex.clone();
let routing_table = drtio_routing_table.clone();
async move {
isn't there a way to reuse the idle kernel start-up code?
there might be, let me have a look!
d77f141c3c
to1ab13f5799
@esavkin see latest push reusing startup and idle kernel code.
Looks fine to me, except the wording. The new function is not exactly flashing. I would say it better be some verb, that would represent something like
starting the kernel from config
.Let's wait for other reviews.
runtime.comms.rs: run idle kernel on start-upto idle kernel changes: run on startup, flashing new kernel after startupI don't think the
flash_kernel_worker
in session.rs does either. If I was to guess, I would say the original naming is based on the fact that it loads from the flash (ie config) not that it flashes.host_kernel_worker
does the same thing but for experiment runs.@ -641,0 +652,4 @@
info!("Loading {}", config_key);
let _ = load_kernel(&buffer, &control, None)
.await.map_err(|_| warn!("Error loading {}", config_key));
info!("Running idle kernel");
It's not always the idle.
idle kernel changes: run on startup, flashing new kernel after startupto WIP: idle kernel changes: run on startup, flashing new kernel after startup1ab13f5799
toff2e95c35e
ff2e95c35e
to16b0d258c5
WIP: idle kernel changes: run on startup, flashing new kernel after startupto idle kernel changes: run on startup, flashing new kernel after startupStep 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.