[OE-core] [PATCH] busybox: add devmem

Andre McCurdy armccurdy at gmail.com
Wed Jan 30 19:47:56 UTC 2019


On Wed, Jan 30, 2019 at 8:50 AM Khem Raj <raj.khem at gmail.com> wrote:
> On Wed, Jan 30, 2019 at 1:34 AM Adrian Bunk <bunk at stusta.de> wrote:
> >
> > This is a tiny but pretty useful tool.
>
> question is, do we need this enabled in default config, or could be add it via
> some DISTRO_FEATURE meant for validation etc. May be if you explain your
> usecase then we might be able to make a better assessment.

It's not just a validation tool. I've seen production code which sets
up GPIOs etc using calls to devmem from an init script.

Of course it's not needed by everyone, but it's a useful tool for some
and it's so small it doesn't really deserve it's own conditional logic
in the recipe.

> > Signed-off-by: Adrian Bunk <bunk at stusta.de>> > ---
> >  meta/recipes-core/busybox/busybox/defconfig | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-core/busybox/busybox/defconfig b/meta/recipes-core/busybox/busybox/defconfig
> > index d11707abc3..1519159a49 100644
> > --- a/meta/recipes-core/busybox/busybox/defconfig
> > +++ b/meta/recipes-core/busybox/busybox/defconfig
> > @@ -791,7 +791,7 @@ CONFIG_DC=y
> >  # CONFIG_DEVFSD_FG_NP is not set
> >  # CONFIG_DEVFSD_VERBOSE is not set
> >  # CONFIG_FEATURE_DEVFS is not set
> > -# CONFIG_DEVMEM is not set
> > +CONFIG_DEVMEM=y
> >  # CONFIG_EJECT is not set
> >  # CONFIG_FEATURE_EJECT_SCSI is not set
> >  # CONFIG_FBSPLASH is not set
> > --
> > 2.11.0


More information about the Openembedded-core mailing list