mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 19:42:41 +00:00
image_types_cboot.bbclass: add t234 support
and update the flashtools dependency. Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
committed by
Matt Madison
parent
594e9f3890
commit
e02b97ee1f
@@ -1,20 +1,20 @@
|
||||
CBOOTIMG_KERNEL ?= "${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}"
|
||||
|
||||
oe_cbootimg() {
|
||||
bbfatal "This image type only supported on tegra194 platforms"
|
||||
bbfatal "This image type only supported on tegra platforms"
|
||||
}
|
||||
|
||||
oe_cbootimg_common() {
|
||||
outfile="$2"
|
||||
[ -n "$outfile" ] || outfile="${IMGDEPLOYDIR}/$1.cboot"
|
||||
${STAGING_BINDIR_NATIVE}/tegra194-flash/mkbootimg \
|
||||
${STAGING_BINDIR_NATIVE}/tegra-flash/mkbootimg \
|
||||
--kernel ${CBOOTIMG_KERNEL} \
|
||||
--ramdisk ${IMGDEPLOYDIR}/$1 \
|
||||
--cmdline "${KERNEL_ARGS}" \
|
||||
--output "$outfile"
|
||||
[ -n "$2" ] || ln -sf $1.cboot ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.cboot
|
||||
}
|
||||
oe_cbootimg:tegra194() {
|
||||
oe_cbootimg:tegra() {
|
||||
oe_cbootimg_common "$@"
|
||||
}
|
||||
|
||||
@@ -27,5 +27,5 @@ make_cboot_image[vardepsexclude] += "DATETIME"
|
||||
CONVERSIONTYPES =+ "cboot"
|
||||
IMAGE_TYPES += "cpio.gz.cboot"
|
||||
|
||||
CONVERSION_DEPENDS_cboot = "tegra194-flashtools-native virtual/kernel:do_deploy"
|
||||
CONVERSION_DEPENDS_cboot = "tegra-flashtools-native virtual/kernel:do_deploy"
|
||||
CONVERSION_CMD:cboot = "make_cboot_image ${type}"
|
||||
|
||||
Reference in New Issue
Block a user