Skip to content

Add saveenv support for STM32MP1

Patrice Chotard u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14Prepare v2019.07-rc1Makefile+2 -20 replies
2/14stm32mp1: activate NAND and NOR support on EV1arch/arm/dts/stm32mp157-pinctrl.dtsi arch/arm/dts/stm32mp157c-ev1.dts arch/arm/dts/stm32mp157c.dtsi +3 more+112 -00 replies
3/14stm32mp1: support dynamic MTDPARTSboard/st/stm32mp1/stm32mp1.c include/configs/stm32mp1.h+94 -00 replies
4/14env: ext4: Allow overriding interface, device and partitionenv/ext4.c+21 -130 replies
5/14board: stm32mp1: Add env_ext4_get_dev_part() and env_ext4_get_intf()board/st/stm32mp1/stm32mp1.c+24 -00 replies
6/14env: allow ENV_IS_NOWHERE with other storage targetenv/Kconfig+6 -120 replies
7/14env: enable saveenv command when one CONFIG_ENV_IS_IN is activatedcmd/nvedit.c+21 -150 replies
8/14configs: stm32mp15: Enable ENV_IS_IN_EXT4 and all relative flagsconfigs/stm32mp15_basic_defconfig configs/stm32mp15_trusted_defconfig+10 -00 replies
9/14stm32mp1: Add env_get_location()board/st/stm32mp1/stm32mp1.c+23 -00 replies
10/14mtd: Fix get_mtdparts()drivers/mtd/mtd_uboot.c+1 -40 replies
11/14stm32mp1: Move ENV_SIZE to Kconfigarch/arm/mach-stm32mp/Kconfig env/Kconfig include/configs/stm32mp1.h+4 -60 replies
12/14configs: stm32mp15: Enable ENV_IS_IN_UBIconfigs/stm32mp15_basic_defconfig configs/stm32mp15_trusted_defconfig include/configs/stm32mp1.h+12 -00 replies
13/14configs: stm32mp15: Enable ENV_IS_SPI_FLASHconfigs/stm32mp15_basic_defconfig configs/stm32mp15_trusted_defconfig include/configs/stm32mp1.h+8 -10 replies
14/14stm32mp1: Update env_get_location for NOR supportboard/st/stm32mp1/stm32mp1.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/14] Add saveenv support for STM32MP1

This series adds saveenv support for STM32MP1 on several boot devices. STM32MP1 is able to boot on eMMC, sdcard and NOR (NAND support is not fully supported).

On eMMC and sdcard, environment is saved in EXT4 partition On NOR, environment is saved in a dedicated partition On NAND, environment is saved in a UBI volume.

This series:
- enables NAND and NOR support on ev1 board
- enables ENV_IS_IN_SPI_FLASH, ENV_IS_IN_UBI, ENV_IS_IN_EXT4 flags
- fixes get_mtdparts()
- allows to override interface, device and partition for ext4 environment
- updates rule to set ENV_IS_NOWHERE value
- introduce ENV_IS_IN_DEVICE

Patrice Chotard (10):
stm32mp1: support dynamic MTDPARTS
env: ext4: Allow overriding interface, device and partition
board: stm32mp1: Add env_ext4_get_dev_part() and env_ext4_get_intf()
env: allow ENV_IS_NOWHERE with other storage target
stm32mp1: Add env_get_location()
mtd: Fix get_mtdparts()
stm32mp1: Move ENV_SIZE to Kconfig
configs: stm32mp15: Enable ENV_IS_IN_UBI
configs: stm32mp15: Enable ENV_IS_SPI_FLASH
stm32mp1: Update env_get_location for NOR support

Patrick Delaunay (3):
stm32mp1: activate NAND and NOR support on EV1
env: enable saveenv command when one CONFIG_ENV_IS_IN is activated
configs: stm32mp15: Enable ENV_IS_IN_EXT4 and all relative flags

Tom Rini (1):
Prepare v2019.07-rc1

 Makefile                             |   4 +-
 arch/arm/dts/stm32mp157-pinctrl.dtsi |  44 ++++++++++++
 arch/arm/dts/stm32mp157c-ev1.dts     |  16 +++++
 arch/arm/dts/stm32mp157c.dtsi        |  15 ++++
 arch/arm/mach-stm32mp/Kconfig        |   3 +
 board/st/stm32mp1/stm32mp1.c         | 136 +++++++++++++++++++++++++++++++++++
 cmd/nvedit.c                         |  36 ++++++----
 configs/stm32mp15_basic_defconfig    |  27 +++++++
 configs/stm32mp15_trusted_defconfig  |  27 +++++++
 drivers/mtd/mtd_uboot.c              |   5 +-
 env/Kconfig                          |  20 ++----
 env/ext4.c                           |  34 +++++----
 include/configs/stm32mp1.h           |  24 +++++--
 13 files changed, 340 insertions(+), 51 deletions(-)
Signature · 1 line
1.9.1