bsp_dev
October 23, 2023, 12:31pm
1
Hi,
I read the following posts:
I created logo image in paint and saved it as .bmp with 3 different sizes (home->resize): 640x480 , 1280x720 and 1920x1080 .
I copied these logos into edkrepo/nvidia-uefi/edk2-nvidia/Silicon/NVIDIA/Assets and deleted the original files.
I modified the code in NVIDIA.fvmain.fdf.inc:
FILE FREEFORM = gNVIDIAPlatformLogoGuid {
SECTION RAW = Silicon/NVIDIA/Assets/mylogo_480.bmp
SECTION RAW = Silicon/NVIDIA/Assets/mylogo_720.bmp
SECTION RAW = Silicon/NVIDIA/Assets/mylogo_1080.bmp
}
Built uefi and copied the uefi release binary into Linux_for_Tegra/bootloader as uefi_jetson.bin
flashed the target using initrd method (external NVMe)
I still see the Nvidia logo (don’t know from where it took the logo since I deleted the UEFI assets folder before copied my files.
In addition I noticed an error I didn’t see before during UEFI boot:
E/TC:?? 0 get_rpc_alloc_res:645 RPC allocation failed. Non-secure world result: ret=0xffff0000 ret_origin=0␍␊
[15:20:01:228] E/LD: init_elf:453 sys_open_ta_bin(bc50d971-d4c9-42c4-82cb-343fb7f37896)␍␊
[15:20:01:254] E/TC:?? 0 ldelf_init_with_ldelf:131 ldelf failed with res: 0xffff000c␍␊
uefi.log (4.7 KB)
Thanks
Hi BSP_User,
Are you using the devkit or custom board?
How did you clone UEFI source? Please share the command you used to download the source.
Could you keep the original name in NVIDIA.fvmain.fdf.inc and modify the name of your logo files to be “nvidiagrayXXX.bmp”?
Hi KevinFFF,
Orin nano devkit hosting an Orin NX SoM.
I used the exact instructions mentioned here:
Build without docker · NVIDIA/edk2-nvidia Wiki · GitHub
I built without docker and downloaded version 3.1.3 (instead of 2.1.2)
The command is:
wget https://github.com/tianocore/edk2-edkrepo/releases/download/edkrepo-v3.1.3/edkrepo-3.1.3.0.tar.gz
tar xvf edkrepo-3.1.3.0.tar.gz
Before executing the build.sh I manually modified the code and the assets file as described in my question
I executed:
cd nvidia-uefi
edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
copied uefi_Jetson_RELEASE.bin into Linux_for_Tegra/bootloader as uefi_jetson.bin
flash command:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml
-p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml”
–showlogs --network usb0 jetson-orin-nano-devkit external
update:
I tried keeping the original names and only switch the images but i still get the regular image
I think you also need to copy BOOTAA64.efi to the bootloader directory for custom boot logo to work
Tried that as well. In the mentioned post, the issue solved without using this file.
Which branch are you using to clone the source?
For your case (JP5.1.1), you may use the following command to clone the source.
$ edkrepo clone nvidia-uefi-r35.3.1 NVIDIA-Platforms r35.3.1
Thanks Kevin.
Actually now I see my custom logo but the problem is that I see it for maybe half a second during the UEFI boot and then I see the regular logo (not mine) for a few seconds before Ubuntu login
I think the logo you see is from kernel, please also replace the following logo file with yours.
/usr/share/backgrounds/NVIDIA_Logo.png
bsp_dev
October 30, 2023, 7:03am
10
I can confirm that changing the Nvidia login logo worked.
I still have the “problem” of seeing the new UEFI logo for maybe less than 1sec.
Because I changed the login logo I can ignore my problem with the new UEFI logo.
I can close the issue or we can try fix that to maybe help others. Whatever you prefer
Thanks
What UEFI logo did you see during boot up?
Could you share it for further check?
bsp_dev
November 1, 2023, 6:26am
12
I apologise, I didn’t understand the “did you see” meaning:
At first I saw the original Nvidia logo. After the changes I see my logo but only for few moments (for some reason it appears for less time then the original)
So I saw both of the logos but with different time periods
Could you just share a short video about what do you see currently during boot up?
bsp_dev
November 5, 2023, 10:53am
14
I apologise, I can’t.
Thank you for your help.
I think I’ll close this thread since changing the OS boot logo is enough for me and I don’t want to trouble you with things I don’t need
system
Closed
November 19, 2023, 10:53am
15
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.