Hello! The customized version is 6.8 GB (removed unnecessary applications and only installed necessary modules I need). On the other hand, I was successful at using the jetson-disk-image-creator.sh and create a custom image from a fresh SD of 14GB without all my additions. So, the memory should not be a problem then because the image I am trying to customize and create as .img to put on the other xaviers is only 6.8 GB and the 14GB was successfully at creating its image .img although I didnt add any of my modules.
I am doing another test in a while, thanks for helping me with this!
********************************************
Jetson Disk Image Creation Tool
********************************************
jetson-disk-image-creator.sh - creating signed images
~/Downloads/Linux_for_Tegra ~/Downloads/Linux_for_Tegra/tools
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 5.1
###############################################################################
Board ID(3668) version(000) sku() revision()
creating dummy /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/badpage.bin
1+0 records in
1+0 records out
4096 bytes (4.1 kB, 4.0 KiB) copied, 0.000918241 s, 4.5 MB/s
Copy /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec
copying bctfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying device_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done.
copying misc_cold_boot_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying scr_cold_boot_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi.cfg)... done.
Existing bootloader(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
populating kernel to rootfs... done.
/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign /home/cosmiac/Downloads/Linux_for_Tegra/rootfs/boot/Image
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0132 ] Generating signature
[ 0.0173 ] tegrasign_v2 --key --getmode mode.txt
[ 0.0208 ] Assuming zero filled SBK key
[ 0.0234 ]
[ 0.0241 ] header_magic: 5614
[ 0.0295 ] tegrahost_v2 --chip 0x19 --align 1_Image
[ 0.0345 ]
[ 0.0408 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_Image zerosbk
[ 0.0436 ] adding BCH for 1_Image
[ 2.2614 ]
[ 2.2738 ] tegrasign_v2 --key --list 1_Image_sigheader_list.xml --pubkeyhash pub_key.key
[ 2.2785 ] Assuming zero filled SBK key
[ 2.4229 ]
[ 2.4269 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_Image_sigheader.encrypt 1_Image_sigheader.hash zerosbk
[ 3.7090 ]
[ 3.8400 ] Signed file: /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/Image_sigheader.encrypt
l4t_sign_image.sh: Generate header for Image_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x20bf808 to offset 0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for Image_sigheader.encrypt
l4t_sign_image.sh: the sign header is saved at /home/cosmiac/Downloads/Linux_for_Tegra/rootfs/boot/Image.sig
done.
populating initrd to rootfs... done.
/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign /home/cosmiac/Downloads/Linux_for_Tegra/rootfs/boot/initrd
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0125 ] Generating signature
[ 0.0151 ] tegrasign_v2 --key --getmode mode.txt
[ 0.0178 ] Assuming zero filled SBK key
[ 0.0183 ]
[ 0.0189 ] header_magic: 1f8b0800
[ 0.0220 ] tegrahost_v2 --chip 0x19 --align 1_initrd
[ 0.0251 ]
[ 0.0283 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_initrd zerosbk
[ 0.0316 ] adding BCH for 1_initrd
[ 0.4987 ]
[ 0.5038 ] tegrasign_v2 --key --list 1_initrd_sigheader_list.xml --pubkeyhash pub_key.key
[ 0.5068 ] Assuming zero filled SBK key
[ 0.5387 ]
[ 0.5431 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_initrd_sigheader.encrypt 1_initrd_sigheader.hash zerosbk
[ 0.8084 ]
[ 0.8463 ] Signed file: /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/initrd_sigheader.encrypt
l4t_sign_image.sh: Generate header for initrd_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x6e6ce8 to offset 0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for initrd_sigheader.encrypt
l4t_sign_image.sh: the sign header is saved at /home/cosmiac/Downloads/Linux_for_Tegra/rootfs/boot/initrd.sig
done.
populating /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to rootfs... done.
Making Boot image... done.
/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign boot.img
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0014 ] Generating signature
[ 0.0043 ] tegrasign_v2 --key --getmode mode.txt
[ 0.0074 ] Assuming zero filled SBK key
[ 0.0079 ]
[ 0.0085 ] header_magic: 414e4452
[ 0.0123 ] tegrahost_v2 --chip 0x19 --align 1_boot.img
[ 0.0158 ]
[ 0.0197 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_boot.img zerosbk
[ 0.0244 ] adding BCH for 1_boot.img
[ 2.6962 ]
[ 2.7032 ] tegrasign_v2 --key --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[ 2.7070 ] Assuming zero filled SBK key
[ 2.8802 ]
[ 2.8845 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[ 4.4364 ]
[ 4.5962 ] Signed file: /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
l4t_sign_image.sh: Generate header for boot_sigheader.img.encrypt
l4t_sign_image.sh: chip 0x19: add 0x27a7800 to offset 0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for boot_sigheader.img.encrypt
l4t_sign_image.sh: the signed file is /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
done.
Making recovery ramdisk for recovery image...
Re-generating recovery ramdisk for recovery image...
~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Downloads/Linux_for_Tegra/bootloader ~/Downloads/Linux_for_Tegra
30402 blocks
_BASE_KERNEL_VERSION=4.9.201-tegra
~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp/lib ~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Downloads/Linux_for_Tegra/bootloader ~/Downloads/Linux_for_Tegra
65768 blocks
Making Recovery image...
copying recdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 0.000505945 s, 39.5 kB/s
Existing sosfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/bpmp_t194.bin) reused.
copying bpfdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb)... done.
Existing scefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/camera-rtcpu-rce.img) reused.
Existing spefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing drameccfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/badpage.bin) reused.
Existing wb0boot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tos-trusty_t194.img) reused.
Existing eksfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/eks.img) reused.
copying soft_fuses(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign kernel_tegra194-p3668-all-p3509-0000.dtb
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0017 ] Generating signature
[ 0.0042 ] tegrasign_v2 --key --getmode mode.txt
[ 0.0069 ] Assuming zero filled SBK key
[ 0.0075 ]
[ 0.0081 ] header_magic: d00dfeed
[ 0.0113 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[ 0.0143 ]
[ 0.0174 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[ 0.0208 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[ 0.0345 ]
[ 0.0401 ] tegrasign_v2 --key --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[ 0.0428 ] Assuming zero filled SBK key
[ 0.0468 ]
[ 0.0515 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk
[ 0.0624 ]
[ 0.0643 ] Signed file: /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x19: add 0x30c8e to offset 0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: the sign header is saved at kernel_tegra194-p3668-all-p3509-0000.dtb.sig
done.
/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign kernel_tegra194-p3668-all-p3509-0000.dtb
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0017 ] Generating signature
[ 0.0045 ] tegrasign_v2 --key --getmode mode.txt
[ 0.0074 ] Assuming zero filled SBK key
[ 0.0080 ]
[ 0.0086 ] header_magic: d00dfeed
[ 0.0118 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[ 0.0150 ]
[ 0.0183 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[ 0.0220 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[ 0.0358 ]
[ 0.0414 ] tegrasign_v2 --key --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[ 0.0441 ] Assuming zero filled SBK key
[ 0.0479 ]
[ 0.0532 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk
[ 0.0643 ]
[ 0.0665 ] Signed file: /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: chip 0x19: add 0x30c8e to offset 0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
l4t_sign_image.sh: the signed file is /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
done.
Making system.img...
populating rootfs from /home/cosmiac/Downloads/Linux_for_Tegra/rootfs ... tar: 490fd486-af35-4236-aea5-f16fde9df9b5/tmp/.ICE-unix/6766: socket ignored
tar: 490fd486-af35-4236-aea5-f16fde9df9b5/tmp/.ICE-unix/7990: socket ignored
tar: 490fd486-af35-4236-aea5-f16fde9df9b5/tmp/camsock: socket ignored
tar: 490fd486-af35-4236-aea5-f16fde9df9b5/tmp/nvscsock: socket ignored
tar: 490fd486-af35-4236-aea5-f16fde9df9b5/tmp/argus_socket: socket ignored
tar: 490fd486-af35-4236-aea5-f16fde9df9b5/var/lib/nvphs/nvphsd.ctl: socket ignored
tar: tmp/.ICE-unix/6766: socket ignored
tar: tmp/.ICE-unix/7990: socket ignored
tar: tmp/camsock: socket ignored
tar: tmp/nvscsock: socket ignored
tar: tmp/argus_socket: socket ignored
tar: var/lib/nvphs/nvphsd.ctl: socket ignored
done.
populating /boot/extlinux/extlinux.conf ... done.
Sync'ing system.img ... done.
Converting RAW image to Sparse image... done.
system.img built successfully.
Existing tbcfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/cboot_t194.bin) reused.
copying tbcdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
copying cfgfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668.xml) to flash.xml... done.
Existing flasher(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg,tegra194-memcfg-sw-override.cfg --odmdata 0xB8190000 --applet mb1_t194_prod.bin --cmd "sign" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --cfg flash.xml --chip 0x19 --device_config tegra19x-mb1-bct-device-qspi-p3668.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p3668-a01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --pmic_config tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --pmc_config tegra19x-mb1-padvoltage-p3668-a01.cfg --prod_config tegra19x-mb1-prod-p3668-0001-a00.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --br_cmd_config tegra194-mb1-bct-reset-p3668-0001-a00.cfg --dev_params tegra194-br-bct-qspi.cfg --bin "mb2_bootloader nvtboot_recovery_t194.bin; mts_preboot preboot_c10_prod_cr.bin; mts_mce mce_c10_prod_cr.bin; mts_proper mts_c10_prod_cr.bin; bpmp_fw bpmp_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p3668-a00.dtb; spe_fw spe_t194.bin; tlk tos-trusty_t194.img; eks eks.img; bootloader_dtb tegra194-p3668-all-p3509-0000.dtb" --skipuid --trim_bpmp_dtb
saving flash command in /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/flash_win.bat
*** Sign and generate flashing ready partition images... ***
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0681 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.0737 ] Assuming zero filled SBK key
[ 0.1605 ]
[ 0.1627 ] Generating RCM messages
[ 0.1783 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[ 0.1865 ] Header already present for mb1_t194_prod.bin
[ 0.2314 ]
[ 0.2355 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.2390 ] Assuming zero filled SBK key
[ 0.2470 ]
[ 0.2504 ] tegrasign_v2 --key None --file mb1_t194_prod_sigheader.bin --offset 2960 --length 1136 --pubkeyhash pub_key.key
[ 0.2568 ] Assuming zero filled SBK key
[ 0.2569 ]
[ 0.2606 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[ 0.2868 ]
[ 0.3116 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[ 0.3723 ]
[ 0.3913 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[ 0.3953 ] RCM 0 is saved as rcm_0.rcm
[ 0.4334 ] RCM 1 is saved as rcm_1.rcm
[ 0.4348 ] RCM 2 is saved as rcm_2.rcm
[ 0.4359 ] List of rcm files are saved in rcm_list.xml
[ 0.4383 ]
[ 0.4385 ] Signing RCM messages
[ 0.4421 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[ 0.4458 ] Assuming zero filled SBK key
[ 0.4483 ]
[ 0.4484 ] Copying signature to RCM mesages
[ 0.4517 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[ 0.4668 ]
[ 0.4670 ] Parsing partition layout
[ 0.4828 ] tegraparser_v2 --pt flash.xml.tmp
[ 0.5266 ]
[ 0.5270 ] Creating list of images to be signed
[ 0.5314 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[ 0.5358 ] MB1: Nvheader already present is mb1_t194_prod.bin
[ 0.5413 ] Header already present for mb1_t194_prod_sigheader.bin
[ 0.5464 ] MB1: Nvheader already present is mb1_t194_prod.bin
[ 0.5657 ] Header already present for mb1_t194_prod_sigheader.bin
[ 0.5787 ] adding BCH for spe_t194.bin
[ 0.6086 ] adding BCH for spe_t194.bin
[ 0.6233 ] adding BCH for nvtboot_t194.bin
[ 0.6352 ] adding BCH for nvtboot_t194.bin
[ 0.6519 ] Header already present for preboot_c10_prod_cr.bin
[ 0.6755 ] Header already present for preboot_c10_prod_cr.bin
[ 0.6932 ] Header already present for mce_c10_prod_cr.bin
[ 0.6955 ] Header already present for mce_c10_prod_cr.bin
[ 0.7008 ] adding BCH for mts_c10_prod_cr.bin
[ 0.7347 ] adding BCH for mts_c10_prod_cr.bin
[ 0.9638 ] Header already present for warmboot_t194_prod.bin
[ 1.2265 ] Header already present for warmboot_t194_prod.bin
[ 1.2446 ] adding BCH for cboot_t194.bin
[ 1.2472 ] adding BCH for cboot_t194.bin
[ 1.2626 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[ 1.3012 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[ 1.3216 ] adding BCH for tos-trusty_t194.img
[ 1.3422 ] adding BCH for tos-trusty_t194.img
[ 1.3692 ] adding BCH for eks.img
[ 1.4024 ] adding BCH for eks.img
[ 1.4032 ] adding BCH for adsp-fw.bin
[ 1.4178 ] adding BCH for adsp-fw.bin
[ 1.4286 ] adding BCH for camera-rtcpu-rce.img
[ 1.4479 ] adding BCH for camera-rtcpu-rce.img
[ 1.4695 ] adding BCH for bpmp_t194.bin
[ 1.4954 ] adding BCH for bpmp_t194.bin
[ 1.5521 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[ 1.6109 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[ 1.6337 ] adding BCH for boot.img
[ 1.7185 ] adding BCH for boot.img
[ 4.3859 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[ 7.1340 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[ 7.1507 ] adding BCH for recovery.img
[ 7.3968 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb.rec
[ 10.4855 ]
[ 10.4856 ] Filling MB1 storage info
[ 10.4857 ] Generating br-bct
[ 10.4894 ] Performing cfg overlay
[ 10.4896 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[ 10.4906 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg
[ 10.6673 ]
[ 10.6678 ] Updating dev and MSS params in BR BCT
[ 10.6681 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[ 10.7621 ]
[ 10.7622 ] Updating bl info
[ 10.7651 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[ 10.7722 ]
[ 10.7725 ] Generating signatures
[ 10.7767 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[ 10.7795 ] Assuming zero filled SBK key
[ 11.5687 ]
[ 11.5688 ] Generating br-bct
[ 11.5725 ] Performing cfg overlay
[ 11.5726 ] ['/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg']
[ 11.5729 ] Updating dev and MSS params in BR BCT
[ 11.5731 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[ 11.6710 ]
[ 11.6712 ] Updating bl info
[ 11.6752 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 11.6849 ]
[ 11.6851 ] Updating smd info
[ 11.6895 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[ 11.6936 ]
[ 11.6938 ] Updating Odmdata
[ 11.6972 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[ 11.7020 ]
[ 11.7022 ] Get Signed section of bct
[ 11.7070 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[ 11.7109 ]
[ 11.7145 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[ 11.7192 ] Assuming zero filled SBK key
[ 11.7203 ]
[ 11.7204 ] Updating BCT with signature
[ 11.7236 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[ 11.7277 ]
[ 11.7279 ] Generating coldboot mb1-bct
[ 11.7377 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --pinmux tegra19x-mb1-pinmux-p3668-a01.cfg --pmc tegra19x-mb1-padvoltage-p3668-a01.cfg --pmic tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --brcommand tegra194-mb1-bct-reset-p3668-0001-a00.cfg --prod tegra19x-mb1-prod-p3668-0001-a00.cfg --gpioint tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --device tegra19x-mb1-bct-device-qspi-p3668.cfg
[ 11.7406 ] MB1-BCT version: 0x1
[ 11.7429 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg
[ 11.7496 ] Added Platform Config 0 data with size :- 2496
[ 11.7548 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg
[ 11.7661 ] Added Platform Config 1 data with size :- 19640
[ 11.8039 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg
[ 11.8057 ] Added Platform Config 2 data with size :- 24
[ 11.8095 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg
[ 11.8114 ] Added Platform Config 4 data with size :- 348
[ 11.8129 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg
[ 11.8148 ] Added Platform Config 3 data with size :- 92
[ 11.8178 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg
[ 11.8193 ] Added Platform Config 5 data with size :- 128
[ 11.8207 ]
[ 11.8207 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg
[ 11.8207 ] Added Platform Config 7 data with size :- 392
[ 11.8208 ]
[ 11.8208 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg
[ 11.8208 ] Added Platform Config 9 data with size :- 40
[ 11.8208 ]
[ 11.8210 ] Updating mb1-bct with firmware information
[ 11.8263 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 11.8292 ] MB1-BCT version: 0x1
[ 11.8306 ]
[ 11.8308 ] Updating mb1-bct with storage information
[ 11.8354 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 11.8382 ] MB1-BCT version: 0x1
[ 11.8403 ]
[ 11.8433 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct
[ 11.8463 ]
[ 11.8497 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[ 11.8526 ] adding BCH for mb1_cold_boot_bct_MB1.bct
[ 11.8564 ]
[ 11.8613 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 11.8644 ] Assuming zero filled SBK key
[ 11.8655 ]
[ 11.8722 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[ 11.8772 ]
[ 11.8775 ] Generating recovery mb1-bct
[ 11.8818 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg --misc tegra194-mb1-bct-misc-flash.cfg --scr tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --pinmux tegra19x-mb1-pinmux-p3668-a01.cfg --pmc tegra19x-mb1-padvoltage-p3668-a01.cfg --pmic tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --brcommand tegra194-mb1-bct-reset-p3668-0001-a00.cfg --prod tegra19x-mb1-prod-p3668-0001-a00.cfg --gpioint tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --device tegra19x-mb1-bct-device-qspi-p3668.cfg
[ 11.8847 ] MB1-BCT version: 0x1
[ 11.8921 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg
[ 11.8985 ] Added Platform Config 0 data with size :- 2496
[ 11.9009 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg
[ 11.9025 ] Added Platform Config 1 data with size :- 19640
[ 11.9497 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg
[ 11.9513 ] Added Platform Config 2 data with size :- 24
[ 11.9542 ]
[ 11.9543 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg
[ 11.9544 ] Added Platform Config 4 data with size :- 348
[ 11.9545 ]
[ 11.9546 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg
[ 11.9547 ] Added Platform Config 3 data with size :- 92
[ 11.9549 ]
[ 11.9550 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg
[ 11.9551 ] Added Platform Config 5 data with size :- 128
[ 11.9552 ]
[ 11.9553 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg
[ 11.9554 ] Added Platform Config 7 data with size :- 392
[ 11.9555 ]
[ 11.9557 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg
[ 11.9558 ] Added Platform Config 9 data with size :- 40
[ 11.9559 ]
[ 11.9562 ] Updating mb1-bct with firmware information
[ 11.9590 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 11.9619 ] MB1-BCT version: 0x1
[ 11.9658 ]
[ 11.9659 ] Updating mb1-bct with storage information
[ 11.9699 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 11.9737 ] MB1-BCT version: 0x1
[ 11.9752 ]
[ 11.9785 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct
[ 11.9845 ]
[ 11.9900 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_bct_MB1.bct zerosbk
[ 11.9929 ] adding BCH for mb1_bct_MB1.bct
[ 11.9956 ]
[ 11.9997 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 12.0026 ] Assuming zero filled SBK key
[ 12.0037 ]
[ 12.0074 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[ 12.0137 ]
[ 12.0141 ] Generating coldboot mem-bct
[ 12.0187 ] tegrabct_v2 --chip 0x19 0 --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg --membct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_4.bct
[ 12.0217 ] Packing sdram param for instance[0]
[ 12.1144 ] Packing sdram param for instance[1]
[ 12.1146 ] Packing sdram param for instance[2]
[ 12.1148 ] Packing sdram param for instance[3]
[ 12.1149 ] Packing sdram param for instance[4]
[ 12.1150 ] Packing sdram param for instance[5]
[ 12.1151 ] Packing sdram param for instance[6]
[ 12.1152 ] Packing sdram param for instance[7]
[ 12.1153 ] Packing sdram param for instance[8]
[ 12.1155 ] Packing sdram param for instance[9]
[ 12.1156 ] Packing sdram param for instance[10]
[ 12.1158 ] Packing sdram param for instance[11]
[ 12.1161 ] Packing sdram param for instance[12]
[ 12.1161 ] Packing sdram param for instance[13]
[ 12.1162 ] Packing sdram param for instance[14]
[ 12.1163 ] Packing sdram param for instance[15]
[ 12.1164 ]
[ 12.1166 ] Getting sector size from pt
[ 12.1205 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[ 12.1245 ]
[ 12.1249 ] BlockSize read from layout is 200
[ 12.1281 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_4.bct
[ 12.1314 ] adding BCH for /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_1.bct
[ 12.1395 ]
[ 12.1449 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct
[ 12.1492 ]
[ 12.1530 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_coldboot.bct zerosbk
[ 12.1564 ] Header already present for mem_coldboot.bct
[ 12.1603 ]
[ 12.1645 ] tegrasign_v2 --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 12.1673 ] Assuming zero filled SBK key
[ 12.1703 ]
[ 12.1750 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk
[ 12.1802 ]
[ 12.1805 ] Generating recovery mem-bct
[ 12.1852 ] tegrabct_v2 --chip 0x19 0 --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg --membct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_4.bct
[ 12.1891 ] Packing sdram param for instance[0]
[ 12.2854 ] Packing sdram param for instance[1]
[ 12.2854 ] Packing sdram param for instance[2]
[ 12.2856 ] Packing sdram param for instance[3]
[ 12.2857 ] Packing sdram param for instance[4]
[ 12.2857 ] Packing sdram param for instance[5]
[ 12.2857 ] Packing sdram param for instance[6]
[ 12.2858 ] Packing sdram param for instance[7]
[ 12.2859 ] Packing sdram param for instance[8]
[ 12.2859 ] Packing sdram param for instance[9]
[ 12.2860 ] Packing sdram param for instance[10]
[ 12.2860 ] Packing sdram param for instance[11]
[ 12.2861 ] Packing sdram param for instance[12]
[ 12.2861 ] Packing sdram param for instance[13]
[ 12.2862 ] Packing sdram param for instance[14]
[ 12.2863 ] Packing sdram param for instance[15]
[ 12.2863 ]
[ 12.2870 ] Using default ramcode 0
[ 12.2870 ] Generating BPMP dtb for ramcode - 0
[ 12.4527 ] Old BPMP dtb size - 223168 bytes
[ 12.4528 ] New BPMP dtb size - 168338 bytes
[ 12.4531 ]
[ 12.4592 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[ 12.4655 ]
[ 12.4694 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_rcm.bct zerosbk
[ 12.4729 ] adding BCH for mem_rcm.bct
[ 12.4773 ]
[ 12.4820 ] tegrasign_v2 --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 12.4860 ] Assuming zero filled SBK key
[ 12.4961 ]
[ 12.5010 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[ 12.5073 ]
[ 12.5077 ] Copying signatures
[ 12.5113 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 18.1610 ]
[ 18.1659 ] tegraparser_v2 --generategpt --pt flash.xml.bin
[ 18.1711 ] End sector for APP, expected at: 33554398, actual: 84793127
[ 18.1722 ]
Error: Return value 4
Command tegraparser_v2 --generategpt --pt flash.xml.bin
~/Downloads/Linux_for_Tegra/tools
ERROR: /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/signed/flash.xml.tmp not found
I ran the ./apply_binaries.sh script before using the image-creator and still get same error output: flash.xml.tmp not found. @WayneWWW by any chance do you have any recommendations or guidance as to why I might be getting this error or how to solve it?
Thank you!
What’ve you tried so far? Is there any case that can work fine? And what is the failure case? It sounds like the APP partition is not large enough after you adding the applications to the rootfs.
Hi @WayneWWW, no worries thank you very much for replying!
So, I flashed the SD card of the Xavier with the jetson-disk-image-creator.sh without removing any applications and just added OpneCV and this was successful and created a new .img. The size of the rootfs in this case was 14GB. However, now that I tried again to add all my other packages and delete applications I do not need on my new customized .img, I get the error:
Error: Return value 4
Command tegraparser_v2 --generategpt --pt flash.xml.bin
~/Downloads/Linux_for_Tegra/tools
ERROR: /home/Downloads/Linux_for_Tegra/bootloader/signed/flash.xml.tmp not found
The custom image I want to crate is only ~6.8 GB.
What is the APP partition exactly? Sorry, I’m a beginner.
I will not remove the unnecessary applications (e.g. solitaire) now and see if that takes it.
Do you know if there is an image size limit it can create? If there is, how can I change it?
I am installing packages via the terminal most of them with sudo apt-get install and pip3 (including all the dependencies needed for the modules). I already edited the APP Partition size on the flash_l4t_t186_rootfs_ab.xml file and still get the same problem.
I edited lines 5 and 19: size APPSIZE
1. </partition>
2. <partition name="APP" type="data">
3. <allocation_policy> sequential </allocation_policy>
4. <filesystem_type> basic </filesystem_type>
5. <size> APPSIZE </size>
6. <file_system_attribute> 0 </file_system_attribute>
7. <allocation_attribute> 0x8 </allocation_attribute>
8. <percent_reserved> 0 </percent_reserved>
9. <align_boundary> 4096 </align_boundary>
10. <unique_guid> APPUUID </unique_guid>
11. <filename> APPFILE </filename>
12. <description> **Required.** Contains the rootfs. This partition must be defined
13. after `primary_GPT` so that it can be accessed as the fixed known special device
14. `/dev/mmcblk0p1`. </description>
15. </partition>
16. <partition name="APP_b" type="data">
17. <allocation_policy> sequential </allocation_policy>
18. <filesystem_type> basic </filesystem_type>
19. <size> APPSIZE </size>
20. <file_system_attribute> 0 </file_system_attribute>
21. <allocation_attribute> 0x8 </allocation_attribute>
<percent_reserved> 0 </percent_reserved>
<align_boundary> 4096 </align_boundary>
<unique_guid> APPUUID_b </unique_guid>
<filename> APPFILE_b </filename>
<description> **Required.** Contains the rootfs. This partition must be defined
after `primary_GPT` so that it can be accessed as the fixed known special device
`/dev/mmcblk0p2`. </description>
I am not exactly sure where the APPSIZE value is coming from. Here is the full file: flash_l4t_t186_rootfs_ab.xml (32.2 KB)
I installed all the modules in my SD card in the Xavier then I took the SD card and copied the system into the rootfs directory in the /Linux_for_Tegra in my host computer, then ran the ./apply_binaries.sh script from the /Linux_for_Tegra and finally ran the jetson-image-creator.sh from the /tools dir.
I ran it but grep APPSIZE does not give me anything. I do not know what is the problem. it seems like the tool is not generating the flash.xml.tmp file in the /signed directory and I’m not sure if it is because of the APP partition size. Is the above file * flash_l4t_t186_rootfs_ab.xml* the correct one to edit for the APPSIZE?
These are all the files under the /bootloader/t186ref/cfg
Ah okay, sounds good thank you! I will try one more time by editing the APP size. By any chance do you know if I can edit the path of where I want my custom-sd-blob.img image to be saved after the jetson image creator tool is done? Like if I want it to be saved in my /home dir instead of the Linux_for_Tegra/tools dir (this is for disk space reasons).
I still obtain the same error even when I edit the APPSIZE to match my rootfs. If I could get past the flash.xml.tmp not found error, I think everything else would execute okay.
Should my entire sistem be copied to the rootfs directory? Are there system directories I can avoid copying to not have a large system root?
Do you think I can still get a custom .img if I utilize the flash.sh tool in the /Linux_for_Tegra having my Xavier in recovery mode instead for this tool?
You are doing it over the host, so it is not possible due to the sdcard. It is just telling you the disk space is not enough. What is the number you write into xml file?
system.img.raw is the raw file that would be written to the sdcard. It is very likely that your disk space is not enough for it.