Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] How to read the firmware table in radeon article?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
augustin2
Apprentice
Apprentice


Joined: 16 Mar 2012
Posts: 244
Location: France

PostPosted: Sun Jan 05, 2014 9:12 am    Post subject: [SOLVED] How to read the firmware table in radeon article? Reply with quote

When compiling radeon directly into the kernel you have to make sure that firmware for your card's model is included in the kernel. To do so, according to the radeon article of the wiki, you must document the following lines in the kernel's configuration.

Code:
[*] Include in-kernel firmware blobs in kernel binary
            (radeon/<YOUR-MODEL>.bin)
            (/lib/firmware) Firmware blobs root directory


Assuming the family name of my card is Northern Islands and the chipset name is TURKS, I have several files available in the table just after the kernel configuration advice:
Quote:
radeon/TURKS_mc.bin, radeon/TURKS_me.bin, radeon/TURKS_smc.bin and radeon/TURKS_pfp.bin.

My question is what to choose?:
1-any one among them
2- a very specific one (but how to know which one?)
3-all of them (in this case how to pass them space separated list, coma separated...)


Last edited by augustin2 on Sun Jan 05, 2014 6:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Sun Jan 05, 2014 9:29 am    Post subject: Reply with quote

http://en.wikipedia.org/wiki/Radeon_HD_6000_Series

which turks?

https://wiki.gentoo.org/wiki/Troubleshooting

give us something to work with :twisted:

TURKS_mc.bin is my wild guess stab in the dark.... after that its TURKS_smc.bin.....

when i had my friends ati stuff it was r600_rlc.bin i vaguely remember booting a kernel with out firmware inserted and it posting a message of the exact firmware it wanted.
Back to top
View user's profile Send private message
gotyaoi
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2013
Posts: 137

PostPosted: Sun Jan 05, 2014 9:52 am    Post subject: Reply with quote

As far as I know, the different firmware files listed control different functions of one card, so I think you may need all of the ones listed after TURKS (radeon/BTC_rlc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/TURKS_smc.bin radeon/SUMO_uvd.bin). I think the BTC and SUMO entries are there in the early northern island cards because they were reusing tech from their evergreen architecture for some bits. That or the older firmware files are fine for controlling those functions of the newer cards.

As for how to specify multiple, it's space separated. If you're using "make menuconfig", you can press ? on an item to get the help for that item, if it has any.
Back to top
View user's profile Send private message
augustin2
Apprentice
Apprentice


Joined: 16 Mar 2012
Posts: 244
Location: France

PostPosted: Sun Jan 05, 2014 9:55 am    Post subject: Reply with quote

Thank you for your help

666threesixes666 wrote:


give us something to work with :twisted:

The card is SAPPHIRE Radeon Ultimate HD 6670
Back to top
View user's profile Send private message
augustin2
Apprentice
Apprentice


Joined: 16 Mar 2012
Posts: 244
Location: France

PostPosted: Sun Jan 05, 2014 10:07 am    Post subject: Reply with quote

Thank you for help everybody
gotyaoi wrote:
As far as I know, the different firmware files listed control different functions of one card, so I think you may need all of the ones listed after TURKS (radeon/BTC_rlc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/TURKS_smc.bin radeon/SUMO_uvd.bin). I think the BTC and SUMO entries are there in the early northern island cards because they were reusing tech from their evergreen architecture for some bits. That or the older firmware files are fine for controlling those functions of the newer cards.

As for how to specify multiple, it's space separated. If you're using "make menuconfig", you can press ? on an item to get the help for that item, if it has any.

You are right! Help in the menuconfig (I would have thought about that) gives the answer:

Quote:
CONFIG_EXTRA_FIRMWARE:

This option allows firmware to be built into the kernel for the case where the user either cannot or doesn't want to provide it from
userspace at runtime (for example, when the firmware in question is required for accessing the boot device, and the user doesn't want to use an initrd).

This option is a string and takes the (space-separated) names of the firmware files -- the same names that appear in MODULE_FIRMWARE() and request_firmware() in the source. These files should exist under the directory specified by the EXTRA_FIRMWARE_DIR option, which is by default the firmware subdirectory of the kernel source tree.


Thus I inserted all files starting with TURKS and rely on the kernel complaining is some file is missing.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13836

PostPosted: Sun Jan 05, 2014 4:35 pm    Post subject: Reply with quote

As I understand it, including unnecessary files will bloat the kernel image, but has no negative effect on the use of the card itself. Therefore, when in doubt, throw in extra firmware until you are sure you do not need it.
Back to top
View user's profile Send private message
augustin2
Apprentice
Apprentice


Joined: 16 Mar 2012
Posts: 244
Location: France

PostPosted: Sun Jan 05, 2014 6:47 pm    Post subject: Reply with quote

Hu wrote:
As I understand it, including unnecessary files will bloat the kernel image, but has no negative effect on the use of the card itself. Therefore, when in doubt, throw in extra firmware until you are sure you do not need it.


OK . Thanks. I will remember this. At the moment I included the whole list in front of my card 's chipset name in the table on the Radeon wiki page.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum