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

Tom Rini trini at konsulko.com
Mon Mar 11 16:09:08 CET 2024


On Mon, Mar 11, 2024 at 03:52:57PM +0100, Michal Simek wrote:
> 
> 
> On 3/11/24 15:39, Tom Rini wrote:
> > On Mon, Mar 11, 2024 at 02:40:59PM +0530, Love Kumar wrote:
> > > Hi,
> > > 
> > > On 11/03/24 2:11 pm, Angelo Dureghello wrote:
> > > > Hi,
> > > > 
> > > > jfyi,
> > > > 
> > > > reset support added in qemu
> > > > merged as commit d3c79c3974.
> > > > 
> > > > Regards,
> > > > angelo
> > > > 
> > > The other issue was with echo commands:
> > > => echo $modeboot
> > > $modeboot
> > > 
> > > => echo $?
> > > $?
> > > 
> > > Does HUSH shell is enabled by default for this?
> > 
> > It is not, so at least the saveenv test needs to depend on HUSH_PARSER
> > too.
> 
> Based on logs on this platform echo $? doesn't return any value.
> There is any config for it which is not enabled for this platform.
> Do you know which Kconfig symbol it is?
> 
> Depending on HUSH is likely big hammer but I was not able to find that exact
> Kconfig symbol just for $?

Well, if we don't have the hush parser we have a much more limited
parser enabled and I bet that's why (I think there's no variable
expansion).

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240311/e6c61db2/attachment.sig>


More information about the U-Boot mailing list