On Mon, 2024-05-27 at 09:34 +0200, Michal Simek wrote:
>
>
> On 5/22/24 19:47, Vasileios Amoiridis wrote:
> > From: Vasileios Amoiridis
> >
> > Currently, if the environment is not in the current boot media, the
> > env_get_location() is returning ENVL_UNKNOWN
the same priority as of now.
Signed-off-by: Vasileios Amoiridis
---
board/xilinx/versal-net/board.c | 47 ++--
board/xilinx/versal/board.c | 47 ++--
board/xilinx/zynq/board.c | 49 +++--
board/xilinx/zynqmp/zynqmp.c
From: Vasileios Amoiridis
Changes in v2:
- Remove duplication of custom hardcoded env_locations[] code.
- Add implementation with general arch_env_get_location(op, prio)
v1:
https://lore.kernel.org/u-boot/20240522174738.73522-1-vassilisa...@gmail.com/
Vasileios Amoiridis (1
From: Vasileios Amoiridis
Currently, if the environment is not in the current boot media, the
env_get_location() is returning ENVL_UNKNOWN or ENVL_NOWHERE which
is not true (i.e booting from FLASH with environment in eMMC). This
commit adds an extra check to find the environment in the other
From: Vasileios Amoiridis
This patch adds support to save the bootcount variable in a file located in
FAT filesystem. Up to now, there was support only for EXT filesystem.
The reason I put this as RFC is because the file "bootcount_ext.c" will no
longer represent the implementation f
From: Vasileios Amoiridis
Add support to save boot count variable in a file in a FAT filesystem.
Signed-off-by: Vasileios Amoiridis
---
doc/README.bootcount | 12
drivers/bootcount/Kconfig | 49 +++
drivers/bootcount/Makefile
On Thu, Jun 06, 2024 at 09:58:36AM +0200, Philip Oberfichtner wrote:
> Hi,
>
> On Wed, Jun 05, 2024 at 08:10:41PM +0200, Vasileios Amoiridis wrote:
> > From: Vasileios Amoiridis
> >
> > Add support to save boot count variable in a file in a FAT filesystem.
> &
On Thu, Jun 06, 2024 at 05:34:55PM +0200, Quentin Schulz wrote:
> Hi Vasileios,
>
> On 6/5/24 8:10 PM, Vasileios Amoiridis wrote:
> > [You don't often get email from vassilisa...@gmail.com. Learn why this is
> > important at https://aka.ms/LearnAboutSenderIden
istent?
Cheers,
Vasilis
P.S: Documentation has not been modified yet, I will submit in the v2 (if any).
Vasileios Amoiridis (1):
drivers: bootcount: Add support for FAT filesystem
doc/README.bootcount | 12 ++---
drivers/bootcount/Kconfig
Add support to save boot count variable in a file in a FAT filesystem.
Signed-off-by: Vasileios Amoiridis
---
doc/README.bootcount | 12 ++---
drivers/bootcount/Kconfig | 53 +--
drivers/bootcount/Makefile| 2
On Mon, Jun 10, 2024 at 01:37:47PM -0600, Tom Rini wrote:
> On Mon, Jun 10, 2024 at 08:51:16PM +0200, Vasileios Amoiridis wrote:
>
> > Add support to save boot count variable in a file in a FAT filesystem.
> >
> > Signed-off-by: Vasileios Amoiridis
>
> Thanks fo
On Tue, Jun 11, 2024 at 11:33:12AM +0200, Quentin Schulz wrote:
> Hi Vasileios,
>
> On 6/10/24 8:51 PM, Vasileios Amoiridis wrote:
> > Add support to save boot count variable in a file in a FAT filesystem.
> >
> > Signed-off-by: Vasileios Amoiridis
> &g
On Tue, Jun 11, 2024 at 05:41:19PM +0200, Quentin Schulz wrote:
> Hi Vasileios,
>
> On 6/11/24 5:27 PM, Vasileios Amoiridis wrote:
> > On Tue, Jun 11, 2024 at 11:33:12AM +0200, Quentin Schulz wrote:
> > > Hi Vasileios,
> > >
> > > On 6/10/24 8:51
On Tue, Jun 11, 2024 at 10:06:59AM -0600, Tom Rini wrote:
> On Tue, Jun 11, 2024 at 05:41:19PM +0200, Quentin Schulz wrote:
> > Hi Vasileios,
> >
> > On 6/11/24 5:27 PM, Vasileios Amoiridis wrote:
> > > On Tue, Jun 11, 2024 at 11:33:12AM +0200, Quentin Schu
On Tue, Jun 11, 2024 at 06:29:34PM +0200, Quentin Schulz wrote:
> Hi Vasileios,
>
> On 6/11/24 6:20 PM, Vasileios Amoiridis wrote:
> > On Tue, Jun 11, 2024 at 10:06:59AM -0600, Tom Rini wrote:
> > > On Tue, Jun 11, 2024 at 05:41:19PM +0200, Quentin Schulz wro
On Wed, 2024-06-12 at 15:42 +0200, Michal Simek wrote:
> Hi Vasileios,
>
> út 4. 6. 2024 v 15:21 odesílatel Vasileios Amoiridis
> napsal:
> >
> > From: Vasileios Amoiridis
> >
> > Changes in v2:
> > - Remove duplication of custom hardcoded e
On Wed, 2024-06-12 at 16:47 +0200, Michal Simek wrote:
>
>
> On 6/12/24 15:57, Vasileios Amoiridis wrote:
> > On Wed, 2024-06-12 at 15:42 +0200, Michal Simek wrote:
> > > Hi Vasileios,
> > >
> > > út 4. 6. 2024 v 15:21 odesílatel Vasileios Amoi
On Wed, 2024-06-12 at 17:32 +0200, Michal Simek wrote:
>
>
> On 6/12/24 17:11, Vasileios Amoiridis wrote:
> > On Wed, 2024-06-12 at 16:47 +0200, Michal Simek wrote:
> > >
> > >
> > > On 6/12/24 15:57, Vasileios Amoiridis wrote:
> > > >
istent?
Cheers,
Vasilis
Vasileios Amoiridis (2):
drivers: bootcount: Add support for ANY filesystem
doc: api: bootcount: Convert to rST documentation
doc/README.bootcount | 53 -
doc/api/bootcount.rst | 58 +++
dr
Add support to save boot count variable in ANY filesystem. Tested with
FAT and EXT.
Reviewed-by: Tom Rini
Reviewed-by: Heiko Schocher
Reviewed-by: Philip Oberfichtner
Signed-off-by: Vasileios Amoiridis
---
doc/README.bootcount | 12 +++
drivers/bootcount/Kconfig
Move to the new documentation style with rST formatting.
Signed-off-by: Vasileios Amoiridis
---
doc/README.bootcount | 53 ---
doc/api/bootcount.rst | 58 +++
2 files changed, 58 insertions(+), 53 deletions(-)
delete
On Fri, Jun 14, 2024 at 10:43:09AM +0200, Quentin Schulz wrote:
> Hi Vasileios,
>
> On 6/14/24 12:02 AM, Vasileios Amoiridis wrote:
> > Move to the new documentation style with rST formatting.
> >
> > Signed-off-by: Vasileios Amoiridis
> > ---
filesystem, but also for the
FAT filesystem. Should it be renamed? If not, wouldn't it be inconsistent?
Cheers,
Vasilis
Vasileios Amoiridis (3):
drivers: bootcount: Add support for ANY filesystem
doc: api: bootcount: Convert to rST documentation
drivers: bootcount: Fix typo in docu
Add support to save boot count variable in ANY filesystem. Tested with
FAT and EXT.
Reviewed-by: Tom Rini
Reviewed-by: Heiko Schocher
Reviewed-by: Philip Oberfichtner
Signed-off-by: Vasileios Amoiridis
---
doc/README.bootcount | 12 +++
drivers/bootcount/Kconfig
Move to the new documentation style with rST formatting.
Signed-off-by: Vasileios Amoiridis
---
doc/README.bootcount | 53 ---
doc/api/bootcount.rst | 58 +++
doc/api/index.rst | 1 +
3 files changed, 59
The bootcount documentation was using "unattended" while it probably
intending to say "unintended"
Signed-off-by: Vasileios Amoiridis
---
doc/api/bootcount.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/api/bootcount.rst b/doc/api/bootcount.
From: Vasileios Amoiridis
Currently, if the environment is not in the current boot media, the
env_get_location() is returning ENVL_UNKNOWN or ENVL_NOWHERE which
is not true (i.e booting from FLASH with environment in eMMC). This
commit adds an extra check to find the environment in the other
From: Vasileios Amoiridis
Add native support of the bootcount mechanism in the ZynqMP by utilising
internal
PMU registers. The Persistent Global Storage Registers of the Platform
Management
Unit can keep their value during reboot cycles unless there is a POR reset,
making
them appropriate for
From: Vasileios Amoiridis
Add support for the bootcount API by utilizing the internal Persistent
Global General Registers of the PMU. These registers get reset whenever
there is a Power-On-Reset so it makes them suitable for the API.
Questions towards reviewers:
1) Is the licensing of
From: Vasileios Amoiridis
Add native support of the bootcount mechanism in the ZynqMP by
utilising internal PMU registers. The Persistent Global Storage
Registers of the Platform Management Unit can keep their value
during reboot cycles unless there is a POR reset, making them
appropriate for
On Tue, Nov 05, 2024 at 09:36:45AM +0100, Heiko Schocher wrote:
> Hello Amoiridis,
>
> On 05.11.24 08:49, Vasileios Amoiridis wrote:
> > From: Vasileios Amoiridis
> >
> > Add native support of the bootcount mechanism in the ZynqMP by
> > utilising internal PMU
From: Vasileios Amoiridis
Changes in v2:
1) Move to DM infrastructure
2) Appropriate initialization of *val pointer
3) Updated help message
4) Added config to the end of the Makefile
5) Updated the appropriate values in struct pmu_regs
---
v1: https
From: Vasileios Amoiridis
Add native support of the bootcount mechanism in the ZynqMP by
utilising internal PMU registers. The Persistent Global Storage
Registers of the Platform Management Unit can keep their value
during reboot cycles unless there is a POR reset, making them
appropriate for
From: Vasileios Amoiridis
Changes in v3:
1) Organize correctly headers
2) Remove redundant "mio" and change "write" to "read"
3) Add "depends on ARCH_ZYNQMP"
v2:
https://lore.kernel.org/u-boot/20241105074917.546887-1-vassilisa..
On Wed, Oct 30, 2024 at 02:13:43PM +0100, Michal Simek wrote:
>
>
> On 10/29/24 19:58, Vasileios Amoiridis wrote:
> > From: Vasileios Amoiridis
> >
> > Add native support of the bootcount mechanism in the ZynqMP by utilising
> > internal
> > PMU r
On Wed, Oct 30, 2024 at 06:26:08AM +0100, Heiko Schocher wrote:
> Hello Vasileios,
>
> On 29.10.24 19:58, Vasileios Amoiridis wrote:
> > From: Vasileios Amoiridis
> >
> > Add native support of the bootcount mechanism in the ZynqMP by utilising
> > internal
On Tue, Oct 29, 2024 at 01:12:30PM -0600, Tom Rini wrote:
> On Tue, Oct 29, 2024 at 07:58:13PM +0100, Vasileios Amoiridis wrote:
> > From: Vasileios Amoiridis
> >
> > Add support for the bootcount API by utilizing the internal Persistent
> > Global General Registers
On Wed, Oct 30, 2024 at 04:49:10PM +0100, Michal Simek wrote:
>
>
> On 10/30/24 15:38, Vasileios Amoiridis wrote:
> > On Wed, Oct 30, 2024 at 02:13:43PM +0100, Michal Simek wrote:
> > >
> > >
> > > On 10/29/24 19:58, Vasileios Amoiridi
38 matches
Mail list logo