A true mainline Linux Kernel for the Pinebook Pro
#51
Hey all,

I've migrated bluetooth to the hci_uart driver and after hours of debugging managed to get it fully stable. Any stability issues reported with hciattach should be fixed, too.

I might have also fixed the instable WiFi in the process. Please let me know if you do still encounter instabilities.
Manjaro ARM

Kernel dev
Buy me a coffee
#52
(11-16-2019, 01:16 PM)Der Geist der Maschine Wrote:
(11-15-2019, 02:32 PM)DrYak Wrote:
(11-15-2019, 02:01 PM)tsys Wrote:
(11-15-2019, 12:47 PM)Der Geist der Maschine Wrote: What .config did you use?
There is a pinebook_pro_defconfig you can use with
Code:
make pinebook_pro_defconfig

As a reference, hereby attached is the /proc/config.gz of the current kernel version 5.4.0-0.7-MANJARO-ARM (= the .config with which it was compiled).

Thank you tsys and DrYak. I built the kernel (and device tree) with DrYak's .config file. When booting, the screen remains black. Perhaps I would see some logs on the serial console - but I don't have one.

Could I see your extlinux/extlinux.conf?


I give up trying to get the 5.4 kernel booting on Debian. Thanks guys for your suggestions. I hope someone else will be more successful.
#53
(11-23-2019, 05:33 PM)Der Geist der Maschine Wrote:
(11-16-2019, 01:16 PM)Der Geist der Maschine Wrote:
(11-15-2019, 02:32 PM)DrYak Wrote:
(11-15-2019, 02:01 PM)tsys Wrote:
(11-15-2019, 12:47 PM)Der Geist der Maschine Wrote: What .config did you use?
There is a pinebook_pro_defconfig you can use with
Code:
make pinebook_pro_defconfig

As a reference, hereby attached is the /proc/config.gz of the current kernel version 5.4.0-0.7-MANJARO-ARM (= the .config with which it was compiled).

Thank you tsys and DrYak. I built the kernel (and device tree) with DrYak's .config file. When booting, the screen remains black. Perhaps I would see some logs on the serial console - but I don't have one.

Could I see your extlinux/extlinux.conf?


I give up trying to get the 5.4 kernel booting on Debian. Thanks guys for your suggestions. I hope someone else will be more successful.


I've not tried that yet. @manawyrm did though. He might be able to help you.
Manjaro ARM

Kernel dev
Buy me a coffee
#54
(11-23-2019, 05:33 PM)Der Geist der Maschine Wrote: I give up trying to get the 5.4 kernel booting on Debian. Thanks guys for your suggestions. I hope someone else will be more successful.

I'm actively working on getting it working myself. I'm in the same spot as you, except that in a few days I'll have a debugging cable, and I'll be able to see why it's failing. I'll post here if I make any progress.
#55
(11-23-2019, 12:10 PM)tsys Wrote: I might have also fixed the instable WiFi in the process. Please let me know if you do still encounter instabilities.

Saddly, yes.

Arrived back home after a busy week, saw the post at Manjaro about the latest preview, upgraded everything with pacman:
- bluetooth now works (after enabling it in /etc/bluetooth/main.conf), yay!
- and wifi crashed a couple of time (each time I restarted it with the hardware switch + unbind/rebind)
#56
(11-26-2019, 04:24 AM)DrYak Wrote: Saddly, yes.

- and wifi crashed a couple of time (each time I restarted it with the hardware switch + unbind/rebind)

Oh wow. That is very unexpected. I didn't have a single crash since fixing the power sequence.
You might be using different firmware though. I'm currently using https://gitlab.manjaro.org/tsys/pinebook...aster/brcm. Please try that one.
Manjaro ARM

Kernel dev
Buy me a coffee
#57
(11-26-2019, 06:22 AM)tsys Wrote: You might be using different firmware though. I'm currently using https://gitlab.manjaro.org/tsys/pinebook...aster/brcm. Please try that one.

Oh, right. Mine was still the original provided by 'community/ap6256-firmware 2019.08-4'.

I checked your version out. We'll see how it goes.



Seems stable with the latest firmware from Git.
#58
@tsys : One more question regarding the upstream kernel - do you currently enable 32bit userland ?

Would it be possible to run a 32bits chroot (such as the official Debian) for the things which aren't available on aarch64 yet ?
e.g.: Widevine is only available on arm7 exclusively  as of now (Thank you, Google!~~) so chromium in a 32bit chroot is the only possible way to watch Netflix.


All my current attempt end up with:
Code:
$ sudo mount /dev/mmcblk2p2 /mnt/
$ for D in run tmp sys proc dev; do sudo mount -B "/${D}" "/mnt/${D}"; done
$ sudo chroot /mnt
chroot: failed to run command ‘/bin/bash’: Exec format error
...which is the typical error message for wrong arch (running x86_64 userland on i686 kernel).
#59
@tsys & @DrYak, I too would like both 32 and 64 bit userland.

Most everything can stay at 32 bit. But, somethings may work better at one or the other.
--
Arwen Evenstar
Princess of Rivendale
#60
Trying to boot this kernel with the stock Debian image that comes pre-installed. I built the defconfig, copied the Image and DTB onto /boot, modules into /lib/modules. It starts to boot, and then I see serial output, but suddenly after the following, it becomes garbage:

[ 12.051588] OF: graph: no port node found in /i2c@ff3d0000/fusb30x@22
[ 12.065983] OF: graph: no port node found in /i2c@ff3d0000/fusb30x@22/connector
[ 12.068329] OF: graph: no port node found in /i2c@ff3d0000/fusb30x@22/connector

Has anyone else seen this? I'm using the 1500000 baud rate, and that works fine for u-boot output and early kernel output until this point. I've tried a few other common baud rates at this point, but nothing shows reasonable output.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 123 11-10-2024, 02:50 PM
Last Post: Sb2024
  Attempting to install Void Linux, boots into a black screen 9a3eedi 1 1,204 09-28-2024, 09:23 AM
Last Post: throwawayforvoid
  Pinebook pro won't boot after bootloader installation jwensouls 4 943 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Slackware Linux working on PBP vxzero 0 606 06-05-2024, 04:30 PM
Last Post: vxzero
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 403 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 2,903 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,117 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,231 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,514 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 103,949 12-08-2023, 11:25 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 7 Guest(s)