* [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; 14+ 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] 14+ messages in thread
* Re: [gentoo-user] Can't build firmware into kernel
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
1 sibling, 0 replies; 14+ messages in thread
From: James Broadhead @ 2011-12-08 10:59 UTC (permalink / raw
To: gentoo-user
2011/12/8 Lavender <lavender_matrix@163.com>:
> 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?
>
I maintain http://en.gentoo-wiki.com/wiki/Radeon , which should sort you out.
If not, please post again & I'll update the article to be more helpful.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re:Re: [gentoo-user] Can't build firmware into kernel
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
` (2 more replies)
1 sibling, 3 replies; 14+ messages in thread
From: Lavender @ 2011-12-08 12:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 282 bytes --]
>I maintain http://en.gentoo-wiki.com/wiki/Radeon , which should sort you out.
>
>If not, please post again & I'll update the article to be more helpful.
>
I'm sorry, cause the policy of Internet in my country, I can't open the webpage.Could you send it to me or use other methods?
[-- Attachment #2: Type: text/html, Size: 599 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Re: [gentoo-user] Can't build firmware into kernel
2011-12-08 12:15 ` Lavender
@ 2011-12-08 13:47 ` James Broadhead
2011-12-09 2:01 ` Lavender
2011-12-09 3:08 ` Lavender
2 siblings, 0 replies; 14+ messages in thread
From: James Broadhead @ 2011-12-08 13:47 UTC (permalink / raw
To: gentoo-user
2011/12/8 Lavender <lavender_matrix@163.com>:
>>I maintain http://en.gentoo-wiki.com/wiki/Radeon , which should sort you out.
>>
>>If not, please post again & I'll update the article to be more helpful.
>>
>
> I'm sorry, cause the policy of Internet in my country, I can't open the
> webpage.
>
> Could you send it to me or use other methods?
Please see my off-list reply.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re:Re: Re: [gentoo-user] Can't build firmware into kernel
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-09 3:08 ` Lavender
2 siblings, 2 replies; 14+ messages in thread
From: Lavender @ 2011-12-09 2:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 411 bytes --]
>> I'm sorry, cause the policy of Internet in my country, I can't open the
>> webpage.
>>
>> Could you send it to me or use other methods?
>
>Please see my off-list reply.
>
Thanks a lot ! But I used lspci -v | less, it printed vebose information, then I looked up carefullyfor my video card, but I did not find anything about R600,R700 or other like, I'm still not clearabout R*** things , is it chipset name?
[-- Attachment #2: Type: text/html, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Can't build firmware into kernel
2011-12-08 12:15 ` Lavender
2011-12-08 13:47 ` James Broadhead
2011-12-09 2:01 ` Lavender
@ 2011-12-09 3:08 ` Lavender
2 siblings, 0 replies; 14+ messages in thread
From: Lavender @ 2011-12-09 3:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 688 bytes --]
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 ?
[-- Attachment #2: Type: text/html, Size: 1842 bytes --]
^ permalink raw reply [flat|nested] 14+ 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
0 siblings, 0 replies; 14+ 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] 14+ messages in thread
* Re: [gentoo-user] Can't build firmware into kernel
2011-12-09 2:01 ` Lavender
@ 2011-12-09 6:59 ` Mick
2011-12-09 9:47 ` Lavender
1 sibling, 0 replies; 14+ messages in thread
From: Mick @ 2011-12-09 6:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 754 bytes --]
On Friday 09 Dec 2011 02:01:36 Lavender wrote:
> >> I'm sorry, cause the policy of Internet in my country, I can't open the
> >> webpage.
> >>
> >> Could you send it to me or use other methods?
> >
> >Please see my off-list reply.
>
> Thanks a lot ! But I used lspci -v | less, it printed vebose information,
> then I looked up carefullyfor my video card, but I did not find anything
> about R600,R700 or other like, I'm still not clearabout R*** things , is
> it chipset name?
No it's the gpu family. Did you look at this link on James' page:
http://en.wikipedia.org/wiki/Comparison_of_AMD_graphics_processing_units
Above each table it tells you which RXXX you should use, if your card is
listed below.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re:Re: [gentoo-user] Can't build firmware into kernel
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
1 sibling, 2 replies; 14+ messages in thread
From: Lavender @ 2011-12-09 9:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
>No it's the gpu family. Did you look at this link on James' page:
>
> http://en.wikipedia.org/wiki/Comparison_of_AMD_graphics_processing_units
>
>Above each table it tells you which RXXX you should use, if your card is
>listed below.
>
Oh, I should use RV710, that is really a long distance from R600/R700.So should I add RV710_rlc.bin into External firmware blobs ?
[-- Attachment #2: Type: text/html, Size: 815 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Re: [gentoo-user] Can't build firmware into kernel
2011-12-09 9:47 ` Lavender
@ 2011-12-10 2:42 ` Claudio Roberto França Pereira
2011-12-10 3:06 ` Lavender
1 sibling, 0 replies; 14+ messages in thread
From: Claudio Roberto França Pereira @ 2011-12-10 2:42 UTC (permalink / raw
To: gentoo-user
Yes, exactly. The first time you were missing
CONFIG_EXTRA_FIRMWARE_DIR, it should point to /lib/firmware if you've
emerged radeon-ucode.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re:Re: Re: [gentoo-user] Can't build firmware into kernel
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
1 sibling, 2 replies; 14+ messages in thread
From: Lavender @ 2011-12-10 3:06 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
At 2011-12-10 10:42:03,"Claudio Roberto França Pereira" <spideybr@gmail.com> wrote:
>Yes, exactly. The first time you were missing
>CONFIG_EXTRA_FIRMWARE_DIR, it should point to /lib/firmware if you've
>emerged radeon-ucode.
>
Yes,that's right, when I checked my .config file I found that CONFIG_EXTRA_FIRMWARE_DIRis /firmware, then I corrected it and emerge xorg-server and twm.Command "X -configure" executed successfully , it did generate /root/xorg.conf.new.After that I used "X -config /root/xorg.conf.new" , then screen turned black andOS can't response to any input.Then I "cp /root/xorg.conf.new /etc/X11/xorg.conf" and "startx",but the result didn't change, was OS crashed?
[-- Attachment #2: Type: text/html, Size: 1079 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Can't build firmware into kernel
2011-12-10 3:06 ` Lavender
@ 2011-12-10 4:25 ` Mick
2011-12-11 1:45 ` Lavender
1 sibling, 0 replies; 14+ messages in thread
From: Mick @ 2011-12-10 4:25 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 907 bytes --]
On Saturday 10 Dec 2011 03:06:25 Lavender wrote:
> At 2011-12-10 10:42:03,"Claudio Roberto França Pereira" <spideybr@gmail.com>
wrote:
> >Yes, exactly. The first time you were missing
> >CONFIG_EXTRA_FIRMWARE_DIR, it should point to /lib/firmware if you've
> >emerged radeon-ucode.
>
> Yes,that's right, when I checked my .config file I found that
> CONFIG_EXTRA_FIRMWARE_DIRis /firmware, then I corrected it and emerge
> xorg-server and twm.Command "X -configure" executed successfully , it did
> generate /root/xorg.conf.new.After that I used "X -config
> /root/xorg.conf.new" , then screen turned black andOS can't response to
> any input.Then I "cp /root/xorg.conf.new /etc/X11/xorg.conf" and
> "startx",but the result didn't change, was OS crashed?
See if you can access it using ssh from another PC. Then check
/var/log/Xorg.0.log for any error messages.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re:Re: [gentoo-user] Can't build firmware into kernel
2011-12-10 3:06 ` Lavender
2011-12-10 4:25 ` Mick
@ 2011-12-11 1:45 ` Lavender
1 sibling, 0 replies; 14+ messages in thread
From: Lavender @ 2011-12-11 1:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 428 bytes --]
>
>See if you can access it using ssh from another PC. Then check
>/var/log/Xorg.0.log for any error messages.
>--
>
I have checked my Xorg.0.log, there is no error message. I have a question,I read xorg.conf , I didn't find any area about Window Manage, so how xorg-server knowswhich WM to invoke when I use "X -config /etc/X11/xorg.conf" ?BTW, among my class I am the only one who uses Linux, so it's impossible to use ssh.
[-- Attachment #2: Type: text/html, Size: 756 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Can't build firmware into kernel
[not found] ` <i6GI9-15N-5@gated-at.bofh.it>
@ 2011-12-11 4:42 ` Gregory Shearman
0 siblings, 0 replies; 14+ messages in thread
From: Gregory Shearman @ 2011-12-11 4:42 UTC (permalink / raw
To: gentoo-user
In linux.gentoo.user, Lavender wrote:
> I have checked my Xorg.0.log, there is no error message. I have a
> question,I read xorg.conf , I didn't find any area about Window
> Manage, so how xorg-server knowswhich WM to invoke when I use "X
> -config /etc/X11/xorg.conf" ?BTW, among my class I am the only one who
> uses Linux, so it's impossible to use ssh.
Window managers are started by users. I think you are talking about
"display managers".
Xorg runs a script /etc/X11/startDM.sh. It will start up /etc/init.d/xdm
if that's the display manager defined (as it is in a default Gentoo
setup). You define which display manager you want to start in
/etc/conf.d/xdm, for example:
DISPLAYMANAGER="kdm"
This will start the KDE4 display manager.
--
Regards,
Gregory.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2011-12-11 4:43 UTC | newest]
Thread overview: 14+ 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
[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 5:50 ` Gregory Shearman
[not found] <i6mJs-1ui-3@gated-at.bofh.it>
[not found] ` <i6laG-7az-9@gated-at.bofh.it>
[not found] ` <i65pg-5Kj-17@gated-at.bofh.it>
[not found] ` <i6lu1-7Rg-5@gated-at.bofh.it>
[not found] ` <i6GI9-15N-5@gated-at.bofh.it>
2011-12-11 4:42 ` Gregory Shearman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox