Failed to find/load /boot/extlinux/extlinux.conf

Hi experts,

I want to use FDT method to update dtb files. But I find that the exlinux.conf file could not be found during the Cboot phase.

[0016.174] I> Loading extlinux.conf ...
[0016.174] I> Loading extlinux.conf binary from rootfs ...
[0016.175] I> rootfs path: /sdmmc_user/boot/extlinux/extlinux.conf
[0016.217] I> ext4_read_data_from_extent:298: Total file read should not be larger than file stat size
[0016.218] E> file /sdmmc_user/boot/extlinux/extlinux.conf read failed!!
[0016.219] W> Failed to load extlinux.conf binary from rootfs (err=202113305)
[0016.219] E> Failed to find/load /boot/extlinux/extlinux.conf

My machine environment :

  • NVIDIA Jetson Xavier NX (Developer Kit Version)
    • Jetpack 4.6.2 [L4T 32.7.2]
    • NV Power Mode: MODE_10W_DESKTOP - Type: 5
    • jetson_stats.service: active

bootup.log (214.9 KB)

I wonder why exlinux files are not recognized? And can this version use FDT to specify device tree files?
Thanks!

This is a bug in cboot. Need to apply this patch to cboot.

https://elinux.org/Jetson/L4T/r32.7.x_patches

Hi Waynewww,

Thank you for your reply. I apply the patch, and it works well.
But I get a new issue. How can I get encrypted binary files and signature files of dtb and exlinux.conf?

I can’t find instructions in this development document.
https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/text/SD/Kernel/KernelCustomization.html?highlight=sign

This is my cboot log:

[0016.073] I> Detect filesystem
[0016.100] I> Loading extlinux.conf ...
[0016.101] I> Loading extlinux.conf binary from rootfs ...
[0016.101] I> rootfs path: /sdmmc_user/boot/extlinux/extlinux.conf
[0016.144] I> Loading extlinux.conf sig file from rootfs ...
[0016.144] I> rootfs path: /sdmmc_user/boot/extlinux/extlinux.conf.sig
[0016.175] I> overload load_size to 864 (from 894)
[0016.175] I> Validate extlinux.conf ...
[0016.176] I> T19x: Authenticate extlinux.conf (bin_type: 54), max size 0x2000
[0016.176] E> digest on binary did not match!!
[0016.177] C> OEM authentication of extlinux.conf payload failed!
[0016.177] W> Failed to validate extlinux.conf binary from rootfs (err=1077936152, fail=0)
[0016.183] W> Security fuse not burned, ignore validation failure
[0016.189] I> restore load_size to 894
[0016.193] I> L4T boot options
[0016.195] I> [1]: "primary kernel"
[0016.199] I> Enter choice: 
[0019.202] I> Continuing with default option: 1
[0019.202] I> Loading kernel ...
[0019.202] I> Loading kernel binary from rootfs ...
[0019.203] I> rootfs path: /sdmmc_user/boot/Image
[0019.602] I> Loading kernel sig file from rootfs ...
[0019.603] I> rootfs path: /sdmmc_user/boot/Image.sig
[0019.621] I> overload load_size to 34484232 (from 34484240)
[0019.622] I> Validate kernel ...
[0019.622] I> T19x: Authenticate kernel (bin_type: 37), max size 0x5000000
[0019.936] I> Encryption fuse is not ON
[0019.966] I> Loading kernel-dtb ...
[0019.966] I> Loading kernel-dtb binary from rootfs ...
[0019.966] I> rootfs path: /sdmmc_user/boot/dtb/taihu.dtb
[0019.998] I> Loading kernel-dtb sig file from rootfs ...
[0019.998] I> rootfs path: /sdmmc_user/boot/dtb/taihu.dtb.sig
[0026.196] I> lookup_linear_dir:481: Invalid file block num
[0026.197] I> ext2_walk:142: 'taihu.dtb.sig' lookup failed
[0026.197] I> ext4_open_file:700: '/boot/dtb/taihu.dtb.sig' lookup failed
[0026.197] E> file /sdmmc_user/boot/dtb/taihu.dtb.sig open failed!!
[0026.198] W> Failed to load kernel-dtb sig file (err=202113041)
[0026.200] I> Validate kernel-dtb ...
[0026.203] I> T19x: Authenticate kernel-dtb (bin_type: 38), max size 0x400000
[0026.210] E> Stage2Signature validation failed with SHA2!!
[0026.216] C> OEM authentication of kernel-dtb header failed!
[0026.221] W> Failed to validate kernel-dtb binary from rootfs (err=1077936152, fail=1)
[0026.229] W> Security fuse not burned, ignore validation failure
[0026.235] I> restore load_size to 204640

Thanks!

Do you mean you want to enable secure boot?

No, I don’t want to use secure boot.

So, I wander if I don’t enable secure boot, Do I still need encrypted binary files and signature files?

Can I disable the secure boot validation in Cboot to reduce boot up time?

You can. But need to modify the code by yourself.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.