I would like to consult some questions about UEFI optimization。

Development board environment:Jetson Linux35.3.1
core board:orin Nano4GB
board:Jetson Orin Nano Developer Kit
When starting UEFI development board, there will be a command line, such as prompt, how to close this command line? I only want to show the icon on startup.
Please tell me how to operate, thanks for the support.

Hi 56101855,

Please refer to Q: How to remove the texts printed in UEFI logo? for this use case.

1 Like

Thank you very much for your reply. I followed the instructions from “How can I remove text printing from the UEFI Logo interface?” to delete efi-stub.c, fdt.c, and efi-stub-helper.c, but I got an error when compiling the kernel.
I also modified the L4TLauncher.c file. However, the UEFI logo interface still has text printed.

zynq@zynq-virtual-machine:~/nvidia/35.3/Linux_for_Tegra/source/public$ ./nvbuild.sh -o ../kernel_out
Building kernel-5.10 sources
make: 进入目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10”
make[1]: 进入目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel_out”
  GEN     Makefile
#
# No change to .config
#
make[1]: 离开目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel_out”
make: 离开目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10”
make[1]: 进入目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel_out”
  GEN     Makefile
make[1]: 离开目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel_out”
  CALL    /home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/atomic/check-atomics.sh
  CALL    /home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  AR      drivers/staging/media/built-in.a
make[5]: *** 没有规则可制作目标“drivers/firmware/efi/libstub/efi-stub-helper.o”,由“__build” 需求。 停止。
make[4]: *** [/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/Makefile.build:498:drivers/firmware/efi/libstub] 错误 2
make[3]: *** [/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/Makefile.build:498:drivers/firmware/efi] 错误 2
make[2]: *** [/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/Makefile.build:498:drivers/firmware] 错误 2
make[2]: *** 正在等待未完成的任务....
  AR      drivers/staging/iio/accel/built-in.a
  AR      drivers/staging/iio/adc/built-in.a
  AR      drivers/staging/iio/addac/built-in.a
  AR      drivers/staging/iio/cdc/built-in.a
  AR      drivers/staging/iio/frequency/built-in.a
  AR      drivers/staging/iio/impedance-analyzer/built-in.a
  AR      drivers/staging/iio/meter/built-in.a
  AR      drivers/staging/hikey9xx/built-in.a
  AR      drivers/staging/iio/resolver/built-in.a
  AR      drivers/staging/iio/built-in.a
  CC      drivers/of/device.o
  CC      drivers/staging/platform/tegra/gte/tegra194_gte.o
  CC      drivers/of/platform.o
  CC      drivers/of/base.o
  AR      drivers/staging/platform/tegra/gte/built-in.a
  AR      drivers/staging/built-in.a
  CC      drivers/of/kobj.o
  CC      drivers/of/property.o
  CC      drivers/of/fdt_address.o
  CC      drivers/of/dynamic.o
  CC      drivers/of/fdt.o
  CC      drivers/of/irq.o
  CC      drivers/of/address.o
  CC      drivers/of/resolver.o
  CC      drivers/of/of_reserved_mem.o
  CC      drivers/of/of_net.o
  CC      drivers/of/overlay.o
  AR      drivers/of/built-in.a
make[1]: *** [/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/Makefile:1854:drivers] 错误 2
make: *** [Makefile:213:__sub-make] 错误 2

L4TLauncher.txt (65.0 KB)

Thank you very much for your reply. I followed the instructions from “How can I remove text printing from the UEFI Logo interface?” to delete efi-stub.c, fdt.c, and efi-stub-helper.c, but I got an error when compiling the kernel.
I also modified the L4TLauncher.c file. However, the UEFI logo interface still has text printed.

Could you help to point out which line causes the kernel build failed so that we can verify it locally?

Thank you for your help。
This is my compiler tip.

zynq@zynq-virtual-machine:~/nvidia/35.3/Linux_for_Tegra/source/public$ ./nvbuild.sh -o ../kernel_out
Building kernel-5.10 sources
make: 进入目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10”
make[1]: 进入目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel_out”
  GEN     Makefile
#
# No change to .config
#
make[1]: 离开目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel_out”
make: 离开目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10”
make[1]: 进入目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel_out”
  GEN     Makefile
make[1]: 离开目录“/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel_out”
  CALL    /home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/atomic/check-atomics.sh
  CALL    /home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  AR      drivers/staging/media/built-in.a
make[5]: *** 没有规则可制作目标“drivers/firmware/efi/libstub/efi-stub-helper.o”,由“__build” 需求。 停止。
make[4]: *** [/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/Makefile.build:498:drivers/firmware/efi/libstub] 错误 2
make[3]: *** [/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/Makefile.build:498:drivers/firmware/efi] 错误 2
make[2]: *** [/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/Makefile.build:498:drivers/firmware] 错误 2
make[2]: *** 正在等待未完成的任务....
  AR      drivers/staging/iio/accel/built-in.a
  AR      drivers/staging/iio/adc/built-in.a
  AR      drivers/staging/iio/addac/built-in.a
  AR      drivers/staging/iio/cdc/built-in.a
  AR      drivers/staging/iio/frequency/built-in.a
  AR      drivers/staging/iio/impedance-analyzer/built-in.a
  AR      drivers/staging/iio/meter/built-in.a
  AR      drivers/staging/hikey9xx/built-in.a
  AR      drivers/staging/iio/resolver/built-in.a
  AR      drivers/staging/iio/built-in.a
  CC      drivers/of/device.o
  CC      drivers/staging/platform/tegra/gte/tegra194_gte.o
  CC      drivers/of/platform.o
  CC      drivers/of/base.o
  AR      drivers/staging/platform/tegra/gte/built-in.a
  AR      drivers/staging/built-in.a
  CC      drivers/of/kobj.o
  CC      drivers/of/property.o
  CC      drivers/of/fdt_address.o
  CC      drivers/of/dynamic.o
  CC      drivers/of/fdt.o
  CC      drivers/of/irq.o
  CC      drivers/of/address.o
  CC      drivers/of/resolver.o
  CC      drivers/of/of_reserved_mem.o
  CC      drivers/of/of_net.o
  CC      drivers/of/overlay.o
  AR      drivers/of/built-in.a
make[1]: *** [/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/Makefile:1854:drivers] 错误 2
make: *** [Makefile:213:__sub-make] 错误 2

This is the L4Tauncher.c file I modified.
L4TLauncher.txt (65.0 KB)

efi-stub.c、fdt.c 和 efi-stub-helper.c

I deleted all three files directly from the kernel.

make[5]: *** 没有规则可制作目标“drivers/firmware/efi/libstub/efi-stub-helper.o”,由“__build” 需求。 停止。
make[4]: *** [/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/Makefile.build:498:drivers/firmware/efi/libstub] 错误 2
make[3]: *** [/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/Makefile.build:498:drivers/firmware/efi] 错误 2
make[2]: *** [/home/zynq/nvidia/35.3/Linux_for_Tegra/source/public/kernel/kernel-5.10/scripts/Makefile.build:498:drivers/firmware] 错误 2
make[2]: *** 正在等待未完成的任务....

Can you help?Try many times.

Could you build kernel image w/o any change successfully?

You cannot delete them directly since the makefile may still be there…

If these three files are not removed, the kernel can be successfully built and modified.
How do I delete it?

If these three files are not removed, the kernel can be successfully built and modified.
How do I delete it?

Please just removing the prints in those 3 files instead of removing the files.

1 Like

Thank you very much for your help.
After your guidance, there are fewer printed text messages.
But there’s still a little bit of print in the top left, top, middle. What am I doing?

be grateful to you!
The problem has already been settled.
In addition to changing the L4TLauncher.c file, also need to change the bdsentrie.c file.