meta-nuvoton: evb-npcm845: busybox: add opts for dd and head utility
Enable `CONFIG_FEATURE_DD_THIRD_STATUS_LINE` to get third status line.
Enable `CONFIG_FEATURE_DD_IBS_OBS` for ibs=N obs=N option.
`ibs` use to set input block size. `obs` use to set output block size.
Enable `CONFIG_FEATURE_FANCY_HEAD` to add support "c:qv" opts
`header_threshhold` and `count_bytes` for `head` utility.
Tested:
root@:~# dd if=/dev/mtdblock3 of=/dev/null ibs=4K obs=1K count=10240
2048+0 records in
8192+0 records out
8388608 bytes (8.0MB) copied, 10.029590 seconds, 816.8KB/s
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Idf6c8db081306c98d6ea3c5c5175986bd52ea7bc
diff --git a/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox_%.bbappend b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox_%.bbappend
index b103c1a..7a905cf 100644
--- a/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox_%.bbappend
+++ b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/busybox_%.bbappend
@@ -2,3 +2,5 @@
SRC_URI:append:evb-npcm845 = " file://lsusb.cfg"
SRC_URI:append:evb-npcm845 = " file://timeout.cfg"
+SRC_URI:append:evb-npcm845 = " file://dd.cfg"
+SRC_URI:append:evb-npcm845 = " file://head.cfg"
diff --git a/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/dd.cfg b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/dd.cfg
new file mode 100644
index 0000000..f52accc
--- /dev/null
+++ b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/dd.cfg
@@ -0,0 +1,2 @@
+CONFIG_FEATURE_DD_THIRD_STATUS_LINE=y
+CONFIG_FEATURE_DD_IBS_OBS=y
diff --git a/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/head.cfg b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/head.cfg
new file mode 100644
index 0000000..16017ea
--- /dev/null
+++ b/meta-nuvoton/meta-evb-npcm845/recipes-core/busybox/head.cfg
@@ -0,0 +1 @@
+CONFIG_FEATURE_FANCY_HEAD=y