nvbootctrl fails to select boot chain #1113
Replies: 2 comments 2 replies
-
It wouldn't surprise me if IMHO, it's premature to even attempt full-image OTA updates at this point, at least for any sort of production use case. The bootloader updates in particular don't appear to be implemented in a fail-safe way. Also, there is just one ESP partition, so that, too, can't safely be field-updated. You could try doing rootfs-only updates, and enable |
Beta Was this translation helpful? Give feedback.
-
See related discussion in thread at OE4T/tegra-demo-distro#231 |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm developing on an Jetson AGX Xavier using latest Kirkstone branch.
It is running on an Auvidea X221 Baseboard so I have created a custom machine reusing mostly everything from jetson-agx-xavier-devkit. It is called jetson-agx-xavier-x221.
Now I want to get some sort of firmware update mechanism working. Mender doesn't compile, so I decided to give the Nvidia tools a try.
First thing I did try is to switch boot chain from A -> B and back.
nvbootctrl
tool fails to set the corresponding EFI-Variable due to read only mounted:If I make
/sys/firmware/efi/efivars
writable and execute the command again, the Kernel crashes with a Kernel Panic!Thinking that this is maybe related to my customization I tried the procedure with
jetston-agx-xavier-devkit
. Say what:nvbootctrl
succeeded. After digging around I found that/etc/nv_boot_control.conf
differs. When I copy the file fromjetson-agx-xavier-devkit
image to my custom one,nvbootctrl
works again.nvbootctrl
seems to expect the stringjetson-agx-xavier-devkit
somewhere innv_boot_control.conf
. If found it modifies EFI variables via esp partition. If not, it accesses/sys/firmware/efi/efivars
.Did I messed something up or is this wrong behaviour of the Kernel and/or nvbootctrl?
Beta Was this translation helpful? Give feedback.
All reactions