From 5ff500b6862e880b76b4f5478e59a1dfa35c6d07 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sep 25 2020 15:15:35 +0000 Subject: Fix for Rockchip devices --- diff --git a/0001-Include-devfreq-drivers-in-initrd.patch b/0001-Include-devfreq-drivers-in-initrd.patch new file mode 100644 index 0000000..8f4fc4a --- /dev/null +++ b/0001-Include-devfreq-drivers-in-initrd.patch @@ -0,0 +1,28 @@ +From 38ea7e821bce1cbf3c8fe4dc044a809301a77f82 Mon Sep 17 00:00:00 2001 +From: Peter Robinson +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 +--- + 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 + diff --git a/dracut.spec b/dracut.spec index ba72176..bcbebe2 100644 --- a/dracut.spec +++ b/dracut.spec @@ -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 - 050-62.git20200529 +- Fix for Rockchip devices + * Wed Aug 19 2020 Merlin Mathesius - 050-61.git20200529.3 - Correct conditionals to drop 51-dracut-rescue-postinst.sh for Fedora and recent RHEL releases