All of lore.kernel.org
 help / color / mirror / Atom feed
* [tisdk-setup-scripts][PATCH] create-sdcard: add support for aarch64
@ 2018-06-27 18:40 Jacob Stiffler
  0 siblings, 0 replies; only message in thread
From: Jacob Stiffler @ 2018-06-27 18:40 UTC (permalink / raw)
  To: meta-arago

* Add A53 and R5 SPL images to the boot partition as expected for
  TI devices.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 create-sdcard.sh | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/create-sdcard.sh b/create-sdcard.sh
index 7ada332..078e258 100644
--- a/create-sdcard.sh
+++ b/create-sdcard.sh
@@ -743,6 +743,8 @@ if [ $FILEPATHOPTION -eq 1 ] ; then
 	#check that files are in SDK
 	BOOTFILEPATH="$PARSEPATH/board-support/prebuilt-images"
 	MLO=`ls $BOOTFILEPATH | grep MLO | awk {'print $1'}`
+	SPL_A53=`ls $BOOTFILEPATH | grep tispl | awk {'print $1'}`
+	SPL_R5=`ls $BOOTFILEPATH | grep tiboot3 | awk {'print $1'}`
 	KERNELIMAGE=`ls $BOOTFILEPATH | grep [uz]Image | awk {'print $1'}`
 	BOOTIMG=`ls $BOOTFILEPATH | grep u-boot | grep .img | awk {'print $1'}`
 	BOOTBIN=`ls $BOOTFILEPATH | grep u-boot | grep .bin | awk {'print $1'}`
@@ -967,6 +969,8 @@ EOM
 		BOOTPATHOPTION=1
 		BOOTFILEPATH=$BOOTUSERFILEPATH
 		MLO=`ls $BOOTFILEPATH | grep MLO | awk {'print $1'}`
+		SPL_A53=`ls $BOOTFILEPATH | grep tispl | awk {'print $1'}`
+		SPL_R5=`ls $BOOTFILEPATH | grep tiboot3 | awk {'print $1'}`
 		BOOTIMG=`ls $BOOTFILEPATH | grep u-boot | grep .img | awk {'print $1'}`
 		BOOTBIN=`ls $BOOTFILEPATH | grep u-boot | grep .bin | awk {'print $1'}`
 		BOOTUENV=`ls $BOOTFILEPATH | grep uEnv.txt | awk {'print $1'}`
@@ -1017,6 +1021,30 @@ if [ $BOOTPATHOPTION -eq 1 ] ; then
 
 	echo ""
 
+	#copy boot files out of board support
+	if [ "$SPL_A53" != "" ] ; then
+		cp $BOOTFILEPATH/$SPL_A53 $PATH_TO_SDBOOT/tispl.bin
+		echo "tispl.bin copied"
+	else
+		echo "tispl.bin file not found"
+	fi
+
+	echo ""
+
+	echo ""
+
+	#copy boot files out of board support
+	if [ "$SPL_R5" != "" ] ; then
+		cp $BOOTFILEPATH/$SPL_R5 $PATH_TO_SDBOOT/tiboot3.bin
+		echo "tiboot3.bin copied"
+	else
+		echo "tiboot3.bin file not found"
+	fi
+
+	echo ""
+
+	echo ""
+
 	if [ "$BOOTIMG" != "" ] ; then
 		cp $BOOTFILEPATH/$BOOTIMG $PATH_TO_SDBOOT/u-boot.img
 		echo "u-boot.img copied"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-27 18:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-27 18:40 [tisdk-setup-scripts][PATCH] create-sdcard: add support for aarch64 Jacob Stiffler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.