public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can't build firmware into kernel
@ 2011-12-08 10:44 Lavender
  2011-12-08 10:59 ` James Broadhead
  2011-12-08 12:15 ` Lavender
  0 siblings, 2 replies; 13+ messages in thread
From: Lavender @ 2011-12-08 10:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 517 bytes --]

I'm being working out with building KDE environment recently. 
Now I need installing Xorg first. As the <The X Server Configuration HOWTO> says,
if I use radeon card ,then I need emerge radeon-ucode or linux-firmware package.
Then I need rebuild my kernel with External firmware blobs . My video card belongs
to radeon 4000 series, so I should add "radeon/R600_rlc.bin radeon/R700_rlc.bin" as
it says into  External firmware blobs . But when I make, it says that it can't find files that I specific..
Can anyone help?

[-- Attachment #2: Type: text/html, Size: 784 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: [gentoo-user] Can't build firmware into kernel
       [not found]           ` <i5Zaa-3PK-5@gated-at.bofh.it>
@ 2011-12-09  5:50 Gregory Shearman
       [not found] ` <i5Y4q-1XO-9@gated-at.bofh.it>
  0 siblings, 1 reply; 13+ messages in thread
From: Gregory Shearman @ 2011-12-09  5:50 UTC (permalink / raw
  To: gentoo-user

In linux.gentoo.user, Lavender wrote:

> Thanks a lot ! But I used lspci -v | less, it printed vebose
> information, then I looked up carefully for my video card, but I did
> not find anything about R600,R700 or other like, I'm still not clear
> about R*** things , is it chipset name?
>>Hmm, I re-installed radeon-ucode package and I'm sure that I have
>>R600_rlc.bin cause I canlocate it in /lib/firmware/ and
>>/usr/src/linux/somewhere. But when I use make , the error message
>>like:make[1]: *** No rule to make target
>>`firmware/radeon/R600_rlc.bin', needed by
>>`firmware/radeon/R600_rlc.bin.gen.o'.  Stop.make: *** [firmware] Error
>>2
> It's weird, because I think I have done all the Prerequisite
> correctly, so how could I fix it out ?

I think you need:

CONFIG_PREVENT_FIRMWARE_BUILD=y

Configured into your kernel.

Have a look at your dmesg output. It should have your Radeon card
version listed. Mine is a Radeon REDWOOD chip.

Here's my kernel config relating to building firmware into the kernel:

(ignore the fact that I wastefully build in all the chip versions other
than the REDWOOD)

CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="radeon/REDWOOD_pfp.bin radeon/REDWOOD_rlc.bin \
radeon/REDWOOD_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin \
radeon/CEDAR_me.bin radeon/CYPRESS_me.bin radeon/CYPRESS_pfp.bin \
radeon/CYPRESS_rlc.bin radeon/JUNIPER_me.bin radeon/JUNIPER_pfp.bin \
radeon/JUNIPER_rlc.bin carl9170-1.fw"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"

-- 
Regards,
Gregory.



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-12-11  1:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-08 10:44 [gentoo-user] Can't build firmware into kernel Lavender
2011-12-08 10:59 ` James Broadhead
2011-12-08 12:15 ` Lavender
2011-12-08 13:47   ` James Broadhead
2011-12-09  2:01   ` Lavender
2011-12-09  6:59     ` Mick
2011-12-09  9:47     ` Lavender
2011-12-10  2:42       ` Claudio Roberto França Pereira
2011-12-10  3:06       ` Lavender
2011-12-10  4:25         ` Mick
2011-12-11  1:45         ` Lavender
2011-12-09  3:08   ` Lavender
  -- strict thread matches above, loose matches on Subject: below --
2011-12-09  5:50 Gregory Shearman
     [not found] ` <i5Y4q-1XO-9@gated-at.bofh.it>
     [not found]   ` <i5MFY-7Um-9@gated-at.bofh.it>
     [not found]     ` <i5JI6-2X1-3@gated-at.bofh.it>
     [not found]       ` <i5K1s-3Em-9@gated-at.bofh.it>
     [not found]         ` <i5L7b-5rY-7@gated-at.bofh.it>
     [not found]           ` <i5Zaa-3PK-5@gated-at.bofh.it>
2011-12-09  6:55             ` Lavender

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox