mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 19:42:41 +00:00
image_types_tegra: update TEGRAFLASH_ROOTFS_EXTERNAL setting
to compare the TNSPEC_BOOTDEV value against the per-platform default value. This improves support for the jetson-orin-nano-devkit-nvme configuration, using the same flash layout for both normal flashing and initrd flashing. Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
@@ -57,7 +57,7 @@ RECROOTFSSIZE ?= "314572800"
|
||||
|
||||
IMAGE_TEGRAFLASH_FS_TYPE ??= "ext4"
|
||||
IMAGE_TEGRAFLASH_ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${IMAGE_TEGRAFLASH_FS_TYPE}"
|
||||
TEGRAFLASH_ROOTFS_EXTERNAL = "${@'1' if d.getVar('TNSPEC_BOOTDEV') != 'mmcblk0p1' else '0'}"
|
||||
TEGRAFLASH_ROOTFS_EXTERNAL = "${@'1' if d.getVar('TNSPEC_BOOTDEV') != d.getVar('TNSPEC_BOOTDEV_DEFAULT') else '0'}"
|
||||
ROOTFS_DEVICE_FOR_INITRD_FLASH = "${@tegra_rootfs_device(d)}"
|
||||
TEGRAFLASH_NO_INTERNAL_STORAGE ??= "0"
|
||||
OVERLAY_DTB_FILE ??= ""
|
||||
|
||||
Reference in New Issue
Block a user