implement SFP0..3 LED indication (#231) #258
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#258
Loading…
Reference in New Issue
No description provided.
Delete Branch "morgan/artiq-zynq:feature_SFPLED"
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?
add SFP0..3 LED indication at
io_expander.rs
virtual_led_mapping
for hw versionv1.1
andv1.0
in structIoExpander
csr::virtual_leds::status_read()
to update SFP0..3 LEDadd
csr_devices.append("virtual_leds")
forGenericMaster
andGenericSatellite
atkasli_soc.py
virtual_leds.get(i)
for the respectivedrtio_transceiver.channels
add async task
io_expanders_service()
at runtimemain.rs
add
io_expander.service()
after link up/down at satmanmain.rs
compilation check
nix build <variant> -L
for kasli-soc master, satellite & standalone and all need PR #257 to built successfullyfunctional check (with PR #257)
Satellite Kasli
(release-7) plug in the respective SFP port ofMaster Kasli-soc
(This PR with correcthw_rev
cfg)Master Kasli
(release-7) plug in the SFP0 port ofSatellite Kasli-soc
(This PR with correcthw_rev
cfg)Satellite Kasli
(release-7) plug in the respective SFP port ofSatellite Kasli-soc
(This PR with correcthw_rev
cfg)Prerequisite
Checklist of backporting SFP0..3 LED indication
Don't start commit messages with "- ".
The first line should be a summary and then you can expand in the following lines.
Also there's a conflict after merging the "prerequisite" PR.
961bef53fc
to8a84e90a17
8a84e90a17
to00c5ee01b0
Updated commit message and manually rebased to
release-7
to resolved the merge conflict.