mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
0d8ac5644e
commit
21b8051939
1 changed files with 1 additions and 2 deletions
|
@ -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``.
|
||||
|
|
Loading…
Reference in a new issue