usb-gadget-service/scripts: handle SDP/ARDZ EEPROMs#94
Open
dlech wants to merge 1 commit intoanalogdevicesinc:mainfrom
Open
usb-gadget-service/scripts: handle SDP/ARDZ EEPROMs#94dlech wants to merge 1 commit intoanalogdevicesinc:mainfrom
dlech wants to merge 1 commit intoanalogdevicesinc:mainfrom
Conversation
Handle reading the EEPROM on SDP/ARDZ boards. These use a different data format from the FMC boards and need a different parser. There doesn't seem to be a general purpose tool for this, so add a new Python script here for that and use that in the iiod_context.sh script to read the EEPROM and update the /etc/libiio.ini file. This way, libiio will be able to pick up the hw_mezzanine and hw_serial Signed-off-by: David Lechner <dlechner@baylibre.com>
Author
|
I tested by manually editing my local IIO context has 7 attributes:
hw_carrier: Terasic DE10-Nano
hw_model: EVAL-AD4112SDZ on Terasic DE10-Nano
hw_mezzanine: EVAL-AD4112SDZ
hw_vendor: Analog Devices
hw_serial: 60657100000000B8
local,kernel: 6.15.0-next-20250605-socfpga-00004-g1e7b0df14bac-dirty
uri: local:So looks to be working as intended. |
Author
|
@SRaus could you please take a look? |
Contributor
|
Looks good to me! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Handle reading the EEPROM on SDP/ARDZ boards. These use a different data format from the FMC boards and need a different parser. There doesn't seem to be a general purpose tool for this, so add a new Python script here for that and use that in the iiod_context.sh script to read the EEPROM and update the /etc/libiio.ini file.
This way, libiio will be able to pick up the hw_mezzanine and hw_serial