[meta-amd] FW: Integrating Open Source ATI and Glamor drivers into Yocto
Nath, Arindam
Arindam.Nath at amd.com
Wed Apr 1 09:13:07 PDT 2015
You do not need to remove anything from other layers.
Add meta-openembedded/meta-oe before meta-amd/common in your bblayers.conf since meta-amd depends on openembedded layer.
Once you do that, you can simply build individual components first to see if things are going the right way. For eg, you could just build xf86-video-ati by using the command 'bitbake xf86-video-ati'. Once you get these components build correctly, you will need to modify your genericx86-64.conf file to include these components in your final core-image-sato image. You can get more clues on that by looking at baldeagle.conf file.
You can get more generic info on using layers at http://www.yoctoproject.org/docs/current/bsp-guide/bsp-guide.html
HTH.
-----Original Message-----
From: meta-amd-bounces at yoctoproject.org [mailto:meta-amd-bounces at yoctoproject.org] On Behalf Of Chen, Simon (N-DCR SYSTEM HOUSE)
Sent: Wednesday, April 01, 2015 9:28 PM
To: meta-amd at yoctoproject.org
Subject: [meta-amd] FW: Integrating Open Source ATI and Glamor drivers into Yocto
Aside from the default layers that were already there, I have "common" down as a new layer. In the common folder however, I've removed everything except for the recipes-graphics and conf folders.
-----Original Message-----
From: Nath, Arindam [mailto:Arindam.Nath at amd.com]
Sent: Wednesday, April 01, 2015 11:21 AM
To: Chen, Simon (N-DCR SYSTEM HOUSE)
Cc: meta-amd at yoctoproject.org
Subject: EXTERNAL: RE: Integrating Open Source ATI and Glamor drivers into Yocto
What is the content of your bblayers.conf file?
-----Original Message-----
From: Chen, Simon (N-DCR SYSTEM HOUSE) [mailto:simon.chen at lmco.com]
Sent: Wednesday, April 01, 2015 8:43 PM
To: Nath, Arindam
Cc: meta-amd at yoctoproject.org
Subject: RE: Integrating Open Source ATI and Glamor drivers into Yocto
Yes, I am relatively new to the Yocto environment, and I am having trouble figuring out what the proper configurations for the driver installation should be. None of the driver's dependent modules like drm, or glamor seem to be making it onto the final Yocto OS. Perhaps I should ask this question in another Yocto mailing list?
-----Original Message-----
From: Nath, Arindam [mailto:Arindam.Nath at amd.com]
Sent: Wednesday, April 01, 2015 9:21 AM
To: Chen, Simon (N-DCR SYSTEM HOUSE)
Cc: meta-amd at yoctoproject.org
Subject: EXTERNAL: RE: Integrating Open Source ATI and Glamor drivers into Yocto
Okay.
If your goal is to only use xf86-video-ati bits, then you do not need entire baldeagle layer. You can modify your recipes and/or machine configuration files to include the appropriate recipes from meta-amd layer.
Thanks,
Arindam
-----Original Message-----
From: Chen, Simon (N-DCR SYSTEM HOUSE) [mailto:simon.chen at lmco.com]
Sent: Wednesday, April 01, 2015 6:33 PM
To: Nath, Arindam
Cc: meta-amd at yoctoproject.org
Subject: RE: Integrating Open Source ATI and Glamor drivers into Yocto
Hi Arindam,
Thanks for the reply. I will try your suggestions soon. My target platform is actually an Intel processor, and I am trying to integrate a new AMD Embedded Radeon E8860 GPU into the system. For this new GPU, I will need the xf86-video-ati driver. I initially assumed that I would need the entire Baldeagle and Common layers to implement this, but is there a chance that I might only need part of these?
Thanks,
Simon
-----Original Message-----
From: Nath, Arindam [mailto:Arindam.Nath at amd.com]
Sent: Wednesday, April 01, 2015 7:30 AM
To: Chen, Simon (N-DCR SYSTEM HOUSE); meta-amd at yoctoproject.org
Subject: EXTERNAL: RE: Integrating Open Source ATI and Glamor drivers into Yocto
Hi Simon,
I am assuming that you are trying to create an yocto image for AMD baldeagle platform. if yes, then you do need to include openembedded layer in your bblayers.conf file since meta-amd depends on it. Since you are using dizzy release of poky, make sure you checkout dizzy branch of meta-amd as well as meta-openembedded.
Also I noticed that your local.conf file has MACHINE variable set to generic86-64. Change it to baldeagle, and you should be good to go.
HTH.
Thanks,
Arindam
From: meta-amd-bounces at yoctoproject.org [mailto:meta-amd-bounces at yoctoproject.org] On Behalf Of Chen, Simon (N-DCR SYSTEM HOUSE)
Sent: Wednesday, April 01, 2015 4:01 AM
To: meta-amd at yoctoproject.org
Subject: [meta-amd] Integrating Open Source ATI and Glamor drivers into Yocto
Hi all,
I am trying to integrate the open source AMD Radeon driver (otherwise known as xf86-video-ati), along with Glamor, into my Yocto image (poky-dizzy-12.0.1) using the latest version of meta-amd (dizzy branch). In my bblayer.conf, I included meta-amd's common and meta-baldeagle layers. When I initially bitbaked, I encountered errors relating to .bbappend files in common/recipes-benchmark, common/recipes-multimedia, common/recipes-support, and common/recipes-core/llvm folders. They appear to be trying to append to recipes found in meta-oe, which I don't have. Worrying that I might encounter incompatibility issues when mixing Yocto and OE components, I've decided to discard these recipe folders for the time being. I've also chose to comment out some code from common/recipes/grub/grub-efi_2.00.bbappend and meta-baldeagle/conf.layer.conf, since they were acting up with the rest of my yocto build.
Afterwards I was able to build a Yocto image successfully. But when I try booting the image on my target board, I was not able to find the ATI or the Glamor .so driver files in any of the lib folders that I had in my system. They also did make on to the list of running modules when I did "lsmod."
Do you have any ideas on what could be wrong? Am I missing some configuration steps? It also appears meta-amd was originally meant for integration for the OpenEmbedded environment rather than Yocto. Perhaps I am applying this amd layer the wrong way?
If interested, I've also attached changed files with path locations included at the top of each one.
Thanks,
Simon
More information about the meta-amd
mailing list