An unofficial Debian Installer for Pinebook Pro
#74
(01-15-2020, 12:01 PM)bisco Wrote: Hi, thanks for the installer script, that makes installing a nearly pure Debian much easier!

I was trying to build my own kernel based on the posts in this thread, but when cloning https://gitlab.manjaro.org/tsys/linux-pinebook-pro and then running
Code:
make ARCH=arm64 pinebook_pro_defconfig
make KBUILD_IMAGE=arch/arm64/boot/Image bindeb-pkg
there are still a lot of unset kernel options and the config script goes through all of them.
Did you first base the config on the config of the system you built the kernel on and then used the `pinebook_pro_defconfig`?

Currently I do the following to configure:

Code:
make pinebook_pro_defconfig
scripts/config --set-str LOCALVERSION -1-pinebookpro-arm64
scripts/config --enable COMPAT
scripts/config --disable MODULE_COMPRESS
scripts/config --enable PREEMPT
scripts/config --disable HARDEN_EL2_VECTORS
scripts/config --enable RTC_DRV_RK808
make olddefconfig

I think after changes on Thomas' side some of the above will be redundant but I haven't cleaned it up yet. However disabling MODULE_COMPRESS is mandatory for Debian and disabling HARDEN_EL2_VECTORS is needed for the maxcpus=4 boot time workaround to work correctly.

Once configured I build as follows (I adjust KVER by hand at present... but it would script quite easily).

Code:
KVER=5.4.2-1-pinebookpro-arm64
PVER=`git describe | sed -e 's/\(v[0-9]*[.][0-9]*\)-/\1.0-/' -e 's/^v//'-1`
chrt -i 0 make -j nproc \ 
  KERNELRELEASE=KVER KDEB_PKGVERSION=PVER \ 
  KBUILD_IMAGE=arch/arm64/boot/Image \
  deb-pkg

Note that the KVER/PVER stuff is mostly there to ensure the packages can be parallel installed (e.g. if you apt update from my repo it doesn't clobber your existing kernel).

PS I'm happy to point you at my exact kernel sources if you have problems getting something working but, to be honest, putting focus on my kernel is just splitting the development community. Using the Manjaro kernel for your work is, IMHO, better for everyone for now... and you can switch to "real" mainline as soon as Thomas' lands the remaining patches.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Messages In This Thread
RE: An unofficial Debian Installer for Pinebook Pro - by danielt - 01-16-2020, 04:47 AM
First boot - by JaredT66 - 05-19-2020, 09:49 AM
RE: First boot - by carletes - 05-19-2020, 01:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 8 7,685 06-26-2025, 09:20 PM
Last Post: reukiodo
  Boot Order in Pinebook Pro food 11 5,816 03-28-2025, 10:08 AM
Last Post: DrYak
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 650 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 2,504 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Official Debian support moonwalkers 64 79,176 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 924 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 4,905 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 7,552 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 4,574 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 5,252 12-11-2023, 03:47 AM
Last Post: calinb

Forum Jump:


Users browsing this thread: 1 Guest(s)