A true mainline Linux Kernel for the Pinebook Pro
#11
(11-08-2019, 04:39 AM)danielt Wrote: I'll go looking for more clues later today but I just wondered if you have seen anything like this yourself as you've been working.

Yeah, interestingly I had one similar event last evening. Upon starting the X user session from lightdm the eDP link failed and was unable to sync again. Also there seems to be a correlation between enabling i2s0 and i2s2 and failure of the eDP link. Thus I disabled i2s0 and i2s2 in my devicetree. It is happening too seldomly to me to pin it to anything yet though.

EDIT: I've pushed an additional commit to my gitlab branch that slows the display clock a tat. While I don't think it will make any difference you are welcome to test it out.
#12
(11-08-2019, 06:00 AM)tsys Wrote:
(11-08-2019, 04:39 AM)danielt Wrote: I'll go looking for more clues later today but I just wondered if you have seen anything like this yourself as you've been working.

Yeah, interestingly I had one similar event last evening. Upon starting the X user session from lightdm the eDP link failed and was unable to sync again. Also there seems to be a correlation between enabling i2s0 and i2s2 and failure of the eDP link. Thus I disabled i2s0 and i2s2 in my devicetree. It is happening too seldomly to me to pin it to anything yet though.

EDIT: I've pushed an additional commit to my gitlab branch that slows the display clock a tat. While I don't think it will make any difference you are welcome to test it out.

Thanks. I'll do some testing and let you know.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
#13
Two new feature in the mainline kernel as of now:
  • USB-C charging is working (wow, the dt-binding docs of the fusb302 are really shitty)
  • Bootup time reduced from more than 3 minutes to less than 30 seconds through new defconfig
Manjaro ARM

Kernel dev
Buy me a coffee
#14
(11-08-2019, 10:05 AM)tsys Wrote: Two new feature in the mainline kernel as of now:
  • USB-C charging is working (wow, the dt-binding docs of the fusb302 are really shitty)
  • Bootup time reduced from more than 3 minutes to less than 30 seconds through new defconfig

Reduced boot time will be very welcome. I'll grab that in a second..

I didn't see any benefit from the changed display timings, nor from disabling i2s0 and i2s2. However I chased the error message into the code and came up with a simple DT change to get the driver to tolerate a missing HPD signal. I will need to turn on the debug messages to be absolutely sure I'm still reproducing the original problem but in the mean time if anyone else is having this kind of trouble then the following may help:

Code:
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
index 569c1490b024..4df56b48bac4 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
@@ -380,6 +380,7 @@
       status = "okay";
       pinctrl-names = "default";
       pinctrl-0 = <&edp_hpd>;
+       force-hpd;

       ports {
               edp_out: port@1 {
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
#15
(11-08-2019, 01:32 PM)danieltHowever I chased the error message into the code and came up with a simple DT change to get the driver to tolerate a missing HPD signal. I will need to turn on the debug messages to be absolutely sure I\m still reproducing the original problem but in the mean time if anyone else is having this kind of trouble then the following may help: Wrote:
Code:
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
index 569c1490b024..4df56b48bac4 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
@@ -380,6 +380,7 @@
       status = "okay";
       pinctrl-names = "default";
       pinctrl-0 = <&edp_hpd>;
+       force-hpd;

       ports {
               edp_out: port@1 {

Nice find! This might indeed be a problem. HPD of the panel is not connected, so this should probably have been in the devicetree all along. Thanks
Manjaro ARM

Kernel dev
Buy me a coffee
#16
I noticed that the maximum clock is 1.8GHz in the Manjaro build, but the Ubuntu and Debian ones are able to go to 2.02GHz. Can this build be clocked to 2.02GHz as well?
#17
(11-09-2019, 04:59 AM)brent.thierens Wrote: I noticed that the maximum clock is 1.8GHz in the Manjaro build, but the Ubuntu and Debian ones are able to go to 2.02GHz. Can this build be clocked to 2.02GHz as well?

Sure. I've added a 2 GHz operating power point @1.3V. One of the next manjaro builds will probably include this change.
Manjaro ARM

Kernel dev
Buy me a coffee
#18
Major News:

Audio is now working \o/

Was just a simple matter of setting up the iomux correctly
Manjaro ARM

Kernel dev
Buy me a coffee
#19
(11-09-2019, 09:23 AM)tsys Wrote: Major News:

Audio is now working \o/

Was just a simple matter of setting up the iomux correctly

Awesome! 

Preview 2 later today? Wink
A64, SOPINE, Rock64, RockPro64, Pinebook1080p, Pinebook Pro, Pinephone, Pinewatch dev kit, Pinetab, Pinecil, Pinenut, Quartz64, Pinephone Pro, and PineNote (so far)
#20
Just installed the M.2 adapter (after some mechanical optimization) and PCIe works with PCIe 2.0 speed and full 4 lanes.
Manjaro ARM

Kernel dev
Buy me a coffee


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

Forum Jump:


Users browsing this thread: 3 Guest(s)