[openwrt/openwrt] nand-utils: add flash_erase utility
LEDE Commits
lede-commits at lists.infradead.org
Tue Apr 3 14:27:24 PDT 2018
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/482bc646a55cbc277776e77e70e573af2fbef03d
commit 482bc646a55cbc277776e77e70e573af2fbef03d
Author: Adrià Llaudet <adria.llaudet at gmail.com>
AuthorDate: Mon Mar 26 16:32:22 2018 +0200
nand-utils: add flash_erase utility
flash_erase utility allows to erase MTD partitions on NAND flash.
Useful when you want to clean or write an MTD partition from scratch.
e.g., before using kobs-ng to flashing SPL images it's recommended
to erase the MTD partition to ensure it's empty.
Signed-off-by: Adrià Llaudet <adria.llaudet at gmail.com>
---
package/utils/mtd-utils/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/utils/mtd-utils/Makefile b/package/utils/mtd-utils/Makefile
index e36eb4d..1e3c281 100644
--- a/package/utils/mtd-utils/Makefile
+++ b/package/utils/mtd-utils/Makefile
@@ -47,7 +47,7 @@ endef
define Package/nand-utils
$(call Package/mtd-utils/Default)
- TITLE:=Utilities for nand flash read/write/test
+ TITLE:=Utilities for nand flash erase/read/write/test
endef
define Package/nand-utils/description
@@ -72,7 +72,7 @@ endef
define Package/nand-utils/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) \
- $(PKG_INSTALL_DIR)/usr/sbin/{nanddump,nandwrite,nandtest,mtdinfo} $(1)/usr/sbin/
+ $(PKG_INSTALL_DIR)/usr/sbin/{flash_erase,nanddump,nandwrite,nandtest,mtdinfo} $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,ubi-utils))
More information about the lede-commits
mailing list