]> 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>
Mon, 13 Dec 2021 13:33:53 +0000 (14:33 +0100)
commit44beea28456fc17b6b5137f0104b625d8741a5c6
treed2216bfb80a7f04fbe402ad6c49cd166a52b6181
parente8e66801bd512eb1e4c14efca34b7b254ad26110
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