* Add the ability to add a uEnv.txt file into the prebuilt-images directory of the SDK. * By default package a file with comments explaining how to use the uEnv.txt file.
Signed-off-by: Chase Maupin <[email protected]> --- .../recipes-tisdk/tisdk-uenv/tisdk-uenv.bb | 22 ++++++++++++++++++++ .../tisdk-uenv/tisdk-uenv/omap5-evm/uEnv.txt | 11 ++++++++++ .../recipes-tisdk/tisdk-uenv/tisdk-uenv/uEnv.txt | 9 ++++++++ 3 files changed, 42 insertions(+), 0 deletions(-) create mode 100644 meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb create mode 100644 meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/omap5-evm/uEnv.txt create mode 100644 meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/uEnv.txt diff --git a/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb new file mode 100644 index 0000000..e67ea97 --- /dev/null +++ b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Package that will install a uEnv.txt file into the SDK prebuilt-binaries directory" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +SRC_URI = "\ + file://uEnv.txt \ +" + +PR = "r0" +PV = "1.0" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +S = "${WORKDIR}" + +do_install () { + install -d ${D}/board-support/prebuilt-images + + install -m 0644 ${S}/uEnv.txt ${D}/board-support/prebuilt-images/ +} + +FILES_${PN} += "board-support/*" diff --git a/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/omap5-evm/uEnv.txt b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/omap5-evm/uEnv.txt new file mode 100644 index 0000000..6f726f5 --- /dev/null +++ b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/omap5-evm/uEnv.txt @@ -0,0 +1,11 @@ +# This uEnv.txt file can contain additional environment settings that you +# want to set in U-Boot at boot time. This can be simple variables such +# as the serverip or custom variables. The format of this file is: +# variable=value +# NOTE: This file will be evaluated after the bootcmd is run and the +# bootcmd must be set to load this file if it exists (this is the +# default on all newer U-Boot images. This also means that some +# variables such as bootdelay cannot be changed by this file since +# it is not evaluated until the bootcmd is run. +bootdir=/boot +bootpart=0:2 diff --git a/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/uEnv.txt b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/uEnv.txt new file mode 100644 index 0000000..0af0eef --- /dev/null +++ b/meta-arago-distro/recipes-tisdk/tisdk-uenv/tisdk-uenv/uEnv.txt @@ -0,0 +1,9 @@ +# This uEnv.txt file can contain additional environment settings that you +# want to set in U-Boot at boot time. This can be simple variables such +# as the serverip or custom variables. The format of this file is: +# variable=value +# NOTE: This file will be evaluated after the bootcmd is run and the +# bootcmd must be set to load this file if it exists (this is the +# default on all newer U-Boot images. This also means that some +# variables such as bootdelay cannot be changed by this file since +# it is not evaluated until the bootcmd is run. -- 1.7.0.4 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
