[PATCH v3] test/py: reset: Add a test for reset command

Angelo Dureghello angelo at kernel-space.org
Thu Mar 7 00:36:42 CET 2024


Hi,

On 05/03/24 1:34 PM, Michal Simek wrote:
>
>
> On 3/3/24 22:58, Angelo Dureghello wrote:
>> Hi Tom,
>>> On Tue, Feb 20, 2024 at 01:11:38PM +0530, Love Kumar wrote:
>>>> Add a test for reset commands which performs resetting of CPU, It 
>>>> does COLD reset by default and WARM reset with -w option. 
>>>> Signed-off-by: Love Kumar <love.kumar at amd.com> Reviewed-by: Tom 
>>>> Rini <trini at konsulko.com> --- Changes in v2: - Set bootmode through 
>>>> boardenv if modeboot is not defined Changes in v3: - Fix the issue 
>>>> with bad pattern found on console --- test/py/tests/test_reset.py | 
>>>> 61 +++++++++++++++++++++++++++++++++++++ 1 file changed, 61 
>>>> insertions(+) create mode 100644 test/py/tests/test_reset.py 
>>> I had hoped this was all sorted out now, but both this and the 
>>> saveenv test cause qemu_m68k to fail now. See: 
>>> https://source.denx.de/u-boot/u-boot/-/jobs/791635 
>> looking into this.
>
> Is reset implemented in qemu? It should be skipped if it is not.
>
yes, seems not implemented

=> reset
=> reset -w
=>
=>

Not finding any trace in the qemu code related to

out_8(&rcm->rcr, RCM_RCR_SOFTRST);

Regards,
angelo


> Thanks,
> Michal


More information about the U-Boot mailing list