Skip to content

Conversation

bibekbasu
Copy link
Contributor

Recently, Model names are updated for Jetson Nvidia boards.
This change takes care of model name check of Jetson TX1 nano and Xavier. Change also adds support for
Quill derivatives like storm and lightning.

Recently, Model names are updated for Jetson Nvidia boards.
This change takes care of model name check of Jetson TX1 nano and Xavier. Change also adds support for
Quill derivatives like storm and lightning.
Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@makermelissa makermelissa merged commit ae239bd into adafruit:master Aug 12, 2019
board = JETSON_TX1
elif 'quill' in board_value:
elif 'quill' in board_value or "storm" in board_value or "lightning" in board_value:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we are fixing this, we should convert the code to detect the board based on the DT compatible property rather than the DT model property. While both properties are 100% required to be an ABI, there is more likelihood that the model parameter won't actually be treated as an ABI, since it's free-form text which people are tempted to use for marketing/branding purposes, which indeed was the root-cause of the current problem that this patch fixes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swarren - thanx for the info, is that something you can PR?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bibekbasu are you able to update the detection method too, or would you like me to look at that after this is merged? https://github.com/NVIDIA/jetson-gpio/blob/master/lib/python/Jetson/GPIO/gpio_pin_data.py#L231 shows how Jetson.GPIO detect uses the compatible property.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will change the detection method from model to compatible in a new patch this week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants