diff options
author | Jacob Stiffler | 2018-11-30 18:30:08 -0600 |
---|---|---|
committer | Praneeth Bajjuri | 2019-06-26 09:28:51 -0500 |
commit | 990136c901035aa9a6646a0c7d1016ad5e7b1d93 (patch) | |
tree | 2aaf9d94c9ee0c5d0d05d48209b61849dba72d0c | |
parent | 498cf6e00506d721174985b89c460e041eb34cee (diff) | |
download | device-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>
-rwxr-xr-x | fastboot.sh | 10 |
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 |
65 | dd if=/dev/zero of=bootloader.img bs=1048576 count=8 | 65 | dd if=/dev/zero of=${PRODUCT_OUT}bootloader.img bs=1048576 count=8 |
66 | mkfs.vfat bootloader.img | 66 | mkfs.vfat ${PRODUCT_OUT}bootloader.img |
67 | mcopy -i bootloader.img tispl.bin ::tispl.bin | 67 | mcopy -i ${PRODUCT_OUT}bootloader.img ${PRODUCT_OUT}tispl.bin ::tispl.bin |
68 | mcopy -i bootloader.img u-boot.img ::u-boot.img | 68 | mcopy -i ${PRODUCT_OUT}bootloader.img ${PRODUCT_OUT}u-boot.img ::u-boot.img |
69 | mcopy -i bootloader.img sysfw.itb ::sysfw.itb | 69 | mcopy -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 |
72 | cpu=`${FASTBOOT} getvar cpu 2>&1 | grep cpu | awk '{print$2}'` | 72 | cpu=`${FASTBOOT} getvar cpu 2>&1 | grep cpu | awk '{print$2}'` |