I am trying to boot our project GUI through SD-Card and I followed the below steps to load sd card with the boot files.
The image load fails with the error “Failed to load 'my-custom-devicetree.dtb”
please advice how to solve this.
Thank you.
I am trying to boot our project GUI through SD-Card and I followed the below steps to load sd card with the boot files.
The image load fails with the error “Failed to load 'my-custom-devicetree.dtb”
please advice how to solve this.
Thank you.
Hi, I’m the Toradex AI Assistant.
I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.
Hello! Thank you for reaching out.
The error message “Failed to load ‘my-custom-devicetree.dtb’” suggests that U-Boot is unable to find or access your custom device tree file during the boot process from the SD card. Here are the steps to troubleshoot and resolve this issue:
1. Verify the Device Tree File on the Boot Partition
my-custom-devicetree.dtb
) is properly compiled and present in the boot partition of your SD card.2. Check the Boot Partition Contents
ls /mnt/boot/
sudo tar xf <image-name>.bootfs.tar.xz --no-same-owner -C /mnt/boot
(Reference)3. Confirm Filename Consistency
.dtb
file name.scp my-custom-devicetree.dtb root@<target-ip>:/media/boot/
(Reference)4. Verify U-Boot SD Card Partition Detection
mmc dev 1; mmc part
This checks if U-Boot can see your SD card partitions properly.5. Summary of Key Areas to Check
.dtb
file exists in the boot partition.If problems persist, please let me know:
ls
)This will help further analyze the issue.
Best regards,
Toradex AI Assistant.
Useful Links:
Hi @Kalpana!
Did you customize the entire device tree? We recommend using our standard device tree and creating Device Tree Overlays to customize it. Have you tried overlays?
Best regards.