summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/conf/machine
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3/conf/machine')
-rw-r--r--meta-rcar-gen3/conf/machine/m3nulcb.conf45
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-rcar-gen3/conf/machine/m3nulcb.conf b/meta-rcar-gen3/conf/machine/m3nulcb.conf
new file mode 100644
index 0000000..7f84a8a
--- /dev/null
+++ b/meta-rcar-gen3/conf/machine/m3nulcb.conf
@@ -0,0 +1,45 @@
+#@TYPE: Machine
+#@NAME: M3NULCB machine
+#@DESCRIPTION: Machine configuration for running M3NULCB
+
+SOC_FAMILY = "r8a77965"
+
+DEFAULTTUNE ?= "cortexa57"
+require conf/machine/include/tune-cortexa57.inc
+require conf/machine/include/${SOC_FAMILY}.inc
+
+# 32BIT package install (default is disable)
+# This variables can be used only in multilib.
+USE_32BIT_PKGS ?= "0"
+USE_32BIT_WAYLAND ?= "0"
+USE_32BIT_MMP ?= "0"
+
+MACHINE_FEATURES = ""
+
+KERNEL_IMAGETYPE = "Image"
+IMAGE_FSTYPES_append = " tar.bz2 ext4"
+
+SERIAL_CONSOLE = "115200 ttySC0"
+
+# Configuration for kernel
+PREFERRED_PROVIDER_virtual/kernel = "linux-renesas"
+KERNEL_DEVICETREE = "renesas/r8a77965-m3nulcb.dtb"
+
+# Configuration for ARM Trusted Firmware
+EXTRA_IMAGEDEPENDS += " arm-trusted-firmware optee-os"
+
+# u-boot
+PREFERRED_VERSION_u-boot = "v2018.09%"
+EXTRA_IMAGEDEPENDS += " u-boot"
+UBOOT_MACHINE = "r8a77965_ulcb_defconfig"
+
+# libdrm
+PREFERRED_VERSION_libdrm = "2.4.85"
+
+# Add variable to Build Configuration in build log
+BUILDCFG_VARS_append = " SOC_FAMILY"
+
+MACHINEOVERRIDES .= ":ulcb"
+
+# Command using to build kernel-module-gles
+HOSTTOOLS += "sync"