Skip to content

Commit

Permalink
Merge pull request #24 from tenstorrent/joelsmith/add-fwbundle-to-sysfs
Browse files Browse the repository at this point in the history
Add FW bundle attribute to sysfs
  • Loading branch information
alewycky-tenstorrent authored Jun 25, 2024
2 parents f7b6211 + a13e982 commit 696c047
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions grayskull.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ static struct tt_attribute_data gs_attributes[] = {
{ __ATTR(tt_serial, S_IRUGO, tt_show_card_serial, NULL), 0x10, 0x0 },
{ __ATTR(tt_arc_fw_ver, S_IRUGO, tt_show_fw_ver, NULL), 0x18, 0xFFFFFF },
{ __ATTR(tt_ttflash_ver, S_IRUGO, tt_show_fw_ver, NULL), 0x98, 0x0 },
{ __ATTR(tt_fw_bundle_ver, S_IRUGO, tt_show_fw_ver, NULL), 0x9C, 0x0 },
{ __ATTR_NULL, 0, 0 }
};

Expand Down
5 changes: 3 additions & 2 deletions wormhole.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ static struct tt_attribute_data wh_attributes[] = {
{ __ATTR(tt_card_type, S_IRUGO, tt_show_card_type, NULL), 0x10, 0x0 },
{ __ATTR(tt_serial, S_IRUGO, tt_show_card_serial, NULL), 0x10, 0x0 },
{ __ATTR(tt_arc_fw_ver, S_IRUGO, tt_show_fw_ver, NULL), 0x18, 0x0 },
{ __ATTR(tt_eth_fw_ver, S_IRUGO, tt_show_eth_fw_ver, NULL), 0x2c, 0x0 },
{ __ATTR(tt_eth_fw_ver, S_IRUGO, tt_show_eth_fw_ver, NULL), 0x2C, 0x0 },
{ __ATTR(tt_m3bl_fw_ver, S_IRUGO, tt_show_fw_ver, NULL), 0x30, 0x0 },
{ __ATTR(tt_m3app_fw_ver, S_IRUGO, tt_show_fw_ver, NULL), 0x34, 0x0 },
{ __ATTR(tt_ttflash_ver, S_IRUGO, tt_show_fw_ver, NULL), 0xb8, 0x0 },
{ __ATTR(tt_ttflash_ver, S_IRUGO, tt_show_fw_ver, NULL), 0xB8, 0x0 },
{ __ATTR(tt_fw_bundle_ver, S_IRUGO, tt_show_fw_ver, NULL), 0xC4, 0x0 },
{ __ATTR_NULL, 0, 0 }
};

Expand Down

0 comments on commit 696c047

Please sign in to comment.