From 56abad24b689def63d3d2997235e6151cd66267f Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 12 Oct 2017 13:06:36 +0100 Subject: [PATCH] Add fix for some ARM SBCs --- 0020.patch | 42 ++++++++++++++++++++++++++++++++++++++++++ dracut.spec | 6 +++++- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 0020.patch diff --git a/0020.patch b/0020.patch new file mode 100644 index 0000000..6e54cfe --- /dev/null +++ b/0020.patch @@ -0,0 +1,42 @@ +From 82651e9ef3c4c799281ba006f6ef46902e13086f Mon Sep 17 00:00:00 2001 +From: Peter Robinson +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 +--- + 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 + diff --git a/dracut.spec b/dracut.spec index 36ae42d..bd91902 100644 --- a/dracut.spec +++ b/dracut.spec @@ -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 046-20 +- Add fix for some ARM SBCs + * Tue Oct 10 2017 Harald Hoyer - 046-19 - git snapshot