kumquat-buildroot/board/stmicroelectronics/stm32f469-disco/flash_sd.sh
Dario Binacchi 494807e28d configs/stm32f4{2|6}9_*_defconfig: rename configurations
Rename the configuration to explicitly distinguish between sd and xip.
As a result, the readme files have also been changed.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Acked-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-12-17 22:58:12 +01:00

19 lines
415 B
Bash
Executable File

#!/bin/bash
OUTPUT_DIR=$1
if ! test -d "${OUTPUT_DIR}" ; then
echo "ERROR: no output directory specified."
echo "Usage: $0 OUTPUT_DIR"
exit 1
fi
${OUTPUT_DIR}/host/bin/openocd -f board/stm32f469discovery.cfg \
-c "init" \
-c "reset init" \
-c "flash probe 0" \
-c "flash info 0" \
-c "flash write_image erase ${OUTPUT_DIR}/images/u-boot.bin 0x08000000" \
-c "reset run" \
-c "shutdown"