Replies: 3 comments 1 reply
-
Starting at the top with your questions, you should be able to read EFI variables from the runtime. You can find them mounted in
|
Beta Was this translation helpful? Give feedback.
-
That's a temporary file, created in the helper script to hold the output of the CVM EEPROM. It should get cleaned up later in the script, unless the script exits early due to an error. |
Beta Was this translation helpful? Give feedback.
-
Hi guys, Regards, |
Beta Was this translation helpful? Give feedback.
-
Hello everybody,
I see the topic is complex and more people are having trouble here, but I separate the question because it is specific.
Please somebody with deep understanding on the flashing process and UEFI Variable handling have a look until the observations in the end.
Some context:
I have a system with our own developed OS using your layer for a Jetson Xavier AGX.
I am using Kirkstone branch still with r35.2.1.
Since march I got working the A/B updates and everything with UEFI.
Now we are adapting the layers to an extended bsp based on Jetson Xavier AGX with some changes.
After my changes, everything works fine on my devices, but for others (flashed from a different computer) the A/B is deactivated.
Question:
I followed the answer I got here #1182 (comment) for activating A/B. As I said, it has been working and still works for me pretty good but, is there somewhere where I can read a documentation on why and how exactly are right now the EFI variables passed to UEFI? Why I can not read or even edit them like it is possible from the official ubuntu distro from nvidia?
Here is my patch, just in case you see something obvious that I dont:
Observation:
Analyzing logs and differences, when I flash from my computer, a file called cvm.bin.9y4BU (the last part is random, but it is always 5 chars long) is generated at the folder where I flash. It is 0 bytes big but it is there. For every version of the OS I flashed from my computer.
On the flashing computer where the flashing works but the targets get no A/B activated (and just this is different, no error in the logs, no error in dmesg, nothing. The updates to the other partition succeed with rauc, but the bootloader is not booting from the other rootfs, obviously, because it is not activated) this file is not generated, all other are the same. This was also like that for previous versions of our OS where the flashing was working.
Question regarding the Observations:
I know the whole case is tricky and a little bit deviated from where you can help, but may be you can help me with the questions so I can get with a solution.
I thank you in advance, even if you are only reading this and trying to understand, and I hope it is clear enough.
Regards,
Alvaro.
Beta Was this translation helpful? Give feedback.
All reactions