postmarketOS/Alpine edge image for the Pinebook Pro
#31
Just installed this build with the latest update. Worked well. What took me the longest was getting the resize_rootfs.sh script. I wish it was included in the build. Besides that, flawless.

Had a small issue related to Alpine - I'm completely new to it - and I wonder if you guys can give me a hand. I upgraded to the latest kernel via apk upgrade -a. I like Gnome so I wanted to get the rest of the gnome apps via apk add gnome-apps and received some messages dealing with "unsatisfiable constrains" dealing mainly with mesa. Is there a way to bypass that without messing up the underlying system and get the rest of the gnome apps installed?

Thanks in advance and thanks @MartijnBraam for the OS port, love it. Keep up the good work!!!
  Reply
#32
For people having "booting up issues", be aware of this issue:

https://gitlab.com/postmarketOS/pmaports..._328120311
  Reply
#33
(04-21-2020, 04:15 PM)anjanmomi Wrote: For people having "booting up issues", be aware of this issue:

https://gitlab.com/postmarketOS/pmaports..._328120311

A fix for that has been merged, if you update you should have u-boot-rockpro64-2020.04-r0. You can update the u-boot on the eMMC by running the "update-u-boot" script as root

(04-21-2020, 08:33 AM)digeratus1. Wrote: Had a small issue related to Alpine - I'm completely new to it - and I wonder if you guys can give me a hand. I upgraded to the latest kernel via apk upgrade -a. I like Gnome so I wanted to get the rest of the gnome apps via apk add gnome-apps and received some messages dealing with "unsatisfiable constrains" dealing mainly with mesa. Is there a way to bypass that without messing up the underlying system and get the rest of the gnome apps installed?

That's a hard problem. I think one of the gnome-apps explicitly depends on another mesa version than what is in postmarketOS which causes this issue. The fix is manually installing the apps you want instead of the metapackage. (The list can be find in dependencies here: https://pkgs.alpinelinux.org/package/edg...gnome-apps)
  Reply
#34
(04-22-2020, 09:17 AM)MartijnBraam Wrote:
(04-21-2020, 04:15 PM)anjanmomi Wrote: For people having "booting up issues", be aware of this issue:

https://gitlab.com/postmarketOS/pmaports..._328120311

A fix for that has been merged, if you update you should have u-boot-rockpro64-2020.04-r0. You can update the u-boot on the eMMC by running the "update-u-boot" script as root

(04-21-2020, 08:33 AM)digeratus1. Wrote: Had a small issue related to Alpine - I'm completely new to it - and I wonder if you guys can give me a hand. I upgraded to the latest kernel via apk upgrade -a. I like Gnome so I wanted to get the rest of the gnome apps via apk add gnome-apps and received some messages dealing with "unsatisfiable constrains" dealing mainly with mesa. Is there a way to bypass that without messing up the underlying system and get the rest of the gnome apps installed?

That's a hard problem. I think one of the gnome-apps explicitly depends on another mesa version than what is in postmarketOS which causes this issue. The fix is manually installing the apps you want instead of the metapackage. (The list can be find in dependencies here: https://pkgs.alpinelinux.org/package/edg...gnome-apps)

Thank you. I'll try that out. Any luck with Firefox 75?
  Reply
#35
I figured out how to get Firefox 75 and few other goodies for a minimal desktop until gnome-apps is fully supported with the current mesa library...

Firefox 75
sudo apk --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/edge/community firefox

Gnome Tweaks - dark themes, etc
sudo apk add gnome-tweaks
or
sudo apk --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/edge/community gnome-tweaks

nautilus - Gnome Default File Manager
sudo apk add nautilus
or
sudo apk --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/edge/community nautilus

Wireguard - VPN
sudo apk add wireguard-tools

Hope this helps
  Reply
#36
Hi.


I am using postmarketos with sway since today. All in all it works really well, although there are also a few niggles
I write down here how all worked and how I have installed it and which problems I still have. I have used the PBP and Manjaro to install a sd card with postmarketos / sway.

Installation

As mentioned by Martin, PostmarketOS for PBP is now merged to the standard postmarketos installer.


The install tool for PostmarketOS is pmbootstrap and is build with Python. So you need to have Pythin and pip installed, then you can install the tool with these instructions.

The install guide for postmarketos is here.

In a nutshell you have these commands:



Code:
pmbootstrap pull
pmbootstrap init



Here choose pine64 as manufacturer and pinebookpro as model, most of the other questions can stay default, for the user interface choose sway.

As postmarketos gets installed on a sd card, now is the time to pop one in.

the command lsblk gets you the name of the sd card. Basically not the one that has "/" on one line, the other one. The size is also a good hint.
In my case on Manjaro the name of the sd card was mmcblk1. With that the command to install on the sd card is:


Code:
pmbootstrap install --sdcard


After the installation, reboot.


The Mod key is the Pine key <pine>.


Terminal

<Pine> + Enter does not work to start a terminal.
Alacritty is set up as default terminal and  not installed 

After installing alacritty this error comes up on startup:

Code:
Alacritty encountered an unrecoverable error:

There was an error initializing the shaders: Failed compiling shader at /home/buildozer/aports/community/alacritty/src/alacritty-0.4.2/alacritty/../res/text.v.glsl: 0:14(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

Work around: use Ctrl+Alt+F2 to get to a tty terminal, install dmenu (see bellow) and then use urxvt as terminal

Wifi
To turn on Wifi use nmtui

Dmenu

Dmenu is the default to start applications, however it not installed out of the box.

Add dmenu with


Code:
sudo apk add dmenu


and then start applications with <Pine>+d

Graphics

In the forum it is mentioned to install mesa-git-dri-panfrost and mesa-git-dri-kmsro, however I cannot find these packages. When I search for e.g. panfrost I get mesa-git-dri-gallium as search result, not sure why.

From the error message the missing panfrost driver could also be the reason why alacritty crashes (although also in other environments it crashes a lot)

Applications

Currently Firefox (75) and VTE get an error when installing because of a version mismatch for libicuuc.so. That also means that almost all terminals cannot be installed as most are based on VTE amd as alacritty crashes the alternative is urvxt.

work around, although grudgingly: chromium

As terminal I recommend Termite


Code:
sudo apk add termite


On the bright side, Micro my by a long distance preferred terminal editor is available for install, so quickly:

Code:
sudo apt add micro

The version installed is unfortunately an a bit older release candidate with the nervy habit to ask for recovery when started with a file twice, that works, but still, hopefully the latest version will be available soon.

Mouse settings
For a new install you need to copy the defaule settings to |/.config/sway from /etc/sway/config

In the config file is a section called Input configuration with an example.

use swaymsg -t get_inputs to get all input files.

On the Pinebook Pro the touchpad should be called "9610:30:HAILUCK_CO.,LTD_USB_KEYBOARD_Touchpad"




Code:
input "9610:30:HAILUCK_CO.,LTD_USB_KEYBOARD_Touchpad" {

      dwt enabled

      tap enabled

      natural_scroll enabled
[color=#000000][font=monospace, Courier]  }[/font][/color]


Sway works already quite well and with a bit of fine tuning it will be great. I hope the version conflict for Firefox will be resolved soon.
  Reply
#37
Thanks for the summary. Tried it this morning and it was a smooth sailing. Also Firefox installed without issues. Did you try an apk update? 
Also for the terminal I went with termite, which installed quite fine.

Still playing around with it from SD card but it already looks awesome!

If they would offer full disk encryption and install to eMMC I might buy in right away...
  Reply
#38
Yes, today Firefox and Termite work for me too.
  Reply
#39
(01-19-2020, 01:19 AM)anjanmomi Wrote: If you are a new user planning to install this distro, look at alpine's install scripts to change the keyboard mapping (I have an iso pbp) and other things: https://wiki.alpinelinux.org/wiki/Alpine_setup_scripts

Hey, I have tried to run Setup-keymap multiple times with or without sudo to change the ANSI keymap to gb / gb-intl (for the iso version), but it won’t work. Even though it created the keymap file in /etc/keymaps and restarted the service it still seems to use the ANSI keyboard ...

Any advice?

Thanks!
  Reply
#40
Would anyone mind sharing their alsa.conf file? I can't get sound to work for some reason. Or if you have some other way to get it work, please let me know.

Thanks
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  An unofficial Debian Installer for Pinebook Pro danielt 430 151,493 5 hours ago
Last Post: ab1jx
  OpenMandriva to release ARM builds for PineBook Pro and Pi ludix 8 757 Yesterday, 04:38 PM
Last Post: wdt
  Pinebook Pro wifi not working seyo-iv 1 188 02-01-2021, 11:00 AM
Last Post: seyo-iv
  Recalbox Image is available Luke 8 3,903 01-31-2021, 12:00 PM
Last Post: rimaille
  slarm64 (unofficial slackware) Pinebook Pro RK3399 (aarch64) mara 25 3,538 01-30-2021, 11:03 AM
Last Post: mara
  FLOSS pinebook pro linux set-up misha64 3 1,097 01-14-2021, 04:05 PM
Last Post: kuleszdl
  My Debian journey on the Pinebook Pro schwarzwieweiss 32 3,821 01-07-2021, 09:35 AM
Last Post: schwarzwieweiss
  Armbian for the Pinebook Pro [WIP] Luke 41 14,083 01-06-2021, 06:14 PM
Last Post: Idaho
  Gentoo on Pinebook Pro RELEASE jannik2099 48 28,417 01-03-2021, 06:21 AM
Last Post: wdt
Question Help: Pinebook Pro will not enter sleep [Manjaro 20.04] EverythingIsInput 48 17,462 12-30-2020, 09:08 AM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)