# Kernel configuration and dts specific information # # Kernel configurations and dts (If not using Linux provided ones) are captured # in this file. Update SRC_URI and do_patch for building images with custom dts # # We can't set FILESEXTRAPATHS once because of how the kernel classes search for # config fragments. Discussion is ongoing as to whether this is the correct # solution, or a workaround. # https://bugzilla.yoctoproject.org/show_bug.cgi?id=14154 ARMBSPFILESPATHS := "${THISDIR}:${THISDIR}/files:" # Arm platforms kmeta SRC_URI_KMETA = "file://arm-platforms-kmeta;type=kmeta;name=arm-platforms-kmeta;destsuffix=arm-platforms-kmeta" SRC_URI_append_fvp-base = " ${SRC_URI_KMETA}" SRC_URI_append_fvp-base-arm32 = " ${SRC_URI_KMETA}" SRC_URI_append_juno = " ${SRC_URI_KMETA}" SRC_URI_append_n1sdp = " ${SRC_URI_KMETA}" SRC_URI_append_fvp-baser-aemv8r64 = " ${SRC_URI_KMETA}" SRCREV_arm-platforms-kmeta = "6147e82375aa9df8f2a162d42ea6406c79c854c5" # # Corstone-500 KMACHINE # COMPATIBLE_MACHINE_corstone500 = "corstone500" # # FVP BASE KMACHINE # COMPATIBLE_MACHINE_fvp-base = "fvp-base" KMACHINE_fvp-base = "fvp" FILESEXTRAPATHS_prepend_fvp-base := "${ARMBSPFILESPATHS}" SRC_URI_append_fvp-base = " file://fvp-base-dts.patch" # # FVP BASE ARM32 KMACHINE # COMPATIBLE_MACHINE_fvp-base-arm32 = "fvp-base-arm32" KMACHINE_fvp-base-arm32 = "fvp-arm32" FILESEXTRAPATHS_prepend_fvp-base-arm32 := "${ARMBSPFILESPATHS}" SRC_URI_append_fvp-base-arm32 = " file://fvp-base-arm32-dts.patch \ file://0001-ARM-vexpress-enable-GICv3.patch" # # Juno KMACHINE # COMPATIBLE_MACHINE_juno = "juno" KMACHINE_juno = "juno" KBUILD_DEFCONFIG_juno = "defconfig" KCONFIG_MODE_juno = "--alldefconfig" #FIXME - temporarily pin kernel version to allow for juno patches to apply KBRANCH_juno = "v5.4/standard/base" KERNEL_VERSION_SANITY_SKIP_juno = "1" SRCREV_machine_juno = "dd8a64a523fb714a98328441e0de72cde115a6fc" FILESEXTRAPATHS_prepend_juno := "${ARMBSPFILESPATHS}" SRC_URI_append_juno = " \ file://0001-mailbox-add-support-for-doorbell-signal-mode-control.patch \ file://0002-dt-bindings-mailbox-add-bindings-to-support-ARM-MHU-.patch \ file://0003-mailbox-arm_mhu-migrate-to-threaded-irq-handler.patch \ file://0004-mailbox-arm_mhu-re-factor-data-structure-to-add-door.patch \ file://0005-mailbox-arm_mhu-add-full-support-for-the-doorbells.patch \ file://0006-mailbox-arm_mhu-add-support-to-read-and-record-mbox-.patch \ file://0007-arm64-defconfig-add-all-SCMI-related-configs.patch \ file://0008-arm64-dts-juno-add-mhu-doorbell-support-and-scmi-dev.patch \ " # # SGI575 KMACHINE # COMPATIBLE_MACHINE_sgi575 = "sgi575" KMACHINE_sgi575 = "sgi575" KBUILD_DEFCONFIG_sgi575 = "defconfig" KCONFIG_MODE_sgi575 = "--alldefconfig" # # Total Compute KMACHINE # COMPATIBLE_MACHINE_tc0 = "tc0" KMACHINE_tc0 = "tc0" KCONFIG_MODE_tc0 = "--alldefconfig" FILESEXTRAPATHS_prepend_tc0 := "${ARMBSPFILESPATHS}" SRC_URI_append_tc0 = " \ file://defconfig \ file://0001-drm-Add-component-aware-simple-encoder.patch \ file://0002-drm-arm-komeda-add-RENDER-capability-to-the-device-n.patch \ file://0003-mailbox-arm_mhuv2-add-device-tree-binding-documentat.patch \ file://0004-mailbox-arm_mhuv2-add-arm-mhuv2-driver.patch \ file://0005-mailbox-arm_mhuv2-add-doorbell-transport-protocol-op.patch \ file://0006-mailbox-arm_mhuv2-add-multi-word-transport-protocol-.patch \ file://0007-firmware-arm_scmi-Add-fast_switch_possible-api.patch \ file://0008-cpufreq-arm_scmi-Set-fast_switch_possible-conditiona.patch \ file://0009-driver-firmware-Initial-version-of-ffa-driver-based-.patch \ file://0010-tee-add-support-for-session-s-client-UUID-generation.patch \ file://0011-tee-optee-Add-support-for-session-login-client-UUID-.patch \ file://0012-driver-optee-Support-for-ffa-transport.patch \ file://0013-tee-optee-fix-mem-handle-removal-in-ffa_shm_unregist.patch \ file://0014-arm64-Add-support-for-asymmetric-AArch32-EL0-configu.patch \ file://0015-arm64-smp-Prevent-hotplugging-the-last-AArch32-able-.patch \ " # # N1SDP KMACHINE # FILESEXTRAPATHS_prepend_n1sdp := "${THISDIR}/linux-yocto-5.10/n1sdp:" COMPATIBLE_MACHINE_n1sdp = "n1sdp" KBUILD_DEFCONFIG_n1sdp = "defconfig" KCONFIG_MODE_n1sdp = "--alldefconfig" FILESEXTRAPATHS_prepend_n1sdp := "${ARMBSPFILESPATHS}" SRC_URI_append_n1sdp = " \ file://0001-pci_quirk-add-acs-override-for-PCI-devices.patch \ file://0002-pcie-Add-quirk-for-the-Arm-Neoverse-N1SDP-platform.patch \ file://0003-n1sdp-update-n1sdp-pci-quirk-for-SR-IOV-support.patch \ file://0004-n1sdp-pcie-add-quirk-support-enabling-remote-chip-PC.patch \ file://0001-arm64-defconfig-drop-unused-BACKLIGHT_GENERIC-option.patch \ file://no-power-avs.patch \ file://enable-realtek-R8169.cfg \ file://enable-usb_conn_gpio.cfg \ " # Since we use the intree defconfig and the preempt-rt turns off some configs # do_kernel_configcheck will display warnings. So, lets disable it. KCONF_AUDIT_LEVEL_n1sdp_pn-linux-yocto-rt = "0" # # Musca B1/S2 can't run Linux # COMPATIBLE_MACHINE_musca-b1 = "(^$)" COMPATIBLE_MACHINE_musca-s1 = "(^$)" # # FVP BaseR AEMv8r64 Machine # COMPATIBLE_MACHINE_fvp-baser-aemv8r64 = "fvp-baser-aemv8r64" FILESEXTRAPATHS_prepend_fvp-baser-aemv8r64 := "${ARMBSPFILESPATHS}" SRC_URI_append_fvp-baser-aemv8r64 = " file://fvp-baser-aemv8r64.dts;subdir=git/arch/arm64/boot/dts/arm"