Fix for Rockchip devices

This commit is contained in:
Peter Robinson 2020-09-25 16:15:35 +01:00
parent a3f42e242f
commit 5ff500b686
2 changed files with 34 additions and 2 deletions

View File

@ -0,0 +1,28 @@
From 38ea7e821bce1cbf3c8fe4dc044a809301a77f82 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Tue, 22 Sep 2020 12:01:17 +0100
Subject: [PATCH] Include devfreq drivers in initrd
Some SoCs now have drivers that user devfreq in early init and fail
if the drivers are missing so make sure we have them in the initrd.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
modules.d/90kernel-modules/module-setup.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
index 764675eb..3ed749c7 100755
--- a/modules.d/90kernel-modules/module-setup.sh
+++ b/modules.d/90kernel-modules/module-setup.sh
@@ -65,6 +65,7 @@ installkernel() {
_blockfuncs+='|dw_mc_probe|dw_mci_pltfm_register'
instmods \
"=drivers/clk" \
+ "=drivers/devfreq" \
"=drivers/dma" \
"=drivers/extcon" \
"=drivers/gpio" \
--
2.26.2

View File

@ -5,11 +5,11 @@
# strip the automatically generated dep here and instead co-own the
# directory.
%global __requires_exclude pkg-config
%define dist_free_release 61.git20200529
%define dist_free_release 62.git20200529
Name: dracut
Version: 050
Release: %{dist_free_release}%{?dist}.3
Release: %{dist_free_release}%{?dist}
Summary: Initramfs generator using udev
%if 0%{?fedora} || 0%{?rhel}
@ -88,6 +88,7 @@ Patch57: 0057.patch
Patch58: 0058.patch
Patch59: 0059.patch
Patch60: 0060.patch
Patch61: 0001-Include-devfreq-drivers-in-initrd.patch
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
@ -542,6 +543,9 @@ install -m 0755 51-dracut-rescue-postinst.sh $RPM_BUILD_ROOT%{_sysconfdir}/kerne
%endif
%changelog
* Fri Sep 25 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 050-62.git20200529
- Fix for Rockchip devices
* Wed Aug 19 2020 Merlin Mathesius <mmathesi@redhat.com> - 050-61.git20200529.3
- Correct conditionals to drop 51-dracut-rescue-postinst.sh for Fedora and
recent RHEL releases