A true mainline Linux Kernel for the Pinebook Pro
#41
Great work by the Kernel Dev @tsys
The updated kernel is released and sound is stable now.

Keep up the good work.
Thanks.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
#42
(11-05-2019, 01:07 PM)tsys Wrote: Development is taking place in the Manjaro gitlab:  https://gitlab.manjaro.org/tsys/linux-pinebook-pro

I checked out your git repo and want to give it a shot on the default debian. What .config did you use?
#43
(11-15-2019, 12:47 PM)Der Geist der Maschine Wrote:
(11-05-2019, 01:07 PM)tsys Wrote: Development is taking place in the Manjaro gitlab:  https://gitlab.manjaro.org/tsys/linux-pinebook-pro

I checked out your git repo and want to give it a shot on the default debian. What .config did you use?

There is a pinebook_pro_defconfig you can use with
Code:
make pinebook_pro_defconfig
Manjaro ARM

Kernel dev
Buy me a coffee
#44
(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).


.gz   config.gz (Size: 47.81 KB / Downloads: 522)

(also: link)
#45
(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?
#46
(11-16-2019, 01:16 PM)Der Geist der Maschine Wrote: 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?

Here are the current cmdline parameters that Manjaro boots with:
Code:
# cat /proc/cmdline
console=ttyS2,1500000n8 root=PARTUUID=937d1032-01 rw rootwait bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash append video=eDP-1:1920x1080@60 ramdisk_size=10M earlycon=uart8250,mmio32,0xff1a0000

there  are indeed parameters for video and for serial console/early console.


And attached is the dtb currently provided:

.gz   rk3399-pinebook-pro.dtb.gz (Size: 17.5 KB / Downloads: 501)

(In my limited experience, it's easier to decompiled dtb into dts using dtc and compare these outputs)
#47
Following up on the no display be aware that the pinebook_pro_defconfig is a distro-like config and is highy modular. The display will not come up until the rootfs (or initrd) comes up and the appropriate drm modules are loaded.

Thus if you didn't copy the modules to the rootfs (or your kernel command-line doesn't mount the rootfs correclty) then the display will never come up...

(if you did copy the modules then be patient, it takes a long time to initialize the kernel... the log messages make it look like CPU0 is clocked *very* slowly when u-boot hands it over)
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
#48
As of now Bluetooth is working, too.

It does still need hciattach

Code:
hciattach /dev/ttyS0 bcm43xx 1500000 flow nosleep

and native support though hci_uart should be possible. However you can now connect your favourite bluetooth-enabled device to the Pinebook Pro.
Manjaro ARM

Kernel dev
Buy me a coffee
#49
(11-20-2019, 07:25 PM)tsys Wrote: As of now Bluetooth is working, too.

It does still need hciattach

Code:
hciattach /dev/ttyS0 bcm43xx 1500000 flow nosleep

and native support though hci_uart should be possible. However you can now connect your favourite bluetooth-enabled device to the Pinebook Pro.

Thanks a lot tsys for your continued work on this! Smile
PinePhone (BH 2GB + CE 3GB) // RockPro64 4GB (rev. 2.1) - OMV NAS // PineH64 3GB (model B) - off-prem OMV NAS // Pine64-LTS 2GB (rev. 1.2 + Playbox) - Domotics server
#50
(11-20-2019, 07:25 PM)tsys Wrote: As of now Bluetooth is working, too.

It does still need hciattach

Code:
hciattach /dev/ttyS0 bcm43xx 1500000 flow nosleep

and native support though hci_uart should be possible. However you can now connect your favourite bluetooth-enabled device to the Pinebook Pro.

Thank you so much for this fix!!!

I recently installed the Manjaro P3 image.

I can't see 5ghz networks.


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

Forum Jump:


Users browsing this thread: 1 Guest(s)