[U-Boot] [PATCH] checkpatch.pl: Do not hardcode perl path
Michael Trimarchi
michael at amarulasolutions.com
Sun Jun 16 12:25:25 CEST 2013
Hi
Il giorno 16/giu/2013 11:55, "Sumit Gemini" <sumit.gemini0 at gmail.com> ha
scritto:
>
> Hi ALL,
>
> Could any buddy tell me how can I define bootcount value after each
> reset cycle, right now i am using SRAM but when boot loader pass the
> control to kernel, it reset Sram memory so i lost my bootcount value.
Is this your comment on the patch?
I suggest to create a new thread and at describe your architecture.
Michael
> please suggest me another idea for storing bootcount value...
>
> My another query is I want to increase my bootcount value when system is
> being reset by watchdog only..
>
> Any pointer from you guys would be help me.
>
>
> Thanks
> ~Sumit Gemini
>
>
> On Sun, Jun 16, 2013 at 12:46 PM, Jagannadha Sutradharudu Teki <
> jagannadha.sutradharudu-teki at xilinx.com> wrote:
>
> > From: Jagannadha Sutradharudu Teki <jagannadh.teki at gmail.com>
> >
> > checkpatch.pl requires perl v5.10.0 to run but it
> > doesn't require to place in /usr/bin/perl
> > Use env to ensure that the interpreter used is the
> > first one on environment's $PATH on system with
> > several versions of perl installed.
> >
> > Signed-off-by: Jagannadha Sutradharudu Teki <jagannadh.teki at gmail.com>
> > ---
> > tools/checkpatch.pl | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl
> > index 896e2bc..8dc5b9c 100755
> > --- a/tools/checkpatch.pl
> > +++ b/tools/checkpatch.pl
> > @@ -1,10 +1,11 @@
> > -#!/usr/bin/perl -w
> > +#!/usr/bin/env perl
> > # (c) 2001, Dave Jones. (the file handling bit)
> > # (c) 2005, Joel Schopp <jschopp at austin.ibm.com> (the ugly bit)
> > # (c) 2007,2008, Andy Whitcroft <apw at uk.ibm.com> (new conditions, test
> > suite)
> > # (c) 2008-2010 Andy Whitcroft <apw at canonical.com>
> > # Licensed under the terms of the GNU GPL License version 2
> >
> > +use warnings;
> > use strict;
> >
> > my $P = $0;
> > --
> > 1.8.3
> >
> >
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de
> > http://lists.denx.de/mailman/listinfo/u-boot
> >
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
More information about the U-Boot
mailing list