PINE64
An unofficial Debian Installer for Pinebook Pro - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: An unofficial Debian Installer for Pinebook Pro (/showthread.php?tid=8487)



RE: An unofficial Debian Installer for Pinebook Pro - Jeremiah Cornelius - 12-09-2019

(12-09-2019, 05:12 AM)danielt Wrote: The kernel is handled by the package manager (it's just a ` make bindeb-pkg` from the kernel build system though) with a tiny hack thrown in  to ensure the kernel is uncompressed when it is installed to /boot (the u-boot distro boot protocol doesn't work with compressed kernels).

However the kernel is just a download rather than a proper apt repo so there is no kernel upgrade path. A PPA is a good idea although hopefully it can be obsoleted even more quickly than my installer: providing the fuel guage driver and the panel-simple update get upstreamed this cycle PPA can be obsolete as soon as Debian adopts v5.6 kernel!

This has me salivating. I'm easily excited, I guess. :-)

-- Jeremiah


RE: An unofficial Debian Installer for Pinebook Pro - Luke - 12-09-2019

Nice!


RE: An unofficial Debian Installer for Pinebook Pro - e-minguez - 12-10-2019

Testing this is the next thing in my to-do list, thanks for the LUKS addition!!!
WRT the packages store, take a look at https://packagecloud.io/ (they have a free tier a little bit hidden, but it is there https://packagecloud.io/pricing/faq#faq7)

Also, I think it would be nice for the already built images (such as the debian official one, or manjaro) to document the 'tuning' aspects to allow users not using those images to tune the system to improve the performance/make things work (such as the firefox tuning, if there are custom udev rules,etc...)


RE: An unofficial Debian Installer for Pinebook Pro - danielt - 12-10-2019

Thanks for the pointer. I'm currently experimenting with build.opensuse.org (which despite the domain name can build Debian packages). I'll post here if I get something working.

If you are interested in the tuning I think everything that is relevant to other distros it is all currently in a single directory:
https://github.com/daniel-thompson/pinebook-pro-debian-installer/tree/master/etc/tmpfiles.d

The tuning is only touching a couple of things (e.g. making sure the system doesn't wedge when you close the lid). I don't want to tune especially hard since, as I mentioned in the README, I'm hoping that eventually the u-boot port for PBP will mature to the point we can all adopt the upstream Debian installer instead!


RE: An unofficial Debian Installer for Pinebook Pro - e-minguez - 12-12-2019

(12-10-2019, 11:08 AM)danielt Wrote: Thanks for the pointer. I'm currently experimenting with build.opensuse.org (which despite the domain name can build Debian packages). I'll post here if I get something working.

If you are interested in the tuning I think everything that is relevant to other distros it is all currently in a single directory:
https://github.com/daniel-thompson/pinebook-pro-debian-installer/tree/master/etc/tmpfiles.d

The tuning is only touching a couple of things (e.g. making sure the system doesn't wedge when you close the lid). I don't want to tune especially hard since, as I mentioned in the README, I'm hoping that eventually the u-boot port for PBP will mature to the point we can all adopt the upstream Debian installer instead!

That's really good, thanks.

My point is to have a place to document all the tweaks included in the different images available ('official' debian, manjaro, etc.)

For Manjaro I've seen this https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-post-install
For the official Debian... well... it is really difficult as there is nothing here https://github.com/mrfixit2001/debian_desktop besides a README

Maybe the wiki is the proper place... so I've added some Manjaro tweaks there


RE: An unofficial Debian Installer for Pinebook Pro - danielt - 12-12-2019

(12-12-2019, 01:44 AM)e-minguez Wrote: For Manjaro I've seen this https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-post-install
For the official Debian... well... it is really difficult as there is nothing here https://github.com/mrfixit2001/debian_desktop besides a README

Maybe the wiki is the proper place... so I've added some Manjaro tweaks there

Cool. Thanks for the heads up.

Looks like the Majaro folks are priming the alsa.state; that's a really neat audio workaround until we can get the ALSA UCM stuff upstreamed! Once I get a kernel repo sorted out (building looks good BTW but I have to build a second kernel now to check that upgrades work) I'll take a look at that.


RE: An unofficial Debian Installer for Pinebook Pro - siemsenit - 12-12-2019

(12-04-2019, 03:34 AM)danielt Wrote: I've recently spent a little while hacking together a quick 'n dirty Debian installer for the Pinebook Pro.

https://github.com/daniel-thompson/pinebook-pro-debian-installer
I love it! Niecly done! I've installed GNOME3 and I am quite suprised about the good performance. Also Wayland seems to be a bit more responsive and  faster than Xorg in general. Mous pointer movement feels mor accurate.


Chromium WebGL Aquarium Demo runs at 6 FPS with default settings, Chromium on Manjaro runs it at 5 FPS :-)
However, sound output throuh the speakers does not work yet, it uses the headphone jack as output regardless of anything plugged in or not. I might git-clone tsys' kernel sources and give it a try.


RE: An unofficial Debian Installer for Pinebook Pro - ha100 - 12-12-2019

hi there,

nice work and thank you. is there something that can be done regarding the boot speed?
 
the original debian img boots up in few seconds but after trying the v5.4 kernel installer the screen is blank for a 60seconds and then starts output the boot sequence. i tried the crypted version and had few errors during the script install sequence, but the system boots. i had to set the boot flag to the partition but am not sure now if it was necessary or i was just too impatient and turned off the machine before the screen started the output. and i haven't managed to get the wpa_supplicant to connect to my wifi yet but i'll have a look at that during the weekend.


RE: An unofficial Debian Installer for Pinebook Pro - danielt - 12-13-2019

Audio should be working buy the DAC is muted by default. You can use alsamixer -D hw:0 to unmute the Left and Right Headphone Mixer DACs. This is what the comments about "priming the ALSA state" are about... if the installer did that then the DACs would be unmuted by default.

The boot time is a more complex issue. AFAIK the slow boot time occurs because u-boot hands some of the cores to Linux when they are running at a very low clock speed. This makes all the kernel operations until the cpufreq driver comes up perform very badly (much of the time you spend waiting with a black screen is simply a decompression algorithm that would normally take less than 2 seconds). I've not looked any further than this just yet... although I did wonder if the best fix might end up in u-boot rather than the kernel anyway.


RE: An unofficial Debian Installer for Pinebook Pro - Hexxeh - 12-14-2019

Has anyone found Bluetooth to work when installed in this way? I had a self-made Ubuntu rootFS I was using with tsys' kernel, which had broken Bluetooth. Tried this installer to see if it worked there, but it's broken in the same way.