How to set APP partition 48G or more space with flash.sh on my xavier industrial(64G)

with the default script
“sudo ./flash jetson-agx-xavier-industrial mmcblk0p1.”
the APP partition is 32G.
the UDA partition get large free space.
My requirement is to expand the APP partition as much as possible.
I use
“sudo ./flash -S 48GiB jetson-agx-xavier-industrial mmcblk0p1.”
but get error return:
[ 5.5086 ] Updating mb1-bct with firmware information
[ 5.5119 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 5.5138 ] Start sector for recovery, expected >= 101058344, actual 0
Error: Return value 4
Command tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
Failed flashing t186ref.

 sudo ./flash.sh -S 48GiB jetson-agx-xavier-industrial mmcblk0p1
###############################################################################
# L4T BSP Information:
# R35 , REVISION: 4.1
# User release: 0.0
###############################################################################
# Target Board Information:
# Name: jetson-agx-xavier-industrial, Board Family: t186ref, SoC: Tegra 194, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/mb1_t194_prod.bin" --skipuid --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --bins "mb2_applet nvtboot_applet_t194.bin" --cmd "dump eeprom boardinfo cvm.bin;reboot recovery" 
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.0794 ] Generating RCM messages
[   0.1289 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.1307 ] Header already present for /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.2367 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.2372 ] Assuming zero filled SBK key
[   0.2408 ] tegrasign_v3.py --file /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.2418 ] Assuming zero filled SBK key
[   0.3242 ] Warning: pub_key.key is not found
[   0.2890 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.3230 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.3541 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.3558 ] RCM 0 is saved as rcm_0.rcm
[   0.3591 ] RCM 1 is saved as rcm_1.rcm
[   0.3591 ] RCM 2 is saved as rcm_2.rcm
[   0.3591 ] List of rcm files are saved in rcm_list.xml
[   0.3591 ] 
[   0.3591 ] Signing RCM messages
[   0.4005 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.4011 ] Assuming zero filled SBK key
[   0.4108 ] Warning: pub_key.key is not found
[   0.3725 ] Copying signature to RCM mesages
[   0.3778 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.3832 ] Boot Rom communication
[   0.3872 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.3888 ] RCM version 0X190001
[   0.4177 ] Boot Rom communication completed
[   2.4444 ] tegrarcm_v2 --isapplet
[   2.4462 ] Applet version 01.00.0000
[   2.5239 ] tegrarcm_v2 --ismb2
[   2.7074 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194_aligned.bin
[   2.7124 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194_aligned.bin zerosbk
[   2.7140 ] adding BCH for nvtboot_applet_t194_aligned.bin
[   2.7866 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   2.7870 ] Assuming zero filled SBK key
[   2.7927 ] Warning: pub_key.key is not found
[   2.7575 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_aligned_sigheader.bin.encrypt nvtboot_applet_t194_aligned_sigheader.bin.hash zerosbk
[   2.7650 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   2.7665 ] Applet version 01.00.0000
[   2.8407 ] Sending mb2
[   2.8411 ] [................................................] 100%
[   2.8649 ] tegrarcm_v2 --boot recovery
[   2.8697 ] Applet version 01.00.0000
[   3.9547 ] tegrarcm_v2 --isapplet
[   4.0416 ] tegrarcm_v2 --ismb2
[   4.0428 ] MB2 Applet version 01.00.0000
[   4.1400 ] tegrarcm_v2 --ismb2
[   4.1411 ] MB2 Applet version 01.00.0000
[   4.2399 ] Retrieving board information
[   4.2431 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   4.2447 ] MB2 Applet version 01.00.0000
[   4.3225 ] Saved platform info in chip_info.bin
[   4.3273 ] Chip minor revision: 2
[   4.3276 ] Bootrom revision: 0xf
[   4.3278 ] Ram code: 0x1
[   4.3281 ] Chip sku: 0x99
[   4.3281 ] Chip Sample: non es
[   4.3281 ] 
[   4.3284 ] Retrieving EEPROM data
[   4.3285 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/cvm.bin
[   4.3300 ] MB2 Applet version 01.00.0000
[   4.4165 ] Saved platform info in /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/cvm.bin
[   4.4601 ] Rebooting to recovery mode
[   4.4680 ] tegrarcm_v2 --ismb2
[   4.4696 ] MB2 Applet version 01.00.0000
[   4.5491 ] Rebooting to recovery mode
[   4.5523 ] tegrarcm_v2 --reboot recovery
[   4.5534 ] MB2 Applet version 01.00.0000
Board ID(2888) FAB(600) sku(0008) revision(E.0)
lz4c installed at /usr/bin/lz4c
Compressing /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p2888-0008-b01-jaxi.dtb ...
creating dummy /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/badpage.bin
1+0 records in
1+0 records out
4096 bytes (4.1 kB, 4.0 KiB) copied, 0.00242769 s, 1.7 MB/s
Copy /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0008-p2822-0000.dtb to /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0008-p2822-0000.dtb.rec
NVDISP+UEFI in bootloader/nvdisp-init.bin ..
copying bctfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-4x-derated-ecc-p2888.cfg)... done.
copying bctfile1(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying uphy_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg)... done.
copying minratchet_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg)... done.
copying device_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-jaxi.cfg)... done.
copying misc_cold_boot_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t-jaxi.cfg)... done.
copying misc_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash-jaxi.cfg)... done.
copying pinmux_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p2888-0008-b01-p2822-0000-jaxi.cfg)... done.
copying gpioint_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg)... done.
copying pmic_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p2888-0008-b01-p2822-0000.cfg)... done.
copying pmc_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg)... done.
copying prod_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg)... done.
copying scr_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)... done.
copying scr_cold_boot_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini.cfg)... done.
copying bootrom_config(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg)... done.
copying dev_params(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi-l4t.cfg)... done.
copying dev_params_b(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct_b-qspi-l4t.cfg)... done.
Existing bootloader(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
bl is uefi
Making Boot image... done.
Not signing of boot.img
Making recovery ramdisk for recovery image...
Re-generating recovery ramdisk for recovery image...
~/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/ramdisk_tmp ~/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader ~/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra
42010 blocks

gzip: /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/Image: not in gzip format
_BASE_KERNEL_VERSION=5.10.120-tegra
58243 blocks
Making Recovery image...
copying recdtbfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0008-p2822-0000.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 0.00016711 s, 120 kB/s
Existing sosfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/bpmp-2_t194.bin) reused.
Existing bpfdtbfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/tegra194-a02-bpmp-p2888-0008-b01-jaxi_lz4.dtb) reused.
Existing scefile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/sce_t194.bin) reused.
Existing camerafw(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/camera-rtcpu-t194-rce.img) reused.
Existing apefile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/adsp-fw.bin) reused.
Existing spefile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing drameccfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/dram-ecc-t194.bin) reused.
Existing badpagefile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/badpage.bin) reused.
Existing wb0boot(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/tos-optee_t194.img) reused.
Existing eksfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/eks_t194.img) reused.
copying soft_fuses(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0008-p2822-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating kernel_tegra194-p2888-0008-p2822-0000.dtb to rootfs... done.
Making system.img... 
	Setting "FDT /boot/dtb/kernel_tegra194-p2888-0008-p2822-0000.dtb" successfully in the extlinux.conf...done.
	populating rootfs from /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/rootfs ... 	populating /boot/extlinux/extlinux.conf ... done.
	Sync'ing system.img ... done.
	Converting RAW image to Sparse image... done.
system.img built successfully. 
Not signing of kernel-dtb
Existing tbcfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/nvdisp-init.bin) reused.
131072+0 records in
131072+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.482777 s, 139 MB/s
	Sync'ing esp.img ... done.
copying tbcdtbfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0008-p2822-0000.dtb)... done.
copying cfgfile(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc_jaxi.xml) to flash.xml... done.
done.
Existing flasher(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/tegraflash.py) reused.
copying overlay_dtb(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/L4TConfiguration.dtbo)... done.
copying overlay_dtb(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-dual-imx274-overlay.dtbo)... done.
copying overlay_dtb(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-e3326-overlay.dtbo)... done.
copying overlay_dtb(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-e3331-overlay.dtbo)... done.
copying overlay_dtb(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-e3333-overlay.dtbo)... done.
copying overlay_dtb(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-imx185-overlay.dtbo)... done.
copying overlay_dtb(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2822-camera-imx390-overlay.dtbo)... done.
copying overlay_dtb(/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/kernel/dtb/tegra194-p2888-0008-p2822-0000-overlay.dtbo)... done.
/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/L4TConfiguration_updated.dts: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/L4TConfiguration.dtbo: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-4x-derated-ecc-p2888.cfg,tegra194-memcfg-sw-override.cfg  --odmdata 0x9190000  --overlay_dtb L4TConfiguration.dtbo,tegra194-p2822-camera-dual-imx274-overlay.dtbo,tegra194-p2822-camera-e3326-overlay.dtbo,tegra194-p2822-camera-e3331-overlay.dtbo,tegra194-p2822-camera-e3333-overlay.dtbo,tegra194-p2822-camera-imx185-overlay.dtbo,tegra194-p2822-camera-imx390-overlay.dtbo,tegra194-p2888-0008-p2822-0000-overlay.dtbo,  --bldtb tegra194-p2888-0008-p2822-0000.dtb --applet mb1_t194_prod.bin --cmd "flash; reboot" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg  --cfg flash.xml --chip 0x19 --uphy_config tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --minratchet_config tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg --device_config tegra19x-mb1-bct-device-qspi-jaxi.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t-jaxi.cfg --misc_config tegra194-mb1-bct-misc-flash-jaxi.cfg --pinmux_config tegra19x-mb1-pinmux-p2888-0008-b01-p2822-0000-jaxi.cfg --gpioint_config tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --pmic_config tegra194-mb1-bct-pmic-p2888-0008-b01-p2822-0000.cfg --pmc_config tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --prod_config tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini.cfg --br_cmd_config tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --dev_params tegra194-br-bct-qspi-l4t.cfg,tegra194-br-bct_b-qspi-l4t.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-2_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p2888-0008-b01-jaxi_lz4.dtb; spe_fw spe_t194.bin; tos tos-optee_t194.img; eks eks_t194.img; bootloader_dtb tegra194-p2888-0008-p2822-0000.dtb"   --ramcode 1  --secondary_gpt_backup  --bct_backup  --boot_chain A 
saving flash command in /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/flash_win.bat
*** Flashing target device started. ***
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.1295 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.1300 ] Assuming zero filled SBK key
[   0.0343 ] Generating RCM messages
[   0.0414 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0455 ] Header already present for mb1_t194_prod.bin
[   0.1520 ] tegrasign_v3.py --key None --getmode mode.txt
[   0.1524 ] Assuming zero filled SBK key
[   0.1557 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.1562 ] Assuming zero filled SBK key
[   0.2291 ] Warning: pub_key.key is not found
[   0.1336 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.1739 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.2220 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p2888-0000-p2822-0000.cfg
[   0.2235 ] FwIndex: 1, MinRatchetLevel: 0
[   0.2262 ] FwIndex: 2, MinRatchetLevel: 0
[   0.2262 ] FwIndex: 3, MinRatchetLevel: 0
[   0.2262 ] FwIndex: 4, MinRatchetLevel: 0
[   0.2262 ] FwIndex: 5, MinRatchetLevel: 0
[   0.2262 ] FwIndex: 6, MinRatchetLevel: 0
[   0.2262 ] FwIndex: 7, MinRatchetLevel: 0
[   0.2262 ] FwIndex: 11, MinRatchetLevel: 0
[   0.2262 ] FwIndex: 12, MinRatchetLevel: 0
[   0.2263 ] FwIndex: 13, MinRatchetLevel: 0
[   0.2263 ] FwIndex: 14, MinRatchetLevel: 0
[   0.2263 ] FwIndex: 15, MinRatchetLevel: 0
[   0.2263 ] FwIndex: 16, MinRatchetLevel: 0
[   0.2263 ] FwIndex: 17, MinRatchetLevel: 0
[   0.2263 ] FwIndex: 18, MinRatchetLevel: 0
[   0.2263 ] FwIndex: 19, MinRatchetLevel: 0
[   0.2263 ] FwIndex: 30, MinRatchetLevel: 0
[   0.2263 ] FwIndex: 31, MinRatchetLevel: 0
[   0.2264 ] 
[   0.2744 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.2760 ] RCM 0 is saved as rcm_0.rcm
[   0.3053 ] RCM 1 is saved as rcm_1.rcm
[   0.3058 ] RCM 2 is saved as rcm_2.rcm
[   0.3082 ] List of rcm files are saved in rcm_list.xml
[   0.3086 ] 
[   0.3094 ] Signing RCM messages
[   0.4115 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   0.4123 ] Assuming zero filled SBK key
[   0.4232 ] Warning: pub_key.key is not found
[   0.3249 ] Copying signature to RCM mesages
[   0.3282 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.3309 ] odmdata (to decode) = 152633344
[   0.3310 ] Odmdata strings: PCIE_XBAR_4_1_0_1_2,UFS_x1_L1,NVHS_PCIE,enable-debug-console,enable-denver-wdt
[   0.3310 ] Bpmp odmdata config: {'pcie-xbar-config': [0, 1, 'PCIE_XBAR_4_1_0_1_2'], 'pcie-c0-endpoint-enable': [1, 0, ''], 'pcie-c4-endpoint-enable': [1, 0, ''], 'ufs-config': [0, 1, 'UFS_x1_L1'], 'sata-enable': [1, 0, ''], 'nvhs-owner': [0, 1, 'PCIE'], 'pcie-c5-endpoint-enable': [1, 0, '']}
[   0.3329 ] bpmp_dtb is compressed; decompressing...
[   0.3329 ] lz4c -df tegra194-a02-bpmp-p2888-0008-b01-jaxi_lz4.dtb tegra194-a02-bpmp-p2888-0008-b01-jaxi_lz4_with_odm.dtb
[   0.3423 ]                                                                    [   0.3436 ] Successfully decoded 247296 bytes 
[   0.3437 ] 
[   0.4878 ] Re-compressing updated bpmp_dtb
[   0.4878 ] lz4c -zf tegra194-a02-bpmp-p2888-0008-b01-jaxi_lz4_with_odm.dtb tegra194-a02-bpmp-p2888-0008-b01-jaxi_lz4.dtb
[   0.4893 ]                                                                    [   0.4905 ] Compressed 247263 bytes into 29089 bytes ==> 11.76%
[   0.4905 ] 
[   1.0805 ] Concatenating L4TConfiguration.dtbo,tegra194-p2822-camera-dual-imx274-overlay.dtbo,tegra194-p2822-camera-e3326-overlay.dtbo,tegra194-p2822-camera-e3331-overlay.dtbo,tegra194-p2822-camera-e3333-overlay.dtbo,tegra194-p2822-camera-imx185-overlay.dtbo,tegra194-p2822-camera-imx390-overlay.dtbo,tegra194-p2888-0008-p2822-0000-overlay.dtbo to tegra194-p2888-0008-p2822-0000_with_odm_overlay.dtb
[   1.0822 ] Parsing partition layout
[   1.1365 ] tegraparser_v2 --pt flash.xml.tmp
[   1.1437 ] Reading ramcode from backup chip_info.bin file
[   1.1442 ] RAMCODE Read from Device: 1

[   1.1443 ] Disable BPMP dtb trim, using default dtb
[   1.1443 ] 
[   1.1444 ] Creating list of images to be signed
[   1.1483 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   1.1501 ] MB1: Nvheader already present is mb1_t194_prod_aligned.bin
[   1.1526 ] Header already present for mb1_t194_prod_aligned_sigheader.bin
[   1.1537 ] MB1: Nvheader already present is mb1_b_t194_prod_aligned.bin
[   1.1578 ] Header already present for mb1_b_t194_prod_aligned_sigheader.bin
[   1.1591 ] adding BCH for dram-ecc-t194_aligned.bin
[   1.1628 ] adding BCH for spe_t194_aligned.bin
[   1.1702 ] adding BCH for nvtboot_t194_aligned.bin
[   1.2150 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   1.2258 ] Header already present for mce_c10_prod_cr_aligned.bin
[   1.2581 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   1.4823 ] Header already present for warmboot_t194_prod_aligned.bin
[   2.5845 ] adding BCH for nvdisp-init_aligned.bin
[   2.5963 ] adding BCH for tegra194-p2888-0008-p2822-0000_aligned.dtb
[   2.6590 ] adding BCH for tos-optee_t194_aligned.img
[   2.6748 ] adding BCH for eks_t194_aligned.img
[   2.7089 ] adding BCH for adsp-fw_aligned.bin
[   2.7135 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   2.7486 ] adding BCH for sce_t194_aligned.bin
[   2.7811 ] adding BCH for bpmp-2_t194_aligned.bin
[   2.8220 ] adding BCH for tegra194-a02-bpmp-p2888-0008-b01-jaxi_lz4_aligned.dtb
[   2.8435 ] adding BCH for dram-ecc-t194_aligned.bin
[   2.8449 ] adding BCH for spe_t194_aligned.bin
[   2.8482 ] adding BCH for nvtboot_t194_aligned.bin
[   2.8512 ] Header already present for preboot_c10_prod_cr_aligned.bin
[   2.8560 ] Header already present for mce_c10_prod_cr_aligned.bin
[   2.8567 ] adding BCH for mts_c10_prod_cr_aligned.bin
[   2.8770 ] Header already present for warmboot_t194_prod_aligned.bin
[   2.9569 ] adding BCH for nvdisp-init_aligned.bin
[   2.9707 ] adding BCH for tegra194-p2888-0008-p2822-0000_aligned.dtb
[   3.0446 ] adding BCH for tos-optee_t194_aligned.img
[   3.0604 ] adding BCH for eks_t194_aligned.img
[   3.0866 ] adding BCH for adsp-fw_aligned.bin
[   3.0880 ] adding BCH for camera-rtcpu-t194-rce_aligned.img
[   3.0989 ] adding BCH for sce_t194_aligned.bin
[   3.1128 ] adding BCH for bpmp-2_t194_aligned.bin
[   3.1249 ] adding BCH for tegra194-a02-bpmp-p2888-0008-b01-jaxi_lz4_aligned.dtb
[   3.1495 ] Filling MB1 storage info
[   3.1495 ] Parsing dev params for multi chains
[   3.1496 ] Generating br-bct
[   3.1535 ] Performing cfg overlay
[   3.1536 ] ['tegra194-mb1-bct-memcfg-4x-derated-ecc-p2888.cfg', 'tegra194-memcfg-sw-override.cfg']
[   3.1539 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-4x-derated-ecc-p2888.cfg -s tegra194-memcfg-sw-override.cfg -o /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/13940/tmpskzpevm01.cfg
[   4.2167 ] Updating dev and MSS params in BR BCT
[   4.2167 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/13940/tmpskzpevm01.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.2469 ] Updating bl info
[   4.2501 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   4.2537 ] Generating br-bct
[   4.2582 ] Performing cfg overlay
[   4.2583 ] ['/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/13940/tmpskzpevm01.cfg']
[   4.2583 ] Updating dev and MSS params in BR BCT
[   4.2584 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/13940/tmpskzpevm01.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.3030 ] Updating bl info
[   4.3065 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   4.3103 ] Generating BCT backup image
[   4.3104 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   4.3121 ] 32768+0 records in
[   4.4019 ] 32768+0 records out
[   4.4020 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0891984 s, 367 kB/s
[   4.4020 ] 
[   4.4020 ] Concatenating BCT for chain A to bct_backup.img

[   4.4020 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   4.4038 ] 2888+0 records in
[   4.4101 ] 2888+0 records out
[   4.4101 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00576742 s, 501 kB/s
[   4.4101 ] 
[   4.4101 ] Concatenating BCT for chain B to bct_backup.img

[   4.4102 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   4.4118 ] 2888+0 records in
[   4.4187 ] 2888+0 records out
[   4.4187 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00627219 s, 460 kB/s
[   4.4188 ] 
[   4.4188 ] Generating signatures
[   4.5203 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   4.5207 ] Assuming zero filled SBK key
[   4.6752 ] Warning: pub_key.key is not found
[   4.5770 ] Parsing dev params for multi chains
[   4.5770 ] Generating br-bct
[   4.5789 ] Performing cfg overlay
[   4.5790 ] ['/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/13940/tmpskzpevm01.cfg']
[   4.5790 ] Updating dev and MSS params in BR BCT
[   4.5791 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi-l4t.cfg --sdram /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/13940/tmpskzpevm01.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.6074 ] Updating bl info
[   4.6136 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   4.6203 ] Updating smd info
[   4.6234 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   4.6259 ] Updating Odmdata
[   4.6294 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0x9190000
[   4.6319 ] Signing BCT
[   4.6320 ] Get Signed section of bct
[   4.6374 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   4.7438 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   4.7443 ] Assuming zero filled SBK key
[   4.7473 ] Warning: pub_key.key is not found
[   4.6491 ] Updating BCT with signature
[   4.6525 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   4.6551 ] Generating br-bct
[   4.6585 ] Performing cfg overlay
[   4.6586 ] ['/home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/13940/tmpskzpevm01.cfg']
[   4.6586 ] Updating dev and MSS params in BR BCT
[   4.6587 ] tegrabct_v2 --dev_param tegra194-br-bct_b-qspi-l4t.cfg --sdram /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/13940/tmpskzpevm01.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.6952 ] Updating bl info
[   4.6997 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   4.7078 ] Updating smd info
[   4.7118 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   4.7142 ] Updating Odmdata
[   4.7177 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0x9190000
[   4.7202 ] Signing BCT
[   4.7202 ] Get Signed section of bct
[   4.7237 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   4.8334 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key
[   4.8341 ] Assuming zero filled SBK key
[   4.8385 ] Warning: pub_key.key is not found
[   4.7402 ] Updating BCT with signature
[   4.7438 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   4.7463 ] Generating BCT backup image
[   4.7464 ] dd if=/dev/zero of=bct_backup.img bs=1 count=32768
[   4.7482 ] 32768+0 records in
[   4.8376 ] 32768+0 records out
[   4.8376 ] 32768 bytes (33 kB, 32 KiB) copied, 0.0888431 s, 369 kB/s
[   4.8376 ] 
[   4.8377 ] Concatenating BCT for chain A to bct_backup.img

[   4.8377 ] dd if=br_bct_BR.bct of=bct_backup.img bs=1 seek=0 conv=notrunc
[   4.8395 ] 2888+0 records in
[   4.8489 ] 2888+0 records out
[   4.8490 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00898042 s, 322 kB/s
[   4.8490 ] 
[   4.8490 ] Concatenating BCT for chain B to bct_backup.img

[   4.8490 ] dd if=br_bct_b_BR.bct of=bct_backup.img bs=1 seek=16384 conv=notrunc
[   4.8527 ] 2888+0 records in
[   4.8595 ] 2888+0 records out
[   4.8595 ] 2888 bytes (2.9 kB, 2.8 KiB) copied, 0.00625395 s, 462 kB/s
[   4.8595 ] 
[   4.8596 ] Generating coldboot mb1-bct
[   4.8641 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/byd/llt/20.04/HFX/Jetson_Linux_R35.4.1_aarch64/Linux_for_Tegra/bootloader/13940/tmpskzpevm01.cfg --misc tegra194-mb1-bct-misc-l4t-jaxi.cfg --scr tegra194-mb1-bct-scr-cbb-mini.cfg --pinmux tegra19x-mb1-pinmux-p2888-0008-b01-p2822-0000-jaxi.cfg --pmc tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg --pmic tegra194-mb1-bct-pmic-p2888-0008-b01-p2822-0000.cfg --brcommand tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg --prod tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg --gpioint tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg --uphy tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg --device tegra19x-mb1-bct-device-qspi-jaxi.cfg
[   4.8668 ] MB1-BCT version: 0x1

[   4.8675 ] Parsing config file :tegra19x-mb1-pinmux-p2888-0008-b01-p2822-0000-jaxi.cfg 
[   4.8684 ] Added Platform Config 0 data with size :- 3152

[   5.1351 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini.cfg 
[   5.1355 ] Added Platform Config 1 data with size :- 19640

[   5.5042 ] Parsing config file :tegra19x-mb1-padvoltage-p2888-0000-a00-p2822-0000-a00.cfg 
[   5.5053 ] Added Platform Config 2 data with size :- 24

[   5.5059 ] Parsing config file :tegra194-mb1-bct-pmic-p2888-0008-b01-p2822-0000.cfg 
[   5.5067 ] Added Platform Config 4 data with size :- 348

[   5.5073 ] Parsing config file :tegra194-mb1-bct-reset-p2888-0000-p2822-0000.cfg 
[   5.5084 ] Added Platform Config 3 data with size :- 92
[   5.5084 ] 
[   5.5084 ] Parsing config file :tegra19x-mb1-prod-p2888-0000-p2822-0000.cfg 
[   5.5084 ] Added Platform Config 5 data with size :- 68
[   5.5084 ] 
[   5.5084 ] Parsing config file :tegra194-mb1-bct-gpioint-p2888-0000-p2822-0000.cfg 
[   5.5084 ] Added Platform Config 7 data with size :- 392
[   5.5084 ] 
[   5.5084 ] Parsing config file :tegra194-mb1-uphy-lane-p2888-0000-p2822-0000.cfg 
[   5.5084 ] Added Platform Config 8 data with size :- 12
[   5.5084 ] 
[   5.5085 ] Parsing config file :tegra19x-mb1-bct-device-qspi-jaxi.cfg 
[   5.5085 ] Added Platform Config 9 data with size :- 40
[   5.5085 ] 
[   5.5086 ] Updating mb1-bct with firmware information
[   5.5119 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   5.5138 ] Start sector for recovery, expected >= 101058344, actual 0
Error: Return value 4
Command tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
Failed flashing t186ref.

So,How to achieve my goal,really need your help, thanks.

In addition, my jetson linux version is R35.4.1.

Hi,

This is expected on T194 devices, because for OTA upgrade for L4T 32.x to 35.x to work, locations of some partitions have to be fixed, and if the size of the rootfs exceeds that limit, flashing fails like shown in your case.

You can dig into Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc_jaxi.xml and add this patch to fix it:

--- a/flash_l4t_t194_spi_emmc_jaxi.xml
+++ b/flash_l4t_t194_spi_emmc_jaxi.xml
@@ -690,7 +690,6 @@
         <partition name="RECNAME" type="kernel">
             <allocation_policy> sequential </allocation_policy>
             <filesystem_type> basic </filesystem_type>
-            <start_location> 0x70C100000 </start_location> <!-- aligned to 0x100000 -->
             <size> RECSIZE </size>
             <file_system_attribute> 0 </file_system_attribute>
             <allocation_attribute> 8 </allocation_attribute>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.