Hello Fabian,
My compilation of the kernel 4.4.2-300 , with the patch went fine . Here is my package list :
user@home1 /home/user/Downloads/ARM_Centos/RPMS $ ls -l total 127920 -rw-rw-r-- 1 user user 49288 Feb 27 20:06 kernel-4.4.2-300.LR1.el7.armv7hl.rpm -rw-rw-r-- 1 user user 87721962 Feb 27 20:06 kernel-4.4.2-300.LR1.el7.src.rpm -rw-rw-r-- 1 user user 18781728 Feb 27 20:07 kernel-core-4.4.2-300.LR1.el7.armv7hl.rpm -rw-rw-r-- 1 user user 10420020 Feb 27 20:08 kernel-devel-4.4.2-300.LR1.el7.armv7hl.rpm -rw-rw-r-- 1 user user 1012436 Feb 27 20:06 kernel-headers-4.4.2-300.LR1.el7.armv7hl.rpm -rw-rw-r-- 1 user user 11841384 Feb 27 20:09 kernel-modules-4.4.2-300.LR1.el7.armv7hl.rpm -rw-rw-r-- 1 user user 925624 Feb 27 20:09 kernel-modules-extra-4.4.2-300.LR1.el7.armv7hl.rpm -rw-rw-r-- 1 user user 105420 Feb 27 20:06 kernel-tools-4.4.2-300.LR1.el7.armv7hl.rpm -rw-rw-r-- 1 user user 65348 Feb 27 20:06 kernel-tools-libs-4.4.2-300.LR1.el7.armv7hl.rpm -rw-rw-r-- 1 user user 52120 Feb 27 20:06 kernel-tools-libs-devel-4.4.2-300.LR1.el7.armv7hl.rpm
I have given it %define buildid .LR1 in the spec , so that I can tell my kernels apart from the originals . However when it came to the installation , I am finding that there must be more steps involved . After installation in my /boot directory I have :
root@bananapi /boot # ls -l total 43611 drwxr-xr-x. 5 root root 1024 Feb 27 09:17 38f5ec9e217b471e8adee477d933f640 -rw-r--r--. 1 root root 171924 Nov 26 00:43 config-4.2.3-200.el7.armv7hl drwxr-xr-x. 2 root root 15360 Dec 3 14:37 dtb-4.2.3-200.el7.armv7hl drwxr-xr-x. 2 root root 1024 Dec 3 14:47 extlinux drwxr-xr-x. 2 root root 1024 Jan 1 1970 grub -rw-r--r--. 1 root root 34922581 Dec 3 14:46 initramfs-4.2.3-200.el7.armv7hl.img -rw-r--r--. 1 root root 592347 Dec 3 14:37 initrd-plymouth.img drwxr-xr-x. 3 root root 1024 Dec 3 14:44 loader drwx------. 2 root root 12288 Dec 3 14:31 lost+found -rw-------. 1 root root 2879429 Nov 26 00:43 System.map-4.2.3-200.el7.armv7hl -rwxr-xr-x. 1 root root 5866104 Nov 26 00:43 vmlinuz-4.2.3-200.el7.armv7hl
Then I did the command : dracut /boot/initramfs-4.4.2-300.LR1.el7.armv7hl.img 4.4.2-300.LR1.el7.armv7hl
which created just the initramfs-4.4.2-300.LR1.el7.armv7hl.img file . Now I have :
root@bananapi /boot # ls -l total 78753 drwxr-xr-x. 5 root root 1024 Feb 27 09:17 38f5ec9e217b471e8adee477d933f640 -rw-r--r--. 1 root root 171924 Nov 26 00:43 config-4.2.3-200.el7.armv7hl drwxr-xr-x. 2 root root 15360 Dec 3 14:37 dtb-4.2.3-200.el7.armv7hl drwxr-xr-x. 2 root root 1024 Dec 3 14:47 extlinux drwxr-xr-x. 2 root root 1024 Jan 1 1970 grub -rw-r--r--. 1 root root 34922581 Dec 3 14:46 initramfs-4.2.3-200.el7.armv7hl.img -rw-r--r--. 1 root root 35842525 Feb 27 09:30 initramfs-4.4.2-300.LR1.el7.armv7hl.img -rw-r--r--. 1 root root 592347 Dec 3 14:37 initrd-plymouth.img drwxr-xr-x. 3 root root 1024 Dec 3 14:44 loader drwx------. 2 root root 12288 Dec 3 14:31 lost+found -rw-------. 1 root root 2879429 Nov 26 00:43 System.map-4.2.3-200.el7.armv7hl -rwxr-xr-x. 1 root root 5866104 Nov 26 00:43 vmlinuz-4.2.3-200.el7.armv7hl
Then I edited the extlinux.conf , and changed the references to the kernel/initrd , followed by systemctl reboot . However the board did not boot . I am sure it is because I am missing : config-4.4.2-300.LR1.el7.armv7hl dtb-4.4.2-300.el7.LR1.armv7hl System.map-4.4.2-300.LR1.el7.armv7hl vmlinuz-4.4.2-300.el7.LR1.armv7hl
My question is how are those files created, and where (which package ) do they come from . Because I need to create them manually .
By the way , I am attaching the switch patch . To me it looks GPL , or GPL like , so I think it should be fine . To answer your question why Fedora has not used it? My guess the expectation would be that someone needs to have it submitted up stream to Linus T, before it can be considered .
Best Regards Milorad
PS Patch is latest pull done today . And it has been zipped up . So if file extension is not zip , just rename it to zip , and should extract fine .