summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Stiffler2018-11-30 18:30:08 -0600
committerPraneeth Bajjuri2018-11-30 13:20:22 -0600
commit80d8ea5f38ffbcb657073c3b278b886916295e12 (patch)
treebe5909a6c088ccae4a90e78f192c648c46b5c16b
parent6f8880d45b0eb234afad89827450dcf2acd47076 (diff)
downloaddevice-ti-am65xevm-d-oreo-mr1-core-release.tar.gz
device-ti-am65xevm-d-oreo-mr1-core-release.tar.xz
device-ti-am65xevm-d-oreo-mr1-core-release.zip
am65xevm: fastboot.sh: use PRODUCT_OUT to find imagesd-oreo-mr1-core-release
* Follow the precedent set by other images, and use PRODUCT_OUT. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
-rwxr-xr-xfastboot.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/fastboot.sh b/fastboot.sh
index 43fce55..ef36b25 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}'`