[U-Boot] [PATCH 08/18] sandbox: Use the reset driver to handle reset

Stephen Warren swarren at wwwdotorg.org
Tue Aug 11 05:35:50 CEST 2015


On 07/17/2015 05:58 PM, Simon Glass wrote:
> On 6 July 2015 at 12:54, Simon Glass <sjg at chromium.org> wrote:
>> Move sandbox over to use the reset uclass for reset, instead of a direct
>> call to do_reset(). This allows us to add tests.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>>  arch/sandbox/cpu/cpu.c                    | 9 +--------
>>  arch/sandbox/dts/test.dts                 | 8 ++++++++
>>  arch/sandbox/include/asm/u-boot-sandbox.h | 3 +++
>>  configs/sandbox_defconfig                 | 1 +
>>  4 files changed, 13 insertions(+), 8 deletions(-)
> 
> Applied to u-boot-dm.

This patch causes the reset command to stop working in sandbox. It now
prints:

=> reset
Reset not supported on this platform
### ERROR ### Please RESET the board ###

Among other things, this causes ./test/fs/fs-test.sh to hang without any
particular indication why. (In that test, running under expect/pyexpect
might be nicer, so the user could see progress; the error above doesn't
even show up in the test log files).


More information about the U-Boot mailing list