All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Delaunay <patrick.delaunay@st.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 16/18] sandbox: GPT over MTD test
Date: Thu, 11 May 2017 09:52:06 +0200	[thread overview]
Message-ID: <1494489128-24806-17-git-send-email-patrick.delaunay@st.com> (raw)
In-Reply-To: <1494489128-24806-1-git-send-email-patrick.delaunay@st.com>

activate needed feature in sandbox to allow test GPT over MTD
- EFI_PARTITION_MTD
- SPI_FLASH_MTD
- CMD_MTDPARTS
- MTD_PARTITIONS
- MTD_DEVICE

activate 2 features usefull for test
- RANDOM_UUID
- PARTITION_TYPE_GUID

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---

Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

 configs/sandbox_defconfig | 3 +++
 include/configs/sandbox.h | 6 ++++++
 2 files changed, 9 insertions(+)

diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index d3fee89..546f837 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -57,6 +57,8 @@ CONFIG_CMD_CRAMFS=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_MAC_PARTITION=y
 CONFIG_AMIGA_PARTITION=y
+CONFIG_EFI_PARTITION_MTD=y
+CONFIG_PARTITION_TYPE_GUID=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_HOSTFILE=y
 CONFIG_NETCONSOLE=y
@@ -110,6 +112,7 @@ CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_SPI_FLASH_SST=y
 CONFIG_SPI_FLASH_WINBOND=y
+CONFIG_SPI_FLASH_MTD=y
 CONFIG_DM_ETH=y
 CONFIG_PCI=y
 CONFIG_DM_PCI=y
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 37c6132..5fe92b8 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -37,6 +37,12 @@
 #define CONFIG_EXT4_WRITE
 #define CONFIG_HOST_MAX_DEVICES 4
 
+#define CONFIG_RANDOM_UUID
+
+/* Dynamic MTD partition support */
+#define CONFIG_CMD_MTDPARTS
+#define CONFIG_MTD_PARTITIONS
+#define CONFIG_MTD_DEVICE
 /*
  * Size of malloc() pool, before and after relocation
  */
-- 
1.9.1

  parent reply	other threads:[~2017-05-11  7:52 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-11  7:51 [U-Boot] [PATCH v6 00/18] GPT over MTD Patrick Delaunay
2017-05-11  7:51 ` [U-Boot] [PATCH v6 01/18] uuid: add a function for GUID string parsing Patrick Delaunay
2017-05-11  7:51 ` [U-Boot] [PATCH v6 02/18] disk: part: refactor part_print_efi to prepare GPT over MTD Patrick Delaunay
2017-05-11  7:51 ` [U-Boot] [PATCH v6 03/18] disk: part: refactor part_get_info_efi " Patrick Delaunay
2017-05-11  7:51 ` [U-Boot] [PATCH v6 04/18] disk: part: prepare_backup_gpt_header rework Patrick Delaunay
2017-05-11  7:51 ` [U-Boot] [PATCH v6 05/18] disk: part: compute partition_entry_lba Patrick Delaunay
2017-05-11  7:51 ` [U-Boot] [PATCH v6 06/18] disk: part: efi: export internal function Patrick Delaunay
2017-05-11  7:51 ` [U-Boot] [PATCH v6 07/18] disk: part: add support of GPT partitioning over MTD Patrick Delaunay
2017-05-14  9:13   ` Simon Glass
2017-05-11  7:51 ` [U-Boot] [PATCH v6 08/18] cmd: gpt: remove blk_desc parameter in static function Patrick Delaunay
2017-05-11  7:51 ` [U-Boot] [PATCH v6 09/18] cmd: gpt: use error number in set_gpt_info Patrick Delaunay
2017-05-11  7:52 ` [U-Boot] [PATCH v6 10/18] cmd: gpt: add print_gpt_info_err Patrick Delaunay
2017-05-11  7:52 ` [U-Boot] [PATCH v6 11/18] cmd: gpt: update write command to support GPT over MTD Patrick Delaunay
2017-05-11  7:52 ` [U-Boot] [PATCH v6 12/18] cmd: part: update " Patrick Delaunay
2017-05-11  7:52 ` [U-Boot] [PATCH v6 13/18] cmd: mtdparts: move PART_ADD_DESC_MAXLEN Patrick Delaunay
2017-05-11  7:52 ` [U-Boot] [PATCH v6 14/18] cmd: mtdparts: update command to support GPT over MTD Patrick Delaunay
2017-05-11  7:52 ` [U-Boot] [PATCH v6 15/18] uuid: remove dependency with io.h Patrick Delaunay
2017-05-11  7:52 ` Patrick Delaunay [this message]
2017-05-11  7:52 ` [U-Boot] [PATCH v6 17/18] distro: add boot for UBI in GPT over MTD Patrick Delaunay
2017-05-14  9:13   ` Simon Glass
2017-05-11  7:52 ` [U-Boot] [PATCH v6 18/18] tests: Add GPT over MTD test Patrick Delaunay
2017-05-11  8:19 ` [U-Boot] [PATCH v6 00/18] GPT over MTD Maxime Ripard
2017-05-11  9:19   ` Patrick DELAUNAY
2017-05-11 14:46     ` Maxime Ripard
2017-05-12 16:09       ` Patrick DELAUNAY
2017-05-16  9:28         ` Maxime Ripard
2017-05-19 16:58           ` Patrick DELAUNAY
2017-06-06  9:48           ` Patrick DELAUNAY
2017-06-06 11:12             ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1494489128-24806-17-git-send-email-patrick.delaunay@st.com \
    --to=patrick.delaunay@st.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.