* In the SDK prebuilt-images directory add a README file that
  details where the images belong on the SD card.

Signed-off-by: Chase Maupin <[email protected]>
---
* Updated in version 2
    * Fixed missing return in the README file

---
 .../recipes-tisdk/tisdk-readme/tisdk-readme.bb     |   22 ++++++++++++++++++++
 .../recipes-tisdk/tisdk-readme/tisdk-readme/README |   22 ++++++++++++++++++++
 2 files changed, 44 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb
 create mode 100644 
meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README

diff --git a/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb 
b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb
new file mode 100644
index 0000000..6fdcaff
--- /dev/null
+++ b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Package that will install a README file into the SDK 
prebuilt-binaries directory"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+SRC_URI = "\
+    file://README \
+"
+
+PR = "r0"
+PV = "1.0"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}"
+
+do_install () {
+    install -d ${D}/board-support/prebuilt-images
+
+    install -m 0644 ${S}/README ${D}/board-support/prebuilt-images/
+}
+
+FILES_${PN} += "board-support/*"
diff --git a/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README 
b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README
new file mode 100644
index 0000000..873d1e8
--- /dev/null
+++ b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README
@@ -0,0 +1,22 @@
+The files contained in this directory represent the images that were built
+as part of the original SDK build and packaging process.  They are meant
+to serve as a restore and starting point for your development.  In order
+to use these images with an SD card they should be placed in the appropriate
+locations.
+
+By default these locations are:
+
+================================================================================
+|       FILE       |                  LOCATION                                 
|
+================================================================================
+|    MLO           | boot partition
+|    u-boot.img    | boot partition
+|    uEnv.txt      | boot partition
+|    uImage        | /boot directory of the rootfs partition
+|    *.dtb         | /boot directory of the rootfs partition
+================================================================================
+
+By default the boot loaders are read from the first FAT partition, which is
+usually called the "boot" partition.  Then the bootloader will look for the
+uImage and DTB files in the /boot directory of the EXT partition, which is
+usually called the "rootfs" partition.
-- 
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to