[meta-amd] Integrating Open Source ATI and Glamor drivers into Yocto

Chen, Simon (N-DCR SYSTEM HOUSE) simon.chen at lmco.com
Wed Apr 1 08:59:23 PDT 2015


Naturally, I would expect to at least see libdrm to be built in the Yocto OS, since that is already included in Yocto's recipes-graphics folder. But I do not know where to find it.

-----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