kernel build script for latest mainline manjaro kernel
#3
crosscompile pbp kernel script: (configure VARS for your own usage)
Quote:#!/bin/sh
### LINUX-PINEBOOK-PRO-GIT-CROSSCOMPILE v0.20200607.1701
# execute in clean kernel source directory after placing your .config and applying any patches
## VARS
BUILDCONFIG="ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu-"
KERNELCONFIG="INITRD=yes KBUILD_IMAGE=arch/arm64/boot/Image"
GCCARMDIR=/usr/local/linaro-arm-gcc9
NPROC=10
TCPU=cortex-a72.cortex-a53
TOPTS=+crypto+crc
TARCH=armv8-a
## USE LINARO ARM GCC
# https://developer.arm.com/tools-and-soft.../downloads
# https://developer.arm.com/-/media/Files/...gnu.tar.xz
# untar to GCCARMDIR
export PATH=$GCCARMDIR/bin:$PATH
## CONFIGURE
make -j $NPROC $BUILDCONFIG oldconfig
make -j $NPROC $BUILDCONFIG menuconfig
## BUILD
KCFLAGS="-O2 -pipe -march=$TARCH$TOPTS -mcpu=$TCPU -mtune=$TCPU" \
KCPPFLAGS="-O2 -pipe -march=$TARCH$TOPTS -mcpu=$TCPU -mtune=$TCPU" \
make -j $NPROC $BUILDCONFIG $KERNELCONFIG bindeb-pkg
## EXIT
exit
## INSTALL
# move to pinebook pro and install manually via dpkg
## ENJOY


Messages In This Thread
RE: kernel build script for latest mainline manjaro kernel - by xmixahlx - 02-19-2020, 12:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to update Manjaro to 20.10 pineitup 6 3,069 01-04-2021, 02:00 PM
Last Post: nightranger73
  Make your own Manjaro image flatulent_piney 0 1,053 11-07-2020, 03:30 AM
Last Post: flatulent_piney
  Manjaro ARM, Cryptomator, and MEGA Sync dp1kinobe 3 2,268 10-24-2020, 06:38 AM
Last Post: pineitup
  Downgrading packages on Manjaro ARM (on the example of boinc) wrzomar 0 1,090 10-02-2020, 12:20 PM
Last Post: wrzomar
  Freepascal FPC3.20 and Lazarus IDE on Manjaro KDE dieselnutjob 0 1,039 08-02-2020, 06:57 AM
Last Post: dieselnutjob
  Installing WPS Office on Manjaro brent.thierens 5 3,925 07-13-2020, 03:13 AM
Last Post: brent.thierens
  full disk encryption with luks on manjaro xfce limxr 48 27,937 07-09-2020, 07:27 AM
Last Post: JtR
  Is there a MMC upgrade instruction from debian-mate to manjaro factory (20.06)? pljanson 4 2,920 06-23-2020, 12:41 AM
Last Post: pljanson
  mesa-git build script for latest panfrost xmixahlx 28 21,266 06-11-2020, 11:16 PM
Last Post: xmixahlx
  How to boot Manjaro from NVME with uboot on eMMC as400 47 22,339 06-07-2020, 02:37 AM
Last Post: as400

Forum Jump:


Users browsing this thread: 1 Guest(s)