mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Running reset stress test
@ 2020-12-04 18:05 Fabio Estevam
  2020-12-04 18:41 ` Rouven Czerwinski
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2020-12-04 18:05 UTC (permalink / raw)
  To: Barebox List

Hi,

This is probably an easy one :-)

I would like to run reset stress test in Barebox

In U-Boot, I do the following:

=> setenv bootcmd reset
=> saveenv
=> reset

and then the board keeps getting reset.

What would be the equivalent mechanism to achieve the same in Barebox?

Thanks,

Fabio Estevam

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Running reset stress test
  2020-12-04 18:05 Running reset stress test Fabio Estevam
@ 2020-12-04 18:41 ` Rouven Czerwinski
  2020-12-04 18:51   ` Fabio Estevam
  0 siblings, 1 reply; 3+ messages in thread
From: Rouven Czerwinski @ 2020-12-04 18:41 UTC (permalink / raw)
  To: Fabio Estevam, Barebox List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Running reset stress test
  2020-12-04 18:41 ` Rouven Czerwinski
@ 2020-12-04 18:51   ` Fabio Estevam
  0 siblings, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2020-12-04 18:51 UTC (permalink / raw)
  To: Rouven Czerwinski; +Cc: Barebox List

Hi Rouven,

On Fri, Dec 4, 2020 at 3:41 PM Rouven Czerwinski
<r.czerwinski@pengutronix.de> wrote:

> $ 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.

Thanks for your help, appreciate it!

Cheers

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-04 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04 18:05 Running reset stress test Fabio Estevam
2020-12-04 18:41 ` Rouven Czerwinski
2020-12-04 18:51   ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox