Hi,I am trying to add my own UEFI_APPLICATION into uefi. but I don’t know how to compile it.
I also find that “edk2\MdeModulePkg\Application\HelloWorld” did not been compiled after I executed command “edk2-nvidia/Platform/NVIDIA/Jetson/build.sh” according the follow link: Build without docker · NVIDIA/edk2-nvidia Wiki · GitHub]
There are only four applications that have been complied.
However,there are eight Applications in directory “nvidia-uefi\edk2\MdeModulePkg\Application”.
So I want to know the configuration differences between the eight applications and how to compile all the applications.
BTW, I also want to know how to add my own UEFI_APPLICATION into uefi.
Actually, I have tested HelloWolrd.efi by putting it into fs4. And it worked well.
2.Why I don’t see L4TLauncher.efi? When I run BootManagerMenuApp.efi or BOOTAA64.efi ,it will loader library ‘L4TLauncher.dll’,then it loader driver ‘L4TLauncher.efi’.
NO,it isn’t. I don’t change the settings. I still use the original configuration.So there is no other media mounted for FS4.
Got it.Is there any way to update UEFI’s own file system? such as making a new UEFI file system and reflash.
FS4 is ESP partition,isn’t it?
My current case like this:
1,Use gpio to select boot mode .
2.Add a boot mode: uefi use spi interface to load kernel and dtb into ddr ,and boot kernel from ddr.
In order to accomplish the two function,I need to figure out the whole software boot flow.
I am appreciate it that if you have any other suggestions.
Thanks.
For you first case, it seems i have replied you in this thread.
For this use case, what do you mean about “use spi interface to load kernel and dtb”? Do you load kernel image and dtb on another module?
Could you help to clarify more about this use case?
Are you using the devkit or custom board?
Is there only internal eMMC on your board? (i.e. no SD or USB or NVMe SSD)
I still load kernel image and dtb on jetson-agx-xavier-industrial module. Once the product has be applied on project. there is no host computer. so it’s not easy to update the module by the existing way.According 40-pin Expansion Header, This module has a spi interface that can connect with other device,such as FPGA. We want use spi interface as a reserved way to update kernel and dtb.
BTW,in the uefi-source.I just find QSPI driver named QspiControllerDxe,I dont’t know if it can be configured as SPI mode to driver spi interface (SPI1) .
Now I use devkit for debug,but I will verify all the test function on custom board.There is no SD or USB or NVMe SSD on custom board.if you have any suggestion,I’d like to test on devkit.
Are you using Xavier AGX Industrial rather than Xavier AGX?
Have you tried to use image-based OTA for your use case?
It could update both rootfs and bootloader.
It seems not the official feature from us, you might need to implement it manually.
Actually, you could just use ssh through network log-in to device and update the kernel image and dtb.
Yes, you could just verify with just using internal eMMC.
OK. Thanks for your suggestions. I will re-check my software solutions.
I will open a new thread if I have any other questions after I discuss with my colleagues.