]> git.dujemihanovic.xyz Git - u-boot.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)
commit1aba8e51d85293360150028297c5c2b479c86078
treef762b8bdc20b466a659ff2c2844f00a43efec78f
parent15e20e4bdf3a247962c2274070e0b28ab6f1e2f5
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