[U-Boot] [PATCH RFC] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x
Wolfgang Denk
wd at denx.de
Fri Apr 23 22:03:32 CEST 2010
Dear Wolfgang Wegner,
In message <20100423194341.GS20047 at leila.ping.de> you wrote:
>
> > > + * We use transfer descriptor registers as a persistent storage
> > > + * across resets. This was tested on a MCF54455.
> > > + * Neither U-Boot nor the stock LTIB kernel seem to use
> > > + * TCD[1], so it should be safe at least until application
> > > + * start.
> >
> > This is not sufficent, then. The bootcounter requires to be reset from
> > User Space, i. e. _after_ the application has been succesfully
> > started. If application start messes with the value, this fails to
> > work.
>
> sorry, my wording was not correct.
> What I meant was that no device driver in stock kernel uses these
> registers, so the only possibility for them to get used is if the
> init system or application loads some non-standard drivers.
I see. I guess the comment should be updated, then.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If I can have honesty, it's easier to overlook mistakes.
-- Kirk, "Space Seed", stardate 3141.9
More information about the U-Boot
mailing list