1a1239fd28
Board support package includes the following components: - mainline Linux kernel 5.15.108 - mainline U-Boot 2023.04 - default packages from buildroot Note: There is a problem in u-boot display management. It should display the ST microelectronics logo but "noise" is displayed (like when running the command dd if=/dev/urandom of=/dev/fb0 in Linux). I also tried to change version (even the first version in which this feature was introduced), but without success. Despite this I decided not to disable the video management configuration to remind us that it needs to be fixed :). Cc: Giulio Benetti <giulio.benetti@benettiengineering.com> Link: https://www.st.com/en/evaluation-tools/32f769idiscovery.html Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
19 lines
415 B
Bash
Executable File
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/stm32f769i-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"
|