mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-29 13:31:43 -09:00
The commit adds support for STM32F746G-DISCO board. The discovery kit is a complete demonstration and development platform for STMicroelectronics Arm Cortex-M7-core-based STM32F746NG. Board support package includes the following components: - mainline Linux kernel 5.15.165 - mainline U-Boot 2024.07 - default packages from buildroot Link: https://www.st.com/en/evaluation-tools/32f746gdiscovery.html Co-Developed-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
485 B
Bash
Executable File
23 lines
485 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ $# -eq 0 ]; then
|
|
OUTPUT_DIR=output
|
|
else
|
|
OUTPUT_DIR=$1
|
|
fi
|
|
|
|
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/stm32f746g-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"
|