My Thor device communicates with external equipment via Ethernet. During the startup process, the network port is enabled while the system is still in the UEFI phase; this causes the external equipment to assume the Thor device has fully booted up, even though it is actually still in the process of starting. Is there a way to disable the network port during the UEFI phase?
Below is the default setting from Thor board config.
41 DTB_FILE="tegra264-p4071-0000+p3834-0008-nv.dtb";
42 TBCDTB_FILE="${DTB_FILE}";
DTB_FILE is for kernel to read and TBCDTB_FILE is for UEFI to read.
You could make a new dtb for UEFI and disable ethernet in it. Remember to assign that new file to TBCDTB_FILE.
Thanks. Can the UEFI device tree be updated via OTA on devices that are already in operation?
It would be updated through OTA.
Another issue is that the image I initially flashed onto the Thor device was a single-partition version; I would like to know if it is possible to upgrade it via an OTA update to a bootloader that supports the A/B partition scheme.
That sounds not related to the original topic. You could file a new one for that.
I did solve the problem by updating the UEFI device tree, but is there a way to check the UEFI device tree version in Linux? This way I’ll know if I need to update it via OTA.