-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dtb_overlay vs uboot_overlay_addr #138
Comments
I don't know if your ubuntu system is different but in U-Boot 2019.04-00002-g07d5700e21 used in the official beagleboard.org Debian Buster 2020-04-06 images, the order of overlays is:
So yes,
|
Hey,
We are working on cape for our beaglebone. For our cape we have this overlay:
After installing the overlay there are 2 different options to load it.
You can specify the overlay in the uEnv.txt under an uboot_overlay_addr tag like this:
the second option is the specify the overlay in the uEnv.txt under the dtb_overlay tag like this:
My first questions are: What is the difference between this two options? - Is there another option?
We found out that there is some strange behavior, if we use option 1.
In fragment@1 we have our own shepherd overlay struct for pruss. In this struct we define a kind of pointer to the pruss:
prusses = <&pruss>;
.If we use option 2 this pointer will be set correct:
/proc/device-tree/ocp/pruss_soc_bus@4a326004/pruss@0/shepherd/prusses
correspond to
/proc/device-tree/ocp/pruss_soc_bus@4a326004/pruss@0/phandle
If we use option 1 this pointer will be not set correct and points to no where...
My conclusion is that there must be an difference between loading overlays with dtb_overlay and uboot_overlay_addr. Could it be a problem with the load-order of the overlays? We manipulate the pruss device-tree part, so i guess the /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo overlay must be loaded before our custom overlay?
Why there are two different option for loading overlays? Can i load more than one overlay with the dtb_overlay option? What is the best practice to load more than one custom overlay?
Here some additional Information:
uEnv.txt (option ):
sudo /opt/scripts/tools/version.sh (option 1):
sudo /opt/scripts/tools/version.sh (option 2):
The text was updated successfully, but these errors were encountered: