0

I went to git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu

Then followed the instructions from here askubuntu.com/questions/15093/how-can-i-install-a-bin-file But it didn't work:

$ chmod a+x dcn_3_5_1_dmcub.bin
$ ./dcn_3_5_1_dmcub.bin
bash: ./dcn_3_5_1_dmcub.bin: cannot execute binary file: Exec format error

$ chmod a+x smu_14_0_2.bin $ ./smu_14_0_2.bin bash: ./dcn_3_5_1_dmcub.bin: cannot execute binary file: Exec format error

What can I do to install those two firmwares?

terdon
  • 104,119
Diablo
  • 49

1 Answers1

0

the information in askubuntu.com/questions/15093/how-can-i-install-a-bin-file is wrong, in the sense that it presumes a .bin file is an executable program, whereas .bin files are generally not executable programs. sure, you can use chmod to flag a .bin file as an executable program, but that is like painting "cat" on the side of a donkey and expecting it to keep the mice under control.

you need to go back to where you found "dcn_3_5_1_dmcub.bin" and "smu_14_0_2.bin" and see what instructions are available on the site about having the Linux kernel upload those files to the hardware at boot time. generally, this will involve placing the .bin files somewhere in the /usr/lib/firmware/ directory structure and carrying out 'some operation' to tell the kernel that the firmware is there. what exactly that 'some operation' is will be 100% dependent on the instructions provided by the firmware's author.

you will find further useful information here:

https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/amdgpu-install.html

https://en.wikipedia.org/wiki/AMDgpu_(Linux_kernel_module)

https://www.kernel.org/doc/html/latest/gpu/amdgpu/index.html

https://www.reddit.com/r/linux_gaming/comments/11196yw/do_linux_amd_users_face_any_driver_issues/

https://help.ubuntu.com/community/RestrictedDrivers