balena-raspberrypi
balena-raspberrypi copied to clipboard
linux-raspberrypi_%.bbappend: Enable CONFIG_RPIVID_MEM
This was requested by customer.
Fixes: #453 Changelog-entry: Enable the rpivid-mem kernel module Signed-off-by: Florin Sarbu [email protected]
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)