[lfs-support] Adding firmware to the kernel

Bruce Dubbs bruce.dubbs at gmail.com
Thu Apr 5 18:05:35 PDT 2012


Ken Moffat wrote:
>  My latest machine has an ATI 760G (Radeon 3000) video controller.
> According to dmesg, it is trying to load R600_rlc.bin for KMS.  So,
> I got the firmware, and put it in firmware/radeon/ in the kernel
> tree.  But it doesn't find it (this is without an initrd).
> 
>  My config includes
> CONFIG_FIRMWARE_IN_KERNEL=y
> CONFIG_EXTRA_FIRMWARE="R600_rlc.bin"
> CONFIG_EXTRA_FIRMWARE_DIR="firmware/radeon/"
> 
>  Any idea what I'm doing wrong, please ?

Checking ubuntu, their config has:

CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""

The directory structure is below.

Other than that, I don't know much about how the firmware is built or 
accessed.

   -- Bruce

/lib/firmware/radeon
-rw-r--r-- 1 root root 24096 Mar 30 09:20 BARTS_mc.bin
-rw-r--r-- 1 root root  5504 Mar 30 09:20 BARTS_me.bin
-rw-r--r-- 1 root root  4480 Mar 30 09:20 BARTS_pfp.bin
-rw-r--r-- 1 root root  3072 Mar 30 09:20 BTC_rlc.bin
-rw-r--r-- 1 root root 24096 Mar 30 09:20 CAICOS_mc.bin
-rw-r--r-- 1 root root  5504 Mar 30 09:20 CAICOS_me.bin
-rw-r--r-- 1 root root  4480 Mar 30 09:20 CAICOS_pfp.bin
-rw-r--r-- 1 root root 24148 Mar 30 09:20 CAYMAN_mc.bin
-rw-r--r-- 1 root root  8704 Mar 30 09:20 CAYMAN_me.bin
-rw-r--r-- 1 root root  8704 Mar 30 09:20 CAYMAN_pfp.bin
-rw-r--r-- 1 root root  4096 Mar 30 09:20 CAYMAN_rlc.bin
-rw-r--r-- 1 root root  5504 Mar 30 09:20 CEDAR_me.bin
-rw-r--r-- 1 root root  4480 Mar 30 09:20 CEDAR_pfp.bin
-rw-r--r-- 1 root root  3072 Mar 30 09:20 CEDAR_rlc.bin
-rw-r--r-- 1 root root  5504 Mar 30 09:20 CYPRESS_me.bin
-rw-r--r-- 1 root root  4480 Mar 30 09:20 CYPRESS_pfp.bin
-rw-r--r-- 1 root root  3072 Mar 30 09:20 CYPRESS_rlc.bin
-rw-r--r-- 1 root root  5504 Mar 30 09:20 JUNIPER_me.bin
-rw-r--r-- 1 root root  4480 Mar 30 09:20 JUNIPER_pfp.bin
-rw-r--r-- 1 root root  3072 Mar 30 09:20 JUNIPER_rlc.bin
-rw-r--r-- 1 root root  5504 Mar 30 09:20 PALM_me.bin
-rw-r--r-- 1 root root  4480 Mar 30 09:20 PALM_pfp.bin
-rw-r--r-- 1 root root  2048 Mar 30 09:20 R100_cp.bin
-rw-r--r-- 1 root root  2048 Mar 30 09:20 R200_cp.bin
-rw-r--r-- 1 root root  2048 Mar 30 09:20 R300_cp.bin
-rw-r--r-- 1 root root  2048 Mar 30 09:20 R420_cp.bin
-rw-r--r-- 1 root root  2048 Mar 30 09:20 R520_cp.bin
-rw-r--r-- 1 root root 21504 Mar 30 09:20 R600_me.bin
-rw-r--r-- 1 root root  2304 Mar 30 09:20 R600_pfp.bin
-rw-r--r-- 1 root root  3072 Mar 30 09:20 R600_rlc.bin
-rw-r--r-- 1 root root  4096 Mar 30 09:20 R700_rlc.bin
-rw-r--r-- 1 root root  5504 Mar 30 09:20 REDWOOD_me.bin
-rw-r--r-- 1 root root  4480 Mar 30 09:20 REDWOOD_pfp.bin
-rw-r--r-- 1 root root  3072 Mar 30 09:20 REDWOOD_rlc.bin
-rw-r--r-- 1 root root  2048 Mar 30 09:20 RS600_cp.bin
-rw-r--r-- 1 root root  2048 Mar 30 09:20 RS690_cp.bin
-rw-r--r-- 1 root root 21504 Mar 30 09:20 RS780_me.bin
-rw-r--r-- 1 root root  2304 Mar 30 09:20 RS780_pfp.bin
-rw-r--r-- 1 root root 21504 Mar 30 09:20 RV610_me.bin
-rw-r--r-- 1 root root  2304 Mar 30 09:20 RV610_pfp.bin
-rw-r--r-- 1 root root 21504 Mar 30 09:20 RV620_me.bin
-rw-r--r-- 1 root root  2304 Mar 30 09:20 RV620_pfp.bin
-rw-r--r-- 1 root root 21504 Mar 30 09:20 RV630_me.bin
-rw-r--r-- 1 root root  2304 Mar 30 09:20 RV630_pfp.bin
-rw-r--r-- 1 root root 21504 Mar 30 09:20 RV635_me.bin
-rw-r--r-- 1 root root  2304 Mar 30 09:20 RV635_pfp.bin
-rw-r--r-- 1 root root 21504 Mar 30 09:20 RV670_me.bin
-rw-r--r-- 1 root root  2304 Mar 30 09:20 RV670_pfp.bin
-rw-r--r-- 1 root root  5440 Mar 30 09:20 RV710_me.bin
-rw-r--r-- 1 root root  3392 Mar 30 09:20 RV710_pfp.bin
-rw-r--r-- 1 root root  5440 Mar 30 09:20 RV730_me.bin
-rw-r--r-- 1 root root  3392 Mar 30 09:20 RV730_pfp.bin
-rw-r--r-- 1 root root  5440 Mar 30 09:20 RV770_me.bin
-rw-r--r-- 1 root root  3392 Mar 30 09:20 RV770_pfp.bin
-rw-r--r-- 1 root root  5504 Mar 30 09:20 SUMO2_me.bin
-rw-r--r-- 1 root root  4480 Mar 30 09:20 SUMO2_pfp.bin
-rw-r--r-- 1 root root  5504 Mar 30 09:20 SUMO_me.bin
-rw-r--r-- 1 root root  4480 Mar 30 09:20 SUMO_pfp.bin
-rw-r--r-- 1 root root  3072 Mar 30 09:20 SUMO_rlc.bin
-rw-r--r-- 1 root root 24096 Mar 30 09:20 TURKS_mc.bin
-rw-r--r-- 1 root root  5504 Mar 30 09:20 TURKS_me.bin
-rw-r--r-- 1 root root  4480 Mar 30 09:20 TURKS_pfp.bin



More information about the lfs-support mailing list