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: 460)

(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: 442)

(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
  Debian on Pinebook Pro u974615 7 993 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 1,557 02-22-2024, 04:02 PM
Last Post: tllim
  Attempting to install Void Linux, boots into a black screen 9a3eedi 0 334 02-18-2024, 08:54 AM
Last Post: 9a3eedi
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,134 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,205 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 88,558 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,225 11-23-2023, 07:37 AM
Last Post: KC9UDX
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,378 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 5,246 08-31-2023, 04:20 PM
Last Post: TRS-80
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 1,477 08-08-2023, 04:58 AM
Last Post: moobythegoldensock

Forum Jump:


Users browsing this thread: 2 Guest(s)