aboutsummaryrefslogtreecommitdiff
path: root/arch/.gitignore
diff options
context:
space:
mode:
authorPatrick Delaunay2020-03-18 09:25:02 +0100
committerPatrick Delaunay2020-05-14 09:02:12 +0200
commitd0686c69ff6cb8d8e63052bde8ca00e6468dd88d (patch)
tree3a53ba361812d3b1a04e13f8624a7852c285d886 /arch/.gitignore
parent99d643cb411775037453bf24cac6b8eb0917bfe7 (diff)
stm32mp: stm32prog: support for script
Support an U-Boot script included in uimage instead of flashlayout file (text file in tsv format). This feature is used to execute this script directly when U-Boot is loaded in DDR (for update without STM32CubeProgrammer for example). A simple example with dfu-util only is: $> echo "dfu 0" > script.cmd $> mkimage -C none -A arm -T script -d script.cmd script.uimg $> mkimage -T stm32image -a 0xC0000000 -e 0xC0000000 -d script.uimg \ script.stm32 $> dfu-util -d 0483:df11 -a 1 -D tf-a.stm32 $> dfu-util -d 0483:df11 -a 0 -D script.stm32 $> dfu-util -d 0483:df11 -a 0 -D u-boot.stm32 $> dfu-util -d 0483:df11 -a 0 -e Then you can used dfu-utils to update your device To increase speed, you can also switch to fastboot protocol with: echo "fastboot 0" > script.cmd Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions