All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2] linux-ti-kernel: update with more merges, get devtree files in to rootfs
@ 2013-10-04 13:16 Denys Dmytriyenko
  2013-10-04 14:26 ` Cooper Jr., Franklin
  0 siblings, 1 reply; 2+ messages in thread
From: Denys Dmytriyenko @ 2013-10-04 13:16 UTC (permalink / raw)
  To: meta-ti

From: Denys Dmytriyenko <denys@ti.com>

Set up the run-time dependency on the package with devicetree files to be
installed in /boot directory of the rootfs. The new U-boot prefers to load
them from /boot directory of the rootfs instead of the separate boot partition.
Also, there are some specific requirements for naming DTB files in /boot
directory (like no extra prefixes), but that should be addressed separately.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
v2 - drop unclear statement about this being U-boot dependency

 recipes-kernel/linux/linux-ti-staging_git.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/recipes-kernel/linux/linux-ti-staging_git.bb b/recipes-kernel/linux/linux-ti-staging_git.bb
index 8267afa..80ebde8 100644
--- a/recipes-kernel/linux/linux-ti-staging_git.bb
+++ b/recipes-kernel/linux/linux-ti-staging_git.bb
@@ -8,6 +8,9 @@ inherit kernel
 require recipes-kernel/linux/linux-dtb.inc
 require recipes-kernel/linux/setup-defconfig.inc
 
+# Pull in the devicetree files into the rootfs
+RDEPENDS_kernel-base += "kernel-devicetree"
+
 # Add a run-time dependency for the PM firmware to be installed
 # on the target file system.
 RDEPENDS_kernel-base_append_ti33x = " am33x-cm3 am33x-cm3-initscript"
@@ -28,11 +31,11 @@ S = "${WORKDIR}/git"
 
 BRANCH = "ti-linux-3.12.y"
 
-SRCREV = "f7579525de9f1d6086c407a6980f4f1c1c574256"
+SRCREV = "e34b95baedccea12af9c0e81be77ed0a18ddae82"
 PV = "3.11+3.12-rc3"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
-MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
+MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}"
 PR = "${MACHINE_KERNEL_PR}"
 
 SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCHv2] linux-ti-kernel: update with more merges, get devtree files in to rootfs
  2013-10-04 13:16 [PATCHv2] linux-ti-kernel: update with more merges, get devtree files in to rootfs Denys Dmytriyenko
@ 2013-10-04 14:26 ` Cooper Jr., Franklin
  0 siblings, 0 replies; 2+ messages in thread
From: Cooper Jr., Franklin @ 2013-10-04 14:26 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-ti

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
> -----Original Message-----
> From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> bounces@yoctoproject.org] On Behalf Of Denys Dmytriyenko
> Sent: Friday, October 04, 2013 8:17 AM
> To: meta-ti@yoctoproject.org
> Subject: [meta-ti] [PATCHv2] linux-ti-kernel: update with more merges, get
> devtree files in to rootfs
> 
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Set up the run-time dependency on the package with devicetree files to be
> installed in /boot directory of the rootfs. The new U-boot prefers to load them
> from /boot directory of the rootfs instead of the separate boot partition.
> Also, there are some specific requirements for naming DTB files in /boot
> directory (like no extra prefixes), but that should be addressed separately.
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
> v2 - drop unclear statement about this being U-boot dependency
> 
>  recipes-kernel/linux/linux-ti-staging_git.bb | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-kernel/linux/linux-ti-staging_git.bb b/recipes-
> kernel/linux/linux-ti-staging_git.bb
> index 8267afa..80ebde8 100644
> --- a/recipes-kernel/linux/linux-ti-staging_git.bb
> +++ b/recipes-kernel/linux/linux-ti-staging_git.bb
> @@ -8,6 +8,9 @@ inherit kernel
>  require recipes-kernel/linux/linux-dtb.inc
>  require recipes-kernel/linux/setup-defconfig.inc
> 
> +# Pull in the devicetree files into the rootfs RDEPENDS_kernel-base +=
> +"kernel-devicetree"
> +
>  # Add a run-time dependency for the PM firmware to be installed  # on the
> target file system.
>  RDEPENDS_kernel-base_append_ti33x = " am33x-cm3 am33x-cm3-initscript"
> @@ -28,11 +31,11 @@ S = "${WORKDIR}/git"
> 
>  BRANCH = "ti-linux-3.12.y"
> 
> -SRCREV = "f7579525de9f1d6086c407a6980f4f1c1c574256"
> +SRCREV = "e34b95baedccea12af9c0e81be77ed0a18ddae82"
>  PV = "3.11+3.12-rc3"
> 
>  # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a
> rebuild -MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
> +MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}"
>  PR = "${MACHINE_KERNEL_PR}"
> 
>  SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-
> kernel.git;protocol=git;branch=${BRANCH} \
> --
> 1.8.3.2
> 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-04 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-04 13:16 [PATCHv2] linux-ti-kernel: update with more merges, get devtree files in to rootfs Denys Dmytriyenko
2013-10-04 14:26 ` Cooper Jr., Franklin

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.