2021-09-01 13:58:45 +02:00
|
|
|
[![Galaxy](https://github.com/roles-ansible/ansible_role_amdgpu_firmware/raw/main/.github/galaxy.svg)](https://galaxy.ansible.com/do1jlr/amdgpu_firmware)
|
|
|
|
[![License](https://github.com/roles-ansible/ansible_role_amdgpu_firmware/raw/main/.github/license.svg)](https://github.com/roles-ansible/ansible_role_amdgpu_firmware/blob/main/LICENSE)
|
2021-09-01 11:05:52 +02:00
|
|
|
|
2021-09-01 13:58:45 +02:00
|
|
|
ansible role amdgpu_firmware
|
2021-09-01 03:00:02 +02:00
|
|
|
===============================
|
|
|
|
|
2021-09-01 13:58:45 +02:00
|
|
|
Ansible role to install some missing ``amdgpu`` Firmware for my AMD Leneovo Thinkpad *(``L14``)*.
|
2021-09-01 03:00:02 +02:00
|
|
|
|
|
|
|
This role is only running at:
|
|
|
|
```yaml
|
|
|
|
when:
|
2021-09-01 15:58:02 +02:00
|
|
|
- ansible_processor[1] == 'AuthenticAMD'
|
2021-09-01 03:00:02 +02:00
|
|
|
```
|
|
|
|
|
2021-09-01 14:15:26 +02:00
|
|
|
+ It will download the defined Firmware Files from the ``amdgpu__firmware`` variable.
|
2021-09-01 11:05:52 +02:00
|
|
|
+ Then we run ``update-initramfs -k all -u``.
|
2021-09-01 03:00:02 +02:00
|
|
|
|
|
|
|
You can change the downloaded firmware file names by modifying the default variables.
|
2021-09-01 11:05:52 +02:00
|
|
|
|
|
|
|
Optionally you can perform a simple versionscheck, that can prevent you from running a older version of this role accidentially.
|
|
|
|
|
|
|
|
Variables
|
|
|
|
-----------
|
|
|
|
```yaml
|
|
|
|
---
|
2021-09-01 15:58:02 +02:00
|
|
|
# define download url prefix
|
|
|
|
amdgpu__download_prefix: 'https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain'
|
|
|
|
|
|
|
|
# define firmware list
|
|
|
|
amdgpu__firmware:
|
|
|
|
- 'amdgpu/vangogh_toc.bin'
|
|
|
|
- 'amdgpu/vangogh_asd.bin'
|
|
|
|
- 'amdgpu/navy_flounder_ta.bin'
|
|
|
|
- 'amdgpu/navy_flounder_sos.bin'
|
|
|
|
- 'amdgpu/vangogh_rlc.bin'
|
|
|
|
- 'amdgpu/vangogh_mec2.bin'
|
|
|
|
- 'amdgpu/vangogh_mec.bin'
|
|
|
|
- 'amdgpu/vangogh_me.bin'
|
|
|
|
- 'amdgpu/vangogh_pfp.bin'
|
|
|
|
- 'amdgpu/vangogh_ce.bin'
|
|
|
|
- 'amdgpu/navy_flounder_rlc.bin'
|
|
|
|
- 'amdgpu/navy_flounder_mec2.bin'
|
|
|
|
- 'amdgpu/navy_flounder_mec.bin'
|
|
|
|
- 'amdgpu/navy_flounder_me.bin'
|
|
|
|
- 'amdgpu/navy_flounder_pfp.bin'
|
|
|
|
- 'amdgpu/navy_flounder_ce.bin'
|
|
|
|
- 'amdgpu/vangogh_sdma.bin'
|
|
|
|
- 'amdgpu/navy_flounder_sdma.bin'
|
|
|
|
- 'amdgpu/vangogh_vcn.bin'
|
|
|
|
- 'amdgpu/navy_flounder_vcn.bin'
|
|
|
|
- 'amdgpu/arcturus_vcn.bin'
|
|
|
|
- 'amdgpu/navy_flounder_smc.bin'
|
|
|
|
- 'amdgpu/arcturus_smc.bin'
|
|
|
|
- 'amdgpu/vangogh_dmcub.bin'
|
|
|
|
- 'amdgpu/navy_flounder_dmcub.bin'
|
|
|
|
|
|
|
|
amdgpu__path_prefix: '/lib/firmware'
|
|
|
|
amdgpu__path_suffix: 'amdgpu'
|
2021-09-01 11:05:52 +02:00
|
|
|
|
|
|
|
# should we do a version check? (true is recomended)
|
|
|
|
submodules_versioncheck: false
|
|
|
|
```
|