Hello Ti,
How to know the linux drivers are installed in yocto project?
For example, in official tisdk, is it possible to check the installed driver of drm, network or storage...etc.
BR
James
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Ti,
How to know the linux drivers are installed in yocto project?
For example, in official tisdk, is it possible to check the installed driver of drm, network or storage...etc.
BR
James
Hi James,
I am not sure what do you mean by "installed", do you want to know if the kernel modules are in the root filesystem or not? If so, you would need to check the directories /lib/modules/ to see if the module *.ko files exist there.
Hi Bin,
I have run an application but it got some error.
The error message shows that it cannot find "tidss_dri.o" in library.
Therefore, I want to know how to add the function in the yocto so that the application can execute successfully.
It seems the display driver issue in yocto.
BR
James
Hi James,
Is the issue you are reporting similar to the following thread: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1215481/sk-am62-get-access-to-display-application-on-am62/4600185#4600185 ?
Regards,
Krunal
Hi Krunal,
It’s not exactly the same.
The above thread I want to konw is about the GUI display such as pyqt and opengl in docker.
In this thread, I wonder how to build the related driver in yocto.
BR
James
Hi James,
In general, our GPU driver has two components:
1. User Mode(UM), here is the bb recipe: https://git.ti.com/cgit/arago-project/meta-ti/tree/recipes-graphics/libgles/ti-img-rogue-umlibs_1.15.6133109.bb?h=dunfell
2. Kernel Mode(KM), here is the bb recipe: https://git.ti.com/cgit/arago-project/meta-ti/tree/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.15.6133109.bb?h=dunfell
Regards,
Krunal
Hi Krunal,
In meta-ti layer, I have seen the two recipes that you provided.
How to add the recipes in the yocto project?
Are the both recipes need to be enabled in the builing project?
BR
James
Hi James,
In Yocto, you would need to do the following:
1. Add GPU config in your custom machine: https://github.com/YoeDistro/meta-ti/blob/dunfell/conf/machine/am62xx-evm.conf
2. Add GPU provider: https://git.ti.com/cgit/arago-project/meta-arago/tree/meta-arago-distro/conf/distro/include/arago-prefs.inc?h=dunfell#n24
Regards,
Krunal
Hi Krunal,
Do I need to specify in local configuration file?
I have already defined the "machine" as am62-evm in local configuration when I built the project.
In the above configuration I have found in the corrospond directory. Does it necessary to set it again?
Or I ignored some important settings in the project?
BR
James
Hi James,
If you are building Qt or Weston, do you see the drivers getting built?
Regards,
Krunal
Hi Krunal,
In the terminal log, I have seen the related information such as
NOTE: Running task 8753 of 9320 (/home/root/tisdk/sources/meta-ti/recipes-graphics/libgles/ti-img-rogue-umlibs_1.15.6133109.bb:do_package_write_ipk)
I think I may ignore some configuration settings in local configs, right?
BR
James
Hi James,
It seems like GPU recipes is getting compiled and I not sure I understand your following question: I think I may ignore some configuration settings in local configs, right?
Regards,
Krunal
Hi Krunal,
Before we start to build yocto, we may need to set some variables in local.conf.
I mean if we should set some variables about display driver to build it so that the "tidss_dri.o" can be involed in the building image.
BR
James
No, we don't need extra variables in local.conf and if you do bitbake ti-img-rogue-umlibs, it will build the right libs.
Regards,
Krunal
Hi Krunal,
I see. I think it's necessary to go through the tidss framework. In the following picture:

If I want to research the layers of kernel drivers, foundation sw and windows system, do you have advice how to go through efficiently.
BR
James
Hi James,
I do not really have any step by step guide for the above request. I usually google for Kernel DRM training and look for examples from bootlin or others. Here is one example: https://bootlin.com/pub/conferences/2017/kr/ripard-drm/ripard-drm.pdf
Regards,
Krunal
Hi Krunal,
I just need to related source to explore the above domains. It is hard to have step by step guide.
Therefore if there is any useful reference, it will be nice.
Thanks
James