agherzan / meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards
https://www.yoctoproject.org/
MIT License
505 stars 395 forks source link

Can't find vclog #1309

Open ajlennon opened 2 months ago

ajlennon commented 2 months ago

Hi all,

We need to investigate some issues with DeviceTree and have been advised that we need vclog.

I can't spot support for this anywhere here. Does anybody know if there's a Yocto recipe around for this?

Thanks!

Alex

nknuth commented 2 months ago

vclog is source code is located here https://github.com/raspberrypi/utils/tree/master/vclog

nknuth commented 2 months ago

I produced a quick recipe in the past to compile raspberrypi-utils. You could start with this recipe. Save the contents below as rpi-utils_git.bb

# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)

# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
#
# The following license files were not able to be identified and are
# represented as "Unknown" below, you will need to check them yourself:
#   LICENCE
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENCE;md5=4c01239e5c3a3d133858dedacdbca63c"

SRC_URI = "git://github.com/raspberrypi/utils.git;protocol=https;branch=master"

# Modify these as desired
PV = "1.0+git"
SRCREV = "cf46fe84b2a345146e067a9a3529ba6e28517c8e"

RDEPENDS:${PN} += "perl bash"

DEPENDS = "dtc"

S = "${WORKDIR}/git"

inherit cmake

# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
EXTRA_OECMAKE = ""

FILES:${PN} = "${datadir}/bash-completion/completions/* ${bindir}/*"
kraj commented 2 months ago

@nknuth would you mind contributing this recipe via a patch in a PR ?

ajlennon commented 2 months ago

Ah great - thanks @nknuth !

nknuth commented 2 months ago

@kraj -- where do you want it committed?

kraj commented 2 months ago

Master branch is good here

agherzan commented 2 months ago

Thanks @nknuth - see https://meta-raspberrypi.readthedocs.io/en/latest/contributing.html