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

Consolidate all the various console definitions to the common conf/machine/include/rockchip-defaults.inc file and create RK_CONSOLE_BAUD and RK_CONSOLE_DEVICE variables that can be reused in the wks files. The following variables were checked before and after this patch to make sure they are sensible: - SERIAL_CONSOLES - RK_CONSOLE_DEVICE - RK_CONSOLE_BAUD A boot test was performed on the following boards to make sure they all continue to boot to a cmdline: - tinker-board - rock-pi-e - nanopi-m4-2gb - rock64 - rock-pi-4b Signed-off-by: Trevor Woerner <twoerner@gmail.com>
21 lines
436 B
HTML
21 lines
436 B
HTML
# Add a common override for all Rock Pi 4 machines
|
|
MACHINEOVERRIDES =. "rock-pi-4:"
|
|
|
|
require conf/machine/include/rk3399.inc
|
|
|
|
RK_BOOT_DEVICE = "mmcblk1"
|
|
WKS_FILE ?= "rock-pi-4.wks"
|
|
IMAGE_FSTYPES += "wic wic.bmap"
|
|
|
|
WKS_FILE_DEPENDS ?= " \
|
|
mtools-native \
|
|
dosfstools-native \
|
|
virtual/bootloader \
|
|
virtual/kernel \
|
|
"
|
|
IMAGE_BOOT_FILES ?= "\
|
|
${KERNEL_IMAGETYPE} \
|
|
"
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
|