mirror of
				https://github.com/lingble/meta-tegra.git
				synced 2025-10-30 03:52:41 +00:00 
			
		
		
		
	image_types_tegra: add NO_INTERNAL_STORAGE support
to pass to initrd-flash for Orin NX (and possibly other future targets) that have no internal storage. Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
		 Matt Madison
					Matt Madison
				
			
				
					committed by
					
						 Matt Madison
						Matt Madison
					
				
			
			
				
	
			
			
			 Matt Madison
						Matt Madison
					
				
			
						parent
						
							103129adea
						
					
				
				
					commit
					7c8c20c72c
				
			| @@ -45,7 +45,7 @@ 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'}" | ||||
| ROOTFS_DEVICE_FOR_INITRD_FLASH = "${@tegra_rootfs_device(d)}" | ||||
| TEGRAFLASH_ERASE_MMC ?= "${TEGRAFLASH_ROOTFS_EXTERNAL}" | ||||
| TEGRAFLASH_NO_INTERNAL_STORAGE ??= "0" | ||||
|  | ||||
| def tegra_initrd_image(d): | ||||
|     if d.getVar('IMAGE_UBOOT'): | ||||
| @@ -404,6 +404,7 @@ ROOTFS_IMAGE="${IMAGE_BASENAME}.${IMAGE_TEGRAFLASH_FS_TYPE}" | ||||
| DATAFILE="${DATAFILE}" | ||||
| EXTERNAL_ROOTFS_DRIVE=${TEGRAFLASH_ROOTFS_EXTERNAL} | ||||
| BOOT_PARTITIONS_ON_EMMC=${BOOT_PARTITIONS_ON_EMMC} | ||||
| NO_INTERNAL_STORAGE=${TEGRAFLASH_NO_INTERNAL_STORAGE} | ||||
| END | ||||
|     fi | ||||
|     if [ -e ./odmfuse_pkc.xml ]; then | ||||
| @@ -531,6 +532,7 @@ ROOTFS_IMAGE="${IMAGE_BASENAME}.${IMAGE_TEGRAFLASH_FS_TYPE}" | ||||
| DATAFILE="${DATAFILE}" | ||||
| EXTERNAL_ROOTFS_DRIVE=${TEGRAFLASH_ROOTFS_EXTERNAL} | ||||
| BOOT_PARTITIONS_ON_EMMC=${BOOT_PARTITIONS_ON_EMMC} | ||||
| NO_INTERNAL_STORAGE=${TEGRAFLASH_NO_INTERNAL_STORAGE} | ||||
| END | ||||
|     fi | ||||
|     if [ -e ./odmfuse_pkc.xml ]; then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user