summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/conf/machine/h3ulcb.conf
blob: 398a0b3f0d1979bd427e74a26a7a58070219ebd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#@TYPE: Machine
#@NAME: H3ULCB machine
#@DESCRIPTION: Machine configuration for running H3ULCB

SOC_FAMILY = "r8a7795"

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 = "biglittle"

KERNEL_IMAGETYPE = "Image"

#cpio do not support extended attribut, so cpio image when smack is used
IMAGE_FSTYPES ?= "tar.bz2 ext4 ${@bb.utils.contains('DISTRO_FEATURES', 'smack', '', 'cpio.gz', d)}"

SERIAL_CONSOLE = "115200 ttySC0"

# Configuration for kernel
PREFERRED_PROVIDER_virtual/kernel = "linux-renesas"
KERNEL_DEVICETREE = " \
    renesas/r8a7795-h3ulcb.dtb \
    renesas/r8a7795-es1-h3ulcb.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"
UBOOT_MACHINE = "h3ulcb_defconfig"

# libdrm + mesa
PREFERRED_VERSION_libdrm = "2.4.85"
PREFERRED_VERSION_mesa = "17.%"

# Add variable to Build Configuration in build log
BUILDCFG_VARS_append = " SOC_FAMILY"

MACHINEOVERRIDES .= ":ulcb"

# U-boot/IPL option for H3 (SoC: r8a7795)
# For H3 SiP DDR 4GiB (1GiB x 4ch)
H3_OPTION = "0"