summaryrefslogtreecommitdiff
path: root/conf/machine/puma-haikou.conf
blob: 698b4535ecab556b503e2eb4e7d52c88a3fa3ac1 (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
#@TYPE: Machine
#@NAME: RK3399-Q7 (Puma)
#@DESCRIPTION: Theobroma Systems RK3399-Q7 (Puma) System-on-Module mounted on Haikou evaluation kit.
# See:
#  https://www.theobroma-systems.com/som-product/rk3399-q7/
#  https://www.theobroma-systems.com/evaluationkit/haikou-q7-dev-kit/

require conf/machine/include/rk3399.inc

KERNEL_DEVICETREE = "rockchip/rk3399-puma-haikou.dtb"
UBOOT_MACHINE = "puma-rk3399_defconfig"

WKS_FILE = "puma-haikou.wks"
IMAGE_FSTYPES += "wic wic.bmap"

SERIAL_CONSOLES = "115200;ttyS0"

MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
PREFERRED_VERSION_linux-yocto = "5.10%"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-tsd"
PREFERRED_PROVIDER_u-boot = "u-boot-tsd"

##############################################################
# Rockchip Android 4.4 vendor kernel configuration/selection #
##############################################################

# Uncomment the next few variables to use Rockchip Android 4.4 vendor kernel
#PREFERRED_PROVIDER_virtual/kernel = "linux-tsd"
#PREFERRED_VERSION_linux-tsd = "4.4%"
#KERNEL_DEVICETREE = "rockchip/rk3399-puma.dtb"

# The following few variables are required because the fitImage for some reasons
# isn't friend with kernel 4.4 and the default fdt file is used by extlinux.conf
# when not using a fitImage. Once fitImage support works with kernel 4.4, this
# can be removed.
#IMAGE_BOOT_FILES = "Image rk3399-puma.dtb"
#KERNEL_IMAGETYPE = "Image"
# First DTS in KERNEL_DEVICETREE is used as default DTS in U-Boot.
# Only the filename is kept, nothing else from the path since the
# DTBs are copied directly to /boot without a parent subdirectory.
#UBOOT_DEFAULT_FDT_FILE = "${@d.getVar("KERNEL_DEVICETREE").split(' ')[0].split('/')[-1]}"