add support for tar flashable idle/startup (sub)kernels #279
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#279
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "mwojcik/artiq-zynq:tarred_subkernels"
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?
This PR adds support for idle/startup kernels in .TAR format. It is basically the same as on ARTIQ, although idle kernel behavior is of course different.
Requires artiq#2263 to fully run.
The
tar-no-std
library required a small change from the original0.1.8
version, that's why it's a fork on my GitHub for now - that probably could be moved to Gitea.Tested with SoC master and 2.0 satellite.
What is the purpose of TAR kernels?
Is it the way to run different kernels across master/sats?
Currently, kernels with subkernels can be run only from the PC side, as each subkernel is compiled into a separate binary, then sent through master to appropriate satellite.
So it would be impossible to use them as an idle or startup kernel, as these just take a single ELF file for now.
To help with that we can pack up the main ELF and subkernel ELFs together into a single TAR file and then upload it onto the device - the firmware will unpack it and send the subkernels to appropriate destinations.
5199defaff
to38af2de0c0
38af2de0c0
tob9fd750091
b9fd750091
toaebc739c1e