mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-11-01 21:07:59 +00:00
classes: update flashtools references
Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
committed by
Matt Madison
parent
8a91fb1ff5
commit
36e83e8b2d
@@ -7,7 +7,7 @@ oe_cbootimg() {
|
|||||||
oe_cbootimg_common() {
|
oe_cbootimg_common() {
|
||||||
outfile="$2"
|
outfile="$2"
|
||||||
[ -n "$outfile" ] || outfile="${IMGDEPLOYDIR}/$1.cboot"
|
[ -n "$outfile" ] || outfile="${IMGDEPLOYDIR}/$1.cboot"
|
||||||
${STAGING_BINDIR_NATIVE}/tegra186-flash/mkbootimg \
|
${STAGING_BINDIR_NATIVE}/tegra194-flash/mkbootimg \
|
||||||
--kernel ${CBOOTIMG_KERNEL} \
|
--kernel ${CBOOTIMG_KERNEL} \
|
||||||
--ramdisk ${IMGDEPLOYDIR}/$1 \
|
--ramdisk ${IMGDEPLOYDIR}/$1 \
|
||||||
--output "$outfile"
|
--output "$outfile"
|
||||||
@@ -29,5 +29,5 @@ make_cboot_image[vardepsexclude] += "DATETIME"
|
|||||||
CONVERSIONTYPES =+ "cboot"
|
CONVERSIONTYPES =+ "cboot"
|
||||||
IMAGE_TYPES += "cpio.gz.cboot"
|
IMAGE_TYPES += "cpio.gz.cboot"
|
||||||
|
|
||||||
CONVERSION_DEPENDS_cboot = "tegra186-flashtools-native virtual/kernel:do_deploy"
|
CONVERSION_DEPENDS_cboot = "tegra194-flashtools-native virtual/kernel:do_deploy"
|
||||||
CONVERSION_CMD:cboot = "make_cboot_image ${type}"
|
CONVERSION_CMD:cboot = "make_cboot_image ${type}"
|
||||||
|
|||||||
@@ -61,7 +61,6 @@ TOSIMGFILENAME:tegra194 = "tos-optee_t194.img"
|
|||||||
|
|
||||||
BUP_PAYLOAD_DIR = "payloads_t${@d.getVar('NVIDIA_CHIP')[2:]}x"
|
BUP_PAYLOAD_DIR = "payloads_t${@d.getVar('NVIDIA_CHIP')[2:]}x"
|
||||||
FLASHTOOLS_DIR = "${SOC_FAMILY}-flash"
|
FLASHTOOLS_DIR = "${SOC_FAMILY}-flash"
|
||||||
FLASHTOOLS_DIR:tegra194 = "tegra186-flash"
|
|
||||||
|
|
||||||
TEGRAFLASH_PACKAGE_FORMAT ??= "tar"
|
TEGRAFLASH_PACKAGE_FORMAT ??= "tar"
|
||||||
TEGRAFLASH_PACKAGE_FORMATS = "tar zip"
|
TEGRAFLASH_PACKAGE_FORMATS = "tar zip"
|
||||||
@@ -206,7 +205,7 @@ create_tegraflash_pkg() {
|
|||||||
|
|
||||||
create_tegraflash_pkg:tegra194() {
|
create_tegraflash_pkg:tegra194() {
|
||||||
local f
|
local f
|
||||||
PATH="${STAGING_BINDIR_NATIVE}/tegra186-flash:${PATH}"
|
PATH="${STAGING_BINDIR_NATIVE}/tegra194-flash:${PATH}"
|
||||||
rm -rf "${WORKDIR}/tegraflash"
|
rm -rf "${WORKDIR}/tegraflash"
|
||||||
mkdir -p "${WORKDIR}/tegraflash"
|
mkdir -p "${WORKDIR}/tegraflash"
|
||||||
oldwd=`pwd`
|
oldwd=`pwd`
|
||||||
@@ -249,7 +248,7 @@ create_tegraflash_pkg:tegra194() {
|
|||||||
cp $f .
|
cp $f .
|
||||||
done
|
done
|
||||||
if [ "${TEGRA_SIGNING_EXCLUDE_TOOLS}" != "1" ]; then
|
if [ "${TEGRA_SIGNING_EXCLUDE_TOOLS}" != "1" ]; then
|
||||||
cp -R ${STAGING_BINDIR_NATIVE}/tegra186-flash/* .
|
cp -R ${STAGING_BINDIR_NATIVE}/tegra194-flash/* .
|
||||||
mv ./rollback_parser.py ./rollback/
|
mv ./rollback_parser.py ./rollback/
|
||||||
tegraflash_generate_bupgen_script
|
tegraflash_generate_bupgen_script
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user