All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tisdk-image: add packaging of skern and k2-fw-initrd to prebuilt-images/
@ 2016-02-03 20:59 Denys Dmytriyenko
  2016-02-03 21:09 ` Stiffler, Jacob
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2016-02-03 20:59 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-arago-distro/classes/tisdk-image.bbclass | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/classes/tisdk-image.bbclass b/meta-arago-distro/classes/tisdk-image.bbclass
index e5d5e50..86fbb58 100644
--- a/meta-arago-distro/classes/tisdk-image.bbclass
+++ b/meta-arago-distro/classes/tisdk-image.bbclass
@@ -56,6 +56,12 @@ DEPLOY_SPL_UART_NAME ?= "u-boot-spl.bin-${MACHINE}"
 # Variable to specify the name of the TI SCI firmware
 DEPLOY_TISCI_FW_NAME ?= "ti-sci-firmware-k2g.bin"
 
+# Variable to specify the name of Keystone skern file (it has SOC in the name, not MACHINE)
+DEPLOY_K2_SKERN_NAME ?= "skern-*.bin"
+
+# Variable to specify the name of Keystone initramfs with FW images
+DEPLOY_K2_FW_INITRD_NAME ?= "k2-fw-initrd.cpio.gz"
+
 # Manifest file location which will be created as part of the image build
 # process.
 # This manifest follows the TI manifest format requirements which is why
@@ -758,15 +764,33 @@ tisdk_image_build () {
         fi
     fi
 
+    # Copy TI SCI firmware if it exists
     if [ "${DEPLOY_TISCI_FW_NAME}" != "" ]
     then
-        # Copy TI SCI firmware if it exists
         if [ -e ${DEPLOY_DIR_IMAGE}/${DEPLOY_TISCI_FW_NAME} ]
         then
             cp ${DEPLOY_DIR_IMAGE}/${DEPLOY_TISCI_FW_NAME} ${prebuilt_dir}/
         fi
     fi
 
+    # Copy skern/boot-monitor image if it exists
+    if [ "${DEPLOY_K2_SKERN_NAME}" != "" ]
+    then
+        if [ -e ${DEPLOY_DIR_IMAGE}/${DEPLOY_K2_SKERN_NAME} ]
+        then
+            cp ${DEPLOY_DIR_IMAGE}/${DEPLOY_K2_SKERN_NAME} ${prebuilt_dir}/
+        fi
+    fi
+
+    # Copy Keystone FW initramfs image if it exists
+    if [ "${DEPLOY_K2_FW_INITRD_NAME}" != "" ]
+    then
+        if [ -e ${DEPLOY_DIR_IMAGE}/${DEPLOY_K2_FW_INITRD_NAME} ]
+        then
+            cp ${DEPLOY_DIR_IMAGE}/${DEPLOY_K2_FW_INITRD_NAME} ${prebuilt_dir}/
+        fi
+    fi
+
     # Add the EXTRA_TISDK_FILES contents if they exist
     # Make sure EXTRA_TISDK_FILES is not empty so we don't accidentaly
     # copy the root directory.
-- 
2.2.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-03 21:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-03 20:59 [PATCH] tisdk-image: add packaging of skern and k2-fw-initrd to prebuilt-images/ Denys Dmytriyenko
2016-02-03 21:09 ` Stiffler, Jacob
2016-02-03 21:31   ` Denys Dmytriyenko

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.