Skip to content

feat(U-Boot): Add User Guide on Key Writer Lite #294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Harsha-VM
Copy link

Add a user guide that introduces and gives an example flow of key writer lite from u-boot.

Comment on lines +101 to +111
In the case of TI AM62L PROC181E1 EVMs, an I2C driver is necessary to send command packets to the IO expander,
which then toggles the IO pin connected to the Vpp pin, thereby controlling the power supply to the pin.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will this procedure change with the other EVM revisions?

Copy link
Author

Choose a reason for hiding this comment

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

The procedure as such in general will remain same like one has to select the i2c bus to which the chip that powers up Vpp pin is connected to, and then turn off Vpp, configure Vpp port as output and turn on Vpp.
But, The values of the commands can change if the i2c schematic changes and if the IO expander chip's address that enables Vpp changes in other EVM revisions.

The SoC user can design a suitable circuit that enables the Vpp pin to be powered. This is an example for the user in the above mentioned EVM revision.


Changes made to efuses, by programming them, take effect (like become
visible in Memory-Mapped Registers (MMRs), device type change etc.)
after a complete System-on-Chip (SoC) power cycle.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we have any error conditions? What do we do if something in this chain doesn't go according to plan?

Copy link
Author

Choose a reason for hiding this comment

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

The error conditions of fuse writebuff (the corressponding TISCI keywriter lite API it calls) is documented in the TISCI docs.

u-boot=> dcache flush
u-boot=> md 0x82000000

#. Efuse modification requires a voltage to be applied on a specific pin (Vpp) during the programming.
Copy link
Collaborator

@bryanbrattlof bryanbrattlof May 16, 2025

Choose a reason for hiding this comment

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

I'm wondering if we should re-order this. Should setting up the EVM come first, then creating the structures, then sending the structures to TIFS? IDK I've never had to convert an FS chip to SE

Copy link
Author

Choose a reason for hiding this comment

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

I feel this flow is fine, where you setup Vpp right before calling fuse writebuff

@Harsha-VM Harsha-VM force-pushed the key-writer-lite-docs branch from 11a39b9 to 9aba367 Compare May 19, 2025 09:34
@cshilwant cshilwant dismissed StaticRocket’s stale review May 19, 2025 20:52

Author has updated the PR

Add a user guide that introduces and gives an example
flow of key writer lite from u-boot.

Signed-off-by: Harsha Vardhan V M <[email protected]>
@Harsha-VM Harsha-VM force-pushed the key-writer-lite-docs branch from 9aba367 to 01e7204 Compare May 22, 2025 07:19
@cshilwant
Copy link
Member

@bryanbrattlof @StaticRocket to re-review

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.

9 participants