mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Support STM32h747i-disco board. It includes an STM32H747XI SoC with the following resources: - 2 Mbytes Flash - 1 Mbyte SRAM - LCD-TFT controller - MIPI-DSI interface - FD-CAN - USB 2.0 high-speed/full-speed - Ethernet MAC - camera interface Detailed information can be found at: https://www.st.com/en/evaluation-tools/stm32h747i-disco.html Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
19 lines
413 B
Bash
Executable File
19 lines
413 B
Bash
Executable File
#!/bin/sh
|
|
|
|
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/stm32h747i-disco.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"
|