06-26-2020, 12:59 PM
(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