@TheYoctoJester interestingly however I did just ignore the integration test above ( that mender proposes ) using x86_64 yocto with mender and uploaded .mender yocto os build file and deployed on the device. Magic happens: it boots to root B installs and it works. This process is repeatable. So maybe the above grub commands are just wrong (or starting at the wrong offset)?
This however does not solve the NVIDIA Jetson issue. Just noticed however today that 2 days ago a new commit in meta-tegra regarding nvbootctrl. So testing this now. See if that resolves issues => NO IT DOES NOT. Still same issue 2x reboots and Nvidia jetson gets stuck in IPXE boot.
Additionally what I find strange, that is even if I do enable IMAGE_INSTALL:append = " setup-nv-boot-control" , I do not have the command available … meaning the install did not take place.
Debugging this:
root@jetson-agx-xavier-devkit:/# setup-nv-boot-control
ERR: cannot store EFI variable - ESP partition not mounted
ERR: cannot store EFI variable - ESP partition not mounted
/usr/bin/setup-nv-boot-control: line 30: /etc/nv_boot_control.conf: No such file or directory
chmod: cannot operate on dangling symlink '/etc/nv_boot_control.conf'
root@jetson-agx-xavier-devkit:/# tegra-boardspec
2888-400-0004-L.0-1-2