* [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition
@ 2020-09-09 13:24 Patrick Delaunay
2020-09-09 13:24 ` [PATCH 2/4] configs: stm32mp1: enable the fastboot oem command format Patrick Delaunay
` (4 more replies)
0 siblings, 5 replies; 12+ messages in thread
From: Patrick Delaunay @ 2020-09-09 13:24 UTC (permalink / raw)
To: u-boot
From: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
Activate fastboot support on boot partition for eMMC, mmc1 device
on STMicroelectronics board (EV1).
Signed-off-by: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
---
configs/stm32mp15_basic_defconfig | 5 +++++
configs/stm32mp15_trusted_defconfig | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
index a8c4112dbe..fc3d2cc4fb 100644
--- a/configs/stm32mp15_basic_defconfig
+++ b/configs/stm32mp15_basic_defconfig
@@ -80,6 +80,11 @@ CONFIG_FASTBOOT_USB_DEV=1
CONFIG_FASTBOOT_FLASH=y
CONFIG_FASTBOOT_FLASH_MMC_DEV=1
CONFIG_GPIO_HOG=y
+CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y
+CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
+CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
+CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
+CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
CONFIG_DM_HWSPINLOCK=y
CONFIG_HWSPINLOCK_STM32=y
CONFIG_DM_I2C=y
diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
index 0792884a9d..bfe9e6b06c 100644
--- a/configs/stm32mp15_trusted_defconfig
+++ b/configs/stm32mp15_trusted_defconfig
@@ -60,6 +60,11 @@ CONFIG_FASTBOOT_USB_DEV=1
CONFIG_FASTBOOT_FLASH=y
CONFIG_FASTBOOT_FLASH_MMC_DEV=1
CONFIG_GPIO_HOG=y
+CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y
+CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
+CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
+CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
+CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
CONFIG_DM_HWSPINLOCK=y
CONFIG_HWSPINLOCK_STM32=y
CONFIG_DM_I2C=y
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/4] configs: stm32mp1: enable the fastboot oem command format
2020-09-09 13:24 [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition Patrick Delaunay
@ 2020-09-09 13:24 ` Patrick Delaunay
2020-10-02 9:50 ` [Uboot-stm32] " Patrice CHOTARD
2021-02-09 9:22 ` Patrick DELAUNAY
2020-09-09 13:24 ` [PATCH 3/4] configs: stm32mp1: enable the fastboot oem command partconf Patrick Delaunay
` (3 subsequent siblings)
4 siblings, 2 replies; 12+ messages in thread
From: Patrick Delaunay @ 2020-09-09 13:24 UTC (permalink / raw)
To: u-boot
From: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
Enable the fastboot oem command format and set the variable
"partitions" with default eMMC partitions list.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
---
configs/stm32mp15_basic_defconfig | 1 +
configs/stm32mp15_trusted_defconfig | 1 +
include/configs/stm32mp1.h | 14 ++++++++++++++
3 files changed, 16 insertions(+)
diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
index fc3d2cc4fb..0f705eccb2 100644
--- a/configs/stm32mp15_basic_defconfig
+++ b/configs/stm32mp15_basic_defconfig
@@ -85,6 +85,7 @@ CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
+CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
CONFIG_DM_HWSPINLOCK=y
CONFIG_HWSPINLOCK_STM32=y
CONFIG_DM_I2C=y
diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
index bfe9e6b06c..3e9cca6a1e 100644
--- a/configs/stm32mp15_trusted_defconfig
+++ b/configs/stm32mp15_trusted_defconfig
@@ -65,6 +65,7 @@ CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
+CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
CONFIG_DM_HWSPINLOCK=y
CONFIG_HWSPINLOCK_STM32=y
CONFIG_DM_I2C=y
diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
index b937233797..e3cbca9713 100644
--- a/include/configs/stm32mp1.h
+++ b/include/configs/stm32mp1.h
@@ -140,6 +140,19 @@
"run distro_bootcmd;" \
"fi;\0"
+#ifdef CONFIG_FASTBOOT_CMD_OEM_FORMAT
+/* eMMC default partitions for fastboot command: oem format */
+#define PARTS_DEFAULT \
+ "partitions=" \
+ "name=ssbl,size=2M;" \
+ "name=bootfs,size=64MB,bootable;" \
+ "name=vendorfs,size=16M;" \
+ "name=rootfs,size=746M;" \
+ "name=userfs,size=-\0"
+#else
+#define PARTS_DEFAULT
+#endif
+
#include <config_distro_bootcmd.h>
/*
@@ -158,6 +171,7 @@
"altbootcmd=run bootcmd\0" \
"env_check=if env info -p -d -q; then env save; fi\0" \
STM32MP_BOOTCMD \
+ PARTS_DEFAULT \
BOOTENV \
"boot_net_usb_start=true\0"
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 3/4] configs: stm32mp1: enable the fastboot oem command partconf
2020-09-09 13:24 [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition Patrick Delaunay
2020-09-09 13:24 ` [PATCH 2/4] configs: stm32mp1: enable the fastboot oem command format Patrick Delaunay
@ 2020-09-09 13:24 ` Patrick Delaunay
2020-10-02 11:29 ` [Uboot-stm32] " Patrice CHOTARD
2021-02-09 9:23 ` Patrick DELAUNAY
2020-09-09 13:24 ` [PATCH 4/4] configs: stm32mp1: enable the fastboot oem command bootbus Patrick Delaunay
` (2 subsequent siblings)
4 siblings, 2 replies; 12+ messages in thread
From: Patrick Delaunay @ 2020-09-09 13:24 UTC (permalink / raw)
To: u-boot
Enable the fastboot oem command partconf, used to select the correct
eMMC boot partition, with same format than 'mmc partconf'
with parameter: boot_ack boot_partition
On stm32mp1 family:
- boot_ack = 1 (Boot Acknowledge is needed by ROM code)
- boot_partition = 1 or 2 (Boot partition 1 / 2 enabled for boot)
So on EV1 board the expected commands to select boot partition 1 or 2
$> fastboot oem partconf:1 1
$> fastboot oem partconf:1 2
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
---
configs/stm32mp15_basic_defconfig | 1 +
configs/stm32mp15_trusted_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
index 0f705eccb2..6cbfbe5274 100644
--- a/configs/stm32mp15_basic_defconfig
+++ b/configs/stm32mp15_basic_defconfig
@@ -86,6 +86,7 @@ CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
+CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
CONFIG_DM_HWSPINLOCK=y
CONFIG_HWSPINLOCK_STM32=y
CONFIG_DM_I2C=y
diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
index 3e9cca6a1e..cc114896df 100644
--- a/configs/stm32mp15_trusted_defconfig
+++ b/configs/stm32mp15_trusted_defconfig
@@ -66,6 +66,7 @@ CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
+CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
CONFIG_DM_HWSPINLOCK=y
CONFIG_HWSPINLOCK_STM32=y
CONFIG_DM_I2C=y
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 4/4] configs: stm32mp1: enable the fastboot oem command bootbus
2020-09-09 13:24 [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition Patrick Delaunay
2020-09-09 13:24 ` [PATCH 2/4] configs: stm32mp1: enable the fastboot oem command format Patrick Delaunay
2020-09-09 13:24 ` [PATCH 3/4] configs: stm32mp1: enable the fastboot oem command partconf Patrick Delaunay
@ 2020-09-09 13:24 ` Patrick Delaunay
2020-10-02 11:30 ` [Uboot-stm32] " Patrice CHOTARD
2021-02-09 9:23 ` Patrick DELAUNAY
2020-10-02 9:48 ` [Uboot-stm32] [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition Patrice CHOTARD
2021-02-09 9:22 ` Patrick DELAUNAY
4 siblings, 2 replies; 12+ messages in thread
From: Patrick Delaunay @ 2020-09-09 13:24 UTC (permalink / raw)
To: u-boot
Enable the fastboot oem command bootbus, used to configure the eMMC
boot behavior, with same format than 'mmc bootbus'
and with parameter: boot_bus_width reset_boot_bus_width boot_mode
On stm32mp1 boards the expected command is
$> fastboot oem partconf:0 0 0
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
---
configs/stm32mp15_basic_defconfig | 1 +
configs/stm32mp15_trusted_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
index 6cbfbe5274..0115c9b891 100644
--- a/configs/stm32mp15_basic_defconfig
+++ b/configs/stm32mp15_basic_defconfig
@@ -87,6 +87,7 @@ CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
+CONFIG_FASTBOOT_CMD_OEM_BOOTBUS=y
CONFIG_DM_HWSPINLOCK=y
CONFIG_HWSPINLOCK_STM32=y
CONFIG_DM_I2C=y
diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
index cc114896df..470a2f4c35 100644
--- a/configs/stm32mp15_trusted_defconfig
+++ b/configs/stm32mp15_trusted_defconfig
@@ -67,6 +67,7 @@ CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
+CONFIG_FASTBOOT_CMD_OEM_BOOTBUS=y
CONFIG_DM_HWSPINLOCK=y
CONFIG_HWSPINLOCK_STM32=y
CONFIG_DM_I2C=y
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [Uboot-stm32] [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition
2020-09-09 13:24 [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition Patrick Delaunay
` (2 preceding siblings ...)
2020-09-09 13:24 ` [PATCH 4/4] configs: stm32mp1: enable the fastboot oem command bootbus Patrick Delaunay
@ 2020-10-02 9:48 ` Patrice CHOTARD
2021-02-09 9:22 ` Patrick DELAUNAY
4 siblings, 0 replies; 12+ messages in thread
From: Patrice CHOTARD @ 2020-10-02 9:48 UTC (permalink / raw)
To: u-boot
Hi Patrick
On 9/9/20 3:24 PM, Patrick Delaunay wrote:
> From: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
>
> Activate fastboot support on boot partition for eMMC, mmc1 device
> on STMicroelectronics board (EV1).
>
> Signed-off-by: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> ---
>
> configs/stm32mp15_basic_defconfig | 5 +++++
> configs/stm32mp15_trusted_defconfig | 5 +++++
> 2 files changed, 10 insertions(+)
>
> diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
> index a8c4112dbe..fc3d2cc4fb 100644
> --- a/configs/stm32mp15_basic_defconfig
> +++ b/configs/stm32mp15_basic_defconfig
> @@ -80,6 +80,11 @@ CONFIG_FASTBOOT_USB_DEV=1
> CONFIG_FASTBOOT_FLASH=y
> CONFIG_FASTBOOT_FLASH_MMC_DEV=1
> CONFIG_GPIO_HOG=y
> +CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y
> +CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
> +CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
> +CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
> +CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
> CONFIG_DM_HWSPINLOCK=y
> CONFIG_HWSPINLOCK_STM32=y
> CONFIG_DM_I2C=y
> diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
> index 0792884a9d..bfe9e6b06c 100644
> --- a/configs/stm32mp15_trusted_defconfig
> +++ b/configs/stm32mp15_trusted_defconfig
> @@ -60,6 +60,11 @@ CONFIG_FASTBOOT_USB_DEV=1
> CONFIG_FASTBOOT_FLASH=y
> CONFIG_FASTBOOT_FLASH_MMC_DEV=1
> CONFIG_GPIO_HOG=y
> +CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y
> +CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
> +CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
> +CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
> +CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
> CONFIG_DM_HWSPINLOCK=y
> CONFIG_HWSPINLOCK_STM32=y
> CONFIG_DM_I2C=y
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Thanks
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Uboot-stm32] [PATCH 2/4] configs: stm32mp1: enable the fastboot oem command format
2020-09-09 13:24 ` [PATCH 2/4] configs: stm32mp1: enable the fastboot oem command format Patrick Delaunay
@ 2020-10-02 9:50 ` Patrice CHOTARD
2021-02-09 9:22 ` Patrick DELAUNAY
1 sibling, 0 replies; 12+ messages in thread
From: Patrice CHOTARD @ 2020-10-02 9:50 UTC (permalink / raw)
To: u-boot
Hi Patrick
On 9/9/20 3:24 PM, Patrick Delaunay wrote:
> From: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
>
> Enable the fastboot oem command format and set the variable
> "partitions" with default eMMC partitions list.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> Signed-off-by: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
> ---
>
> configs/stm32mp15_basic_defconfig | 1 +
> configs/stm32mp15_trusted_defconfig | 1 +
> include/configs/stm32mp1.h | 14 ++++++++++++++
> 3 files changed, 16 insertions(+)
>
> diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
> index fc3d2cc4fb..0f705eccb2 100644
> --- a/configs/stm32mp15_basic_defconfig
> +++ b/configs/stm32mp15_basic_defconfig
> @@ -85,6 +85,7 @@ CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
> CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
> CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
> CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
> +CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
> CONFIG_DM_HWSPINLOCK=y
> CONFIG_HWSPINLOCK_STM32=y
> CONFIG_DM_I2C=y
> diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
> index bfe9e6b06c..3e9cca6a1e 100644
> --- a/configs/stm32mp15_trusted_defconfig
> +++ b/configs/stm32mp15_trusted_defconfig
> @@ -65,6 +65,7 @@ CONFIG_FASTBOOT_MMC_BOOT1_NAME="mmc1boot0"
> CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
> CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
> CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
> +CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
> CONFIG_DM_HWSPINLOCK=y
> CONFIG_HWSPINLOCK_STM32=y
> CONFIG_DM_I2C=y
> diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
> index b937233797..e3cbca9713 100644
> --- a/include/configs/stm32mp1.h
> +++ b/include/configs/stm32mp1.h
> @@ -140,6 +140,19 @@
> "run distro_bootcmd;" \
> "fi;\0"
>
> +#ifdef CONFIG_FASTBOOT_CMD_OEM_FORMAT
> +/* eMMC default partitions for fastboot command: oem format */
> +#define PARTS_DEFAULT \
> + "partitions=" \
> + "name=ssbl,size=2M;" \
> + "name=bootfs,size=64MB,bootable;" \
> + "name=vendorfs,size=16M;" \
> + "name=rootfs,size=746M;" \
> + "name=userfs,size=-\0"
> +#else
> +#define PARTS_DEFAULT
> +#endif
> +
> #include <config_distro_bootcmd.h>
>
> /*
> @@ -158,6 +171,7 @@
> "altbootcmd=run bootcmd\0" \
> "env_check=if env info -p -d -q; then env save; fi\0" \
> STM32MP_BOOTCMD \
> + PARTS_DEFAULT \
> BOOTENV \
> "boot_net_usb_start=true\0"
>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Thanks
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Uboot-stm32] [PATCH 3/4] configs: stm32mp1: enable the fastboot oem command partconf
2020-09-09 13:24 ` [PATCH 3/4] configs: stm32mp1: enable the fastboot oem command partconf Patrick Delaunay
@ 2020-10-02 11:29 ` Patrice CHOTARD
2021-02-09 9:23 ` Patrick DELAUNAY
1 sibling, 0 replies; 12+ messages in thread
From: Patrice CHOTARD @ 2020-10-02 11:29 UTC (permalink / raw)
To: u-boot
Hi Patrick
On 9/9/20 3:24 PM, Patrick Delaunay wrote:
> Enable the fastboot oem command partconf, used to select the correct
> eMMC boot partition, with same format than 'mmc partconf'
> with parameter: boot_ack boot_partition
> On stm32mp1 family:
> - boot_ack = 1 (Boot Acknowledge is needed by ROM code)
> - boot_partition = 1 or 2 (Boot partition 1 / 2 enabled for boot)
>
> So on EV1 board the expected commands to select boot partition 1 or 2
> $> fastboot oem partconf:1 1
> $> fastboot oem partconf:1 2
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> ---
>
> configs/stm32mp15_basic_defconfig | 1 +
> configs/stm32mp15_trusted_defconfig | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
> index 0f705eccb2..6cbfbe5274 100644
> --- a/configs/stm32mp15_basic_defconfig
> +++ b/configs/stm32mp15_basic_defconfig
> @@ -86,6 +86,7 @@ CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
> CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
> CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
> CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
> +CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
> CONFIG_DM_HWSPINLOCK=y
> CONFIG_HWSPINLOCK_STM32=y
> CONFIG_DM_I2C=y
> diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
> index 3e9cca6a1e..cc114896df 100644
> --- a/configs/stm32mp15_trusted_defconfig
> +++ b/configs/stm32mp15_trusted_defconfig
> @@ -66,6 +66,7 @@ CONFIG_FASTBOOT_MMC_BOOT2_NAME="mmc1boot1"
> CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
> CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
> CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
> +CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
> CONFIG_DM_HWSPINLOCK=y
> CONFIG_HWSPINLOCK_STM32=y
> CONFIG_DM_I2C=y
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Thanks
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Uboot-stm32] [PATCH 4/4] configs: stm32mp1: enable the fastboot oem command bootbus
2020-09-09 13:24 ` [PATCH 4/4] configs: stm32mp1: enable the fastboot oem command bootbus Patrick Delaunay
@ 2020-10-02 11:30 ` Patrice CHOTARD
2021-02-09 9:23 ` Patrick DELAUNAY
1 sibling, 0 replies; 12+ messages in thread
From: Patrice CHOTARD @ 2020-10-02 11:30 UTC (permalink / raw)
To: u-boot
Hi Patrick
On 9/9/20 3:24 PM, Patrick Delaunay wrote:
> Enable the fastboot oem command bootbus, used to configure the eMMC
> boot behavior, with same format than 'mmc bootbus'
> and with parameter: boot_bus_width reset_boot_bus_width boot_mode
>
> On stm32mp1 boards the expected command is
> $> fastboot oem partconf:0 0 0
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> ---
>
> configs/stm32mp15_basic_defconfig | 1 +
> configs/stm32mp15_trusted_defconfig | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
> index 6cbfbe5274..0115c9b891 100644
> --- a/configs/stm32mp15_basic_defconfig
> +++ b/configs/stm32mp15_basic_defconfig
> @@ -87,6 +87,7 @@ CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
> CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
> CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
> CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
> +CONFIG_FASTBOOT_CMD_OEM_BOOTBUS=y
> CONFIG_DM_HWSPINLOCK=y
> CONFIG_HWSPINLOCK_STM32=y
> CONFIG_DM_I2C=y
> diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
> index cc114896df..470a2f4c35 100644
> --- a/configs/stm32mp15_trusted_defconfig
> +++ b/configs/stm32mp15_trusted_defconfig
> @@ -67,6 +67,7 @@ CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
> CONFIG_FASTBOOT_MMC_USER_NAME="mmc1"
> CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
> CONFIG_FASTBOOT_CMD_OEM_PARTCONF=y
> +CONFIG_FASTBOOT_CMD_OEM_BOOTBUS=y
> CONFIG_DM_HWSPINLOCK=y
> CONFIG_HWSPINLOCK_STM32=y
> CONFIG_DM_I2C=y
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Thanks
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition
2020-09-09 13:24 [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition Patrick Delaunay
` (3 preceding siblings ...)
2020-10-02 9:48 ` [Uboot-stm32] [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition Patrice CHOTARD
@ 2021-02-09 9:22 ` Patrick DELAUNAY
4 siblings, 0 replies; 12+ messages in thread
From: Patrick DELAUNAY @ 2021-02-09 9:22 UTC (permalink / raw)
To: u-boot
Hi,
> From: Patrick DELAUNAY <patrick.delaunay@st.com>
> Sent: mercredi 9 septembre 2020 15:25
>
> From: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
>
> Activate fastboot support on boot partition for eMMC, mmc1 device on
> STMicroelectronics board (EV1).
>
> Signed-off-by: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> ---
>
> configs/stm32mp15_basic_defconfig | 5 +++++
> configs/stm32mp15_trusted_defconfig | 5 +++++
> 2 files changed, 10 insertions(+)
>
Applied to u-boot-stm/master, thanks!
Regards
Patrick
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 2/4] configs: stm32mp1: enable the fastboot oem command format
2020-09-09 13:24 ` [PATCH 2/4] configs: stm32mp1: enable the fastboot oem command format Patrick Delaunay
2020-10-02 9:50 ` [Uboot-stm32] " Patrice CHOTARD
@ 2021-02-09 9:22 ` Patrick DELAUNAY
1 sibling, 0 replies; 12+ messages in thread
From: Patrick DELAUNAY @ 2021-02-09 9:22 UTC (permalink / raw)
To: u-boot
Hi,
> From: Patrick DELAUNAY <patrick.delaunay@st.com>
> Sent: mercredi 9 septembre 2020 15:25
>
> From: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
>
> Enable the fastboot oem command format and set the variable "partitions" with
> default eMMC partitions list.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> Signed-off-by: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
> ---
>
> configs/stm32mp15_basic_defconfig | 1 +
> configs/stm32mp15_trusted_defconfig | 1 +
> include/configs/stm32mp1.h | 14 ++++++++++++++
> 3 files changed, 16 insertions(+)
>
Applied to u-boot-stm/master, thanks!
Regards
Patrick
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 3/4] configs: stm32mp1: enable the fastboot oem command partconf
2020-09-09 13:24 ` [PATCH 3/4] configs: stm32mp1: enable the fastboot oem command partconf Patrick Delaunay
2020-10-02 11:29 ` [Uboot-stm32] " Patrice CHOTARD
@ 2021-02-09 9:23 ` Patrick DELAUNAY
1 sibling, 0 replies; 12+ messages in thread
From: Patrick DELAUNAY @ 2021-02-09 9:23 UTC (permalink / raw)
To: u-boot
Hi,
> From: Patrick DELAUNAY <patrick.delaunay@st.com>
> Sent: mercredi 9 septembre 2020 15:25
>
> Enable the fastboot oem command partconf, used to select the correct eMMC boot
> partition, with same format than 'mmc partconf'
> with parameter: boot_ack boot_partition
> On stm32mp1 family:
> - boot_ack = 1 (Boot Acknowledge is needed by ROM code)
> - boot_partition = 1 or 2 (Boot partition 1 / 2 enabled for boot)
>
> So on EV1 board the expected commands to select boot partition 1 or 2 $>
> fastboot oem partconf:1 1 $> fastboot oem partconf:1 2
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> ---
>
> configs/stm32mp15_basic_defconfig | 1 +
> configs/stm32mp15_trusted_defconfig | 1 +
> 2 files changed, 2 insertions(+)
>
Applied to u-boot-stm/master, thanks!
Regards
Patrick
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 4/4] configs: stm32mp1: enable the fastboot oem command bootbus
2020-09-09 13:24 ` [PATCH 4/4] configs: stm32mp1: enable the fastboot oem command bootbus Patrick Delaunay
2020-10-02 11:30 ` [Uboot-stm32] " Patrice CHOTARD
@ 2021-02-09 9:23 ` Patrick DELAUNAY
1 sibling, 0 replies; 12+ messages in thread
From: Patrick DELAUNAY @ 2021-02-09 9:23 UTC (permalink / raw)
To: u-boot
Hi,
> From: Patrick DELAUNAY <patrick.delaunay@st.com>
> Sent: mercredi 9 septembre 2020 15:25
>
> Enable the fastboot oem command bootbus, used to configure the eMMC boot
> behavior, with same format than 'mmc bootbus'
> and with parameter: boot_bus_width reset_boot_bus_width boot_mode
>
> On stm32mp1 boards the expected command is $> fastboot oem partconf:0 0 0
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> ---
>
> configs/stm32mp15_basic_defconfig | 1 +
> configs/stm32mp15_trusted_defconfig | 1 +
> 2 files changed, 2 insertions(+)
>
Applied to u-boot-stm/master, thanks!
Regards
Patrick
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2021-02-09 9:23 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 13:24 [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition Patrick Delaunay
2020-09-09 13:24 ` [PATCH 2/4] configs: stm32mp1: enable the fastboot oem command format Patrick Delaunay
2020-10-02 9:50 ` [Uboot-stm32] " Patrice CHOTARD
2021-02-09 9:22 ` Patrick DELAUNAY
2020-09-09 13:24 ` [PATCH 3/4] configs: stm32mp1: enable the fastboot oem command partconf Patrick Delaunay
2020-10-02 11:29 ` [Uboot-stm32] " Patrice CHOTARD
2021-02-09 9:23 ` Patrick DELAUNAY
2020-09-09 13:24 ` [PATCH 4/4] configs: stm32mp1: enable the fastboot oem command bootbus Patrick Delaunay
2020-10-02 11:30 ` [Uboot-stm32] " Patrice CHOTARD
2021-02-09 9:23 ` Patrick DELAUNAY
2020-10-02 9:48 ` [Uboot-stm32] [PATCH 1/4] configs: stm32mp1: enable fastboot support of eMMC boot partition Patrice CHOTARD
2021-02-09 9:22 ` Patrick DELAUNAY
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.