[PATCH 6/6] cmd: Add a memory-search command

Simon Glass sjg at chromium.org
Thu Jun 4 04:59:55 CEST 2020


Hi Michal,

On Wed, 3 Jun 2020 at 01:08, Michal Simek <michal.simek at xilinx.com> wrote:
>
> On 03. 06. 20 3:26, Simon Glass wrote:
> > It is useful to be able to find hex values and strings in a memory range.
> > Add a command to support this.
> >
> > cmd: Fix 'md' and add a memory-search command
> > At present 'md.q' is broken. This series provides a fix for this. It also
> > implements a new memory-search command called 'ms'. It allows searching
> > memory for hex and string data.
> > END
>
> END likely shouldn't be here.

Oops

> Recently I have met with the case that I have strings in i2c eeprom and
> need to move them to variable. And I didn't find any way how to do it.
> That's why I am curious if you are introducing this new command to also
> in case of string search to fill any variable which will contain this
> string.

Sorry it is just for memory-mapped things at present. But like we have
'i2c md' I suppose we could have 'i2c ms'.

Regards,
Simon


More information about the U-Boot mailing list