All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ti PATCH] beagleboard-test-scripts: Imported from OE classic
@ 2011-08-26  0:52 Joel A Fernandes
  0 siblings, 0 replies; only message in thread
From: Joel A Fernandes @ 2011-08-26  0:52 UTC (permalink / raw)
  To: openembedded-core; +Cc: k-kooi

Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
---
 .../beagleboard/beagleboard-test-scripts_git.bb    |   50 ++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)
 create mode 100644 recipes-ti/beagleboard/beagleboard-test-scripts_git.bb

diff --git a/recipes-ti/beagleboard/beagleboard-test-scripts_git.bb b/recipes-ti/beagleboard/beagleboard-test-scripts_git.bb
new file mode 100644
index 0000000..17c07d8
--- /dev/null
+++ b/recipes-ti/beagleboard/beagleboard-test-scripts_git.bb
@@ -0,0 +1,50 @@
+## Reminder:  The correct spacing for a variable is FOO = "BAR"  in : PR="r1"
+DESCRIPTION = "BeagleBoard test scripts"
+HOMEPAGE = "http://beagleboad.org/support"
+PR = "r7"
+
+
+SRC_URI = "git://github.com/joelagnel/validation-scripts.git;protocol=git \
+"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM="file://gpl.txt;md5=5b122a36d0f6dc55279a0ebc69f3c60b"
+
+SRCREV = "4cc0b0442733c1cc1374267622245f5bd28cd4c2"
+S = "${WORKDIR}/git"
+
+inherit update-rc.d
+INITSCRIPT_NAME = "flash-nand-fs.sh"
+INITSCRIPT_PARAMS = "start 99 2 3 4 5 ."
+
+FILES_${PN} += "/boot/user.txt \
+		/boot/uEnv.txt \
+"
+
+do_install() {
+  TEST_FILES=" \
+    testaudio \
+    testcamera \
+    testdsp \
+    testedid \
+    testled \
+    testmem \
+    testneon \
+    testsvideo \
+    testuserbtn \
+    editbootscr \
+    edituserscr \
+    readgpio \
+  "
+  install -d ${D}/${bindir}
+  for i in ${TEST_FILES}; do
+    install -m 0755 ${S}/${i} ${D}/${bindir}
+  done
+  # A script to flash NAND if the board has it, and if there is valid image to flash on the SD Card.
+  # We also register it as an init script so that the SD Card auto-flashes to NAND during boot.
+  install -d ${D}/${sysconfdir}/init.d/
+  install -m 0755 ${S}/flashing/flash-nand-fs.sh ${D}/${sysconfdir}/init.d/flash-nand-fs.sh
+  install -d ${D}/boot/
+  install -m 0755 ${S}/flashing/user.txt ${D}/boot/user.txt
+  install -m 0755 ${S}/flashing/uEnv.txt ${D}/boot/uEnv.txt
+}
-- 
1.7.0.4




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

only message in thread, other threads:[~2011-08-26  1:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-26  0:52 [meta-ti PATCH] beagleboard-test-scripts: Imported from OE classic Joel A Fernandes

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.