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"
#12
Nice!
You can find me on IRC, Discord and Twitter


#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...)
#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
#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
#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
#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.
#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.
#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
#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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 120 05-31-2024, 09:42 AM
Last Post: SynthGal
  Official Debian support moonwalkers 63 54,774 05-16-2024, 11:00 PM
Last Post: rempfer
  Debian on Pinebook Pro u974615 7 1,760 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 2,379 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,488 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,625 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 92,455 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,722 11-23-2023, 07:37 AM
Last Post: KC9UDX
  install debian on pbp jsch 7 4,393 11-22-2023, 04:22 PM
Last Post: TRS-80
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 8,093 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine

Forum Jump:


Users browsing this thread: 2 Guest(s)