summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/conf/machine/salvator-x.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3/conf/machine/salvator-x.conf')
-rw-r--r--meta-rcar-gen3/conf/machine/salvator-x.conf54
1 files changed, 54 insertions, 0 deletions
diff --git a/meta-rcar-gen3/conf/machine/salvator-x.conf b/meta-rcar-gen3/conf/machine/salvator-x.conf
new file mode 100644
index 0000000..65212d7
--- /dev/null
+++ b/meta-rcar-gen3/conf/machine/salvator-x.conf
@@ -0,0 +1,54 @@
+#@TYPE: Machine
+#@NAME: Salvator-X machine
+#@DESCRIPTION: Machine configuration for running Salvator-X
+
+DEFAULTTUNE ?= "cortexa57-cortexa53"
+require conf/machine/include/tune-cortexa57-cortexa53.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"
+
+# only if not already defined by distro or user!
+IMAGE_FSTYPES ?= " tar.bz2 ext4 cpio.gz"
+
+SERIAL_CONSOLE = "115200 ttySC0"
+
+# Configuration for kernel
+PREFERRED_PROVIDER_virtual/kernel = "linux-renesas"
+# Device tree for H3
+KERNEL_DEVICETREE_r8a7795 = " \
+ renesas/r8a7795-es1-salvator-x.dtb \
+ renesas/r8a7795-salvator-x.dtb \
+ renesas/r8a7795-salvator-xs.dtb \
+"
+# Device tree for M3
+KERNEL_DEVICETREE_r8a7796 = " \
+ renesas/r8a7796-salvator-x.dtb \
+ renesas/r8a7796-salvator-xs.dtb \
+"
+
+# Configuration for ARM Trusted Firmware
+EXTRA_IMAGEDEPENDS += " arm-trusted-firmware optee-os"
+
+# u-boot
+PREFERRED_VERSION_u-boot = "v2015.04%"
+EXTRA_IMAGEDEPENDS += " u-boot"
+# H3 u-boot configure
+UBOOT_MACHINE_r8a7795 = "r8a7795_salvator-x_defconfig"
+# M3 u-boot configure
+UBOOT_MACHINE_r8a7796 = "r8a7796_salvator-x_defconfig"
+
+# libdrm + mesa
+PREFERRED_VERSION_libdrm = "2.4.68"
+PREFERRED_VERSION_mesa = "17.%"
+
+# Add variable to Build Configuration in build log
+BUILDCFG_VARS_append = " SOC_FAMILY"