DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] v7a_noneon: barebox-at91: enable more common commands
@ 2024-11-07 17:00 Bastian Krause
  2024-11-07 17:38 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Bastian Krause @ 2024-11-07 17:00 UTC (permalink / raw)
  To: distrokit; +Cc: Bastian Krause

All barebox variants in DistroKit should have some common commands
enabled. Enable them also for to the barebox-at91 variant on v7a_nonneon:

- addpart/delpart
- sha1sum
- uncompress
- readline

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
 configs/platform-v7a_noneon/barebox-at91.config    | 14 ++++++++------
 .../platform-v7a_noneon/barebox-at91.config.diff   |  8 --------
 2 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config
index b30bdcf9d..53d40be12 100644
--- a/configs/platform-v7a_noneon/barebox-at91.config
+++ b/configs/platform-v7a_noneon/barebox-at91.config
@@ -209,6 +209,7 @@ CONFIG_BTHREAD=y
 # CONFIG_STATE is not set
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
+# CONFIG_MACHINE_ID is not set
 CONFIG_EXTERNAL_DTS_FRAGMENTS=""
 
 #
@@ -276,7 +277,7 @@ CONFIG_CMD_DRVINFO=y
 CONFIG_CMD_HELP=y
 CONFIG_LONGHELP=y
 CONFIG_CMD_IOMEM=y
-# CONFIG_CMD_IMD is not set
+CONFIG_CMD_IMD=y
 CONFIG_CMD_MEMINFO=y
 # CONFIG_CMD_ARM_MMUINFO is not set
 # CONFIG_CMD_REGULATOR is not set
@@ -307,7 +308,7 @@ CONFIG_CMD_UIMAGE=y
 #
 # Partition
 #
-# CONFIG_CMD_PARTITION is not set
+CONFIG_CMD_PARTITION=y
 CONFIG_CMD_AUTOMOUNT=y
 CONFIG_CMD_MOUNT=y
 # CONFIG_CMD_FINDMNT is not set
@@ -352,12 +353,12 @@ CONFIG_CMD_PWD=y
 CONFIG_CMD_READLINK=y
 CONFIG_CMD_RM=y
 CONFIG_CMD_RMDIR=y
-# CONFIG_CMD_SHA1SUM is not set
+CONFIG_CMD_SHA1SUM=y
 # CONFIG_CMD_SHA224SUM is not set
 # CONFIG_CMD_SHA256SUM is not set
 # CONFIG_CMD_SHA384SUM is not set
 # CONFIG_CMD_SHA512SUM is not set
-# CONFIG_CMD_UNCOMPRESS is not set
+CONFIG_CMD_UNCOMPRESS=y
 # end of File
 
 #
@@ -396,7 +397,7 @@ CONFIG_CMD_EDIT=y
 # CONFIG_CMD_LOGIN is not set
 # CONFIG_CMD_MENU is not set
 # CONFIG_CMD_MENUTREE is not set
-# CONFIG_CMD_READLINE is not set
+CONFIG_CMD_READLINE=y
 CONFIG_CMD_TIMEOUT=y
 # end of Console and Framebuffer interaction
 
@@ -1045,9 +1046,10 @@ CONFIG_PBL_STACKPROTECTOR_NONE=y
 CONFIG_CRC32=y
 CONFIG_DIGEST=y
 CONFIG_HAVE_DIGEST_MD5=y
+CONFIG_HAVE_DIGEST_SHA1=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
-# CONFIG_DIGEST_SHA1_GENERIC is not set
+CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA224_GENERIC is not set
 # CONFIG_DIGEST_SHA256_GENERIC is not set
 # CONFIG_DIGEST_SHA384_GENERIC is not set
diff --git a/configs/platform-v7a_noneon/barebox-at91.config.diff b/configs/platform-v7a_noneon/barebox-at91.config.diff
index 230e6ddd1..378ae1ba6 100644
--- a/configs/platform-v7a_noneon/barebox-at91.config.diff
+++ b/configs/platform-v7a_noneon/barebox-at91.config.diff
@@ -29,7 +29,6 @@ CONFIG_CMD_AT91_BOOT_TEST=y
 # CONFIG_CMD_BTHREAD is not set
 # CONFIG_CMD_CLK is not set
 # CONFIG_CMD_I2C is not set
-# CONFIG_CMD_IMD is not set
 # CONFIG_CMD_MEMTEST is not set
 # CONFIG_CMD_MENU is not set
 # CONFIG_CMD_MENUTREE is not set
@@ -41,16 +40,12 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_OF_DIFF=y
 # CONFIG_CMD_OF_FIXUP_STATUS is not set
 # CONFIG_CMD_OF_OVERLAY is not set
-# CONFIG_CMD_PARTITION is not set
-# CONFIG_CMD_READLINE is not set
 # CONFIG_CMD_REGULATOR is not set
-# CONFIG_CMD_SHA1SUM is not set
 # CONFIG_CMD_SMC is undefined
 # CONFIG_CMD_STATE is undefined
 # CONFIG_CMD_TFTP is not set
 CONFIG_CMD_UBI=y
 CONFIG_CMD_UBIFORMAT=y
-# CONFIG_CMD_UNCOMPRESS is not set
 # CONFIG_CMD_WD is undefined
 # CONFIG_CMD_WD_DEFAULT_TIMOUT is undefined
 CONFIG_COMMON_CLK_AT91=y
@@ -60,7 +55,6 @@ CONFIG_CONSOLE_ACTIVATE_NONE=y
 CONFIG_DEBUG_AT91_UART_BASE=0xffffee00
 # CONFIG_DEBUG_PBL is not set
 # CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU is undefined
-# CONFIG_DIGEST_SHA1_GENERIC is not set
 # CONFIG_DRIVER_NET_DSA_REALTEK is not set
 # CONFIG_DRIVER_NET_KSZ8873 is not set
 CONFIG_DRIVER_NET_KSZ9477=y
@@ -87,7 +81,6 @@ CONFIG_HAVE_AT91_DDRAMC=y
 CONFIG_HAVE_AT91_SMD=y
 CONFIG_HAVE_AT91_USB_CLK=y
 CONFIG_HAVE_AT91_UTMI=y
-# CONFIG_HAVE_DIGEST_SHA1 is undefined
 # CONFIG_HWRNG is not set
 # CONFIG_HW_RANDOM_BCM2835 is undefined
 # CONFIG_HW_RANDOM_IPROC_RNG200 is undefined
@@ -102,7 +95,6 @@ CONFIG_IMD_TARGET=y
 # CONFIG_LIBFDT is undefined
 CONFIG_LIBSCAN=y
 CONFIG_LIBUBIGEN=y
-# CONFIG_MACHINE_ID is undefined
 # CONFIG_MACH_AT91SAM9263EK is not set
 # CONFIG_MACH_AT91SAM9X5EK is not set
 # CONFIG_MACH_CALAO is not set
-- 
2.39.5




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-07 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-07 17:00 [DistroKit] [PATCH] v7a_noneon: barebox-at91: enable more common commands Bastian Krause
2024-11-07 17:38 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox