Proposal for a New Command to U-Boot Fuse Programming

2025-01-06 Thread Harsha Vardhan V M
ge or complex fuse configurations. Request for Feedback Does this proposal look good? If so, I will start to work on an RFC patch to implement the proposed changes. Best regards, Harsha Vardhan V M h...@ti.com

Re: [EXTERNAL] Re: Proposal for a New Command to U-Boot Fuse Programming

2025-01-09 Thread Harsha Vardhan V M
On 07/01/25 03:53, Tom Rini wrote: 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

Re: [EXTERNAL] Re: Proposal for a New Command to U-Boot Fuse Programming

2025-01-24 Thread Harsha Vardhan V M
On 22/01/25 22:52, Tom Rini wrote: On Fri, Jan 10, 2025 at 11:12:47AM +0530, Harsha Vardhan V M wrote: On 07/01/25 03:53, Tom Rini wrote: 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 function

Re: [EXTERNAL] Re: Proposal for a New Command to U-Boot Fuse Programming

2025-01-27 Thread Harsha Vardhan V M
On 25/01/25 00:59, Tom Rini wrote: On Fri, Jan 24, 2025 at 02:31:15PM +0530, Harsha Vardhan V M wrote: On 22/01/25 22:52, Tom Rini wrote: On Fri, Jan 10, 2025 at 11:12:47AM +0530, Harsha Vardhan V M wrote: On 07/01/25 03:53, Tom Rini wrote: On Mon, Jan 06, 2025 at 12:06:25PM +0530

Re: [EXTERNAL] Re: Proposal for a New Command to U-Boot Fuse Programming

2025-01-30 Thread Harsha Vardhan V M
On 29/01/25 03:52, Tom Rini wrote: On Mon, Jan 27, 2025 at 04:22:36PM +0530, Harsha Vardhan V M wrote: On 25/01/25 00:59, Tom Rini wrote: On Fri, Jan 24, 2025 at 02:31:15PM +0530, Harsha Vardhan V M wrote: On 22/01/25 22:52, Tom Rini wrote: On Fri, Jan 10, 2025 at 11:12:47AM +0530

Re: [RFC PATCH 3/4] drivers: k3_fuse: Add fuse sub-system func calls

2025-03-17 Thread Harsha Vardhan V M
On 13/03/25 21:49, Tom Rini wrote: On Thu, Mar 13, 2025 at 05:25:16PM +0530, Harsha Vardhan V M wrote: Add K3_FUSE config option to add and enable fuse sub-system implementation function calls. Signed-off-by: Harsha Vardhan V M Reviewed-by: Tom Rini And can you please file an issue on

[RFC PATCH v3 1/5] cmd: fuse: Remove custom string functions

2025-03-18 Thread Harsha Vardhan V M
Remove custom string functions and replace them with normal string functions. Remove the custom strtou32 and replace it with simple_strtoul. Signed-off-by: Harsha Vardhan V M --- cmd/fuse.c | 39 ++- 1 file changed, 18 insertions(+), 21 deletions(-) diff

[RFC PATCH v3 2/5] doc: cmd: Add documentation for fuse command

2025-03-18 Thread Harsha Vardhan V M
Add documentation for the 'fuse' sub-system commands in doc/usage/cmd/fuse.rst file. Remove doc/README.fuse file. Signed-off-by: Harsha Vardhan V M --- doc/README.fuse| 67 -- doc/usage/cmd/fuse.rst | 156 + doc/usage

[RFC PATCH v3 4/5] drivers: k3_fuse: Add fuse sub-system func calls

2025-03-18 Thread Harsha Vardhan V M
Add K3_FUSE config option to add and enable fuse sub-system implementation function calls. Signed-off-by: Harsha Vardhan V M Reviewed-by: Tom Rini --- drivers/misc/Kconfig | 7 drivers/misc/Makefile | 1 + drivers/misc/k3_fuse.c | 78 ++ 3

[RFC PATCH v3 3/5] cmd: fuse: Add fuse writebuff sub-system command

2025-03-18 Thread Harsha Vardhan V M
Add CMD_FUSE_WRITEBUFF config option to add and enable fuse writebuff sub-system command. Add fuse_writebuff function to be invoked on writebuff command. Signed-off-by: Harsha Vardhan V M Reviewed-by: Tom Rini --- cmd/Kconfig| 8 cmd/fuse.c | 30

[RFC PATCH v3 5/5] doc: cmd: Add fuse writebuff cmd documentation

2025-03-18 Thread Harsha Vardhan V M
Add fuse writebuff sub-system command documentation. Signed-off-by: Harsha Vardhan V M --- doc/usage/cmd/fuse.rst | 20 1 file changed, 20 insertions(+) diff --git a/doc/usage/cmd/fuse.rst b/doc/usage/cmd/fuse.rst index 6e330eddfea..42c6e209f99 100644 --- a/doc/usage/cmd

[RFC PATCH v2 5/5] doc: cmd: add fuse writebuff cmd documentation

2025-03-14 Thread Harsha Vardhan V M
Add fuse writebuff sub-system command documentation. Signed-off-by: Harsha Vardhan V M --- doc/usage/cmd/fuse.rst | 20 1 file changed, 20 insertions(+) diff --git a/doc/usage/cmd/fuse.rst b/doc/usage/cmd/fuse.rst index 6e330eddfea..42c6e209f99 100644 --- a/doc/usage/cmd

[RFC PATCH v2 4/5] drivers: k3_fuse: Add fuse sub-system func calls

2025-03-14 Thread Harsha Vardhan V M
Add K3_FUSE config option to add and enable fuse sub-system implementation function calls. Signed-off-by: Harsha Vardhan V M Reviewed-by: Tom Rini --- drivers/misc/Kconfig | 7 drivers/misc/Makefile | 1 + drivers/misc/k3_fuse.c | 78 ++ 3

[RFC PATCH v2 3/5] cmd: fuse: Add fuse writebuff sub-system command

2025-03-14 Thread Harsha Vardhan V M
Add CMD_FUSE_WRITEBUFF config option to add and enable fuse writebuff sub-system command. Add fuse_writebuff function to be invoked on writebuff command. Signed-off-by: Harsha Vardhan V M Reviewed-by: Tom Rini --- cmd/Kconfig| 8 cmd/fuse.c | 26

Re: [EXTERNAL] Re: [RFC PATCH 2/4] cmd: fuse: Add fuse writebuff sub-system command

2025-03-14 Thread Harsha Vardhan V M
On 13/03/25 21:48, Tom Rini wrote: On Thu, Mar 13, 2025 at 05:25:15PM +0530, Harsha Vardhan V M wrote: Add CMD_FUSE_WRITEBUFF config option to add and enable fuse writebuff sub-system command. Add fuse_writebuff function to be invoked on writebuff command. Signed-off-by: Harsha Vardhan V M

Re: [EXTERNAL] Re: [RFC PATCH 1/4] cmd: fuse: Remove custom string functions

2025-03-14 Thread Harsha Vardhan V M
On 13/03/25 21:45, Tom Rini wrote: On Thu, Mar 13, 2025 at 05:25:14PM +0530, Harsha Vardhan V M wrote: Remove custom string functions and replace them with normal string functions. Remove the custom strtou32 and replace it with str2long. Signed-off-by: Harsha Vardhan V M Thanks for

Re: [EXTERNAL] Re: [RFC PATCH v3 1/5] cmd: fuse: Remove custom string functions

2025-03-18 Thread Harsha Vardhan V M
On 18/03/25 19:39, Tom Rini wrote: On Tue, Mar 18, 2025 at 04:20:43PM +0530, Harsha Vardhan V M wrote: Remove custom string functions and replace them with normal string functions. Remove the custom strtou32 and replace it with simple_strtoul. Signed-off-by: Harsha Vardhan V M [snip

Re: [RFC PATCH v2 2/5] doc: cmd: add documentation for fuse command

2025-03-17 Thread Harsha Vardhan V M
On 14/03/25 22:08, Tom Rini wrote: On Fri, Mar 14, 2025 at 07:27:03PM +0530, Harsha Vardhan V M wrote: Add documentation for the 'fuse' sub-system commands. Signed-off-by: Harsha Vardhan V M --- doc/usage/cmd/fuse.rst | 156 + 1 file ch

Re: [RFC PATCH 1/4] cmd: fuse: Remove custom string functions

2025-03-17 Thread Harsha Vardhan V M
On 14/03/25 19:39, Tom Rini wrote: On Fri, Mar 14, 2025 at 07:13:19PM +0530, Harsha Vardhan V M wrote: On 13/03/25 21:45, Tom Rini wrote: On Thu, Mar 13, 2025 at 05:25:14PM +0530, Harsha Vardhan V M wrote: Remove custom string functions and replace them with normal string functions

[PATCH 1/5] cmd: fuse: Remove custom string functions

2025-03-19 Thread Harsha Vardhan V M
Remove custom string functions and replace them with normal string functions. Remove the custom strtou32 and replace it with simple_strtoul. Signed-off-by: Harsha Vardhan V M --- cmd/fuse.c | 39 ++- 1 file changed, 18 insertions(+), 21 deletions(-) diff

[PATCH 4/5] drivers: k3_fuse: Add fuse sub-system func calls

2025-03-19 Thread Harsha Vardhan V M
Add K3_FUSE config option to add and enable fuse sub-system implementation function calls. Signed-off-by: Harsha Vardhan V M Reviewed-by: Tom Rini --- drivers/misc/Kconfig | 7 drivers/misc/Makefile | 1 + drivers/misc/k3_fuse.c | 78 ++ 3

[PATCH 3/5] cmd: fuse: Add fuse writebuff sub-system command

2025-03-19 Thread Harsha Vardhan V M
Add CMD_FUSE_WRITEBUFF config option to add and enable fuse writebuff sub-system command. Add fuse_writebuff function to be invoked on writebuff command. Signed-off-by: Harsha Vardhan V M Reviewed-by: Tom Rini --- cmd/Kconfig| 8 cmd/fuse.c | 30

[PATCH 5/5] doc: cmd: Add fuse writebuff cmd documentation

2025-03-19 Thread Harsha Vardhan V M
Add fuse writebuff sub-system command documentation. Signed-off-by: Harsha Vardhan V M --- doc/usage/cmd/fuse.rst | 20 1 file changed, 20 insertions(+) diff --git a/doc/usage/cmd/fuse.rst b/doc/usage/cmd/fuse.rst index 6e330eddfea..42c6e209f99 100644 --- a/doc/usage/cmd

[PATCH 0/5] cmd: fuse: Introduce fuse writebuff sub-system and clean up

2025-03-19 Thread Harsha Vardhan V M
/#m79236044732c410b0281973ef03c11e4d3e31991 Harsha Vardhan V M (5): cmd: fuse: Remove custom string functions doc: cmd: Add documentation for fuse command cmd: fuse: Add fuse writebuff sub-system command drivers: k3_fuse: Add fuse sub-system func calls doc: cmd: Add fuse writebuff cmd documentation cmd/Kconfig

[RFC PATCH v3 0/5] cmd: fuse: Introduce fuse writebuff sub-system and clean up

2025-04-05 Thread Harsha Vardhan V M
doc/README.fuse and add cmd/fuse index in doc/usage/index.rst in patch #2. 2.Converted strrtou32 to simple_strtoul Harsha Vardhan V M (5): cmd: fuse: Remove custom string functions doc: cmd: Add documentation for fuse command cmd: fuse: Add fuse writebuff sub-system command drivers

[PATCH 2/5] doc: cmd: Add documentation for fuse command

2025-03-27 Thread Harsha Vardhan V M
Add documentation for the 'fuse' sub-system commands in doc/usage/cmd/fuse.rst file. Remove doc/README.fuse file. Signed-off-by: Harsha Vardhan V M --- doc/README.fuse| 67 -- doc/usage/cmd/fuse.rst | 156 + doc/usage

[RFC PATCH v2 0/5] cmd: fuse: Introduce fuse writebuff sub-system and clean up

2025-03-14 Thread Harsha Vardhan V M
programming workflows by allowing to write a structured buffer in memory to efuses. Changes in v2: 1.Convert doc/README.fuse to doc/usage/cmd/fuse.rst as patch #2, as requested by tr...@konsulko.com. 2.Add fuse writebuff documentation in fuse.rst in the final patch. Harsha Vardhan V M (5): cmd

[RFC PATCH v2 1/5] cmd: fuse: Remove custom string functions

2025-03-14 Thread Harsha Vardhan V M
Remove custom string functions and replace them with normal string functions. Remove the custom strtou32 and replace it with str2long. Signed-off-by: Harsha Vardhan V M --- cmd/fuse.c | 27 --- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/cmd/fuse.c b

[RFC PATCH v2 2/5] doc: cmd: add documentation for fuse command

2025-03-14 Thread Harsha Vardhan V M
Add documentation for the 'fuse' sub-system commands. Signed-off-by: Harsha Vardhan V M --- doc/usage/cmd/fuse.rst | 156 + 1 file changed, 156 insertions(+) create mode 100644 doc/usage/cmd/fuse.rst diff --git a/doc/usage/cmd/fuse.rst b/doc

[RFC PATCH 3/4] drivers: k3_fuse: Add fuse sub-system func calls

2025-03-13 Thread Harsha Vardhan V M
Add K3_FUSE config option to add and enable fuse sub-system implementation function calls. Signed-off-by: Harsha Vardhan V M --- drivers/misc/Kconfig | 7 drivers/misc/Makefile | 1 + drivers/misc/k3_fuse.c | 78 ++ 3 files changed, 86

[RFC PATCH 1/4] cmd: fuse: Remove custom string functions

2025-03-13 Thread Harsha Vardhan V M
Remove custom string functions and replace them with normal string functions. Remove the custom strtou32 and replace it with str2long. Signed-off-by: Harsha Vardhan V M --- cmd/fuse.c | 27 --- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/cmd/fuse.c b

[RFC PATCH 4/4] docs: fuse: Add fuse writebuff cmd docs

2025-03-13 Thread Harsha Vardhan V M
Add fuse writebuff sub-system command documentation Signed-off-by: Harsha Vardhan V M --- doc/README.fuse | 14 ++ 1 file changed, 14 insertions(+) diff --git a/doc/README.fuse b/doc/README.fuse index 1bc91c44a6a..b150f39cc16 100644 --- a/doc/README.fuse +++ b/doc/README.fuse

[RFC PATCH 2/4] cmd: fuse: Add fuse writebuff sub-system command

2025-03-13 Thread Harsha Vardhan V M
Add CMD_FUSE_WRITEBUFF config option to add and enable fuse writebuff sub-system command. Add fuse_writebuff function to be invoked on writebuff command. Signed-off-by: Harsha Vardhan V M --- cmd/Kconfig| 8 cmd/fuse.c | 26 ++ include/fuse.h | 9

[RFC PATCH 0/4] cmd: fuse: Introduce fuse writebuff sub-system and clean up

2025-03-13 Thread Harsha Vardhan V M
efuses. Harsha Vardhan V M (4): cmd: fuse: Remove custom string functions cmd: fuse: Add fuse writebuff sub-system command drivers: k3_fuse: Add fuse sub-system func calls docs: fuse: Add fuse writebuff cmd docs cmd/Kconfig| 8 + cmd/fuse.c | 49