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...