summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Stiffler2018-11-30 18:30:08 -0600
committerPraneeth Bajjuri2019-06-26 09:28:51 -0500
commit990136c901035aa9a6646a0c7d1016ad5e7b1d93 (patch)
tree2aaf9d94c9ee0c5d0d05d48209b61849dba72d0c /fastboot.sh
parent498cf6e00506d721174985b89c460e041eb34cee (diff)
downloaddevice-ti-am65xevm-990136c901035aa9a6646a0c7d1016ad5e7b1d93.tar.gz
device-ti-am65xevm-990136c901035aa9a6646a0c7d1016ad5e7b1d93.tar.xz
device-ti-am65xevm-990136c901035aa9a6646a0c7d1016ad5e7b1d93.zip
am65xevm: fastboot.sh: use PRODUCT_OUT to find images
* Follow the precedent set by other images, and use PRODUCT_OUT. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Diffstat (limited to 'fastboot.sh')
-rwxr-xr-xfastboot.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/fastboot.sh b/fastboot.sh
index 7dbd258..88d0a04 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -62,11 +62,11 @@ fi
62# make bootloader image 62# make bootloader image
63# bootloader.img is FAT Image consisting 63# bootloader.img is FAT Image consisting
64# sysfw.itb, u-boot.img and tispl.bin 64# sysfw.itb, u-boot.img and tispl.bin
65dd if=/dev/zero of=bootloader.img bs=1048576 count=8 65dd if=/dev/zero of=${PRODUCT_OUT}bootloader.img bs=1048576 count=8
66mkfs.vfat bootloader.img 66mkfs.vfat ${PRODUCT_OUT}bootloader.img
67mcopy -i bootloader.img tispl.bin ::tispl.bin 67mcopy -i ${PRODUCT_OUT}bootloader.img ${PRODUCT_OUT}tispl.bin ::tispl.bin
68mcopy -i bootloader.img u-boot.img ::u-boot.img 68mcopy -i ${PRODUCT_OUT}bootloader.img ${PRODUCT_OUT}u-boot.img ::u-boot.img
69mcopy -i bootloader.img sysfw.itb ::sysfw.itb 69mcopy -i ${PRODUCT_OUT}bootloader.img ${PRODUCT_OUT}sysfw.itb ::sysfw.itb
70 70
71## poll the board to find out its configuration 71## poll the board to find out its configuration
72cpu=`${FASTBOOT} getvar cpu 2>&1 | grep cpu | awk '{print$2}'` 72cpu=`${FASTBOOT} getvar cpu 2>&1 | grep cpu | awk '{print$2}'`