aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/dragonboard-410c.conf
blob: 326431365f8f5a71774a99e2465d5ecb86c111a6 (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
#@TYPE: Machine
#@NAME: 96boards DragonBoard 410c machine
#@DESCRIPTION: 96boards

require conf/machine/include/arm/arch-armv8.inc


XSERVER_OPENGL ?= "mesa-driver-msm \
                   xf86-video-freedreno \
                   xserver-xorg-module-exa \
                   xserver-xorg-extension-glx \
                   xserver-xorg-extension-dri \
                  "

XSERVER ?= "xserver-xorg \
            ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${XSERVER_OPENGL}', 'xf86-video-fbdev', d)} \
            xf86-input-evdev \
            xf86-input-mouse \
            xf86-input-keyboard"

MACHINE_FEATURES = "usbhost usbgadget alsa screen wifi bluetooth efi"

PREFERRED_PROVIDER_virtual/egl ?= "mesa"
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-dragonboard"

KERNEL_IMAGETYPE = "Image"
KERNEL_DEVICETREE = "${S}/arch/arm64/boot/dts/dragonboard.dts"

SERIAL_CONSOLE = "115200 ttyMSM0"

MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "linux-firmware \
                                       "

CMDLINE = "console=ttyMSM0,115200n8 root=/dev/mmcblk0p10 rootwait"

# Fastboot expects an ext4 image, which needs to be 4096 aligned
IMAGE_FSTYPES_append = " ext4"
IMAGE_ROOTFS_ALIGNMENT = "4096"