balena-raspberrypi icon indicating copy to clipboard operation
balena-raspberrypi copied to clipboard

linux-raspberrypi_%.bbappend: Enable CONFIG_RPIVID_MEM

Open floion opened this issue 5 years ago • 1 comments

This was requested by customer.

Fixes: #453 Changelog-entry: Enable the rpivid-mem kernel module Signed-off-by: Florin Sarbu [email protected]

floion avatar Feb 06 '20 12:02 floion

Thanks, the approach with config works, but I need more of them.

RESIN_CONFIGS_append = " rpivid"

RESIN_CONFIGS[rpivid] = " \
    CONFIG_BRCM_CHAR_DRIVERS=y \
    CONFIG_BCM_VCIO=y \
    CONFIG_BCM_VC_SM=y \
    CONFIG_BCM2835_DEVGPIOMEM=y \
    CONFIG_RPIVID_MEM=y \
"

However, looks like vc_sm won't compile for 64bit - is it possible to compile the driver in 32bit and include it in 64bit kernel? (found -m32 flag but don't know where to use it in build script)

zub0r avatar Feb 07 '20 18:02 zub0r