stm32mp1: Add UBIFS boot capability
PATCH 1/2 stm32mp1: Add UBIFS boot capability
Add support for boot from NAND in generic ditribution command.
Signed-off-by Patrick Delaunay <[email protected]>
---
include/configs/stm32mp1.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
include/configs/stm32mp1.h +5 -3
@@ -77,6 +77,10 @@/*MMC SD*/ #define CONFIG_SYS_MMC_MAX_DEVICE 3 +/* NAND support */ +#define CONFIG_SYS_NAND_ONFI_DETECTION +#define CONFIG_SYS_MAX_NAND_DEVICE 1 +/* Ethernet need */ #ifdef CONFIG_DWC_ETH_QOS #define CONFIG_SYS_NONCACHED_MEMORY (1 * SZ_1M)/* 1M */
@@ -91,11 +95,9 @@#if !defined(CONFIG_SPL_BUILD ) -/* NAND support */ -#define CONFIG_SYS_NAND_ONFI_DETECTION -#define CONFIG_SYS_MAX_NAND_DEVICE 1#define BOOT_TARGET_DEVICES (func) \ func(MMC, mmc, 1) \ + func(UBIFS, ubifs, 0) \ func(MMC, mmc, 0) \ func(MMC, mmc, 2) \ func(PXE, pxe, na)
Signature · 1 line
2.7.4
PATCH 1/2 stm32mp1: Add UBIFS boot capability
Hi,
Quoted 11 lines
From: Patrick DELAUNAY <[email protected]>
Sent: vendredi 21 juin 2019 15:40Add support for boot from NAND in generic ditribution command.
Signed-off-by Patrick Delaunay <[email protected]>---
include/configs/stm32mp1.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Applied to u-boot-stm32/master, thanks!
Patrick
PATCH 2/2 stm32mp1: add SPI flash support in SPL
In reply to Patrick DelaunayAllow boot form NOR with basic boot.
Signed-off-by Patrick Delaunay <[email protected]>
---
configs/stm32mp15_basic_defconfig | 3 +++ 1 file changed, 3 insertions(+)
configs/stm32mp15_basic_defconfig +3 -0
@@ -4,6 +4,8 @@ CONFIG_SYS_MALLOC_F_LEN=0x3000 CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL=y CONFIG_TARGET_STM32MP1=y +CONFIG_SPL_SPI_FLASH_SUPPORT=y +CONFIG_SPL_SPI_SUPPORT=y CONFIG_DISTRO_DEFAULTS=y CONFIG_FIT=y CONFIG_BOOTCOMMAND="run bootcmd_stm32mp"
@@ -11,6 +13,7 @@ CONFIG_SPL_TEXT_BASE=0x2FFC2500 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=3 CONFIG_SPL_I2C_SUPPORT=y +CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_POWER_SUPPORT=y CONFIG_SYS_PROMPT="STM32MP> " # CONFIG_CMD_BOOTD is not set
Signature · 1 line
2.7.4
PATCH 2/2 stm32mp1: add SPI flash support in SPL
Hi,
Quoted 11 lines
From: Patrick DELAUNAY <[email protected]>
Sent: vendredi 21 juin 2019 15:40Allow boot form NOR with basic boot.
Signed-off-by Patrick Delaunay <[email protected]>---
configs/stm32mp15_basic_defconfig | 3 +++ 1 file changed, 3 insertions(+)
Applied to u-boot-stm32/master, thanks!
Patrick