diff options
author | Stephen Graf <stephen.graf@gmail.com> | 2023-12-01 10:50:39 -0800 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2023-12-06 23:08:37 +0000 |
commit | 21b8051939b1a105ef8b128b2f492810ba34bc9a (patch) | |
tree | a11d39fcbebbfa76717166cd811dfda227d11a74 /doc/board/allwinner | |
parent | 0d8ac5644eaf774c52669921ac4152874c6fc4ca (diff) | |
download | u-boot-21b8051939b1a105ef8b128b2f492810ba34bc9a.zip u-boot-21b8051939b1a105ef8b128b2f492810ba34bc9a.tar.gz u-boot-21b8051939b1a105ef8b128b2f492810ba34bc9a.tar.bz2 |
sunxi: correct documentation for SPI flashing
The mtd_debug write does not work in this context. The flashcp command does
work, provides both the erase and write functions and with the verbose
option gives good feedback.
Signed-off-by: Stephen Graf <stephen.graf@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'doc/board/allwinner')
-rw-r--r-- | doc/board/allwinner/sunxi.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/board/allwinner/sunxi.rst b/doc/board/allwinner/sunxi.rst index 797222d..d0c89b9 100644 --- a/doc/board/allwinner/sunxi.rst +++ b/doc/board/allwinner/sunxi.rst @@ -251,8 +251,7 @@ the SPI flash content from Linux, using the `MTD utils`_:: # apt-get install mtd-utils # mtdinfo - # mtd_debug erase /dev/mtdX 0 0xf0000 - # mtd_debug write /dev/mtdX 0 0xf0000 u-boot-sunxi-with-spl.bin + # flashcp -v u-boot-sunxi-with-spl.bin /dev/mtdX ``/dev/mtdX`` needs to be replaced with the respective device name, as listed in the output of ``mtdinfo``. |