View previous topic :: View next topic |
Author |
Message |
nagmat84 Apprentice
Joined: 27 Mar 2007 Posts: 297
|
Posted: Mon Dec 26, 2016 5:27 pm Post subject: What firmware files are required by amdgpu? |
|
|
I use the amgpu driver. Unfortunately, if the driver fails to load the required firmware the kernel silently hangs and does not print any error message what file is missing. If I create an initial ramdisk that includes the whole directory structure below /lib/firmware, then everything works but the ramdisk is huge. Code: |
genkernel --kernel-config=linux/.config --ramdisk-modules --plymouth-theme=breeze --firmware --firmware-dir=/lib/firmware initramfs
| I failed to include only the firmware files that are actually required. On a first shot I tried Code: |
genkernel --kernel-config=linux/.config --ramdisk-modules --plymouth-theme=breeze --firmware --firmware-files=/lib/firmware/amdgpu/tonga_mec2.bin,/lib/firmware/amdgpu/tonga_me.bin,/lib/firmware/amdgpu/tonga_pfp.bin,/lib/firmware/amdgpu/tonga_smc.bin,/lib/firmware/amdgpu/tonga_sdma.bin,/lib/firmware/amdgpu/tonga_ce.bin,/lib/firmware/amdgpu/tonga_vce.bin,/lib/firmware/amdgpu/tonga_sdma1.bin,/lib/firmware/amdgpu/tonga_rlc.bin,/lib/firmware/amdgpu/tonga_uvd.bin,/lib/firmware/amdgpu/tonga_mec.bin,/lib/firmware/amdgpu/tonga_mc.bin initramfs
| , because I know I have a card from the Tonga family (PowerColor Radeon R9 380), but this is apparently not sufficient. Any idea what I am missing? |
|
Back to top |
|
|
snkmoorthy Guru
Joined: 19 Nov 2002 Posts: 376
|
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Tue Dec 27, 2016 3:20 pm Post subject: |
|
|
R9 380 is the newer revision of Tonga, it requires the tonga_k_smc.bin firmware for kernel 4.8 and newer. |
|
Back to top |
|
|
nagmat84 Apprentice
Joined: 27 Mar 2007 Posts: 297
|
Posted: Thu Dec 29, 2016 9:34 am Post subject: |
|
|
@snkmoorthy: As I have already written: Quote: | the kernel silently hangs and does not print any error message what file is missing | This also impies, there is no firmware error.
@chithanh: If the R9 380 requires tonga_k_smc.bin, why does it work then if I include the whole /lib/firmware directory into the initramfs or if I compile amdgpu as a module so it it loads after /lib/firmware becomes available? tonga_k_smc.bin does not exists on my machine. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|