]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: stm32: Add update_sf script to install U-Boot into SF on DHSOM
authorMarek Vasut <marex@denx.de>
Sat, 13 Nov 2021 02:25:13 +0000 (03:25 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 30 Nov 2021 15:41:21 +0000 (16:41 +0100)
commitc9cd07164f7ed701bf55cc2bcd739727f21de36b
treef762b8bdc20b466a659ff2c2844f00a43efec78f
parent3815748f00643f020c6ed68598dc11df00baddbd
ARM: stm32: Add update_sf script to install U-Boot into SF on DHSOM

Add script to read U-Boot from SD card and write it to matching
locations in the SPI NOR, thus making the SPI NOR bootable. The
script erases the entire SPI NOR, including U-Boot environment,
to make sure the installation is clean. To retain environment
from current running U-Boot, run 'saveenv' after running the
'update_sf' script.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
include/configs/stm32mp15_dh_dhsom.h