The TX2 will be in a system without the usb recovery access, we want to have permanently a working system, even if one partition is corrupted or if the update process failed. During the update procedure we don’t want to update the current running partition.
Scratch register has been cleared by cboot before it passes control to u-boot/kernel and this register is supposedly not to be referenced beyond cboot.
Current boot slot info can be retrieved through command line parameters if cboot has been modified properly to support rootfs redundancy:
slot A:
boot.slot_suffix= (empty)
root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4