Skip to content

Add the support for the new chipinfo format (OpenTitan) in htool.#251

Open
paipeng-g wants to merge 1 commit into
google:mainfrom
paipeng-g:main
Open

Add the support for the new chipinfo format (OpenTitan) in htool.#251
paipeng-g wants to merge 1 commit into
google:mainfrom
paipeng-g:main

Conversation

@paipeng-g
Copy link
Copy Markdown
Collaborator

No description provided.

@paipeng-g paipeng-g self-assigned this Apr 28, 2026
@paipeng-g
Copy link
Copy Markdown
Collaborator Author

Sample output on dev board:

$ bazel-bin/examples/htool --usb_loc 5-1 show chipinfo
Chip Info:
OpenTitan iSerial: 0x0100000047425f54000000014742000000000000000340360500446400024001
OpenTitan Device ID: 0x000340360500446400024001

Generic Identifier:
SI Creator ID: 0x4001
Product ID: 0x0002
Device Date: 2024 week 46
Lot Number: 004
Wafer Number: 05
Wafer X Coord: 036
Wafer Y Coord: 034
Reserved DIN: 0x00
Reserved: 0x00000000

SKU-specific Identifier:
Package ID: 0
AST Config Version: 0
OTP ID: "GB"
OTP Version: 1
SKU ID String: "GB_T"
SKU Specific Version: 1

Sample output on Asahi:

root@asahi:/tmp# ./htool --transport spidev --spidev_path /dev/spidev1.0 --mailbox_location 0x7ff0000 show chipinfo
Chip Info:
OpenTitan iSerial: 0x01000000544930300000000054490d0300000000000100350900811500034001
OpenTitan Device ID: 0x000100350900811500034001

Generic Identifier:
SI Creator ID: 0x4001
Product ID: 0x0003
Device Date: 2025 week 11
Lot Number: 008
Wafer Number: 09
Wafer X Coord: 035
Wafer Y Coord: 010
Reserved DIN: 0x00
Reserved: 0x00000000

SKU-specific Identifier:
Package ID: 3
AST Config Version: 13
OTP ID: "TI"
OTP Version: 0
SKU ID String: "TI00"
SKU Specific Version: 1

@stevenportley
Copy link
Copy Markdown
Collaborator

Can you merge these 6 commits into one? This way they don't all end up in the history

Comment thread protocol/chipinfo.h Outdated
Comment thread examples/htool.c
Comment thread examples/htool.c
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.

2 participants