PINE64
A true mainline Linux Kernel for the Pinebook Pro - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: A true mainline Linux Kernel for the Pinebook Pro (/showthread.php?tid=8207)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


RE: A true mainline Linux Kernel for the Pinebook Pro - spikerguy - 11-13-2019

Great work by the Kernel Dev @tsys
The updated kernel is released and sound is stable now.

Keep up the good work.
Thanks.


RE: A true mainline Linux Kernel for the Pinebook Pro - Der Geist der Maschine - 11-15-2019

(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?


RE: A true mainline Linux Kernel for the Pinebook Pro - tsys - 11-15-2019

(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



RE: A true mainline Linux Kernel for the Pinebook Pro - DrYak - 11-15-2019

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

(also: link)


RE: A true mainline Linux Kernel for the Pinebook Pro - Der Geist der Maschine - 11-16-2019

(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?


RE: A true mainline Linux Kernel for the Pinebook Pro - DrYak - 11-16-2019

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

(In my limited experience, it's easier to decompiled dtb into dts using dtc and compare these outputs)


RE: A true mainline Linux Kernel for the Pinebook Pro - danielt - 11-18-2019

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)


RE: A true mainline Linux Kernel for the Pinebook Pro - tsys - 11-20-2019

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.


RE: A true mainline Linux Kernel for the Pinebook Pro - p1x3l3d - 11-21-2019

(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


RE: A true mainline Linux Kernel for the Pinebook Pro - cristobalhdez - 11-22-2019

(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.