Hi Alexander, On Tue, 25 Apr 2023 at 04:00, Alexander Shirokov <shirokoval...@gmail.com> wrote: > > In the 'mmc write' command example, it writes 16 blocks (0x10). But the > output contains 256 (0x100) blocks. This patch fixes the mismatch. > > Signed-off-by: Alexander Shirokov <shirokoval...@gmail.com> > --- > doc/usage/cmd/mmc.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/usage/cmd/mmc.rst b/doc/usage/cmd/mmc.rst > index 55e3f9cf98..2ca1a5cf0c 100644 > --- a/doc/usage/cmd/mmc.rst > +++ b/doc/usage/cmd/mmc.rst > @@ -216,7 +216,7 @@ The raw data can be read/written via 'mmc read/write' > command: > => mmc read 0x40000000 0x5000 0x100 > MMC read: dev # 0, block # 20480, count 256 ... 256 blocks read: OK > > - => mmc write 0x40000000 0x5000 0x10 > + => mmc write 0x40000000 0x5000 100
Drop the other 0x things too? > MMC write: dev # 0, block # 20480, count 256 ... 256 blocks written: OK > > The partition list can be shown via 'mmc part' command: > -- > 2.40.0 > Regards, Simon