xref: /OK3568_Linux_fs/buildroot/board/qemu/arm-vexpress-tz/post-build.sh (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#!/bin/sh
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunset -u
4*4882a593Smuzhiyunset -e
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun# Create flash.bin TF-A FIP image from bl1.bin and fip.bin
7*4882a593Smuzhiyuncd "$BINARIES_DIR"
8*4882a593Smuzhiyundd if=bl1.bin of=flash.bin bs=4096
9*4882a593Smuzhiyundd if=fip.bin of=flash.bin seek=64 bs=4096 conv=notrunc
10