mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-19 20:59:03 +02:00

This adds closed-tpl to MACHINEOVERRIDES if ROCKCHIP_CLOSED_TPL is set to 1. This is a way to tell U-Boot that it needs to fetch the TPL from some place instead of building it. This will allow us to have a common logic in U-Boot, and also avoid touching the U-Boot recipe to add support for a new SoC. As there may be a transition phase during which we still have closed TPL by default but an open-source implementation exists, let's make it a weak assignment so it can be overridden from higher configuration files. Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
29 lines
839 B
HTML
29 lines
839 B
HTML
# meta-rockchip default settings
|
|
MACHINEOVERRIDES =. "${@bb.utils.contains('ROCKCHIP_CLOSED_TPL', '1', 'closed-tpl:', '', d)}"
|
|
MACHINEOVERRIDES =. "rockchip:"
|
|
# kernel
|
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
|
KCONFIG_MODE ?= "alldefconfig"
|
|
|
|
# xserver
|
|
XSERVER = " \
|
|
xserver-xorg \
|
|
xserver-xorg-utils \
|
|
xserver-xorg-xvfb \
|
|
xserver-xorg-extension-glx \
|
|
xserver-xorg-module-libwfb \
|
|
xserver-xorg-module-exa \
|
|
xf86-video-modesetting \
|
|
xf86-input-evdev \
|
|
xf86-input-mouse \
|
|
"
|
|
|
|
# misc
|
|
SERIAL_CONSOLES ?= "1500000;ttyS2"
|
|
RK_CONSOLE_BAUD ?= "${@d.getVar('SERIAL_CONSOLES').split(';')[0]}"
|
|
RK_CONSOLE_DEVICE ?= "${@d.getVar('SERIAL_CONSOLES').split(';')[1].split()[0]}"
|
|
|
|
# Discoverable Partitions Specification (DPS)
|
|
ROOT_DPS:arm = "69dad710-2ce4-4e3c-b16c-21a1d49abed3"
|
|
ROOT_DPS:aarch64 = "b921b045-1df0-41c3-af44-4c6f280d3fae"
|