Bug 30148 - when attempting to build DRM into the kernel 2.6.36-rc3, kernel locks up at loading firmware stage
Summary: when attempting to build DRM into the kernel 2.6.36-rc3, kernel locks up at l...
Status: RESOLVED NOTABUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-12 09:28 UTC by Arthur Marsh
Modified: 2010-09-13 07:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
.config used to build the kernel (79.69 KB, application/octet-stream)
2010-09-12 09:28 UTC, Arthur Marsh
no flags Details

Description Arthur Marsh 2010-09-12 09:28:09 UTC
Created attachment 38651 [details]
.config used to build the kernel

I have attempted to build a kernel with DRM and radeon firmware for a radeon 3850HD (rv670) card so as to set the graphics mode before the initrd loads.

I used a kernel.org 2.6.36-rc3 source with options based on the Debian Experimental 2.6.35. I have built kernel 2.6.36-rc3 successfully with DRM as loadable modules successfully, but with the kernel whose .config is attached, the kernel locks up at the message "loading RV670 Microcode" even though the microcode is apparently built into the kernel.
Comment 1 Alex Deucher 2010-09-12 15:42:43 UTC
You are probably missing the rlc ucode which is available in the linux-firmware tree or here:
http://people.freedesktop.org/~agd5f/radeon_ucode/
Comment 2 Arthur Marsh 2010-09-13 07:44:31 UTC
After adding extra firmware to the build, the resultant kernel boots successfully.

Extract from kernel build log of kernel that boots successfully:

  CHK     include/generated/compile.h
  MK_FW   firmware/radeon/CEDAR_me.bin.gen.S
  MK_FW   firmware/radeon/CEDAR_pfp.bin.gen.S
  MK_FW   firmware/radeon/CEDAR_rlc.bin.gen.S
  MK_FW   firmware/radeon/CYPRESS_me.bin.gen.S
  MK_FW   firmware/radeon/CYPRESS_pfp.bin.gen.S
  MK_FW   firmware/radeon/CYPRESS_rlc.bin.gen.S
  MK_FW   firmware/radeon/JUNIPER_me.bin.gen.S
  MK_FW   firmware/radeon/JUNIPER_pfp.bin.gen.S
  MK_FW   firmware/radeon/JUNIPER_rlc.bin.gen.S
  MK_FW   firmware/radeon/R100_cp.bin.gen.S
  MK_FW   firmware/radeon/R200_cp.bin.gen.S
  MK_FW   firmware/radeon/R300_cp.bin.gen.S
  MK_FW   firmware/radeon/R420_cp.bin.gen.S
  MK_FW   firmware/radeon/R520_cp.bin.gen.S
  MK_FW   firmware/radeon/R600_me.bin.gen.S
  MK_FW   firmware/radeon/R600_pfp.bin.gen.S
  MK_FW   firmware/radeon/R600_rlc.bin.gen.S
  MK_FW   firmware/radeon/R700_rlc.bin.gen.S
  MK_FW   firmware/radeon/REDWOOD_me.bin.gen.S
  MK_FW   firmware/radeon/REDWOOD_pfp.bin.gen.S
  MK_FW   firmware/radeon/REDWOOD_rlc.bin.gen.S
  MK_FW   firmware/radeon/RS600_cp.bin.gen.S
  MK_FW   firmware/radeon/RS690_cp.bin.gen.S
  MK_FW   firmware/radeon/RS780_me.bin.gen.S
  MK_FW   firmware/radeon/RS780_pfp.bin.gen.S
  MK_FW   firmware/radeon/RV610_me.bin.gen.S
  MK_FW   firmware/radeon/RV610_pfp.bin.gen.S
  MK_FW   firmware/radeon/RV620_me.bin.gen.S
  MK_FW   firmware/radeon/RV620_pfp.bin.gen.S
  MK_FW   firmware/radeon/RV630_me.bin.gen.S
  MK_FW   firmware/radeon/RV630_pfp.bin.gen.S
  MK_FW   firmware/radeon/RV635_me.bin.gen.S
  MK_FW   firmware/radeon/RV635_pfp.bin.gen.S
  MK_FW   firmware/radeon/RV670_me.bin.gen.S
  MK_FW   firmware/radeon/RV670_pfp.bin.gen.S
  MK_FW   firmware/radeon/RV710_me.bin.gen.S
  MK_FW   firmware/radeon/RV710_pfp.bin.gen.S
  MK_FW   firmware/radeon/RV730_me.bin.gen.S
  MK_FW   firmware/radeon/RV730_pfp.bin.gen.S
  MK_FW   firmware/radeon/RV770_me.bin.gen.S
  MK_FW   firmware/radeon/RV770_pfp.bin.gen.S
  AS      firmware/radeon/CEDAR_me.bin.gen.o
  AS      firmware/radeon/CEDAR_pfp.bin.gen.o
  AS      firmware/radeon/CEDAR_rlc.bin.gen.o
  AS      firmware/radeon/CYPRESS_me.bin.gen.o
  AS      firmware/radeon/CYPRESS_pfp.bin.gen.o
  AS      firmware/radeon/CYPRESS_rlc.bin.gen.o
  AS      firmware/radeon/JUNIPER_me.bin.gen.o
  AS      firmware/radeon/JUNIPER_pfp.bin.gen.o
  AS      firmware/radeon/JUNIPER_rlc.bin.gen.o
  AS      firmware/radeon/R100_cp.bin.gen.o
  AS      firmware/radeon/R200_cp.bin.gen.o
  AS      firmware/radeon/R300_cp.bin.gen.o
  AS      firmware/radeon/R420_cp.bin.gen.o
  AS      firmware/radeon/R520_cp.bin.gen.o
  AS      firmware/radeon/R600_me.bin.gen.o
  AS      firmware/radeon/R600_pfp.bin.gen.o
  AS      firmware/radeon/R600_rlc.bin.gen.o
  AS      firmware/radeon/R700_rlc.bin.gen.o
  AS      firmware/radeon/REDWOOD_me.bin.gen.o
  AS      firmware/radeon/REDWOOD_pfp.bin.gen.o
  AS      firmware/radeon/REDWOOD_rlc.bin.gen.o
  AS      firmware/radeon/RS600_cp.bin.gen.o
  AS      firmware/radeon/RS690_cp.bin.gen.o
  AS      firmware/radeon/RS780_me.bin.gen.o
  AS      firmware/radeon/RS780_pfp.bin.gen.o
  AS      firmware/radeon/RV610_me.bin.gen.o
  AS      firmware/radeon/RV610_pfp.bin.gen.o
  AS      firmware/radeon/RV620_me.bin.gen.o
  AS      firmware/radeon/RV620_pfp.bin.gen.o
  AS      firmware/radeon/RV630_me.bin.gen.o
  AS      firmware/radeon/RV630_pfp.bin.gen.o
  AS      firmware/radeon/RV635_me.bin.gen.o
  AS      firmware/radeon/RV635_pfp.bin.gen.o
  AS      firmware/radeon/RV670_me.bin.gen.o
  AS      firmware/radeon/RV670_pfp.bin.gen.o
  AS      firmware/radeon/RV710_me.bin.gen.o
  AS      firmware/radeon/RV710_pfp.bin.gen.o
  AS      firmware/radeon/RV730_me.bin.gen.o
  AS      firmware/radeon/RV730_pfp.bin.gen.o
  AS      firmware/radeon/RV770_me.bin.gen.o
  AS      firmware/radeon/RV770_pfp.bin.gen.o
  LD      firmware/built-in.o
  LD      vmlinux.o


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.