82c1a43792
The current configuration fails to boot on the stm32f469-disco board. Make it bootable again by reverting the DRAM patches. Also change the kernel load address from 0x8010000 to 0x800C000 to allocate more space to the kernel, since 32kB for the device tree is enough. Also clean up the rootfs a bit with the common stm32-post-build.sh script. 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>
21 lines
583 B
Bash
Executable File
21 lines
583 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/stm32f469i-disco.bin 0x08000000" \
|
|
-c "flash write_image erase ${OUTPUT_DIR}/images/stm32f469-disco.dtb 0x08004000" \
|
|
-c "flash write_image erase ${OUTPUT_DIR}/images/xipImage 0x0800C000" \
|
|
-c "reset run" \
|
|
-c "shutdown"
|