When booting from SD-Card, the BootROM and first-stage bootloader both assume the subsequent bootloader to be a STM32 image in a specially named GPT partition. Add support to barebox to have environment and barebox_update operate on their respective GPT partitions as well. Needs Oleksij's "mci: add support for stm32mp sd/mmc controller"[1] to work. [1]: http://lists.infradead.org/pipermail/barebox/2019-October/039532.html Ahmad Fatoum (4): fs: devfs-core: have device_find_partition search symlinks ARM: stm32mp: dk2: rename function according to init level ARM: stm32mp: dk2: add barebox SD-Card update handler Documentation: boards: stm32mp: document environment partition Oleksij Rempel (1): ARM: dts: stm32mp: add barebox-enviroment on DK boards Documentation/boards/stm32mp.rst | 4 ++++ arch/arm/boards/stm32mp157c-dk2/board.c | 18 ++++++++++++++++-- arch/arm/dts/stm32mp157a-dk1.dtsi | 7 +++++++ arch/arm/mach-stm32mp/include/mach/bbu.h | 14 ++++++++++++++ fs/devfs-core.c | 21 +++++++++++++++++++++ 5 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 arch/arm/mach-stm32mp/include/mach/bbu.h -- 2.23.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox