summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2017-11-28 14:45:08 -0600
committerPraneeth Bajjuri2017-11-28 15:02:34 -0600
commit65488d981f7d879f5a37e1131bc295c6a67c003d (patch)
tree51f13062992f7e3fb76e522aeda651c1ea85f97d
parent4a9d33d0c18c1a92480dfeac3fedece042378c9f (diff)
downloaddevice-ti-am57xevm-65488d981f7d879f5a37e1131bc295c6a67c003d.tar.gz
device-ti-am57xevm-65488d981f7d879f5a37e1131bc295c6a67c003d.tar.xz
device-ti-am57xevm-65488d981f7d879f5a37e1131bc295c6a67c003d.zip
am57xevm: fastboot.sh: update script to pick right dtb
update script to pick up correct dtb and default setting Change-Id: I175d651287cee5757c67b5c545cfe8e78f24bc93 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rwxr-xr-xfastboot.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/fastboot.sh b/fastboot.sh
index f5a834f..f8e4534 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -88,21 +88,21 @@ if [ ${cpu} = "DRA722" ]; then
88 elif [ ${boardrev} = "1.3A" ] || [ ${boardrev} = "1.3B" ]; then 88 elif [ ${boardrev} = "1.3A" ] || [ ${boardrev} = "1.3B" ]; then
89 environment="${PRODUCT_OUT}am571x-idk-lcd-osd101t2587.dtb" 89 environment="${PRODUCT_OUT}am571x-idk-lcd-osd101t2587.dtb"
90 else 90 else
91 environment="${PRODUCT_OUT}dra72-evm-lcd-lg.dtb" 91 environment="${PRODUCT_OUT}am571x-idk-lcd-osd101t2587.dtb"
92 fi 92 fi
93elif [ ${cpu} = "DRA752" ]; then 93elif [ ${cpu} = "DRA752" ]; then
94 if [ ${boardrev} = "H" ]; then 94 if [ ${boardrev} = "H" ]; then
95 environment="${PRODUCT_OUT}dra7-evm-lcd-osd.dtb" 95 environment="${PRODUCT_OUT}dra7-evm-lcd-osd.dtb"
96 elif [ ${boardrev} = "A.30" ]; then 96 elif [ ${boardrev} = "A" ]; then
97 environment="${PRODUCT_OUT}am57xx-evm-reva3.dtb" 97 environment="${PRODUCT_OUT}am57xx-evm-reva3.dtb"
98 else 98 else
99 environment="${PRODUCT_OUT}dra7-evm-lcd-lg.dtb" 99 environment="${PRODUCT_OUT}am57xx-evm-reva3.dtb"
100 fi 100 fi
101elif [ ${cpu} = "DRA762" ]; then 101elif [ ${cpu} = "DRA762" ]; then
102 if [ ${boardrev} = "1.3A" ] || [ ${boardrev} = "1.3B" ]; then 102 if [ ${boardrev} = "1.3A" ] || [ ${boardrev} = "1.3B" ]; then
103 environment="${PRODUCT_OUT}am574x-idk-lcd-osd101t2587.dtb" 103 environment="${PRODUCT_OUT}am574x-idk-lcd-osd101t2587.dtb"
104 else 104 else
105 environment="${PRODUCT_OUT}dra76-evm.dtb" 105 environment="${PRODUCT_OUT}am574-idk.dtb"
106 fi 106 fi
107else 107else
108 echo "CPU not detected, no matching dtb file found" 108 echo "CPU not detected, no matching dtb file found"