From patchwork Wed Jul 6 01:27:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: beagleboard-test-scripts: Add a script flash-fs.sh for flashing NAND. Date: Wed, 06 Jul 2011 01:27:23 -0000 From: Joel A Fernandes X-Patchwork-Id: 7067 Message-Id: <1309915643-16401-1-git-send-email-agnel.joel@gmail.com> To: openembedded-devel@lists.openembedded.org Cc: joelagnel@ti.com, Joel A Fernandes , jdk@ti.com, k-kooi@ti.com This script flashes the NAND of a beagleboard if it exists, and if there is a valid image to flash. Signed-off-by: Joel A Fernandes --- .../beagleboard/beagleboard-test-scripts_git.bb | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes/beagleboard/beagleboard-test-scripts_git.bb b/recipes/beagleboard/beagleboard-test-scripts_git.bb index be0d059..237d8d6 100644 --- a/recipes/beagleboard/beagleboard-test-scripts_git.bb +++ b/recipes/beagleboard/beagleboard-test-scripts_git.bb @@ -3,10 +3,10 @@ DESCRIPTION = "BeagleBoard test scripts" HOMEPAGE = "http://beagleboad.org/support" PR = "r2" -SRC_URI = "git://gitorious.org/beagleboard-validation/scripts.git;protocol=git \ +SRC_URI = "git://gitorious.org/~joelf/beagleboard-validation/validation-scripts.git;protocol=git \ " -SRCREV = "473dd2ab20d866be6168c9f992c2c9e74e485c9d" +SRCREV = "${AUTOREV}" S = "${WORKDIR}/git" do_install() { @@ -28,4 +28,7 @@ do_install() { for i in ${TEST_FILES}; do install -m 0755 ${S}/${i} ${D}/${bindir} done + # Add script to flash the NAND if it exists and if there is a valid image to flash on bootup. + install -d ${D}/${sysconfdir}/rc5.d/ + install -m 0755 ${S}/flashing/flash-fs.sh ${D}/${sysconfdir}/rc5.d/S99flashfs }