Stable 4.18.7 kernel mit Hardware Crypto Speedup



  • Moin,

    da ayufan leider etwas die Updates vernachlässigt hat, gibt's hier einen aktuellen stable 4.18.7 kernel.
    Zusätzlich habe ich noch diverse Hardware Crypto Features aktiviert, die den Durchsatz ordentlich beschleunigen:

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 4.18.7-77192-gbef6e081f1f8 (root@rockpro64) (gcc version 8.2.0 (Debian 8.2.0-5)) #8 SMP PREEMPT Thu Sep 13 00:11:48 UTC 2018
    [    0.000000] Machine model: Pine64 RockPro64
    ...
    [    0.358223] xor: measuring software checksum speed
    [    0.398670]    8regs     :  1187.000 MB/sec
    [    0.438888]    8regs_prefetch:  1026.000 MB/sec
    [    0.479114]    32regs    :  1362.000 MB/sec
    [    0.519357]    32regs_prefetch:  1154.000 MB/sec
    [    0.519376] xor: using function: 32regs (1362.000 MB/sec)
    [    0.519421] pinctrl core: initialized pinctrl subsystem
    [    0.523098] DMI not present or invalid.
    [    0.524932] NET: Registered protocol family 16
    [    0.531218] audit: initializing netlink subsys (disabled)
    [    0.533366] audit: type=2000 audit(0.524:1): state=initialized audit_enabled=0 res=1
    [    0.539412] cpuidle: using governor menu
    [    0.541277] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
    [    0.541502] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.555115] DMA: preallocated 1024 KiB pool for atomic allocations
    [    0.558604] Serial: AMBA PL011 UART driver
    [    0.681299] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.682752] cryptd: max_cpu_qlen set to 1000
    [    0.749881] raid6: int64x1  gen()   216 MB/s
    [    0.818665] raid6: int64x1  xor()   222 MB/s
    [    0.887590] raid6: int64x2  gen()     8 MB/s
    [    0.954840] raid6: int64x2  xor()   295 MB/s
    [    1.023223] raid6: int64x4  gen()   485 MB/s
    [    1.091664] raid6: int64x4  xor()   367 MB/s
    [    1.160104] raid6: int64x8  gen()   580 MB/s
    [    1.228504] raid6: int64x8  xor()   378 MB/s
    [    1.296926] raid6: neonx1   gen()   375 MB/s
    [    1.365346] raid6: neonx1   xor()   436 MB/s
    [    1.433830] raid6: neonx2   gen()   564 MB/s
    [    1.502235] raid6: neonx2   xor()   583 MB/s
    [    1.570656] raid6: neonx4   gen()   739 MB/s
    [    1.639065] raid6: neonx4   xor()   707 MB/s
    [    1.707549] raid6: neonx8   gen()   776 MB/s
    [    1.775934] raid6: neonx8   xor()   728 MB/s
    [    1.775960] raid6: using algorithm neonx8 gen() 776 MB/s
    [    1.775981] raid6: .... xor() 728 MB/s, rmw enabled
    [    1.776012] raid6: using neon recovery algorithm
    

    Die Sourcen sind hier:
    https://github.com/ddimension/linux-mainline-kernel/tree/rockchip
    Nach dem Auschecken:

    cp rockpro64.config .config
    make oldconfig
    make -j6 Image.gz modules dtbs
    make modules_install
    

    Version notieren und in Variable VERSION ablegen.

    make dtbs_install
    cp arch/arm64/boot/Image /boot/vmlinuz-$VERSION
    cp System.map /boot/System.map-$VERSION
    cp .config /boot/config-$VERSION
    mkinitramfs -o /boot/initrd.img-$VERSION $VERSION
    update_extlinux.sh
    

    Leider hat der Kernel immer noch folgende Probleme.
    -USB Type C läuft nicht
    -SAMSUNG SSD an Sata Karte läuft instabil (USB3 UAS Adapter läuft super!)
    -Reboot mit PCIE läuft nicht

    P.S.: Ich betreibe meinen rockpro64 als 3. glusterfs node und die Performance ist einfach unschlagbar.

    Schade ist, dass sich aktuell wohl keiner um die Integration schert. Siehe:
    https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/log/?h=for-next
    RockPro64 fehlt ...

    Vielen Dank übrigens an Frank. Dieses Forum und seine Einträge haben mir sehr beim Einstieg geholfen.

    Viel Spass und Grüße,

    André



  • Hallo @av ,

    willkommen in meinem kleinen Forum, für mich mehr ein Notizbuch 😉 Umso mehr freue ich mich, wenn sich mal jemand verläuft 🙂

    Kamil soll irgendwie in Urlaub sein und hat letztens noch geschrieben, das er nächste Woche wieder dran arbeiten will. Finde die Entwicklung aktuell auch nicht so toll, weil der ein oder andere Fehler müsste mal langsam raus. Aber, für ein kleines NAS ist ja soweit alles funktional.

    Meines läuft gut, ein kleines Problem letztens beim Booten, da ist mir eine SATA HDD flöten gegangen. Warum? Konnte nichts finden - reboot - läuft wieder. Mal beobachten.

    Ich schau mir morgen mal deinen Kernel an.



  • Hi!

    Ja mir ist dein NAS Projekt aufgefallen, und dass beim Booten zwischen dem 4.4er Kernel und dem 4.18er ein Unterschied beim dem RAID Cryptobenchmark ist.
    Meine Erfahrung ist, dass das Schreiben der Daten mit dem 4.18 wesentlich gleichmäßiger abläuft, vor allem wenn der Cache voll ist und Ethernet mit 90% ausgelastet ist.

    Grüße,

    André



  • Und GlusterFS mußte ich erstmal googlen 🙂 Sehr interessant.



  • @av sagte in Stable 4.18.7 kernel mit Hardware Crypto Speedup:

    Version notieren und in Variable VERSION ablegen.

    Ab hier komme ich nicht mehr weiter. Welche Version?? Ich habe einfach mal 4.18.7 rein getan. Scheint aber nicht zu klappen.

     rock64@rockpro64v_2_1:~/linux-mainline-kernel$ sudo mkinitramfs -o /boot/initrd.img-4.18.7 4.18.7
     WARNING: missing /lib/modules/4.18.7
     Ensure all necessary drivers are built into the linux image!
     depmod: ERROR: could not open directory /lib/modules/4.18.7: No such file or directory
     depmod: FATAL: could not search modules: No such file or directory
     cryptsetup: WARNING: could not determine root device from /etc/fstab
     depmod: WARNING: could not open /var/tmp/mkinitramfs_fHUQK3/lib/modules/4.18.7/modules.order: No such file or directory
     depmod: WARNING: could not open /var/tmp/mkinitramfs_fHUQK3/lib/modules/4.18.7/modules.builtin: No such file or directory
    

    I need help 🙂



  • Was habe ich gemacht?

    rock64@rockpro64v_2_1:~$ git clone https://github.com/ddimension/linux-mainline-kernel/
    Cloning into 'linux-mainline-kernel'...
    remote: Counting objects: 6142369, done.
    remote: Compressing objects: 100% (1098/1098), done.
    remote: Total 6142369 (delta 976), reused 379 (delta 379), pack-reused 6140892
    Receiving objects: 100% (6142369/6142369), 2.10 GiB | 5.97 MiB/s, done.
    Resolving deltas: 100% (5111522/5111522), done.
    Checking out files: 100% (61015/61015), done.
    

    Danach

    rock64@rockpro64v_2_1:~$ cd linux-mainline-kernel/
    

    Schritt 1

    rock64@rockpro64v_2_1:~/linux-mainline-kernel$ cp rockpro64.config .config
    

    Schritt 2

    rock64@rockpro64v_2_1:~/linux-mainline-kernel$ make oldconfig
    

    Doch das schmeißt Fehler raus.

    /bin/sh: 1: bison: not found
    

    Also nachinstallieren

    rock64@rockpro64v_2_1:~/linux-mainline-kernel$ sudo apt-get install bison -y
    rock64@rockpro64v_2_1:~/linux-mainline-kernel$ sudo apt-get install byacc -y
    

    Danach fehlt noch was

    /bin/sh: 1: flex: not found
    

    Also

     rock64@rockpro64v_2_1:~/linux-mainline-kernel$ sudo apt-get install flex
    

    Danach klappt alles 🙂

     rock64@rockpro64v_2_1:~/linux-mainline-kernel$ make oldconfig
       LEX     scripts/kconfig/zconf.lex.c
       HOSTCC  scripts/kconfig/zconf.tab.o
       HOSTLD  scripts/kconfig/conf
     scripts/kconfig/conf  --oldconfig Kconfig
     #
     # configuration written to .config
     #
    

    Schritt 3

    rock64@rockpro64v_2_1:~/linux-mainline-kernel$ make -j6 Image.gz modules dtbs
    

    Dann könnt ihr Kaffee trinken gehen....

     scripts/kconfig/conf  --syncconfig Kconfig
       WRAP    arch/arm64/include/generated/uapi/asm/errno.h
       WRAP    arch/arm64/include/generated/uapi/asm/ioctl.h
       WRAP    arch/arm64/include/generated/uapi/asm/ioctls.h
       WRAP    arch/arm64/include/generated/uapi/asm/ipcbuf.h
       WRAP    arch/arm64/include/generated/uapi/asm/kvm_para.h
       WRAP    arch/arm64/include/generated/uapi/asm/mman.h
       WRAP    arch/arm64/include/generated/uapi/asm/msgbuf.h
       WRAP    arch/arm64/include/generated/uapi/asm/poll.h
       WRAP    arch/arm64/include/generated/uapi/asm/resource.h
       WRAP    arch/arm64/include/generated/uapi/asm/sembuf.h
       WRAP    arch/arm64/include/generated/uapi/asm/shmbuf.h
       WRAP    arch/arm64/include/generated/uapi/asm/socket.h
       WRAP    arch/arm64/include/generated/uapi/asm/sockios.h
       WRAP    arch/arm64/include/generated/uapi/asm/swab.h
       WRAP    arch/arm64/include/generated/uapi/asm/termbits.h
       WRAP    arch/arm64/include/generated/uapi/asm/termios.h
       WRAP    arch/arm64/include/generated/uapi/asm/types.h
       UPD     include/generated/uapi/linux/version.h
       HOSTCC  scripts/basic/bin2c
       WRAP    arch/arm64/include/generated/asm/bugs.h
       WRAP    arch/arm64/include/generated/asm/delay.h
       WRAP    arch/arm64/include/generated/asm/div64.h
       WRAP    arch/arm64/include/generated/asm/dma.h
       WRAP    arch/arm64/include/generated/asm/dma-contiguous.h
       WRAP    arch/arm64/include/generated/asm/early_ioremap.h
       WRAP    arch/arm64/include/generated/asm/emergency-restart.h
       WRAP    arch/arm64/include/generated/asm/hw_irq.h
       WRAP    arch/arm64/include/generated/asm/irq_regs.h
       WRAP    arch/arm64/include/generated/asm/kdebug.h
       WRAP    arch/arm64/include/generated/asm/kmap_types.h
       WRAP    arch/arm64/include/generated/asm/local.h
       WRAP    arch/arm64/include/generated/asm/local64.h
       WRAP    arch/arm64/include/generated/asm/mcs_spinlock.h
       WRAP    arch/arm64/include/generated/asm/mm-arch-hooks.h
       WRAP    arch/arm64/include/generated/asm/msi.h
       WRAP    arch/arm64/include/generated/asm/preempt.h
       WRAP    arch/arm64/include/generated/asm/qrwlock.h
       WRAP    arch/arm64/include/generated/asm/rwsem.h
       WRAP    arch/arm64/include/generated/asm/segment.h
       WRAP    arch/arm64/include/generated/asm/serial.h
       WRAP    arch/arm64/include/generated/asm/set_memory.h
       WRAP    arch/arm64/include/generated/asm/sizes.h
       WRAP    arch/arm64/include/generated/asm/switch_to.h
       WRAP    arch/arm64/include/generated/asm/trace_clock.h
       WRAP    arch/arm64/include/generated/asm/unaligned.h
       WRAP    arch/arm64/include/generated/asm/user.h
       WRAP    arch/arm64/include/generated/asm/vga.h
       WRAP    arch/arm64/include/generated/asm/xor.h
       HOSTCC  scripts/dtc/dtc.o
       CC      scripts/mod/empty.o
       HOSTCC  scripts/mod/mk_elfconfig
       HOSTCC  scripts/dtc/flattree.o
       CC      scripts/mod/devicetable-offsets.s
       MKELF   scripts/mod/elfconfig.h
       HOSTCC  scripts/mod/modpost.o
       UPD     scripts/mod/devicetable-offsets.h
       HOSTCC  scripts/kallsyms
       HOSTCC  scripts/selinux/genheaders/genheaders
       HOSTCC  scripts/dtc/fstree.o
       HOSTCC  scripts/dtc/data.o
       HOSTCC  scripts/dtc/livetree.o
       HOSTCC  scripts/selinux/mdp/mdp
       HOSTCC  scripts/mod/sumversion.o
       HOSTCC  scripts/dtc/treesource.o
       HOSTCC  scripts/dtc/srcpos.o
       HOSTCC  scripts/mod/file2alias.o
       HOSTCC  scripts/dtc/checks.o
       HOSTCC  scripts/pnmtologo
       HOSTCC  scripts/dtc/util.o
       HOSTLD  scripts/mod/modpost
       HOSTCC  scripts/conmakehash
       HOSTCC  scripts/sortextable
       HOSTCC  scripts/asn1_compiler
       LEX     scripts/dtc/dtc-lexer.lex.c
       YACC    scripts/dtc/dtc-parser.tab.h
       YACC    scripts/dtc/dtc-parser.tab.c
       HOSTCC  scripts/dtc/dtc-lexer.lex.o
       HOSTCC  scripts/dtc/dtc-parser.tab.o
       UPD     include/config/kernel.release
       UPD     include/generated/utsrelease.h
       CC      kernel/bounds.s
       UPD     include/generated/timeconst.h
       UPD     include/generated/bounds.h
       CC      arch/arm64/kernel/asm-offsets.s
       UPD     include/generated/asm-offsets.h
       CALL    scripts/checksyscalls.sh
       HOSTLD  scripts/dtc/dtc
     <stdin>:1335:2: warning: #warning syscall rseq not implemented [-Wcpp]
       LDS     arch/arm64/kernel/vdso/vdso.lds
       VDSOA   arch/arm64/kernel/vdso/gettimeofday.o
       VDSOA   arch/arm64/kernel/vdso/note.o
       VDSOA   arch/arm64/kernel/vdso/sigreturn.o
       VDSOL   arch/arm64/kernel/vdso/vdso.so.dbg
       VDSOSYM include/generated/vdso-offsets.h
       CHK     include/generated/compile.h
    

    Schritt 4

     rock64@rockpro64v_2_1:~/linux-mainline-kernel$ sudo make dtbs_install
    

    Ausgabe:

     [sudo] password for rock64: 
     make[2]: Nothing to be done for '__dtbs_install'.
       INSTALL arch/arm64/boot/dts/al/alpine-v2-evp.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-cc.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dtb
       INSTALL arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dtb
       INSTALL arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dtb
       INSTALL arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dtb
       INSTALL arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dtb
       INSTALL arch/arm64/boot/dts/amd/amd-overdrive.dtb
       INSTALL arch/arm64/boot/dts/amd/husky.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-axg-s400.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-meta.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-pro.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-telos.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxl-s905x-hwacom-amazetv.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxm-q200.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxm-q201.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dtb
       INSTALL arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dtb
       INSTALL arch/arm64/boot/dts/apm/apm-merlin.dtb
       INSTALL arch/arm64/boot/dts/apm/apm-mustang.dtb
       INSTALL arch/arm64/boot/dts/arm/foundation-v8-gicv3-psci.dtb
       INSTALL arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtb
       INSTALL arch/arm64/boot/dts/arm/foundation-v8-psci.dtb
       INSTALL arch/arm64/boot/dts/arm/foundation-v8.dtb
       INSTALL arch/arm64/boot/dts/arm/juno-r1.dtb
       INSTALL arch/arm64/boot/dts/arm/juno-r2.dtb
       INSTALL arch/arm64/boot/dts/arm/juno.dtb
       INSTALL arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dtb
       INSTALL arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dtb
       INSTALL arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b-plus.dtb
       INSTALL arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dtb
       INSTALL arch/arm64/boot/dts/broadcom/northstar2/ns2-svk.dtb
       INSTALL arch/arm64/boot/dts/broadcom/northstar2/ns2-xmc.dtb
       INSTALL arch/arm64/boot/dts/broadcom/stingray/bcm958742k.dtb
       INSTALL arch/arm64/boot/dts/broadcom/stingray/bcm958742t.dtb
       INSTALL arch/arm64/boot/dts/cavium/thunder-88xx.dtb
       INSTALL arch/arm64/boot/dts/cavium/thunder2-99xx.dtb
       INSTALL arch/arm64/boot/dts/exynos/exynos5433-tm2.dtb
       INSTALL arch/arm64/boot/dts/exynos/exynos5433-tm2e.dtb
       INSTALL arch/arm64/boot/dts/exynos/exynos7-espresso.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dtb
       INSTALL arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dtb
       INSTALL arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dtb
       INSTALL arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dtb
       INSTALL arch/arm64/boot/dts/hisilicon/hi6220-hikey.dtb
       INSTALL arch/arm64/boot/dts/hisilicon/hip05-d02.dtb
       INSTALL arch/arm64/boot/dts/hisilicon/hip06-d03.dtb
       INSTALL arch/arm64/boot/dts/hisilicon/hip07-d05.dtb
       INSTALL arch/arm64/boot/dts/lg/lg1312-ref.dtb
       INSTALL arch/arm64/boot/dts/lg/lg1313-ref.dtb
       INSTALL arch/arm64/boot/dts/marvell/armada-3720-db.dtb
       INSTALL arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb
       INSTALL arch/arm64/boot/dts/marvell/armada-7040-db.dtb
       INSTALL arch/arm64/boot/dts/marvell/armada-8040-db.dtb
       INSTALL arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtb
       INSTALL arch/arm64/boot/dts/marvell/armada-8080-db.dtb
       INSTALL arch/arm64/boot/dts/mediatek/mt2712-evb.dtb
       INSTALL arch/arm64/boot/dts/mediatek/mt6755-evb.dtb
       INSTALL arch/arm64/boot/dts/mediatek/mt6795-evb.dtb
       INSTALL arch/arm64/boot/dts/mediatek/mt6797-evb.dtb
       INSTALL arch/arm64/boot/dts/mediatek/mt7622-rfb1.dtb
       INSTALL arch/arm64/boot/dts/mediatek/mt8173-evb.dtb
       INSTALL arch/arm64/boot/dts/nvidia/tegra132-norrin.dtb
       INSTALL arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dtb
       INSTALL arch/arm64/boot/dts/nvidia/tegra210-p2371-0000.dtb
       INSTALL arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dtb
       INSTALL arch/arm64/boot/dts/nvidia/tegra210-p2571.dtb
       INSTALL arch/arm64/boot/dts/nvidia/tegra210-smaug.dtb
       INSTALL arch/arm64/boot/dts/qcom/apq8016-sbc.dtb
       INSTALL arch/arm64/boot/dts/qcom/apq8096-db820c.dtb
       INSTALL arch/arm64/boot/dts/qcom/ipq8074-hk01.dtb
       INSTALL arch/arm64/boot/dts/qcom/msm8916-mtp.dtb
       INSTALL arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dtb
       INSTALL arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dtb
       INSTALL arch/arm64/boot/dts/qcom/msm8996-mtp.dtb
       INSTALL arch/arm64/boot/dts/qcom/sdm845-mtp.dtb
     make[2]: Nothing to be done for '__dtbs_install'.
       INSTALL arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dtb
       INSTALL arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb.dtb
       INSTALL arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dtb
       INSTALL arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dtb
       INSTALL arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dtb
       INSTALL arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dtb
       INSTALL arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dtb
       INSTALL arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dtb
       INSTALL arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dtb
       INSTALL arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb
       INSTALL arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3328-evb.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3328-rock64.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3368-evb-act8846.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3368-geekbox.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3368-px5-evb.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3368-r88.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3399-evb.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3399-firefly.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dtb
       INSTALL arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtb
       INSTALL arch/arm64/boot/dts/socionext/uniphier-ld11-global.dtb
       INSTALL arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dtb
       INSTALL arch/arm64/boot/dts/socionext/uniphier-ld20-global.dtb
       INSTALL arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dtb
       INSTALL arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dtb
       INSTALL arch/arm64/boot/dts/sprd/sc9836-openphone.dtb
       INSTALL arch/arm64/boot/dts/sprd/sp9860g-1h10.dtb
       INSTALL arch/arm64/boot/dts/synaptics/berlin4ct-dmp.dtb
       INSTALL arch/arm64/boot/dts/synaptics/berlin4ct-stb.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-ep108.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dtb
       INSTALL arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dtb
       INSTALL arch/arm64/boot/dts/zte/zx296718-evb.dtb
       INSTALL arch/arm64/boot/dts/zte/zx296718-pcbox.dtb
    

    Und dann weiß ich nicht mehr weiter...



  • Ich habe mal den André um Hilfe gebeten.

    Hi Frank,

    nach dem Du make modules_install gemacht hast, kommt auf Deinen Bildschirm eine lange Ausgabe. In der letzten Zeile steht die Version:

    ...

    INSTALL sound/core/snd-rawmidi.ko
    INSTALL sound/soc/codecs/snd-soc-es8316.ko
    DEPMOD 4.18.8-77392-ga0ea93f662c5

    Dann in der SHELL:

    VERSION=4.18.8-77392-ga0ea93f662c5

    setzen und dann den Rest ausführen:

    make dtbs_install
    cp arch/arm64/boot/Image /boot/vmlinuz-$VERSION
    cp System.map /boot/System.map-$VERSION
    cp .config /boot/config-$VERSION
    mkinitramfs -o /boot/initrd.img-$VERSION $VERSION
    update_extlinux.sh

    Viel Spass,

    Wie konnte ich das nur übersehen 😀 Dann werden wir das mal Testen.

    Danke @av



  • Nach

    make modules_install
    

    kommt am Ende

    INSTALL net/netfilter/xt_physdev.ko
      INSTALL sound/core/snd-rawmidi.ko
      INSTALL sound/soc/codecs/snd-soc-es8316.ko
      DEPMOD  4.18.8-77394-g8cce48cacf88
    

    Das brauchen wir 😉

    Dann wie vom André geschrieben, einfach weitermachen. Danach neustarten

    sudo reboot
    

    Der neue Kernel wird geladen

     rock64@rockpro64:~$ uname -a
     Linux rockpro64 4.18.8-77394-g8cce48cacf88 #1 SMP PREEMPT Mon Sep 17 18:50:57 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
    

    Ich habe aber zwei Probleme.

    • Ich sehe nicht wo der Kernel schneller sein soll als der vom Kamil!?

    • Bei Updaten mit apt-get upgrade wird in meinen Augen, die falsche initrd.img aktualisiert.

      update-initramfs: deferring update (trigger activated)
      Setting up initramfs-tools (0.130ubuntu3.3) ...
      update-initramfs: deferring update (trigger activated)
      Processing triggers for initramfs-tools (0.130ubuntu3.3) ...
      update-initramfs: Generating /boot/initrd.img-4.4.132-1075-rockchip-ayufan-ga83beded8524
      cryptsetup: WARNING: could not determine root device from /etc/fstab
      

    ABER, ich nix Kernel Guru 🙂

    Vielen Dank André, ich weiß das viele da draußen auf aktuelle Kernels stehen 🙂 Mit deinem haben sie jetzt einen sehr aktuellen Kernel. 4.18.8 ist auf kernel.org ein stable Kernel. Kann man also sehr schön für einen headless Server einsetzen. DANKE!


 

Diese Artikel könnten Dich auch interessieren.