summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/LICENSE.GPL-2.0-only
diff options
context:
space:
mode:
authorronan <ronan.lemartret@iot.bzh>2020-12-15 21:17:10 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-12-17 13:47:06 +0000
commitc1e048fc05542d859115990312e0753ce2dea72e (patch)
tree358ef537e41ebc97c0f9fb2ee8cd1dc748ba6adb /meta-agl-profile-core/LICENSE.GPL-2.0-only
parenta39849e1170bc931ca5bbcbae1445fabb8ca25cd (diff)
[RCAR] disable a default config in kernel
The meta-rcar layer activates by default the configuration MTD_RENESAS_RPC_HYPERFLASH in kernel. MTD_RENESAS_RPC_HYPERFLASH is not upstream, it's a meta-rcar specific feature. MTD_RENESAS_RPC_HYPERFLASH feature in the kernel need an firmware update on the board and can be considered (IMHO) as a security issues in production. We need to set DISABLE_RPC_ACCESS to deactivate it. v2 (jsmoeller): Use ?= for DISABLE_RPC_ACCESS . Bug-AGL: SPEC-3674 Signed-off-by: ronan <ronan.lemartret@iot.bzh> Change-Id: Iefaf9ca115d1fb805b0d3766fc0c800b74daecee Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25815 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-profile-core/LICENSE.GPL-2.0-only')
0 files changed, 0 insertions, 0 deletions
lor: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
DESCRIPTION = "Build MOST driver"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"

inherit module

PV = "0.1"

SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/most;protocol=https;branch=${AGL_BRANCH}"

S = "${WORKDIR}/git/driver"
SRCREV = "794e6dc552e626eb6dd506baf941873414d9ef73"

# The inherit of module.bbclass will automatically name module packages with
# "kernel-module-" prefix as required by the oe-core build environment.

do_install_append () {
    # modprobe automatically at boot
    if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
        install -d ${D}${sysconfdir}/modules-load.d
        echo "aim_cdev" > ${D}${sysconfdir}/modules-load.d/aim_cdev.conf
        echo "aim_sound" > ${D}${sysconfdir}/modules-load.d/aim_sound.conf
        echo "aim_network" > ${D}${sysconfdir}/modules-load.d/aim_network.conf
        echo "aim_v4l2" > ${D}${sysconfdir}/modules-load.d/aim_v4l2.conf
        echo "hdm_i2c" > ${D}${sysconfdir}/modules-load.d/hdm_i2c.conf
        echo "hdm_dim2" > ${D}${sysconfdir}/modules-load.d/hdm_dim2.conf
        echo "hdm_usb" > ${D}${sysconfdir}/modules-load.d/hdm_usb.conf
        echo "mostcore" > ${D}${sysconfdir}/modules-load.d/mostcore.conf
    fi
}