From: Denys Dmytriyenko <denis@denix.org>
To: reatmon@ti.com
Cc: Yogesh Siraswar <yogeshs@ti.com>,
Praneeth Bajjuri <praneeth@ti.com>,
Denys Dmytriyenko <denys@konsulko.com>,
meta-ti@lists.yoctoproject.org
Subject: Re: [meta-ti][dunfell][PATCH 06/11] recipes-bsp: lpm-demo: Introduce low power mode demo package
Date: Tue, 22 Mar 2022 13:59:47 -0400 [thread overview]
Message-ID: <20220322175947.GL23554@denix.org> (raw)
In-Reply-To: <20220322162528.15298-7-reatmon@ti.com>
On Tue, Mar 22, 2022 at 11:25:23AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> From: Nikhil Devshatwar <nikhil.nd@ti.com>
>
> On am62xx-evm, for low power validation, the system boot using
> an initramfs.
>
> Package the tisdk-tiny-image.cpio file in the /boot of the
> default filesystem to enable the demo.
>
> Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
> recipes-bsp/lpm-demo/files/GPL-2 | 340 +++++++++++++++++++++++++++
> recipes-bsp/lpm-demo/lpm-demo_1.0.bb | 28 +++
> 2 files changed, 368 insertions(+)
> create mode 100644 recipes-bsp/lpm-demo/files/GPL-2
> create mode 100644 recipes-bsp/lpm-demo/lpm-demo_1.0.bb
>
> diff --git a/recipes-bsp/lpm-demo/files/GPL-2 b/recipes-bsp/lpm-demo/files/GPL-2
> new file mode 100644
> index 00000000..d60c31a9
> --- /dev/null
> +++ b/recipes-bsp/lpm-demo/files/GPL-2
<snip>
> diff --git a/recipes-bsp/lpm-demo/lpm-demo_1.0.bb b/recipes-bsp/lpm-demo/lpm-demo_1.0.bb
> new file mode 100644
> index 00000000..56b04d56
> --- /dev/null
> +++ b/recipes-bsp/lpm-demo/lpm-demo_1.0.bb
> @@ -0,0 +1,28 @@
> +SUMMARY = "Low power mode demo"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +COMPATIBLE_MACHINE = "am62xx-evm"
> +
> +FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
> +S = "${WORKDIR}"
> +
> +# We need to have the license file from some source. In this case, there
> +# is no source. Hence pointing to the license file only
> +SRC_URI = "file://GPL-2"
That's an incorrect way of doing it.
https://git.openembedded.org/openembedded-core/tree/meta/recipes-core/busybox/busybox-inittab_1.35.0.bb#n3
Also, default license for OpenEmbedded metadata is MIT, not GPLv2. Any
specific reason for the change?
https://git.yoctoproject.org/meta-arago/tree/meta-arago-distro/recipes-tisdk/tisdk-readme/tisdk-readme.bb#n3
> +LPM_RAMFS_IMAGE ?= "tisdk-tiny-image"
> +
> +do_install() {
> + install -d ${D}/boot
> + if [ -f ${DEPLOY_DIR_IMAGE}/${LPM_RAMFS_IMAGE}-${MACHINE}.cpio ]; then
> + install -m 0644 ${DEPLOY_DIR_IMAGE}/${LPM_RAMFS_IMAGE}-${MACHINE}.cpio ${D}/boot
> + else
> + bberror "Could not find LPM ramfs image (${LPM_RAMFS_IMAGE}-${MACHINE}.cpio) in deploy dir!"
> + fi
> +}
> +
> +do_install[depends] = "${LPM_RAMFS_IMAGE}:do_image_complete"
> +
> +FILES_${PN} = "/boot"
> --
> 2.17.1
>
--
Regards,
Denys Dmytriyenko <denis@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
next prev parent reply other threads:[~2022-03-22 17:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-22 16:25 [meta-ti][dunfell][PATCH 00/11] Adding support for am62xx Ryan Eatmon
2022-03-22 16:25 ` [meta-ti][dunfell][PATCH 01/11] machine: Add am62xx evm configuration Ryan Eatmon
2022-03-22 16:25 ` [meta-ti][dunfell][PATCH 02/11] recipes-ti: ti-rtos-bin: Add AM62x binaries Ryan Eatmon
2022-03-22 16:25 ` [meta-ti][dunfell][PATCH 03/11] recipes: Pick up correct image and build DM to boot images Ryan Eatmon
2022-03-22 16:25 ` [meta-ti][dunfell][PATCH 04/11] HACK: recipes-ti: ti-rtos-metadata: Make am62x point to am64x Ryan Eatmon
2022-03-22 20:42 ` Nishanth Menon
2022-03-22 16:25 ` [meta-ti][dunfell][PATCH 05/11] ti-graphics: Add AM62x GPU (AXE1-16M) support v4 Ryan Eatmon
2022-03-22 16:38 ` Etheridge, Darren
2022-03-22 16:25 ` [meta-ti][dunfell][PATCH 06/11] recipes-bsp: lpm-demo: Introduce low power mode demo package Ryan Eatmon
2022-03-22 17:59 ` Denys Dmytriyenko [this message]
2022-03-22 18:04 ` Ryan Eatmon
2022-03-22 16:25 ` [meta-ti][dunfell][PATCH 07/11] recipes-bsp: tifs-lpm-stub: Introduce new recipe Ryan Eatmon
2022-03-22 16:25 ` [meta-ti][dunfell][PATCH 08/11] ti-rtos: Add support for AM62x M4F Ryan Eatmon
2022-03-22 16:25 ` [meta-ti][dunfell][PATCH 09/11] ti-rtos: Fix AM62x R5F DM FW paths Ryan Eatmon
2022-03-22 16:25 ` [meta-ti][dunfell][PATCH 10/11] ti-rtos: Fix AM62x Fix MCU core numbers Ryan Eatmon
2022-03-22 16:25 ` [meta-ti][dunfell][PATCH 11/11] recipes-bsp: lpm-demo: Fix build errors with clean task Ryan Eatmon
2022-03-22 20:43 ` [meta-ti][dunfell][PATCH 00/11] Adding support for am62xx Nishanth Menon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220322175947.GL23554@denix.org \
--to=denis@denix.org \
--cc=denys@konsulko.com \
--cc=meta-ti@lists.yoctoproject.org \
--cc=praneeth@ti.com \
--cc=reatmon@ti.com \
--cc=yogeshs@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.