* [PATCH oe-core] linux-dtb: add dtb into deploy cache package
@ 2011-12-22 10:23 b19537
2011-12-22 21:55 ` Saul Wold
0 siblings, 1 reply; 3+ messages in thread
From: b19537 @ 2011-12-22 10:23 UTC (permalink / raw)
To: openembedded-core
From: Zhenhua Luo <b19537@freescale.com>
> current dtb is not included in the deploy cache package, dtb is missing
when build kernel from caches
Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
meta/recipes-kernel/linux/linux-dtb.inc | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc
index 7ec7584..f6f5f81 100644
--- a/meta/recipes-kernel/linux/linux-dtb.inc
+++ b/meta/recipes-kernel/linux/linux-dtb.inc
@@ -25,3 +25,9 @@ do_install_append() {
fi
}
+do_deploy_append() {
+ install -d ${DEPLOYDIR}
+ install -m 0644 ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.dtb ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.dtb
+ cd ${DEPLOYDIR}
+ ln -sf ${KERNEL_IMAGE_BASE_NAME}.dtb ${KERNEL_IMAGE_SYMLINK_NAME}.dtb
+}
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH oe-core] linux-dtb: add dtb into deploy cache package
2011-12-22 10:23 [PATCH oe-core] linux-dtb: add dtb into deploy cache package b19537
@ 2011-12-22 21:55 ` Saul Wold
2011-12-23 2:52 ` Luo Zhenhua-B19537
0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2011-12-22 21:55 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 12/22/2011 02:23 AM, b19537@freescale.com wrote:
> From: Zhenhua Luo<b19537@freescale.com>
>
> > current dtb is not included in the deploy cache package, dtb is missing
> when build kernel from caches
>
> Signed-off-by: Zhenhua Luo<b19537@freescale.com>
> ---
> meta/recipes-kernel/linux/linux-dtb.inc | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc
> index 7ec7584..f6f5f81 100644
> --- a/meta/recipes-kernel/linux/linux-dtb.inc
> +++ b/meta/recipes-kernel/linux/linux-dtb.inc
> @@ -25,3 +25,9 @@ do_install_append() {
> fi
> }
>
> +do_deploy_append() {
> + install -d ${DEPLOYDIR}
> + install -m 0644 ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.dtb ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.dtb
> + cd ${DEPLOYDIR}
> + ln -sf ${KERNEL_IMAGE_BASE_NAME}.dtb ${KERNEL_IMAGE_SYMLINK_NAME}.dtb
> +}
What machines did you test this on? Is it possible that some kernels do
not generate .dtb files?
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH oe-core] linux-dtb: add dtb into deploy cache package
2011-12-22 21:55 ` Saul Wold
@ 2011-12-23 2:52 ` Luo Zhenhua-B19537
0 siblings, 0 replies; 3+ messages in thread
From: Luo Zhenhua-B19537 @ 2011-12-23 2:52 UTC (permalink / raw)
To: Saul Wold; +Cc: Patches and discussions about the oe-core layer
Hello Saul,
> -----Original Message-----
> From: Saul Wold [mailto:sgw@linux.intel.com]
> Sent: Friday, December 23, 2011 5:56 AM
>
> > +do_deploy_append() {
> > + install -d ${DEPLOYDIR}
> > + install -m 0644 ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.dtb
> ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.dtb
> > + cd ${DEPLOYDIR}
> > + ln -sf ${KERNEL_IMAGE_BASE_NAME}.dtb
> > +${KERNEL_IMAGE_SYMLINK_NAME}.dtb }
> What machines did you test this on? Is it possible that some kernels do not
> generate .dtb files?
[Luo Zhenhua-B19537] I verified on Freescale powerpc platforms, this will cause error on targets which don't need dtb. I will post a new patch to fix the issue.
Best Regards,
Zhenhua
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-23 3:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-22 10:23 [PATCH oe-core] linux-dtb: add dtb into deploy cache package b19537
2011-12-22 21:55 ` Saul Wold
2011-12-23 2:52 ` Luo Zhenhua-B19537
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.