Gentoo Archives: gentoo-user

From: Gregory Shearman <zekeyg@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't build firmware into kernel
Date: Fri, 09 Dec 2011 05:53:06
Message-Id: 20111209055050.GA8274@pacific.net.au
1 In linux.gentoo.user, Lavender wrote:
2
3 > Thanks a lot ! But I used lspci -v | less, it printed vebose
4 > information, then I looked up carefully for my video card, but I did
5 > not find anything about R600,R700 or other like, I'm still not clear
6 > about R*** things , is it chipset name?
7 >>Hmm, I re-installed radeon-ucode package and I'm sure that I have
8 >>R600_rlc.bin cause I canlocate it in /lib/firmware/ and
9 >>/usr/src/linux/somewhere. But when I use make , the error message
10 >>like:make[1]: *** No rule to make target
11 >>`firmware/radeon/R600_rlc.bin', needed by
12 >>`firmware/radeon/R600_rlc.bin.gen.o'. Stop.make: *** [firmware] Error
13 >>2
14 > It's weird, because I think I have done all the Prerequisite
15 > correctly, so how could I fix it out ?
16
17 I think you need:
18
19 CONFIG_PREVENT_FIRMWARE_BUILD=y
20
21 Configured into your kernel.
22
23 Have a look at your dmesg output. It should have your Radeon card
24 version listed. Mine is a Radeon REDWOOD chip.
25
26 Here's my kernel config relating to building firmware into the kernel:
27
28 (ignore the fact that I wastefully build in all the chip versions other
29 than the REDWOOD)
30
31 CONFIG_PREVENT_FIRMWARE_BUILD=y
32 CONFIG_FIRMWARE_IN_KERNEL=y
33 CONFIG_EXTRA_FIRMWARE="radeon/REDWOOD_pfp.bin radeon/REDWOOD_rlc.bin \
34 radeon/REDWOOD_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin \
35 radeon/CEDAR_me.bin radeon/CYPRESS_me.bin radeon/CYPRESS_pfp.bin \
36 radeon/CYPRESS_rlc.bin radeon/JUNIPER_me.bin radeon/JUNIPER_pfp.bin \
37 radeon/JUNIPER_rlc.bin carl9170-1.fw"
38 CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
39
40 --
41 Regards,
42 Gregory.

Replies

Subject Author
Re:Re: [gentoo-user] Can't build firmware into kernel Lavender <lavender_matrix@×××.com>