mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-17 02:49:05 +02:00

Specify the root partition's type according to the Discoverable Partitions Specification: 32-bit ARM: 69dad710-2ce4-4e3c-b16c-21a1d49abed3 64-bit ARM: b921b045-1df0-41c3-af44-4c6f280d3fae Link: https://uapi-group.org/specifications/specs/discoverable_partitions_specification/ Signed-off-by: Trevor Woerner <twoerner@gmail.com>
26 lines
613 B
C++
26 lines
613 B
C++
# common meta-rockchip wic/wks items
|
|
|
|
require conf/machine/include/rockchip-extlinux.inc
|
|
require conf/machine/include/rockchip-rk-u-boot-env.inc
|
|
|
|
SPL_BINARY ?= "idbloader.img"
|
|
|
|
IMAGE_FSTYPES += "wic wic.bmap"
|
|
WKS_FILE ?= "rockchip.wks"
|
|
WKS_FILE_DEPENDS ?= " \
|
|
e2fsprogs-native \
|
|
virtual/bootloader \
|
|
"
|
|
|
|
RK_IMAGE_INCLUDES_UBOOT_ENV ?= "no"
|
|
RK_UBOOT_ENV = " "
|
|
RK_UBOOT_ENV:rk-u-boot-env = "${@ '--source rawcopy --sourceparams=file=u-boot.env' \
|
|
if bb.utils.to_boolean(d.getVar('RK_IMAGE_INCLUDES_UBOOT_ENV'), False) else ' '}"
|
|
|
|
WICVARS:append = " \
|
|
RK_UBOOT_ENV \
|
|
ROOT_DPS \
|
|
SPL_BINARY \
|
|
UBOOT_SUFFIX \
|
|
"
|