Closed acostach closed 2 years ago
Until a balena bootloader is available to overcome the features that are offered by u-boot but not present in cboot , we address this issue in these PRs:
Tested on Xavier NX devkit SD and eMMC.
On the Xavier AGX the following PR was needed https://github.com/balena-os/balena-jetson/pull/258 due to a problem related to MB1 in 32.6.1
implementation for bootcount in cboot is need for rollback-altboot to work.
Ideally we'll patch cboot too keep a bootcount and alter the root in the cmdline before passing it to the kernel (kernel cmdline comes from dtb for this board, cboot has no cmdline or anything as such, etc)
Followup in upstream forums at: https://devtalk.nvidia.com/default/topic/1063709/jetson-agx-xavier/cboot-build-with-debug-and-fat-partition-support/