kernel build script for latest mainline manjaro kernel
#37
(06-26-2020, 11:51 AM)xmixahlx Wrote: what are the contents of your /boot ?

check boot file, dtb, display, and kernel references.

if you provide steps for rpm i am happy to add to the script.

Sorry, this is my first time compiling a kernel, wanted to learn how to do it.  I just added binrpm-pkg to the none option:

if [ $CROSSBUILD = no ]; then
if [ $MAKEDISTRO = debian ]; then
  make -j `nproc` INITRD=yes KBUILD_IMAGE=arch/arm64/boot/Image bindeb-pkg
fi
if [ $MAKEDISTRO = none ]; then
  make -j `nproc` binrpm-pkg
fi
fi

Under boot there is the old kernel (5.5) and new one i just installed (Image-5.7.0-0.38-1-pinebookpro-hwaccel)

Do I Have to do something like this to boot from it (commented the old 5.5 and added new 5.7 Image)?

## /boot/extlinux/extlinux.conf
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: u-boot-update

default l0
menu title U-Boot menu
prompt 0
timeout 10


label l0
menu label openSUSE-Tumbleweed kernel 5.5.0-pbpro-opensuse-5.5.0
# KERNEL /Image-5.5.0-pbpro-opensuse-5.5.0
# initrd /initrd-5.5.0-pbpro-opensuse-5.5.0
KERNEL /Image-5.7.0-0.38-1-pinebookpro-hwaccel
initrd /initrd-5.7.0-0.38-1-pinebookpro-hwaccel
fdt /rk3399-pinebook-pro.dtb
append root=UUID=499bd8ad-5c87-4a1d-a85a-9f981db2b847 console=ttyS2,1500000n8 console=tty0 rw splash plymouth.ignore-serial-consoles maxcpus=4 coherent_pool=1M

/boot directory:
/boot> ls
boot.readme                              Image-5.5.0-pbpro-opensuse-5.5.0        lost+found                    System.map-5.4.13-1-default
config-5.4.13-1-default                  Image-5.5.0-rc7pbpro-opensuse            rk3399-pinebook-pro.dtb      System.map-5.5.0-pbpro-opensuse-5.5.0
config-5.5.0-pbpro-opensuse-5.5.0        Image-5.7.0-0.38-1-pinebookpro-hwaccel  symtypes-5.4.13-1-64kb.gz    System.map-5.7.0-0.38-1-pinebookpro-hwaccel
config-5.7.0-0.38-1-pinebookpro-hwaccel  Image-5.7.2-1-default                    symtypes-5.4.13-1-default.gz  System.map-5.7.2-1-default
config-5.7.2-1-default                  initrd                                  symtypes-5.7.2-1-64kb.gz      vmlinux-5.4.13-1-default.xz
dtb-5.4.13-1                            initrd-5.4.13-1-default                  symtypes-5.7.2-1-default.gz  vmlinux-5.7.0-0.38-1-pinebookpro-hwaccel.bz2
efi                                      initrd-5.5.0-pbpro-opensuse-5.5.0        symvers-5.4.13-1-default.gz  vmlinux-5.7.2-1-default.xz
extlinux                                initrd-5.5.0-rc7pbpro-opensuse          symvers-5.7.2-1-default.gz
Image                                    initrd-5.7.0-0.38-1-pinebookpro-hwaccel  sysctl.conf-5.4.13-1-default
Image-5.4.13-1-default                  initrd-5.7.2-1-default                  sysctl.conf-5.7.2-1-default


Messages In This Thread
RE: kernel build script for latest mainline manjaro kernel - by ric - 06-26-2020, 12:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Building PPSSPP with Manjaro AUR LivingLinux 0 1,469 06-11-2022, 05:07 PM
Last Post: LivingLinux
  How to update Manjaro to 20.10 pineitup 8 15,178 07-31-2021, 04:44 AM
Last Post: jiyong
  Make your own Manjaro image flatulent_piney 0 3,580 11-07-2020, 03:30 AM
Last Post: flatulent_piney
  Manjaro ARM, Cryptomator, and MEGA Sync dp1kinobe 3 7,886 10-24-2020, 06:38 AM
Last Post: pineitup
  Downgrading packages on Manjaro ARM (on the example of boinc) wrzomar 0 3,723 10-02-2020, 12:20 PM
Last Post: wrzomar
  Freepascal FPC3.20 and Lazarus IDE on Manjaro KDE dieselnutjob 0 3,152 08-02-2020, 06:57 AM
Last Post: dieselnutjob
  Installing WPS Office on Manjaro brent.thierens 5 10,705 07-13-2020, 03:13 AM
Last Post: brent.thierens
  full disk encryption with luks on manjaro xfce limxr 48 75,525 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 8,869 06-23-2020, 12:41 AM
Last Post: pljanson
  mesa-git build script for latest panfrost xmixahlx 28 52,240 06-11-2020, 11:16 PM
Last Post: xmixahlx

Forum Jump:


Users browsing this thread: 5 Guest(s)