On 27/09/19 6:06 PM, Jacob Stiffler wrote:

On 9/27/2019 5:44 AM, Nikhil Devshatwar wrote:
For machines with k3 platforms, install the README_k3 as README
It describes all the new files needed for booting k3 devices.

Signed-off-by: Nikhil Devshatwar <[email protected]>
---
  .../recipes-tisdk/tisdk-readme/tisdk-readme.bb     |  8 +++++--
  .../tisdk-readme/tisdk-readme/README_k3            | 26 ++++++++++++++++++++++
  2 files changed, 32 insertions(+), 2 deletions(-)
  create mode 100644 
meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README_k3


If you add this file to 
"meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/k3/README", you will 
not need the other changes to the recipe.
Thanks for the suggestion, will send a v2 with that change
Nikhil D


diff --git a/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb 
b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb
index 6fdcaff..18f8c04 100644
--- a/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb
+++ b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb
@@ -4,19 +4,23 @@ LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
    SRC_URI = "\
      file://README \
+    file://README_k3 \
  "
  -PR = "r0"
+PR = "r1"
  PV = "1.0"
    PACKAGE_ARCH = "${MACHINE_ARCH}"
    S = "${WORKDIR}"
  +README_FILE = "README"
+README_FILE_k3 = "README_k3"
+
  do_install () {
      install -d ${D}/board-support/prebuilt-images
  -    install -m 0644 ${S}/README ${D}/board-support/prebuilt-images/
+    install -m 0644 ${S}/${README_FILE} 
${D}/board-support/prebuilt-images/README
  }
    FILES_${PN} += "board-support/*"
diff --git 
a/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README_k3 
b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README_k3
new file mode 100644
index 0000000..0eb6dd3
--- /dev/null
+++ b/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme/README_k3
@@ -0,0 +1,26 @@
+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                 |
++-------------+-----------------------------------------+
+| tiboot3.bin | boot partition                          |
+| tispl.bin   | boot partition                          |
+| u-boot.img  | boot partition                          |
+| sysfw.itb   | boot partition                          |
+| uEnv.txt    | boot partition                          |
++-------------+-----------------------------------------+
+| Image       | /boot directory of the rootfs partition |
+| *.dtb       | /boot directory of the rootfs partition |
+| *.dtbo      | /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
+Image and .dtb .dtbo files in the /boot directory of the ext4 partition, which 
is
+usually called the "rootfs" partition.

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

Reply via email to