An unofficial Debian Installer for Pinebook Pro
#11
(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
— Jeremiah Cornelius
"Be the first person not to do some­thing, that no one has thought of not doing before’’
— Brian Eno, "Oblique Strategies"
  Reply
#12
Nice!
You can find me on IRC, Discord and Twitter


  Reply
#13
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...)
  Reply
#14
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/pineb...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!
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply
#15
(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/pineb...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/p...st-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
  Reply
#16
(12-12-2019, 01:44 AM)e-minguez Wrote: For Manjaro I've seen this https://gitlab.manjaro.org/manjaro-arm/p...st-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.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply
#17
(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/pineb...-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.
  Reply
#18
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.
  Reply
#19
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.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply
#20
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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 62 30,841 02-14-2021, 12:25 PM
Last Post: pmjohann
  OpenMandriva to release ARM builds for PineBook Pro and Pi ludix 6 698 02-13-2021, 04:03 PM
Last Post: ludix
  Keyboard issue: Debian PineSupporter 8 352 02-01-2021, 09:57 PM
Last Post: PineSupporter
  Pinebook Pro wifi not working seyo-iv 1 176 02-01-2021, 11:00 AM
Last Post: seyo-iv
  slarm64 (unofficial slackware) Pinebook Pro RK3399 (aarch64) mara 25 3,466 01-30-2021, 11:03 AM
Last Post: mara
  FLOSS pinebook pro linux set-up misha64 3 1,079 01-14-2021, 04:05 PM
Last Post: kuleszdl
  Debian Bullseye installation Baconomics 3 550 01-07-2021, 01:46 PM
Last Post: kuleszdl
  My Debian journey on the Pinebook Pro schwarzwieweiss 32 3,754 01-07-2021, 09:35 AM
Last Post: schwarzwieweiss
  Armbian for the Pinebook Pro [WIP] Luke 41 13,923 01-06-2021, 06:14 PM
Last Post: Idaho
  Gentoo on Pinebook Pro RELEASE jannik2099 48 28,189 01-03-2021, 06:21 AM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)