blob: 134bf82f7de7627dfba182beb512c1ed5311efed (
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 = ""
KERNEL_IMAGETYPE = "Image"
IMAGE_FSTYPES_append = " tar.bz2 ext4"
SERIAL_CONSOLES = "115200;ttySC0"
# Configuration for kernel
PREFERRED_PROVIDER_virtual/kernel = "linux-renesas"
KERNEL_DEVICETREE = " \
renesas/r8a7795-h3ulcb.dtb \
renesas/r8a7795-es1-h3ulcb.dtb \
renesas/r8a7795-h3ulcb-4x2g.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"
# H3ULCB u-boot configure
UBOOT_CONFIG ??= "h3ulcb h3ulcb-4x2g"
UBOOT_CONFIG[h3ulcb] = "r8a7795_ulcb_defconfig"
UBOOT_CONFIG[h3ulcb-4x2g] = "r8a7795_ulcb-4x2g_defconfig"
# libdrm
PREFERRED_VERSION_libdrm = "2.4.100"
# Add variable to Build Configuration in build log
BUILDCFG_VARS_append = " SOC_FAMILY"
MACHINEOVERRIDES .= ":ulcb"
# Command using to build kernel-module-gles
HOSTTOOLS += "sync"
|