U-boot Archive mirror
 help / color / mirror / Atom feed
From: Michael Nazzareno Trimarchi <michael@amarulasolutions.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: hs@denx.de, Marek Vasut <marex@denx.de>,
	Tim Harvey <tharvey@gateworks.com>,
	Adam Ford <aford173@gmail.com>,
	U-Boot-Denx <u-boot@lists.denx.de>, Peng Fan <peng.fan@nxp.com>,
	Ye Li <ye.li@nxp.com>
Subject: Re: imx8mn: bootcount does not increment
Date: Thu, 2 May 2024 14:49:20 +0200	[thread overview]
Message-ID: <CAOf5uwnZaT+r=0Ag3Ccv_4EP+=Jufy6yn7b2CMPocmD5NHs0uw@mail.gmail.com> (raw)
In-Reply-To: <CAOMZO5De9dRiScGEv+TOHZexXQZjNs9JmgX+qCLNZeEaox5yYg@mail.gmail.com>

Hi Fabio

On Thu, May 2, 2024 at 2:45 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> Hi Heiko,
>
> On Fri, Apr 26, 2024 at 12:40 AM Heiko Schocher <hs@denx.de> wrote:
>
> > No chance for a bootcounter in a register?
>
> Yes, this is a better approach. I changed it to:
>
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_SYS_BOOTCOUNT_MAGIC=0xB0C40000
> CONFIG_SYS_BOOTCOUNT_ADDR=0x30370090
> CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
>
> and now bootcount increments.
>

Maybe you have anyway a bug on the evk when was not incrementing on environment

Michael

> Thanks,
>
> Fabio Estevam



-- 
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael@amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info@amarulasolutions.com
www.amarulasolutions.com

      reply	other threads:[~2024-05-02 12:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-26  1:55 imx8mn: bootcount does not increment Fabio Estevam
2024-04-26  3:40 ` Heiko Schocher
2024-05-02 12:45   ` Fabio Estevam
2024-05-02 12:49     ` Michael Nazzareno Trimarchi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOf5uwnZaT+r=0Ag3Ccv_4EP+=Jufy6yn7b2CMPocmD5NHs0uw@mail.gmail.com' \
    --to=michael@amarulasolutions.com \
    --cc=aford173@gmail.com \
    --cc=festevam@gmail.com \
    --cc=hs@denx.de \
    --cc=marex@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=tharvey@gateworks.com \
    --cc=u-boot@lists.denx.de \
    --cc=ye.li@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).