Proposal for a New Command to U-Boot Fuse Programming
Tom Rini
trini at konsulko.com
Mon Jan 6 23:23:14 CET 2025
On Mon, Jan 06, 2025 at 12:06:25PM +0530, Harsha Vardhan V M wrote:
> I would like to propose a new command for U-Boot's fuse programming
> functionality to address the challenges posed by the current implementation.
> While the existing fuse prog command works well for programming individual
> fuse values, it becomes cumbersome especially when dealing with large-scale
> programming requirements.
>
> Current Command: fuse prog [-y] <bank> <word> <hexval> [<hexval>...]
>
> This command programs one or more fuse words starting from a specific <bank>
> and <word> with the hex values given as input.
>
> While functional, it lacks the efficiency and robustness needed for
> programming a significant number of fuses or handling structured fuse
> configuration data. Repeatedly specifying values for each fuse bank and word
> is not only time-consuming but also prone to errors during manual input or
> scripting. This approach does not leverage the ability to process
> pre-structured data in memory. For users with complex programming needs, the
> current method becomes an obstacle rather than a tool.
>
> Proposed Command: fuse writebuff
It would be good to provide some documentation links to the fuses that
you're wanting to deal with. What we have now works on a number of
diverse SoCs, even if for some cases it might be best to write a
script that's run rather than copy/paste things live. Any sort of new
mechanism needs to get feedback from users at other semiconductor
vendors to make sure it's generic enough for everyones needs. Thanks.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250106/ac3132df/attachment.sig>
More information about the U-Boot
mailing list