Add fix for some ARM SBCs

This commit is contained in:
Peter Robinson 2017-10-12 13:06:36 +01:00
parent afa7aa19c7
commit 56abad24b6
2 changed files with 47 additions and 1 deletions

42
0020.patch Normal file
View File

@ -0,0 +1,42 @@
From 82651e9ef3c4c799281ba006f6ef46902e13086f Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Thu, 12 Oct 2017 12:17:41 +0100
Subject: [PATCH] Add rpmsg, hwspinlock and usb/misc for ARM
Some of the more complex devices now need rpmsg and hwspinlock in the early boot
process to start, and these to the initrd, and pull in usb/misc because
apparently non standard usb hubs are a thing.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
modules.d/90kernel-modules/module-setup.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
index c6405e95..076f1e8a 100755
--- a/modules.d/90kernel-modules/module-setup.sh
+++ b/modules.d/90kernel-modules/module-setup.sh
@@ -32,17 +32,20 @@ installkernel() {
"=drivers/clk" \
"=drivers/dma" \
"=drivers/extcon" \
+ "=drivers/hwspinlock" \
"=drivers/i2c/busses" \
"=drivers/mfd" \
"=drivers/phy" \
"=drivers/power" \
"=drivers/regulator" \
+ "=drivers/rpmsg" \
"=drivers/rtc" \
"=drivers/soc" \
"=drivers/usb/chipidea" \
"=drivers/usb/dwc2" \
"=drivers/usb/dwc3" \
"=drivers/usb/host" \
+ "=drivers/usb/misc" \
"=drivers/usb/musb" \
"=drivers/usb/phy" \
"=drivers/scsi/hisi_sas" \
--
2.14.2

View File

@ -14,7 +14,7 @@
%define with_nbd 0
%endif
%define dist_free_release 19.git20171010
%define dist_free_release 20.git20171010
Name: dracut
Version: 046
@ -55,6 +55,7 @@ Patch15: 0015.patch
Patch16: 0017.patch
Patch17: 0018.patch
Patch18: 0019.patch
Patch19: 0020.patch
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
@ -534,6 +535,9 @@ rm -rf -- $RPM_BUILD_ROOT
%endif
%changelog
* Thu Oct 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 046-20
- Add fix for some ARM SBCs
* Tue Oct 10 2017 Harald Hoyer <harald@redhat.com> - 046-19
- git snapshot