An unofficial Debian Installer for Pinebook Pro
(01-25-2020, 05:41 PM)Der Geist der Maschine Wrote: My kernel was half the size of Daniel's kernel. That made me realize that mine was compressed while his was not.

I assume that's why uboot refused to boot it and moved on to the next kernel in the extlinux.conf list.

Now that I uncompressed my kernel, a boot ends up in a black screen. I assume Daniel put some magic into his kernel deb.

Sort of. There is an environment variable that controls which kernel image goes into the deb and it needs to be set to point to an uncompressed image (as it happens I *did* have to add some code for get KBUILD_IMAGE to work on the openbuildservice but it is not needed for local builds).

Try something like:

Code:
make  KBUILD_IMAGE=arch/arm64/boot/Image bindeb-pkg

Note that if you have already built a kernel then you don't have to build the kernel again, you can simply uncompress it:

Code:
sudo mv vmlinuz-$ver vmlinuz-$ver.gz
sudo gunzip vmlinuz-$ver.gz

(01-26-2020, 06:24 PM)Jeremiah Cornelius Wrote: @danielt is your kernel config shared anywhere here? I'd like to repro it exactly, with the addition to run armhf binaries when making.
Thanks!

Depends how exact you want to be!

As mentioned in a previous post https://forum.pine64.org/showthread.php?...7#pid56887 I don't want my kernel tree to distract attention from Thomas' since it simply fragments the community (that post also shows how I build the kernel).

However neither do I want to be secretive, especially since the kernel config is included in the kernel itself (try: gunzip -c /proc/kconfig.gz ). Should you ever need it the exact sources can be found on the openbuildservice: https://build.opensuse.org/package/show/...elthompson .

(01-26-2020, 04:03 AM)as400 Wrote: Regarding cpus.
Can anyone point me to a working method of bringing big cores back online manually ?

If I do ”echo 1 >” I get input/output error.

Big cores are brought back online (as root) with:


Code:
echo 1 > /sys/devices/system/cpu/cpu4/online
echo 1 > /sys/devices/system/cpu/cpu5/online


If you get input/output errors when running the above as root then check the dmesg log to see if there are any extra details (especially if you are running a self-compiled kernel).
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Messages In This Thread
RE: An unofficial Debian Installer for Pinebook Pro - by danielt - 01-27-2020, 03:18 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
  Debian on Pinebook Pro u974615 7 1,042 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 1,615 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,157 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,232 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 89,027 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,249 11-23-2023, 07:37 AM
Last Post: KC9UDX
  install debian on pbp jsch 7 4,052 11-22-2023, 04:22 PM
Last Post: TRS-80
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,443 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 5,285 08-31-2023, 04:20 PM
Last Post: TRS-80
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 1,487 08-08-2023, 04:58 AM
Last Post: moobythegoldensock

Forum Jump:


Users browsing this thread: 9 Guest(s)