Linux Kernel 4.18.8
#2
Saw this on your forums - many thanks to av (or whoever has done the cooking)!

Seems like a couple of things are improved since rc8 (e.g. DRM-ROCKCHIP doesn't cause major delays/timeouts) - I hope you are OK if I use this thread to list problems I have with 4.18 (in fact 4.18.8 now)?

1) The video/armsoc/DRM/midgard is not quite right. Sorry my knowledge in this area is dangerous so apologies for any terminology abuses. The most obvious problem is in Xorg.log

Code:
[    36.693] (II) ARMSOC: Driver for ARM Mali compatible chipsets
[    36.693] (WW) Falling back to old probe method for armsoc
[    36.693] (II) No BusID or DriverName specified - opening /dev/dri/card0
[    36.693] (EE) ERROR: Cannot set the DRM interface version.
[    36.693] (EE) ERROR: Cannot open a connection with the DRM - Permission denied


Not sure if the early failure to bind to HDMI is significant?

Code:
$ dmesg | grep drm
[    1.419355] rockchip-drm display-subsystem: Linked as a consumer to ff8f0000.vop
[    1.420145] rockchip-drm display-subsystem: Linked as a consumer to ff900000.vop
[    1.421531] rockchip-drm display-subsystem: Linked as a consumer to ff940000.hdmi
[    1.426903] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    1.429626] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    1.430571] rockchip-drm display-subsystem: failed to bind ff940000.hdmi (ops dw_hdmi_rockchip_ops): -517
[    1.431852] rockchip-drm display-subsystem: master bind failed: -517
[    2.255270] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    2.257496] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    2.259748] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops)
[    2.260483] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.261066] [drm] No driver support for vblank timestamp query.
[    2.478338] rockchip-drm display-subsystem: fb0:  frame buffer device
[    2.480186] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0

2) Sound - no chance on HDMI but seems almost there on ES8316 but not quite again. And again my skills around sound are pathetic. The first time I try to play something with mpv the screen looks like it is playing, but nothing comes through the speakers, and dmesg has

PHP Code:
1002.035173es8316 1-0010No sysclk provided
1002.035579es8316 1-0010ASoCcan't open codec ES8316 HiFi: -22
[ 1002.040228] es8316 1-0010: No sysclk provided
[ 1002.040628] es8316 1-0010: ASoC: can'
t open codec ES8316 HiFi: -22
1002.043697es8316 1-0010No sysclk provided
1002.044221es8316 1-0010ASoCcan't open codec ES8316 HiFi: -22
[ 1002.045391] es8316 1-0010: No sysclk provided
[ 1002.045787] es8316 1-0010: ASoC: can'
t open codec ES8316 HiFi: -22
1002.047267es8316 1-0010No sysclk provided
1002.047669es8316 1-0010ASoCcan't open codec ES8316 HiFi: -22
[ 1002.048943] es8316 1-0010: No sysclk provided
[ 1002.049340] es8316 1-0010: ASoC: can'
t open codec ES8316 HiFi: -22 

3) The schedulling is not right: with either ondemand or performance high CPU jobs land on the little cores. I guess CONFIG_ARM_ROCKCHIP_CPUFREQ needs to be ported from 4.4?

4) Still get an infinite loop at boot "running CQE recovery" if eMMC is plugged in

5) This seems to be a defect in the DT but I cannot find it:

Code:
$ dmesg | grep vcc_sdio
[    2.092922] vcc_sdio: Bringing 3300000uV into 3000000-3000000uV
[    2.148951] vcc_sdio: unsupportable voltage range: 3300000-3000000uV

6) Similarly think this is an attempt to define OTG on USB2 whereas it should be the USB3 ports

Code:
$ dmesg | grep otg
[    1.818420] OF: graph: no port node found in /syscon@ff770000/usb2-phy@e450/otg-port
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC


Messages In This Thread
Linux Kernel 4.18.8 - by Bullet64 - 09-18-2018, 01:14 AM
RE: Linux Kernel 4.18.8 - by dukla2000 - 09-18-2018, 04:28 PM
RE: Linux Kernel 4.18.8 - by ddimension - 09-20-2018, 12:32 PM
RE: Linux Kernel 4.18.8 - by dukla2000 - 09-21-2018, 03:44 AM
RE: Linux Kernel 4.18.8 - by Takenover83 - 09-22-2018, 06:24 PM
RE: Linux Kernel 4.18.8 - by dukla2000 - 09-23-2018, 06:12 AM
RE: Linux Kernel 4.18.8 - by dukla2000 - 09-29-2018, 08:04 AM
RE: Linux Kernel 4.18.8 - by Yoast - 09-21-2018, 04:51 AM
RE: Linux Kernel 4.18.8 - by Yoast - 09-22-2018, 08:36 AM
RE: Linux Kernel 4.18.8 - by dukla2000 - 09-22-2018, 10:13 AM
RE: Linux Kernel 4.18.8 - by Yoast - 09-24-2018, 05:58 AM
RE: Linux Kernel 4.18.8 - by dukla2000 - 09-23-2018, 03:19 PM
RE: Linux Kernel 4.18.8 - by tuxd3v - 09-23-2018, 07:21 PM
RE: Linux Kernel 4.18.8 - by ahare - 09-28-2018, 06:55 AM
RE: Linux Kernel 4.18.8 - by Takenover83 - 09-30-2018, 06:24 PM
RE: Linux Kernel 4.18.8 - by dukla2000 - 10-01-2018, 12:54 PM
RE: Linux Kernel 4.18.8 - by battlenut - 10-01-2018, 01:43 AM
RE: Linux Kernel 4.18.8 - by battlenut - 10-01-2018, 03:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 1 468 03-25-2024, 12:12 PM
Last Post: mara
Exclamation Ethernet regression on Linux Kernel 6.5.4? Deathcrow 3 826 09-22-2023, 04:27 AM
Last Post: diederik
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159 Thisone 4 1,287 07-14-2023, 04:22 AM
Last Post: hunderteins
Question How do I compile an arbitrary kernel for U-Boot? Valenoern 3 1,098 06-16-2023, 10:54 AM
Last Post: CounterPillow
  Linux laptop does not detect the board when plugged in via USB soupy 1 3,996 04-13-2023, 03:01 AM
Last Post: Reynold Grady
  RockPro64 linux console video mode callegar 0 876 09-06-2022, 02:32 PM
Last Post: callegar
  [OS] SkiffOS and Buildroot for Rockpro64 w/ 5.17 kernel paralin1 1 1,825 05-08-2022, 03:26 PM
Last Post: paralin1
Brick Maintained Linux booting from eMMC ootoovak 10 8,185 04-30-2022, 03:57 PM
Last Post: TRS-80
  Kernel OOPs triggered by big writes to ext4 FS ajtravis 1 1,441 04-04-2022, 05:29 PM
Last Post: ajtravis
  How I Got Fedora Linux to Boot From eMMC (or microSD, for that matter) whitecat23 4 4,260 01-03-2022, 10:32 AM
Last Post: whitecat23

Forum Jump:


Users browsing this thread: 1 Guest(s)