All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH] userland: add dtc dependency
@ 2021-07-08  8:45 massimo toscanelli
  2022-01-04 12:14 ` [yocto] " Andrei Gherzan
  0 siblings, 1 reply; 2+ messages in thread
From: massimo toscanelli @ 2021-07-08  8:45 UTC (permalink / raw)
  To: yocto; +Cc: massimo toscanelli

When using dtparam, dtoverlay converts /proc/device-tree to a .dtb and
loads it. However, if dtc is not installed, this operation cannot be
done and every call to dtparam fails.

Therefore, dtc needs to be added to the list of userland dependencies
in order to properly call dtparam.

Signed-off-by: massimo toscanelli <massimo.toscanelli@leica-geosystems.com>
---
 recipes-graphics/userland/userland_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb
index ead81f0..9ec57c9 100644
--- a/recipes-graphics/userland/userland_git.bb
+++ b/recipes-graphics/userland/userland_git.bb
@@ -104,5 +104,5 @@ FILES_${PN}-dev += "${includedir} \
 FILES_${PN}-doc += "${datadir}/install"
 FILES_${PN}-dbg += "${libdir}/plugins/.debug"
 
-RDEPENDS_${PN} += "bash"
+RDEPENDS_${PN} += "bash dtc"
 RDEPENDS_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "libegl-mesa", "", d)}"
-- 
2.17.1


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

* Re: [yocto] [meta-raspberrypi][PATCH] userland: add dtc dependency
  2021-07-08  8:45 [meta-raspberrypi][PATCH] userland: add dtc dependency massimo toscanelli
@ 2022-01-04 12:14 ` Andrei Gherzan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrei Gherzan @ 2022-01-04 12:14 UTC (permalink / raw)
  To: yocto; +Cc: massimo.toscanelli

On Thu, 8 Jul 2021, at 09:45, massimo toscanelli via lists.yoctoproject.org wrote:
> When using dtparam, dtoverlay converts /proc/device-tree to a .dtb and
> loads it. However, if dtc is not installed, this operation cannot be
> done and every call to dtparam fails.
>
> Therefore, dtc needs to be added to the list of userland dependencies
> in order to properly call dtparam.
>
> Signed-off-by: massimo toscanelli <massimo.toscanelli@leica-geosystems.com>
> ---
>  recipes-graphics/userland/userland_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-graphics/userland/userland_git.bb 
> b/recipes-graphics/userland/userland_git.bb
> index ead81f0..9ec57c9 100644
> --- a/recipes-graphics/userland/userland_git.bb
> +++ b/recipes-graphics/userland/userland_git.bb
> @@ -104,5 +104,5 @@ FILES_${PN}-dev += "${includedir} \
>  FILES_${PN}-doc += "${datadir}/install"
>  FILES_${PN}-dbg += "${libdir}/plugins/.debug"
> 
> -RDEPENDS_${PN} += "bash"
> +RDEPENDS_${PN} += "bash dtc"
>  RDEPENDS_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", 
> "vc4graphics", "libegl-mesa", "", d)}"
> -- 
> 2.17.1

Hi Massimo,

Somehow I've managed to miss this patch. Could you review this on the current branch version? This looks good to me but would need to be rebased.

Thanks,
Andrei


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

end of thread, other threads:[~2022-01-04 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08  8:45 [meta-raspberrypi][PATCH] userland: add dtc dependency massimo toscanelli
2022-01-04 12:14 ` [yocto] " Andrei Gherzan

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.