mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
To: Fabio Estevam <festevam@gmail.com>,
	Barebox List <barebox@lists.infradead.org>
Subject: Re: Running reset stress test
Date: Fri, 04 Dec 2020 19:41:03 +0100	[thread overview]
Message-ID: <e3ba28ab89980afdf1b330b9a71746d43bd4fce3.camel@pengutronix.de> (raw)
In-Reply-To: <CAOMZO5B8a+27UfmTP=RvyZYD34fnteMrSXAsvsDZ6bhJwCoUtw@mail.gmail.com>

On Fri, 2020-12-04 at 15:05 -0300, Fabio Estevam wrote:
> Hi,
> 
> This is probably an easy one :-)

Kind of :-)

> I would like to run reset stress test in Barebox
> 
> In U-Boot, I do the following:
> 
> => setenv bootcmd reset
> => saveenv
> => reset

$ edit /env/boot/reset
#!/bin/sh
reset
$ nv boot.default=reset
$ nv autoboot.timeout=0
$ saveenv
$ boot

Note that barebox can still be interrupted by holding Ctrl+c and
aborting the init sequence, which will not autoboot the board.

At least the above lets the nitrogen6x on my desk happily cycle the
bootloader.

Regards,
Rouven Czerwinski


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2020-12-04 18:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04 18:05 Fabio Estevam
2020-12-04 18:41 ` Rouven Czerwinski [this message]
2020-12-04 18:51   ` Fabio Estevam

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=e3ba28ab89980afdf1b330b9a71746d43bd4fce3.camel@pengutronix.de \
    --to=r.czerwinski@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=festevam@gmail.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