jxself, thanks a lot!
I have compiled last Libre-linux and successfully boot into it. I used only
menuconfig and disabled bluetooth, ipv6, xen, all wifi modules except my
atheros.
But the kernel boot time becomes twice bigger then I had on 4.4.0
Now I have:
$ uname -a
Linux asus 4.17.3-gnu #1 SMP Wed Jun 27 21:09:44 +03 2018 x86_64 x86_64
x86_64 GNU/Linux
$ systemd-analyze
Startup finished in 35.301s (kernel) + 1min 38.982s (userspace) = 2min
14.284s
$ cat /home/user/kernel/mybuild/.config | nc termbin.com 9999
http://termbin.com/xer0
$ dmesg
[ 23.880080] usb 5-2: new full-speed USB device number 2 using xhci_hcd
[ 23.952630] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 23.989023]
3ACPI BIOS Error (bug): Could not resolve [^^^PB2.VGA.AFN7],
AE_NOT_FOUND (20180313/psargs-330)
[ 23.989054] ACPI Error: Method parse/execution failed
\_SB.PCI0.VGA.LCDD._BCM, AE_NOT_FOUND (20180313/psparse-516)
[ 23.991492] ACPI Error: Evaluating _BCM failed (20180313/video-364)
[ 23.993303] input: Video Bus as
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9
But I had on 4.4.0 this:
$ systemd-analyze
Startup finished in 11.933s (kernel) + 5.280s (userspace) = 17.214s
$ cat /boot/config-4.4.0-128-generic | nc termbin.com 9999
http://termbin.com/rf1q
and I had bluetooth errors on boot.
----
I think boot time depends on components that are enabled in 4.17.3 kernel.
Please, let me know how to optimize kernel in my situation?