@@ -805,6 +805,7 @@ F: package/babeld/
F: package/iana-assignments/
F: package/sscep/
F: package/tinyinit/
+F: package/ufs-utils/
F: package/uuu/
N: Dario Binacchi <dariobin@libero.it>
@@ -249,6 +249,7 @@ menu "Filesystem and flash utilities"
source "package/sshfs/Config.in"
source "package/sunxi-tools/Config.in"
source "package/udftools/Config.in"
+ source "package/ufs-utils/Config.in"
source "package/unionfs/Config.in"
source "package/xfsprogs/Config.in"
source "package/zerofree/Config.in"
new file mode 100644
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_UFS_UTILS
+ bool "ufs-utils"
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
+ help
+ UFS utils is a set of utilities for managing Universal
+ Flash Storage (UFS) devices.
+
+ https://github.com/SanDisk-Open-Source/ufs-utils.git
+
+comment "ufs-utils needs a toolchain w/ headers >= 5.1"
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
new file mode 100644
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 66259581b13e33edeccb08edd2389627121adf9b425ba4545f6a84d7292ef4fa ufs-utils-4.13.5.tar.gz
+sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING
new file mode 100644
@@ -0,0 +1,20 @@
+################################################################################
+#
+# ufs-utils
+#
+################################################################################
+
+UFS_UTILS_VERSION = 4.13.5
+UFS_UTILS_SITE = $(call github,SanDisk-Open-Source,ufs-utils,v$(UFS_UTILS_VERSION))
+UFS_UTILS_LICENSE = GPL-2.0
+UFS_UTILS_LICENSE_FILES = COPYING
+
+define UFS_UTILS_BUILD_CMDS
+ $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
+endef
+
+define UFS_UTILS_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 $(@D)/ufs-utils $(TARGET_DIR)/usr/bin/ufs-utils
+endef
+
+$(eval $(generic-package))
It's a tool to access UFS (Universal Flash Storage) devices from user space. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- DEVELOPERS | 1 + package/Config.in | 1 + package/ufs-utils/Config.in | 11 +++++++++++ package/ufs-utils/ufs-utils.hash | 3 +++ package/ufs-utils/ufs-utils.mk | 20 ++++++++++++++++++++ 5 files changed, 36 insertions(+) create mode 100644 package/ufs-utils/Config.in create mode 100644 package/ufs-utils/ufs-utils.hash create mode 100644 package/ufs-utils/ufs-utils.mk