Running reset stress test

Rouven Czerwinski r.czerwinski at pengutronix.de
Fri Dec 4 13:41:03 EST 2020


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




More information about the barebox mailing list