[uboot-raspberrypi] /dtb vs /dtbs for device tree file paths

Problems with packages? Post here, using [tags] of the package name.

[uboot-raspberrypi] /dtb vs /dtbs for device tree file paths

Postby Malvineous » Sun Jul 18, 2021 3:27 am

I'm troubleshooting an issue with getting U-Boot to boot over the network, and I've noticed that all the default U-Boot networking scripts try to load device tree files from the /dtb folder on the boot partition/device, however the aarch64 Arch Linux ARM distro for the Raspberry Pi 4 seems to put all the files in a folder called "dtbs" instead of just "dtb", but U-Boot isn't patched to refer to this new folder.

I am wondering why the name "dtbs" was chosen rather than sticking with U-Boot's default "dtb". It would seem wise to rename the device tree folder back to "dtb" but I imagine there was a reason for the nonstandard name so I thought I would ask here to see if anyone knows.

Here is one example in the U-Boot source code where "dtb" is used. In this case it tries to download "dtb/broadcom/bcm2711-rpi-4-b.dtb" but fails because the first folder in the path has an extra S on the end so it can't find the file.
Malvineous
 
Posts: 40
Joined: Sat Mar 11, 2017 1:45 pm

Return to Packages

Who is online

Users browsing this forum: No registered users and 6 guests