Giter Site home page Giter Site logo

jeffycn / meta-rockchip Goto Github PK

View Code? Open in Web Editor NEW
101.0 9.0 82.0 1.75 MB

Yocto BSP layer for the Rockchip SOC boards

License: Other

BitBake 25.75% Shell 2.53% Makefile 0.20% C 70.43% Pascal 1.08%
yocto rockchip rk3288 rk3326 rk3399 px3se rk3308 meta-rockchip rocko thud

meta-rockchip's Introduction

meta-rockchip

Yocto BSP layer for the Rockchip SOC boards

This README file contains information on building and booting the meta-rockchip BSP layers.

Please see the corresponding sections below for details.

Dependencies

This layer depends on:

  • URI: git://git.yoctoproject.org/poky

  • branch: scarthgap

  • URI: git://git.openembedded.org/meta-openembedded

  • layers: meta-oe

  • branch: scarthgap

Table of Contents

I. Configure yocto/oe Environment

II. Building meta-rockchip BSP Layers

III. Booting your Device

IV. Tested Hardwares

V. Supporting new Machine

I. Configure yocto/oe Environment

In order to build an image with BSP support for a given release, you need to download the corresponding layers described in the "Dependencies" section. Be sure that everything is in the same directory.

~ $ mkdir yocto; cd yocto
~/yocto $ git clone git://git.yoctoproject.org/poky -b scarthgap
~/yocto $ git clone git://git.openembedded.org/meta-openembedded.git -b scarthgap

And put the meta-rockchip layer here too.

Then you need to source the configuration script:

~/yocto $ source poky/oe-init-build-env

Having done that, you can build a image for a rockchip board by adding the location of the meta-rockchip layer to bblayers.conf, along with any other layers needed.

For example:

# build/conf/bblayers.conf
BBLAYERS ?= " \
  ${TOPDIR}/../meta-rockchip \
  ${TOPDIR}/../poky/meta \
  ${TOPDIR}/../poky/meta-poky \
  ${TOPDIR}/../poky/meta-yocto-bsp \
  ${TOPDIR}/../meta-openembedded/meta-oe \

To enable a particular machine, you need to add a MACHINE line naming the BSP to the local.conf file:

  MACHINE = "xxx"

All supported machines can be found in meta-rockchip/conf/machine.

II. Building meta-rockchip BSP Layers

You should then be able to build a image as such:

$ bitbake core-image-minimal

At the end of a successful build, you should have an .wic image in /path/to/yocto/build/tmp/deploy/images/<MACHINE>/, also with an rockchip firmware image: update.img.

III. Booting your Device

Under Linux, you can use upgrade_tool: http://opensource.rock-chips.com/wiki_Upgradetool to flash the image:

  1. Put your device into rockusb mode: http://opensource.rock-chips.com/wiki_Rockusb

  2. If it's maskrom rockusb mode, try to enter miniloader rockusb mode:

$ sudo upgrade_tool db <IMAGE PATH>/loader.bin
  1. Flash the image (wic image or rockchip firmware image)
$ sudo upgrade_tool wl 0 <IMAGE PATH>/<IMAGE NAME>.wic # For wic image
$ sudo upgrade_tool uf <IMAGE PATH>/update.img # For rockchip firmware image

IV. Tested Hardwares

The following undergo regular basic testing with their respective MACHINE types.

  • px3se evb board

  • rk3308 evb board

  • rk3326 evb board

  • px30 evb board

  • rk3328 evb board

  • rk3288 evb board

  • rk3399 sapphire excavator board

  • rk3399pro evb board

V. Supporting new Machine

To support new machine, you can either add new machine config in meta-rockchip/conf/machine, or choose a similar existing machine and override it's configurations in local config file.

In general, a new machine needs to specify it's u-boot config, kernel config, kernel device tree and wifi/bt firmware:

For example:

KBUILD_DEFCONFIG = "rk3326_linux_defconfig"
KERNEL_DEVICETREE = "rockchip/rk3326-evb-lp3-v10-linux.dtb"
UBOOT_MACHINE = "evb-rk3326_defconfig"
RK_WIFIBT_RRECOMMENDS = " \
        rkwifibt-firmware-ap6212a1-wifi \
        rkwifibt-firmware-ap6212a1-bt \
        brcm-tools \
"

If you want to use your own local u-boot and kernel sources, a simple way is to override related configurations in local config file.

For example using the kernel/ and u-boot/ in the same directory of meta-rockchip:

# build/conf/local.conf
SRC_URI:pn-linux-rockchip = " \
        git://${TOPDIR}/../kernel;protocol=file;usehead=1 \
        file://cgroups.cfg \
"
SRCREV:pn-linux-rockchip = "${AUTOREV}"
KBRANCH = "HEAD"

SRC_URI:pn-u-boot = " \
        git://${TOPDIR}/../u-boot;protocol=file;usehead=1 \
"
SRCREV:pn-u-boot = "${AUTOREV}"

Maintainers

meta-rockchip's People

Contributors

jeffycn avatar tmm1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meta-rockchip's Issues

gstreamer1.0-rockchip won't build on warrior, missing patches for libdrm 2.4.97 ?

Build fails as follows, which seem to point to the use of upstream libdrm (and in fact there are no rockchip-support patches for sumo's libdrm_2.4.97)

| ../../../git/gst/rkximage/gstkmsutils.c:41:5: error: 'DRM_FORMAT_NV12_10' undeclared here (not in a function); did you mean 'DRM_FORMAT_NV12'?
|    { DRM_FORMAT_##fourcc,GST_VIDEO_FORMAT_##fmt }
|      ^~~~~~~~~~~
| ../../../git/gst/rkximage/gstkmsutils.c:50:3: note: in expansion of macro 'DEF_FMT'
|    DEF_FMT (NV12_10, P010_10LE),
|    ^~~~~~~
| Makefile:647: recipe for target 'libgstrkximage_la-gstkmsutils.lo' failed

build failure with latest bsp u-boot/bootloader (ERROR: No python2)

I am trying to build for rk3566 android demo box. I was having issues with ethernet and dmc clock, but stock android image works fine. I discovered the android image is using newer bootloader firmwares which fixes the problems.

So I tried to build with newer u-boot:

diff --git a/recipes-bsp/u-boot/u-boot_%.bbappend b/recipes-bsp/u-boot/u-boot_%.bbappend
index 696913a..83a6bb0 100644
--- a/recipes-bsp/u-boot/u-boot_%.bbappend
+++ b/recipes-bsp/u-boot/u-boot_%.bbappend
@@ -12,8 +12,8 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
 
 inherit freeze-rev local-git
 
-SRCREV = "e3ca3c3805cc60cc9e2fe2a4d78694907b49ee46"
-SRCREV_rkbin = "104659686b734ab041ef958c0abece1a250f48a4"
+SRCREV = "84a9a3d8d9206465a616a1e78deb73786b3146fb"
+SRCREV_rkbin = "5ed54e688429a29c3d427768a3e0d463605eea60"
 SRC_URI = " \
        git://github.com/JeffyCN/mirrors.git;protocol=https;branch=u-boot; \
        git://github.com/JeffyCN/mirrors.git;protocol=https;branch=rkbin;name=rkbin;destsuffix=rkbin; \

but I get build failures:

| make -f /build/tmp/work/rk3566_t95plus-poky-linux/u-boot/1_2017.09-r0/git/scripts/Makefile.build obj=lib/rsa
| make -f /build/tmp/work/rk3566_t95plus-poky-linux/u-boot/1_2017.09-r0/git/scripts/Makefile.build obj=lib/zlib
| make -f /build/tmp/work/rk3566_t95plus-poky-linux/u-boot/1_2017.09-r0/git/scripts/Makefile.build obj=examples
| make -f /build/tmp/work/rk3566_t95plus-poky-linux/u-boot/1_2017.09-r0/git/scripts/Makefile.build obj=examples/standalone
| start=$(aarch64-poky-linux-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(aarch64-poky-linux-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x00a00000 $start $end
|   cat u-boot-nodtb.bin dts/dt.dtb > u-boot-dtb.bin
|   cp u-boot-dtb.bin u-boot.bin
|   truncate -s "%8" u-boot.bin
|   aarch64-poky-linux-objcopy --dump-section .rodata.default_environment=u-boot-initial-env env/common.o; sed --in-place -e 's/\x00/\x0A/g' u-boot-initial-env
| make[1]: Leaving directory '/build/tmp/work/rk3566_t95plus-poky-linux/u-boot/1_2017.09-r0/build'| make: Leaving directory '/build/tmp/work/rk3566_t95plus-poky-linux/u-boot/1_2017.09-r0/git'
| ERROR: No python2
| WARNING: exit code 1 from a shell command.
ERROR: Task (/vagrant/poky/meta/recipes-bsp/u-boot/u-boot_2022.01.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2868 tasks of which 2862 didn't need to be rerun and 1 failed.
Summary: 1 task failed:  /vagrant/poky/meta/recipes-bsp/u-boot/u-boot_2022.01.bb:do_compile
Summary: There was 1 ERROR message, returning a non-zero exit code.

Wrong rkwifibt firmware install path

https://github.com/JeffyCN/mirrors/blob/82957dba3977fd50d4c013e0d359f3203072a0f2/drivers/net/wireless/rockchip_wlan/rkwifi/Kconfig#L39-L51
kernel default config firmware path is /vendor/etc/firmware/
but rkwifibt-firmware recipe installed to /system/etc/firmware

FILES:${PN}-ap6181-wifi = " \
system/etc/firmware/fw_bcm40181a2_apsta.bin \
system/etc/firmware/fw_bcm40181a2.bin \
system/etc/firmware/nvram_ap6181.txt \
"
FILES:${PN}-ap6212a1-wifi = " \
system/etc/firmware/fw_bcm43438a1_apsta.bin \
system/etc/firmware/fw_bcm43438a1.bin \
system/etc/firmware/nvram_ap6212a.txt \
"
FILES:${PN}-ap6212a1-bt = " \
system/etc/firmware/BCM43430A1.hcd \
"
FILES:${PN}-ap6236-wifi = " \
system/etc/firmware/fw_bcm43436b0_apsta.bin \
system/etc/firmware/fw_bcm43436b0.bin \
system/etc/firmware/nvram_ap6236.txt \
"
FILES:${PN}-ap6236-bt = " \
system/etc/firmware/BCM43430B0.hcd \
"
FILES:${PN}-ap6255-wifi = " \
system/etc/firmware/fw_bcm43455c0_ag.bin \
system/etc/firmware/nvram_ap6255.txt \
"
FILES:${PN}-ap6255-bt = " \
system/etc/firmware/BCM4345C0_ap.hcd \
system/etc/firmware/BCM4345C0.hcd \
"
FILES:${PN}-ap6275p-wifi = " \
system/etc/firmware/fw_bcm43752a2_pcie_ag_apsta.bin \
system/etc/firmware/fw_bcm43752a2_pcie_ag_mfg.bin \
system/etc/firmware/clm_bcm43752a2_pcie_ag.blob \
system/etc/firmware/fw_bcm43752a2_pcie_ag.bin \
system/etc/firmware/nvram_AP6275P.txt \
"
FILES:${PN}-ap6275p-bt = " \
system/etc/firmware/BCM4362A2.hcd \
"
FILES:${PN}-ap6354-wifi = " \
system/etc/firmware/fw_bcm4354a1_ag.bin \
system/etc/firmware/nvram_ap6354.txt \
"
FILES:${PN}-ap6354-bt = " \
system/etc/firmware/BCM4350C0.hcd \
"
FILES:${PN}-ap6356-wifi = " \
system/etc/firmware/fw_bcm4356a2_ag.bin \
system/etc/firmware/nvram_ap6356.txt \
system/etc/firmware/nvram_ap6356s.txt \
"
FILES:${PN}-ap6356-bt = " \
system/etc/firmware/BCM4354A2.hcd \
"
FILES:${PN}-ap6398s-wifi = " \
system/etc/firmware/fw_bcm4359c0_ag.bin \
system/etc/firmware/fw_bcm4359c0_ag_mfg.bin \
system/etc/firmware/nvram_ap6398s.txt \
"
FILES:${PN}-ap6398s-bt = " \
system/etc/firmware/BCM4359C0.hcd \

How to get the v4l2-m2m decoder working?

Hi JeffyCN,

I'm struggling a bit for while now to get the v4l2-m2m decoder to work with chromium-ozone-wayland.
I've built it with your patchset on top of it.
Then I'm running Chromium with:
--use-gl=egl --ozone-platform=wayland --in-process-gpu --no-sandbox --gpu-sandbox-start-early --ignore-gpu-blocklist --ignore-gpu-blacklist --enable-accelerated-video-decode --enable-features=VaapiVideoDecoder,VaapiVideoEncoder

When I go to the chrome://gpu patch it says:

Graphics Feature Status
Canvas: Hardware accelerated
Canvas out-of-process rasterization: Disabled
Direct Rendering Display Compositor: Disabled
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
OpenGL: Enabled
Rasterization: Hardware accelerated
Raw Draw: Disabled
Video Decode: Hardware accelerated
Video Encode: Hardware accelerated
Vulkan: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
WebGPU: Disabled
Driver Bug Workarounds
clear_uniforms_before_first_program_use
count_all_in_varyings_packing
enable_webgl_timer_query_extensions
exit_on_context_lost
disabled_extension_GL_KHR_blend_equation_advanced
disabled_extension_GL_KHR_blend_equation_advanced_coherent
Problems Detected
WebGPU has been disabled via blocklist or the command line.
Disabled Features: webgpu
Clear uniforms before first program use on all platforms: [124764](http://crbug.com/124764), [349137](http://crbug.com/349137)
Applied Workarounds: clear_uniforms_before_first_program_use
Mesa drivers in Linux handle varyings without static use incorrectly: [333885](http://crbug.com/333885)
Applied Workarounds: count_all_in_varyings_packing
Disable KHR_blend_equation_advanced until cc shaders are updated: [661715](http://crbug.com/661715)
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Expose WebGL's disjoint_timer_query extensions on platforms with site isolation: [808744](http://crbug.com/808744), [870491](http://crbug.com/870491)
Applied Workarounds: enable_webgl_timer_query_extensions
Some drivers can't recover after OUT_OF_MEM and context lost: [893177](http://crbug.com/893177)
Applied Workarounds: exit_on_context_lost
DAWN Info

I do have symlinks created for my video encoder and decoder:

/dev/video-dec -> /dev/video5
/dev/video-dec0 -> /dev/video5
/dev/video-enc -> /dev/video7
/dev/video-enc0 -> /dev/video7

But when I play a video from youtube with h264ify enabled it always seems to select ffmpeg:

render_id: 12
player_id: 32
created: 2022-09-21 09:18:56.014 UTC
origin_url: https://www.youtube.com/
kFrameUrl: https://www.youtube.com/watch?v=mtT_w4gegsY
kFrameTitle: YouTube
url: blob:https://www.youtube.com/d3e14a05-3e01-4ab3-aec3-2ec9db469880
kTextTracks: 
info: Selected video track: [1]
kRendererName: RendererImpl
pipeline_state: kSuspended
duration: 1586.015782
kVideoTracks: [object Object]
kAudioTracks: [object Object]
event: kSuspended
kIsAudioDecryptingDemuxerStream: false
kAudioDecoderName: FFmpegAudioDecoder
kIsPlatformAudioDecoder: false
kIsVideoDecryptingDemuxerStream: false
kVideoDecoderName: FFmpegVideoDecoder
kIsPlatformVideoDecoder: false
dimensions: 1280x720
kResolution: 1280x720
pipeline_buffering_state: [object Object]
video_buffering_state: [object Object]
kVideoPlaybackRoughness: 40.111
kVideoPlaybackFreezing: 0.076659
kFramerate: 25
seek_target: 463.992598
audio_buffering_state: [object Object]

Log:

{
  "properties": {
    "render_id": 12,
    "player_id": 32,
    "created": "2022-09-21 09:18:56.014 UTC",
    "origin_url": "https://www.youtube.com/",
    "kFrameUrl": "https://www.youtube.com/watch?v=mtT_w4gegsY",
    "kFrameTitle": "YouTube",
    "url": "blob:https://www.youtube.com/d3e14a05-3e01-4ab3-aec3-2ec9db469880",
    "kTextTracks": [],
    "info": "Selected video track: [1]",
    "kRendererName": "RendererImpl",
    "pipeline_state": "kSuspended",
    "duration": 1586.015782,
    "kVideoTracks": [
      {
        "alpha mode": "is_opaque",
        "codec": "h264",
        "coded size": "1280x720",
        "color space": "{primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}",
        "encryption scheme": "Unencrypted",
        "has extra data": false,
        "hdr metadata": "unset",
        "natural size": "1280x720",
        "orientation": "0°",
        "profile": "h264 main",
        "visible rect": "0,0 1280x720"
      }
    ],
    "kAudioTracks": [
      {
        "bytes per channel": 2,
        "bytes per frame": 4,
        "channel layout": "STEREO",
        "channels": 2,
        "codec": "aac",
        "codec delay": 0,
        "discard decoder delay": false,
        "encryption scheme": "Unencrypted",
        "has extra data": false,
        "profile": "unknown",
        "sample format": "Signed 16-bit",
        "samples per second": 44100,
        "seek preroll": "0us"
      }
    ],
    "event": "kSuspended",
    "kIsAudioDecryptingDemuxerStream": false,
    "kAudioDecoderName": "FFmpegAudioDecoder",
    "kIsPlatformAudioDecoder": false,
    "kIsVideoDecryptingDemuxerStream": false,
    "kVideoDecoderName": "FFmpegVideoDecoder",
    "kIsPlatformVideoDecoder": false,
    "dimensions": "1280x720",
    "kResolution": "1280x720",
    "pipeline_buffering_state": {
      "for_suspended_start": false,
      "state": "BUFFERING_HAVE_ENOUGH"
    },
    "video_buffering_state": {
      "state": "BUFFERING_HAVE_ENOUGH"
    },
    "kVideoPlaybackRoughness": 40.111,
    "kVideoPlaybackFreezing": 0.076659,
    "kFramerate": 25,
    "seek_target": 463.992598,
    "audio_buffering_state": {
      "state": "BUFFERING_HAVE_ENOUGH"
    }
  },
  "events": [
    {
      "time": 0,
      "key": "created",
      "value": "2022-09-21 09:18:56.014 UTC"
    },
    {
      "time": 10.375,
      "key": "origin_url",
      "value": "https://www.youtube.com/"
    },
    {
      "time": 10.416000008583069,
      "key": "kFrameUrl",
      "value": "https://www.youtube.com/watch?v=mtT_w4gegsY"
    },
    {
      "time": 10.437000036239624,
      "key": "kFrameTitle",
      "value": "YouTube"
    },
    {
      "time": 10.946000039577484,
      "key": "url",
      "value": "blob:https://www.youtube.com/d3e14a05-3e01-4ab3-aec3-2ec9db469880"
    },
    {
      "time": 10.983000040054321,
      "key": "kTextTracks",
      "value": []
    },
    {
      "time": 11.117000043392181,
      "key": "info",
      "value": "ChunkDemuxer"
    },
    {
      "time": 11.189999997615814,
      "key": "kRendererName",
      "value": "RendererImpl"
    },
    {
      "time": 11.592999994754791,
      "key": "pipeline_state",
      "value": "kStarting"
    },
    {
      "time": 233.43700003623962,
      "key": "duration",
      "value": 1586
    },
    {
      "time": 2241.9050000309944,
      "key": "kVideoTracks",
      "value": [
        {
          "alpha mode": "is_opaque",
          "codec": "h264",
          "coded size": "1280x720",
          "color space": "{primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}",
          "encryption scheme": "Unencrypted",
          "has extra data": false,
          "hdr metadata": "unset",
          "natural size": "1280x720",
          "orientation": "0°",
          "profile": "h264 main",
          "visible rect": "0,0 1280x720"
        }
      ]
    },
    {
      "time": 2246.5139999985695,
      "key": "kAudioTracks",
      "value": [
        {
          "bytes per channel": 2,
          "bytes per frame": 4,
          "channel layout": "STEREO",
          "channels": 2,
          "codec": "aac",
          "codec delay": 0,
          "discard decoder delay": false,
          "encryption scheme": "Unencrypted",
          "has extra data": false,
          "profile": "unknown",
          "sample format": "Signed 16-bit",
          "samples per second": 44100,
          "seek preroll": "0us"
        }
      ]
    },
    {
      "time": 2282.538000047207,
      "key": "info",
      "value": "Effective playback rate changed from 0 to 1"
    },
    {
      "time": 2283.388000011444,
      "key": "event",
      "value": "kPlay"
    },
    {
      "time": 2304.526000022888,
      "key": "kIsAudioDecryptingDemuxerStream",
      "value": false
    },
    {
      "time": 2304.550000011921,
      "key": "kAudioDecoderName",
      "value": "FFmpegAudioDecoder"
    },
    {
      "time": 2304.5740000009537,
      "key": "kIsPlatformAudioDecoder",
      "value": false
    },
    {
      "time": 2304.6930000185966,
      "key": "info",
      "value": "Selected FFmpegAudioDecoder for audio decoding, config: codec: aac, profile: unknown, bytes_per_channel: 2, channel_layout: STEREO, channels: 2, samples_per_second: 44100, sample_format: Signed 16-bit, bytes_per_frame: 4, seek_preroll: 0us, codec_delay: 0, has extra data: false, encryption scheme: Unencrypted, discard decoder delay: false, target_output_channel_layout: STEREO, target_output_sample_format: Unknown sample format, has aac extra data: true"
    },
    {
      "time": 2309.1830000281334,
      "key": "info",
      "value": "Failed to initialize DecryptingVideoDecoder"
    },
    {
      "time": 2309.407000005245,
      "key": "info",
      "value": "Failed to initialize VDAVideoDecoder"
    },
    {
      "time": 2309.587999999523,
      "key": "info",
      "value": "Failed to initialize VpxVideoDecoder"
    },
    {
      "time": 2309.7549999952316,
      "key": "info",
      "value": "Failed to initialize Dav1dVideoDecoder"
    },
    {
      "time": 2339.0470000505447,
      "key": "kIsVideoDecryptingDemuxerStream",
      "value": false
    },
    {
      "time": 2339.069000005722,
      "key": "kVideoDecoderName",
      "value": "FFmpegVideoDecoder"
    },
    {
      "time": 2339.0830000042915,
      "key": "kIsPlatformVideoDecoder",
      "value": false
    },
    {
      "time": 2339.240999996662,
      "key": "info",
      "value": "Selected FFmpegVideoDecoder for video decoding, config: codec: h264, profile: h264 main, level: not available, alpha_mode: is_opaque, coded size: [1280,720], visible rect: [0,0,1280,720], natural size: [1280,720], has extra data: false, encryption scheme: Unencrypted, rotation: 0°, flipped: 0, color space: {primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}"
    },
    {
      "time": 2347.6240000128746,
      "key": "pipeline_state",
      "value": "kPlaying"
    },
    {
      "time": 3007.867000043392,
      "key": "dimensions",
      "value": "1280x720"
    },
    {
      "time": 3007.888000011444,
      "key": "kResolution",
      "value": "1280x720"
    },
    {
      "time": 2277.5329999923706,
      "key": "duration",
      "value": 1586.015782
    },
    {
      "time": 3181.6579999923706,
      "key": "pipeline_buffering_state",
      "value": {
        "for_suspended_start": false,
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    },
    {
      "time": 4407.51700001955,
      "key": "video_buffering_state",
      "value": {
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    },
    {
      "time": 16307.198000013828,
      "key": "info",
      "value": "Selected video track: []"
    },
    {
      "time": 16313.341000020504,
      "key": "pipeline_buffering_state",
      "value": {
        "for_suspended_start": false,
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    },
    {
      "time": 36876.04199999571,
      "key": "info",
      "value": "Selected video track: [1]"
    },
    {
      "time": 36882.905000030994,
      "key": "video_buffering_state",
      "value": {
        "state": "BUFFERING_HAVE_NOTHING"
      }
    },
    {
      "time": 38010.06700003147,
      "key": "pipeline_buffering_state",
      "value": {
        "for_suspended_start": false,
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    },
    {
      "time": 74910.87800002098,
      "key": "event",
      "value": "kPause"
    },
    {
      "time": 74914.78299999237,
      "key": "kVideoPlaybackRoughness",
      "value": 40.111
    },
    {
      "time": 74926.71700000763,
      "key": "kVideoPlaybackFreezing",
      "value": 0.076659
    },
    {
      "time": 74926.75300002098,
      "key": "kFramerate",
      "value": 25
    },
    {
      "time": 75144.79199999571,
      "key": "seek_target",
      "value": 418.861019
    },
    {
      "time": 75145.27100002766,
      "key": "pipeline_state",
      "value": "kSeeking"
    },
    {
      "time": 75253.97000002861,
      "key": "event",
      "value": "kPlay"
    },
    {
      "time": 75807.1360000372,
      "key": "pipeline_state",
      "value": "kPlaying"
    },
    {
      "time": 75965.83200001717,
      "key": "audio_buffering_state",
      "value": {
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    },
    {
      "time": 77411.65600001812,
      "key": "video_buffering_state",
      "value": {
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    },
    {
      "time": 77412.45700001717,
      "key": "pipeline_buffering_state",
      "value": {
        "for_suspended_start": false,
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    },
    {
      "time": 79325.08200001717,
      "key": "event",
      "value": "kPause"
    },
    {
      "time": 79405.79300004244,
      "key": "seek_target",
      "value": 463.992598
    },
    {
      "time": 79406.42200005054,
      "key": "pipeline_state",
      "value": "kSeeking"
    },
    {
      "time": 79502.63700002432,
      "key": "event",
      "value": "kPlay"
    },
    {
      "time": 79409.49099999666,
      "key": "video_buffering_state",
      "value": {
        "state": "BUFFERING_HAVE_NOTHING"
      }
    },
    {
      "time": 80003.09700000286,
      "key": "pipeline_state",
      "value": "kPlaying"
    },
    {
      "time": 80119.97900003195,
      "key": "audio_buffering_state",
      "value": {
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    },
    {
      "time": 81976.74099999666,
      "key": "video_buffering_state",
      "value": {
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    },
    {
      "time": 82020.19400000572,
      "key": "pipeline_buffering_state",
      "value": {
        "for_suspended_start": false,
        "state": "BUFFERING_HAVE_ENOUGH"
      }
    },
    {
      "time": 105037.28700000048,
      "key": "event",
      "value": "kPause"
    },
    {
      "time": 123379.98600000143,
      "key": "pipeline_state",
      "value": "kSuspending"
    },
    {
      "time": 123409.16000002623,
      "key": "pipeline_state",
      "value": "kSuspended"
    },
    {
      "time": 123409.35199999809,
      "key": "event",
      "value": "kSuspended"
    }
  ]
}

Any ideas?
Kodi is working fine with FFMPeg's v4l2m2m decoder.

[Chromium-Ozone-Wayland][Honister] crash when finish video playback

Hi,
When I play 1080P mp4 video on FullHD monitor, the chromium crashed every time with the error below.

[991.980] [RKMPP] [889] rkmpp_new_frame(81): DEC FPS:   60.2 || Frames: 18240
[993.989] [RKMPP] [889] rkmpp_new_frame(81): DEC FPS:   59.7 || Frames: 18360
[995.911] [RKMPP] [889] rkmpp_new_frame(81): DEC FPS:   62.4 || Frames: 18480
[997.960] [RKMPP] [889] rkmpp_new_frame(81): DEC FPS:   58.6 || Frames: 18600
[999.969] [RKMPP] [889] rkmpp_new_frame(81): DEC FPS:   59.7 || Frames: 18720
[721:721:0228/142327.653018:FATAL:wayland_screen.cc(193)] Check failed: iter != display_list_.displays().end().
#0 0x0055724d41dc (/usr/lib/chromium/chromium-bin+0x79791db)
#1 0x005572401da8 (/usr/lib/chromium/chromium-bin+0x78a6da7)
#2 0x005572419b24 (/usr/lib/chromium/chromium-bin+0x78beb23)
#3 0x00557241a494 (/usr/lib/chromium/chromium-bin+0x78bf493)
#4 0x00556ea5408c (/usr/lib/chromium/chromium-bin+0x3ef908b)
#5 0x005575468518 (/usr/lib/chromium/chromium-bin+0xa90d517)
#6 0x005572f7aa70 (/usr/lib/chromium/chromium-bin+0x841fa6f)
#7 0x005574fb3950 (/usr/lib/chromium/chromium-bin+0xa45894f)
#8 0x005574fb3818 (/usr/lib/chromium/chromium-bin+0xa458817)
#9 0x005573b80644 (/usr/lib/chromium/chromium-bin+0x9025643)
#10 0x005573b87da0 (/usr/lib/chromium/chromium-bin+0x902cd9f)
#11 0x00556fc0399c (/usr/lib/chromium/chromium-bin+0x50a899b)
#12 0x00556fd5a494 (/usr/lib/chromium/chromium-bin+0x51ff493)
#13 0x00556fc25a30 (/usr/lib/chromium/chromium-bin+0x50caa2f)
#14 0x00556fd46bbc (/usr/lib/chromium/chromium-bin+0x51ebbbb)
#15 0x00556fc3984c (/usr/lib/chromium/chromium-bin+0x50de84b)
#16 0x005572f79eb8 (/usr/lib/chromium/chromium-bin+0x841eeb7)
#17 0x00556ea53d74 (/usr/lib/chromium/chromium-bin+0x3ef8d73)
#18 0x00556ea518fc (/usr/lib/chromium/chromium-bin+0x3ef68fb)
#19 0x007f9c59b030 (/usr/lib/libffi.so.8.1.0+0x702f)
#20 0x007f9c59a588 (/usr/lib/libffi.so.8.1.0+0x6587)
#21 0x007f9c405524 (/usr/lib/libwayland-client.so.0.3.0+0x9523)
#22 0x007f9c401aa4 (/usr/lib/libwayland-client.so.0.3.0+0x5aa3)
#23 0x007f9c4030a4 wl_display_dispatch_queue_pending
#24 0x005572472d08 (/usr/lib/chromium/chromium-bin+0x7917d07)
#25 0x005572492ae4 (/usr/lib/chromium/chromium-bin+0x7937ae3)
#26 0x0055724923c4 (/usr/lib/chromium/chromium-bin+0x79373c3)
#27 0x00557242b7f0 (/usr/lib/chromium/chromium-bin+0x78d07ef)
#28 0x007f9fdccc00 g_main_context_dispatch
#29 0x007f9fdccea0 (/usr/lib/libglib-2.0.so.0.6800.4+0x56e9f)
#30 0x007f9fdccf6c g_main_context_iteration
#31 0x00557242b28c (/usr/lib/chromium/chromium-bin+0x78d028b)
#32 0x0055724934d8 (/usr/lib/chromium/chromium-bin+0x79384d7)
#33 0x005572454198 (/usr/lib/chromium/chromium-bin+0x78f9197)
#34 0x00556f76f8bc (/usr/lib/chromium/chromium-bin+0x4c148bb)
#35 0x00556f77160c (/usr/lib/chromium/chromium-bin+0x4c1660b)
#36 0x00556f76d0b0 (/usr/lib/chromium/chromium-bin+0x4c120af)
#37 0x005571f0eb64 (/usr/lib/chromium/chromium-bin+0x73b3b63)
#38 0x005571f0e580 (/usr/lib/chromium/chromium-bin+0x73b357f)
#39 0x005571f0c188 (/usr/lib/chromium/chromium-bin+0x73b1187)
#40 0x005571f0cb50 (/usr/lib/chromium/chromium-bin+0x73b1b4f)
#41 0x00556e1ca9d8 ChromeMain
#42 0x007f9c5d9030 (/lib/libc.so.6+0x2b02f)
#43 0x007f9c5d9108 __libc_start_main
#44 0x00556e1ca7f0 _start
Task trace:
#0 0x00556ea4bb50 (/usr/lib/chromium/chromium-bin+0x3ef0b4f)
Crash keys:
  "total-discardable-memory-allocated" = "4199178"
  "gpu-gl-renderer" = "Mali-G52"
  "gpu-gl-vendor" = "ARM"
  "gpu-generation-intel" = "0"
  "gpu-vsver" = "3.20"
  "gpu-psver" = "3.20"
  "gpu-driver" = "v1.g2p0"
  "gpu-devid" = "0x0000"
  "gpu-venid" = "0x0000"
  "ui_scheduler_async_stack" = "0x556EA4BB50 0x0"
  "num-extensions" = "0"
  "io_scheduler_async_stack" = "0x5572827374 0x0"
  "variations" = "b56a9ab2-1410f10,9481ce98-3d47f4f4,c559031-3d47f4f4,4b935545-3d47f4f4,9a38bae3-3d47f4f4,6f3a6be-3f4a17df,e43d4487-96beea8e,a206fd93-3d47f4f4,138c1dc-3d47f4f4,c1405ec8-fb0c8ff1,330546f3-463d4c5f,d69d967d-3695c92e,"
  "num-experiments" = "12"
  "switch-11" = "--enable-crashpad"
  "switch-10" = "--enable-features=VaapiVideoDecoder,VaapiVideoEncoder"
  "switch-9" = "--enable-accelerated-video-decode"
  "switch-8" = "--ignore-gpu-blocklist"
  "switch-7" = "--ignore-gpu-blacklist"
  "switch-6" = "--gpu-sandbox-start-early"
  "switch-5" = "--no-sandbox"
  "switch-4" = "--ozone-platform=wayland"
  "switch-3" = "--use-gl=egl"
  "switch-2" = "--data-path=/tmp/data"
  "switch-1" = "--http-disk-cache-size=5"
  "num-switches" = "13"
  "osarch" = "aarch64"
  "pid" = "721"
  "ptype" = "browser"

Received signal 6

Hide kernel logo?

Over HDMI I see "rockchip kernel" logo. I want to see the kernel log instead.

I tried logo.nologo console=tty1 in cmdline, but I couldn't make it work.

Is there another way?

Branch: rocko thud

In the README it says branch: rocko thud

Does that mean that this layer supports thud?

Linker error with QtWebEngine

Hi @JeffyCN,

I am running into a linker error when building qtwebengine (from meta-qt5) on the rk3568 evb with Poky distro (Honister). It looks like it maybe an issue related to libmali based on the output:

make[3]: Entering directory 'build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/build/src/core'
creating linker version script QtWebEngineCore.version
rm -f libQt5WebEngineCore.so.5.15.2 libQt5WebEngineCore.so libQt5WebEngineCore.so.5 libQt5WebEngineCore.so.5.15
linking ../../lib/libQt5WebEngineCore.so.5.15.2
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: linking ../../lib/libQt5WebEngineCore.so.5.15.2
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 3 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 4 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 5 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 6 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 7 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 8 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 9 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 3 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 4 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 5 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 6 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 7 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 8 (>= sh_info of 3)
build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/ld: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot/usr/lib/libmali.so: .dynsym local symbol at index 9 (>= sh_info of 3)
collect2: error: ld returned 1 exit status
make[3]: Leaving directory 'build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/build/src/core'
make[3]: *** [Makefile.core_module:80: ../../lib/libQt5WebEngineCore.so.5.15.2] Error 1
make[2]: Leaving directory 'build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/build/src/core'
make[2]: *** [Makefile:124: sub-core_module-pro-make_first] Error 2
make[1]: *** [Makefile:79: sub-core-make_first] Error 2
make[1]: Leaving directory 'build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2
ERROR: oe_runmake failed
WARNING: build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/temp/run.do_compile.373413:206 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/temp/run.do_compile.373413, line 206
	#2: die, build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/temp/run.do_compile.373413, line 191
	#3: oe_runmake, build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/temp/run.do_compile.373413, line 196
	#4: base_do_compile, build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/temp/run.do_compile.373413, line 174
	#5: do_compile, build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/temp/run.do_compile.373413, line 168
	#6: main, build/tmp/work/armv8a-poky-linux/qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/temp/run.do_compile.373413, line 216

All other Qt packages build without any issues. I'm not sure if this could be an issue with meta-qt5, but I figured I'd start here.
Any thoughts as to what could be going wrong?

Board 5 volt problem with rk3288 processor, rk808 pmu

Hi,

My board with rk808 PMU and rk3288 CPU does not output 5 volts from USBs. I'm sure the problem is due to Device Tree because; There is no such problem when I use the dtb file provided by the manufacturer of the board, whose contents I cannot see. When I use that dtb file, I cannot activate other features. How can I activate the 5v feature on the card?

Thank you in advance for your help. Attached you can see the contents of the dts files that I am currently using
rk3288-evb-rk808-linux.zip
.

Poky Dependency

It seems like the only reason that Poky is a dependency is for a symbolic link in the classes directory?

I'm currently working on a project that does not include Poky. Everything in Poky is a collection of various different layers, copied into the Poky repository by a script (scripts/combo-layer). The original source of the allarch.bbclass file is actually openembedded-core, which is what I include in my project.

This immediately makes the layer incompatible with my project. I cannot include poky, since it duplicates everything in openembedded-core.

Is there any reason why adding the file to BBMASK doesn't work? That would remove the dependency on Poky.

In layer.conf:
BBMASK += "meta/classes/allarch.bbclass"

trust.img support?

In my yocto wic image, I notice there is no trust.img partition

During boot I see this error:

[    0.916639] rockchip-dmc dmc: Looking up center-supply from device tree
[    0.916705] rockchip-dmc dmc: Linked as a consumer to regulator.6
[    0.916735] rockchip-dmc dmc: current ATF version 0x101 (a0=0x0)!
[    0.916756] ERROR: could not get clock /dmc:dmc_clk(0)
[    0.916767] rockchip-dmc dmc: Cannot get the clk dmc_clk. If using SCMI, trusted firmware need update to V1.01 and above.
[    0.916822] rockchip-dmc dmc: Dropping the link to regulator.6
[    0.916860] rockchip-dmc: probe of dmc failed with error -2

Is there a way to select between TPL/SPL and idbLoader boot modes?

qt 5.15 camera example get RGA_BLIT fail: Bad address

official example https://doc.qt.io/qt-5/qtmultimedia-multimediawidgets-camera-example.html
when click Capture Photo the console will display the following log, is this normal?

arm_release_ver of this libmali is 'g2p0-01eac0', rk_so_ver is '3'.rga_api version 1.3.1_[11] (RGA is compiling with meson base: $PRODUCT_BASE)
10000 is unsupport format now,pilese fix.
10000 is unsupport format now,pilese fix.
10000 is unsupport format now,pilese fix.
10000 is unsupport format now,pilese fix.
10000 is unsupport format now,pilese fix.
10000 is unsupport format now,pilese fix.
 RgaBlit(1356) RGA_BLIT fail: Bad address RgaBlit(1357) RGA_BLIT fail: Bad address
fd-vir-phy-hnd-format[28, (nil), (nil), (nil), 0]
rect[0, 0, 1920, 1080, 3840, 1080, 65536, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
fd-vir-phy-hnd-format[38, (nil), (nil), (nil), 0]
rect[0, 0, 1920, 1080, 1920, 1088, 2560, 0]
f-blend-size-rotation-col-log-mmu[0, 0, 0, 0, 0, 0, 1]
This output the user patamaters when rga call blit fail

Mali DDK inconsisten on rk3568

I'm trying to get hardware video acceleration for the rk3568 eval board. I can build an image just fine, but X11 is pretty sluggish as is video playback which also shows >80% CPU usage (using gstreamer to play 1080p at 30 FPS mp4 video).

After doing some digging I suspect the issue is with the Mali DDK versions in kernel and userspace:

Running dmesg | grep mali i get the following:

[    0.256150] mali fde60000.gpu: Kernel DDK version g7p1-01bet0
[    0.256240] mali fde60000.gpu: Looking up mali-supply from device tree
[    0.256274] mali fde60000.gpu: Device initialization Deferred
[    1.700872] mali fde60000.gpu: Kernel DDK version g7p1-01bet0
[    1.701048] mali fde60000.gpu: Looking up mali-supply from device tree
[    1.701171] mali fde60000.gpu: Linked as a consumer to regulator.18
[    1.701207] mali fde60000.gpu: Looking up shadercores-supply from device tree
[    1.701227] mali fde60000.gpu: Looking up shadercores-supply property in node /gpu@fde60000 failed
[    1.701340] mali fde60000.gpu: Looking up mali-supply from device tree
[    1.701412] mali fde60000.gpu: Looking up shadercores-supply from device tree
[    1.701427] mali fde60000.gpu: Looking up shadercores-supply property in node /gpu@fde60000 failed
[    1.701465] mali fde60000.gpu: dev_pm_opp_set_regulators: no regulator (shadercores) found: -19
[    1.701633] mali fde60000.gpu: leakage=10
[    1.702570] mali fde60000.gpu: avs=0
[    1.702615] W : [File] : drivers/gpu/arm/bifrost/platform/rk/mali_kbase_config_rk.c; [Line] : 112; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
[    1.703303] mali fde60000.gpu: GPU identified as 0x2 arch 7.4.0 r1p0 status 0
[    1.703592] mali fde60000.gpu: No priority control manager is configured
[    1.703630] mali fde60000.gpu: No memory group manager is configured
[    1.704540] mali fde60000.gpu: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[    1.705957] mali fde60000.gpu: Probed as mali0
[    1.726487] I : [File] : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 413; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_ko_ver is '5', built at '08:58:33', on 'Jan  6 2022'.

So it looks like the kernel is loading g7p1, however in userspace we have /usr/lib/libmali-bifrost-g52-g2p0-x11.so and when I run eglinfo:

EGL client extensions string:
    EGL_EXT_client_extensions EGL_EXT_platform_base
    EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_x11
    EGL_EXT_platform_x11 EGL_KHR_platform_gbm

GBM platform:
arm_release_ver of this libmali is 'g2p0-01eac0', rk_so_ver is '4'.
eglinfo: eglInitialize failed

X11 platform:
EGL API version: 1.4
EGL vendor string: ARM
EGL version string: 1.4 Bifrost-"g2p0-01eac0"
EGL client APIs: OpenGL_ES
EGL extensions string:
    EGL_KHR_image_pixmap EGL_KHR_partial_update
    EGL_EXT_image_dma_buf_import EGL_KHR_config_attribs EGL_KHR_image
    EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync
    EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses
    EGL_IMG_context_priority EGL_KHR_no_config_context
    EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers
    EGL_EXT_yuv_surface EGL_EXT_pixel_format_float
    EGL_ARM_pixmap_multisample_discard EGL_ARM_implicit_external_sync
    EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image
    EGL_KHR_create_context EGL_KHR_surfaceless_context
    EGL_KHR_gl_texture_cubemap_image EGL_EXT_image_gl_colorspace
    EGL_EXT_create_context_robustness
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces 
---------------------------------------------------------------------
0x01 32  0  8  8  8  8  0  0  0 0 0x95TC      a     y  y     win,pb,pix
0x02 32  0  8  8  8  8 24  0  0 0 0x95TC      a     y  y     win,pb,pix
0x03 32  0  8  8  8  8 24  8  0 0 0x95TC      a     y  y     win,pb,pix
0x04 32  0  8  8  8  8 24  8  4 1 0x95TC      a     y  y     win,pb,pix
0x05 16  0  5  6  5  0  0  0  0 0 0x00--      y     y  y     pb,pix
0x06 16  0  5  6  5  0 24  0  0 0 0x00--      y     y  y     pb,pix
0x07 16  0  5  6  5  0 24  8  0 0 0x00--      y     y  y     pb,pix
0x08 16  0  5  6  5  0 24  8  4 1 0x00--      y     y  y     pb,pix
0x09 24  0  8  8  8  0  0  0  0 0 0x21TC      y     y  y     win,pb,pix
0x0a 24  0  8  8  8  0 24  8  0 0 0x21TC      y     y  y     win,pb,pix
0x0b 24  0  8  8  8  0  0  0  4 1 0x21TC      y     y  y     win,pb,pix
0x0c 24  0  8  8  8  0 24  8  4 1 0x21TC      y     y  y     win,pb,pix
0x0d 16  0  5  5  5  1 24  8  0 0 0x00--      a     y  y     pb,pix
0x0e 16  0  5  5  5  1 24  8  4 1 0x00--      a     y  y     pb,pix
0x0f 16  0  4  4  4  4 24  8  0 0 0x00--      a     y  y     pb,pix
0x10 16  0  4  4  4  4 24  8  4 1 0x00--      a     y  y     pb,pix
0x11 32  0  8  8  8  8 24  8  8 1 0x95TC      a     y  y     win,pb,pix
0x12 16  0  5  6  5  0 24  8  8 1 0x00--      y     y  y     pb,pix
0x13 24  0  8  8  8  0 24  8  8 1 0x21TC      y     y  y     win,pb,pix
0x14 32  0  8  8  8  8 24  8 16 1 0x95TC      a     y  y     win,pb,pix
0x15 16  0  5  6  5  0 24  8 16 1 0x00--      y     y  y     pb,pix
0x16 24  0  8  8  8  0 24  8 16 1 0x21TC      y     y  y     win,pb,pix
0x17 24  0  8  8  8  0  0  0  0 0 0x21TC            y  y     win,pb,pix
0x18 64  0 16 16 16 16 24  8  0 0 0x00--            y  y     pb
0x19 32  0 10 10 10  2 24  8  0 0 0x00--      a     y  y     pb,pix
0x1a 24  0  8  8  8  0  0  0  0 0 0x21TC      y     y  y     win,pb,pix

I am building with rockchip-rk3568-evb machine and Poky distro on Honister.
I have also added the following to my image:

DISTRO_FEATURES:remove:rockchip-rk3568-evb = "wayland"
DISTRO_FEATURES:append:rockchip-rk3568-evb = " x11 opengl"
IMAGE_FEATURES:append:rockchip-rk3568-evb = " x11-base ssh-server-openssh"

PACKAGECONFIG:append:pn-qtbase:rockchip-rk3568-evb = " examples"
PACKAGECONFIG:append:pn-gstreamer1.0-plugins-bad:rockchip-rk3568-evb = " kms"
PACKAGECONFIG:append:pn-glmark2:rockchip-rk3568-evb = " x11-gles2 drm-gles2"

CORE_IMAGE_EXTRA_INSTALL:append:rockchip-rk3568-evb = " \
    xf86-video-modesetting xserver-xorg-module-exa xserver-xorg-extension-glx udev-conf-rockchip \
    gstreamer1.0-rockchip gstreamer1.0-libav gstreamer1.0-omx \
    ${@' rockchip-rkisp-server rockchip-rkisp-iqfiles' if d.getVar('RK_ISP_VERSION') == '1' else ''} \
    ${@oe.utils.version_less_or_equal('RK_ISP_VERSION', '1', '', ' rockchip-rkaiq-server rockchip-rkaiq-iqfiles', d)} \
    libdrm-tests strace gdb e2fsprogs e2fsprogs-resize2fs io perf openssh-sftp-server mesa-demos \
    glmark2 \
    iw wpa-supplicant bluez5 \
    alsa-utils rockchip-alsa-config pulseaudio-server alsa-plugins-pulseaudio-conf \
    ${MACHINE_EXTRA_RRECOMMENDS} \
"

I am not familiar with Mali GPU so I may be missing something here, any info that can point me in the right direction would be great.

Issue on core-image-minimal build do_populate_sysroot

While building the image I'm getting this error every time. Dependencies are installed and the issue is exists with use of both the supported and custom machines.

DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_populate_sysroot
DEBUG: Executing shell function sysroot_stage_all
0 blocks
DEBUG: Shell function sysroot_stage_all finished
DEBUG: Executing python function sysroot_strip
NOTE: Skipping file /home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/boot_merger from rk-binary-native for already-stripped QA test
DEBUG: runstrip: ['strip', '--remove-section=.comment', '--remove-section=.note', '/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/trust_merger']
DEBUG: runstrip: ['strip', '--remove-section=.comment', '--remove-section=.note', '/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/loaderimage']
DEBUG: runstrip: ['strip', '--remove-section=.comment', '--remove-section=.note', '/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/rkImageMaker']
DEBUG: runstrip: ['strip', '--remove-section=.comment', '--remove-section=.note', '/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/afptool']
ERROR: Fatal errors occurred in subprocesses:
Command '['strip', '--remove-section=.comment', '--remove-section=.note', '/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/trust_merger']' returned non-zero exit status 1.
Subprocess output:strip: Unable to recognise the format of the input file `/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/trust_merger'
Command '['strip', '--remove-section=.comment', '--remove-section=.note', '/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/loaderimage']' returned non-zero exit status 1.
Subprocess output:strip: Unable to recognise the format of the input file `/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/loaderimage'
Command '['strip', '--remove-section=.comment', '--remove-section=.note', '/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/rkImageMaker']' returned non-zero exit status 1.
Subprocess output:strip: Unable to recognise the format of the input file `/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/rkImageMaker'
Command '['strip', '--remove-section=.comment', '--remove-section=.note', '/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/afptool']' returned non-zero exit status 1.
Subprocess output:strip: Unable to recognise the format of the input file `/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/sysroot-destdir/home/alperenacer/Desktop/poky/build/tmp/work/aarch64-linux/rk-binary-native/1.0-r0/recipe-sysroot-native/usr/bin/afptool'

DEBUG: Python function sysroot_strip finished
DEBUG: Python function do_populate_sysroot finished

Vulkan support

What's the state of Vulkan support? Arm has a Vulkan extension layer for Mali on freedesktop gitlab. I'm interested in Wayland Vulkan and Direct to Display Vulkan. Willing to help.

Using own local u-boot and kernel sources

Hello,

I am trying to build an image for ASUS TinkerBoard 2 (RK3399) from the kirkstone branch. So first I cloned the official u-boot and kernel and I placed in the root poky folder (next to meta-rockchip). I created a new machine config in ./meta-rockchip/conf/machines, using the device tree and uboot from the new custom sources.

tinker-board-2.conf

#@TYPE: Machine
#@NAME: RK3399 Tinker Board 2

require conf/machine/include/rk3399.inc

KERNEL_DEVICETREE = "rockchip/rk3399-tinker_board_2.dtb"

UBOOT_MACHINE = "tinker_board_2_defconfig"

RK_WIFIBT_FIRMWARES = " \
        rkwifibt-firmware-ap6354-wifi \
        rkwifibt-firmware-ap6354-bt \
        brcm-tools \
"

MACHINE_EXTRA_RRECOMMENDS:append = " \
        linux-firmware-rk-cdndp \
"

Finally, I have added the override in my ./build/conf/local.conf

MACHINE ??= "tinker-board-2"
CORE_IMAGE_EXTRA_INSTALL += "kernel-modules tzdata"
IMAGE_FSTYPES = "wic.gz"
DISTRO_FEATURES += " systemd opengl x11"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"

SRC_URI_pn-linux-rockchip = " \
        git://${TOPDIR}/../kernel;protocol=file;usehead=1 \
        file://cgroups.cfg \
"
SRCREV_pn-linux-rockchip = "${AUTOREV}"
KBRANCH = "HEAD"

SRC_URI_pn-u-boot = " \
        git://${TOPDIR}/../u-boot;protocol=file;usehead=1 \
"
SRCREV_pn-u-boot = "${AUTOREV}"

The result is that bitbake core-image-minimal fails with the following errors:

make[3]: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399-tinker_board_2.dtb'. Stop.
| *** Can't find default configuration "arch/../configs/tinker_board_2_defconfig"!

It seems it is still using your mirror for the kernel and u-boot.
Any hint on what am I doing wrong would be appreciated.

Best regards!

LVDS or HDMI display not working

Hello,
I am using Rockchip RK3288. I'm building OS using Yocto, at boot time I can only see splashscreen on HDMI, but then the screen goes black and HDMI goes into no signal. In LVDS, only the backlight works, but no image is displayed.

I am using bitbake core-image-x11 when compiling. When I run a qt interface application over ssh or debug port, I get an error like this:

qt.qpa.xcb: could not connect to display :0.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

aborted

Kernel was used independently of Yocto. LVDS and HDMI worked flawlessly.

I can send it if you need extra information to solve the problem. Thanks.

Overriding KERNEL_DEVICETREE from local.conf doesn't work

In the readme it recommends:

To support new machine, you can [...] choose a similar existing machine and override it's configurations in local config file.

But it's not working for me. When I check with bitbake -e, I can see the wrong value is used:

# $KERNEL_DEVICETREE [2 operations]
#   set /home/parallels/code/yocto/build/conf/local.conf:25
#     "rockchip/rk3566-box-demo-v10.dtb"
#   set /home/parallels/code/yocto/build/../meta-rockchip/conf/machine/rockchip-rk3566-evb.conf:9
#     "rockchip/rk3566-evb2-lp4x-v10-linux.dtb"
# pre-expansion value:
#   "rockchip/rk3566-evb2-lp4x-v10-linux.dtb"
KERNEL_DEVICETREE="rockchip/rk3566-evb2-lp4x-v10-linux.dtb"

[Chromium-Ozone-Wayland][Honister] mpp_rkvdec2 reset repeatedly with mp4 4K60 video on 4K monitor

Kernel log via dmesg

[  295.905081] mpp_rkvdec2 fdf80200.rkvdec: frame not complete
[  295.905148] mpp_rkvdec2 fdf80200.rkvdec: resetting...
[  295.905421] mpp_rkvdec2 fdf80200.rkvdec: reset done
[  298.188488] mpp_rkvdec2 fdf80200.rkvdec: process task timeout
[  298.188535] rkvdec_link_reg_dump:185: dump link config status from timeout
[  298.188538] rkvdec_link_reg_dump:186: reg 0 00000300 - irq status
[  298.188542] rkvdec_link_reg_dump:187: reg 1 ffff8000 - cfg addr
[  298.188545] rkvdec_link_reg_dump:188: reg 2 80000002 - link mode
[  298.188549] rkvdec_link_reg_dump:189: reg 4 0000004f - decoded num
[  298.188551] rkvdec_link_reg_dump:190: reg 5 00000054 - total num
[  298.188554] rkvdec_link_reg_dump:191: reg 6 00000001 - link mode en
[  298.188556] rkvdec_link_reg_dump:192: reg 6 ffff8000 - next ltb addr
[  298.188560] mpp_rkvdec2 fdf80200.rkvdec: frame not complete
[  298.188621] mpp_rkvdec2 fdf80200.rkvdec: resetting...
[  298.188922] mpp_rkvdec2 fdf80200.rkvdec: reset done
[  302.868318] mpp_rkvdec2 fdf80200.rkvdec: process task timeout
[  302.868365] rkvdec_link_reg_dump:185: dump link config status from timeout
[  302.868370] rkvdec_link_reg_dump:186: reg 0 00000300 - irq status
[  302.868374] rkvdec_link_reg_dump:187: reg 1 ffff8000 - cfg addr
[  302.868377] rkvdec_link_reg_dump:188: reg 2 80000002 - link mode
[  302.868379] rkvdec_link_reg_dump:189: reg 4 0000014b - decoded num
[  302.868381] rkvdec_link_reg_dump:190: reg 5 00000150 - total num
[  302.868383] rkvdec_link_reg_dump:191: reg 6 00000001 - link mode en
[  302.868385] rkvdec_link_reg_dump:192: reg 6 ffffb000 - next ltb addr
[  302.868389] mpp_rkvdec2 fdf80200.rkvdec: frame not complete
[  302.868442] mpp_rkvdec2 fdf80200.rkvdec: resetting...
[  302.868792] mpp_rkvdec2 fdf80200.rkvdec: reset done

RKMPP

[431.897] [RKMPP] [928] decoder_thread_fn(305): ERR: frame err or discard
[431.897] [RKMPP] [928] decoder_thread_fn(305): ERR: frame err or discard
[431.905] [RKMPP] [928] decoder_thread_fn(305): ERR: frame err or discard
[431.905] [RKMPP] [928] decoder_thread_fn(305): ERR: frame err or discard
[431.905] [RKMPP] [928] decoder_thread_fn(305): ERR: frame err or discard
[431.905] [RKMPP] [928] decoder_thread_fn(305): ERR: frame err or discard
[431.916] [RKMPP] [928] decoder_thread_fn(305): ERR: frame err or discard

u-boot failed to build

last messages from the build log
| aarch64-poky-linux-objcopy --dump-section .rodata.default_environment=u-boot-initial-env env/common.o; sed --in-place -e 's/\x00/\x0A/g' u-boot-initial-env
| make[1]: Leaving directory '/work/ak/orangepi/rk-yocto-bsp/build/tmp/work/orangepi_4-poky-linux/u-boot/1_2017.09+gitAUTOINC+f06413e433-r0/build'
| make: Leaving directory '/work/ak/orangepi/rk-yocto-bsp/build/tmp/work/orangepi_4-poky-linux/u-boot/1_2017.09+gitAUTOINC+f06413e433-r0/git'
| ERROR: No ../rkbin repository
| WARNING: exit code 1 from a shell command.

it looks line the rkbin is not checked out
I found in the git/make.sh:159 it checks on existing directory of ../rkbin/tools but this path does not exists

The sdk image fails to compile code which depends on mali

/opt/poky/4.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ld: cannot find -lmali_hook_injector: No such file or directory

libmali_hook_injector.a packaged in rockchip-libmali-staticdev, rockchip-libmali-dev required it but does not depend on it.

Rendering issues when using GPU on Wayland

Branch: dunfell

Building the core-image-weston for rk3568, the HW acceleration seems to work but I face serious rendering issues. Only parts of the screen are rendered and there is a need to trigger additional redraw to get the complete image rendered.

[px30-evb-board] Problem with core minimal image from Yocto

Hi, I am new in this field

So I cloned your repo and try to setup the enviroment as in readme.md (the only different is that I cannot clone meta-oe branch kirkstone and have to use the master branch) for yocto to create a minimal image to test it on my custom board. The build went smoothly but when I load the update.img to the board. Nothing happen on the uart debug port. So I do not know which part I did wrong and I just want to ask how do you proceed the build for the px30-evb-board. Is there anything special to config before or any more file to flash in to the board beside update.img

Please help,

Best regards,

How to use custom display with resolution 640x240

Hello,

I am having troubles getting a custom display 640x240 working with TinkerBoard2 (RK3399). Only noise is seen on the screen. In the screenshot you can see the full characteristics of the display. I am using yocto.

So far I have tried:

  1. Created and installed a fb.modes file with the following content:
mode "640x240 60Hz 32bit (GTF)"
    # PCLK: 23.86 MHz, H: 29.82 kHz, V: 60.00 Hz
    geometry 640 240 640 240 32
    timings 41918 80 16 13 1 64 3
    hsync low
    vsync high
endmode
  1. Setting the desired resolution in init.d script
    fbset -fb /dev/fb0 640x240

It had no effect...

In addition I can see the following lines in the UART Log:
can't find valid hdmi mode
and
[drm] [CRTC:70:crtc-1] state:1, vblank wait timed out

These does not appear when using a Full HD monitor.

This is the debug drm log

[  999.306130] rockchip-drm display-subsystem: [drm] plane[68]: plane-2
[  999.307315] rockchip-drm display-subsystem: [drm]    crtc=crtc-1
[  999.308388] rockchip-drm display-subsystem: [drm]    fb=89
[  999.309407] rockchip-drm display-subsystem: [drm]            allocated by = flutter-pi
[  999.310458] rockchip-drm display-subsystem: [drm]            refcount=3
[  999.311464] rockchip-drm display-subsystem: [drm]            format=AR24 little-endian (0x34325241)
[  999.313457] rockchip-drm display-subsystem: [drm]            modifier=0xffffffffffffff
[  999.314538] rockchip-drm display-subsystem: [drm]            size=640x240
[  999.315580] rockchip-drm display-subsystem: [drm]            layers:
[  999.316599] rockchip-drm display-subsystem: [drm]                    size[0]=640x240
[  999.317671] rockchip-drm display-subsystem: [drm]                    pitch[0]=2560
[  999.318698] rockchip-drm display-subsystem: [drm]                    offset[0]=0
[  999.319653] rockchip-drm display-subsystem: [drm]                    obj[0]:(null)
[  999.320588] rockchip-drm display-subsystem: [drm]    crtc-pos=640x240+0+0
[  999.321480] rockchip-drm display-subsystem: [drm]    src-pos=640.000000x240.000000+0.000000+0.000000
[  999.323154] rockchip-drm display-subsystem: [drm]    rotation=1
[  999.324111] rockchip-drm display-subsystem: [drm]    normalized-zpos=0
[  999.325041] rockchip-drm display-subsystem: [drm]    color-encoding=ITU-R BT.601 YCbCr
[  999.326896] rockchip-drm display-subsystem: [drm]    color-range=YCbCr limited range
[  999.328901] rockchip-drm display-subsystem: [drm] plane[71]: plane-4
[  999.329992] rockchip-drm display-subsystem: [drm]    crtc=(null)
[  999.331120] rockchip-drm display-subsystem: [drm]    fb=0
[  999.332213] rockchip-drm display-subsystem: [drm]    crtc-pos=0x0+0+0
[  999.333299] rockchip-drm display-subsystem: [drm]    src-pos=0.000000x0.000000+0.000000+0.000000
[  999.335361] rockchip-drm display-subsystem: [drm]    rotation=1
[  999.336418] rockchip-drm display-subsystem: [drm]    normalized-zpos=0
[  999.337503] rockchip-drm display-subsystem: [drm]    color-encoding=ITU-R BT.601 YCbCr
[  999.339603] rockchip-drm display-subsystem: [drm]    color-range=YCbCr limited range
[  999.341862] rockchip-drm display-subsystem: [drm] plane[73]: plane-5
[  999.343021] rockchip-drm display-subsystem: [drm]    crtc=(null)
[  999.344153] rockchip-drm display-subsystem: [drm]    fb=0
[  999.345261] rockchip-drm display-subsystem: [drm]    crtc-pos=0x0+0+0
[  999.346378] rockchip-drm display-subsystem: [drm]    src-pos=0.000000x0.000000+0.000000+0.000000
[  999.348616] rockchip-drm display-subsystem: [drm]    rotation=1
[  999.349806] rockchip-drm display-subsystem: [drm]    normalized-zpos=0
[  999.351019] rockchip-drm display-subsystem: [drm]    color-encoding=ITU-R BT.601 YCbCr
[  999.353385] rockchip-drm display-subsystem: [drm]    color-range=YCbCr limited range
[  999.355820] rockchip-drm display-subsystem: [drm] crtc[70]: crtc-1
[  999.357109] rockchip-drm display-subsystem: [drm]    enable=1
[  999.358375] rockchip-drm display-subsystem: [drm]    active=1
[  999.359589] rockchip-drm display-subsystem: [drm]    planes_changed=0
[  999.360797] rockchip-drm display-subsystem: [drm]    mode_changed=0
[  999.361943] rockchip-drm display-subsystem: [drm]    active_changed=0
[  999.363045] rockchip-drm display-subsystem: [drm]    connectors_changed=0
[  999.364175] rockchip-drm display-subsystem: [drm]    color_mgmt_changed=0
[  999.365293] rockchip-drm display-subsystem: [drm]    plane_mask=4
[  999.366395] rockchip-drm display-subsystem: [drm]    connector_mask=2
[  999.367504] rockchip-drm display-subsystem: [drm]    encoder_mask=2
[  999.368567] rockchip-drm display-subsystem: [drm]    mode: 0:"640x240" 60 13600 640 656 752 800 240 244 246 285 0x48 0xa

Any help would be appreciated!

Best regards!

Gitchy graphics with xserver

Hi @JeffyCN, I have a custom board that uses rk3399pro (rockpi-n10) and I'm glueing a yocto build that uses parts of meta-rockchip (this repo) and meta-radxa. Without these graphics recipes, xserver displays fine, but rendering 2d graphics is extremely slow so I thought of baking in the graphic recipes from this layer.

Now, I'm having a weird issue with the xserver I was hoping you can help me with:
image

X11 logs seems to be complaining about rockchip_dri.so driver missing:

root@rockpi-n10-rk3399pro:~# cat /var/log/Xorg.0.log
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[     9.751] Build Operating System: Linux 
[     9.751] Current Operating System: Linux rockpi-n10-rk3399pro 4.4.167 #1 SMP Mon Apr 26 13:14:17 UTC 2021 aarch64
[     9.751] Kernel command line: console=tty1 console=ttyS2,1500000n8 rw root=PARTUUID=b921b045-1df0-41c3-af44-4c6f280d3fae rootfstype=ext4 init=/sbin/init rootwait cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[     9.752] Build Date: 15 March 2021  02:06:25PM
[     9.752]  
[     9.753] Current version of pixman: 0.38.4
[     9.753]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[     9.753] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     9.754] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 20 10:44:02 2020
[     9.755] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     9.756] (==) No Layout section.  Using the first Screen section.
[     9.756] (**) |-->Screen "Default Screen" (0)
[     9.756] (**) |   |-->Monitor "Default Monitor"
[     9.757] (**) |   |-->Device "Rockchip Graphics"
[     9.757] (==) Automatically adding devices
[     9.757] (==) Automatically enabling devices
[     9.757] (==) Automatically adding GPU devices
[     9.757] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     9.757] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.
[     9.757]    Entry deleted from font path.
[     9.757] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[     9.757]    Entry deleted from font path.
[     9.757] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[     9.757]    Entry deleted from font path.
[     9.757] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[     9.757]    Entry deleted from font path.
[     9.757] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[     9.757]    Entry deleted from font path.
[     9.757] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[     9.757]    Entry deleted from font path.
[     9.757] (==) FontPath set to:
[     9.757] (==) ModulePath set to "/usr/lib/xorg/modules"
[     9.757] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[     9.757] (II) Loader magic: 0x55690eecd0
[     9.757] (II) Module ABI versions:
[     9.757]    X.Org ANSI C Emulation: 0.4
[     9.757]    X.Org Video Driver: 24.1
[     9.757]    X.Org XInput driver : 24.1
[     9.757]    X.Org Server Extension : 10.0
[     9.760] (--) using VT number 2
[     9.760] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     9.762] (II) xfree86: Adding drm device (/dev/dri/card0)
[     9.770] (II) no primary bus or device found
[     9.770]    falling back to /sys/devices/platform/display-subsystem/drm/card0
[     9.770] (II) LoadModule: "glx"
[     9.771] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     9.778] (II) Module glx: vendor="X.Org Foundation"
[     9.778]    compiled for 1.20.8, module version = 1.0.0
[     9.778]    ABI class: X.Org Server Extension, version 10.0
[     9.778] (II) LoadModule: "modesetting"
[     9.779] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     9.780] (II) Module modesetting: vendor="X.Org Foundation"
[     9.780]    compiled for 1.20.8, module version = 1.20.8
[     9.780]    Module class: X.Org Video Driver
[     9.780]    ABI class: X.Org Video Driver, version 24.1
[     9.780] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     9.852] (II) modeset(0): using drv /dev/dri/card0
[     9.852] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[     9.852] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen" for depth/fbbpp 24/32
[     9.852] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[     9.852] (**) modeset(0): Option "AccelMethod" "exa"
[     9.852] (**) modeset(0): Option "FlipFB" "always"
[     9.853] (**) modeset(0): Option "NoEDID" "true"
[     9.853] (==) modeset(0): RGB weight 888
[     9.853] (==) modeset(0): Default visual is TrueColor
[     9.853] (**) modeset(0): glamor disabled
[     9.853] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[     9.853] (II) modeset(0): FlipFB: Always
[     9.853] (II) modeset(0): Output DSI-1 using monitor section Default Monitor
[     9.853] (**) modeset(0): Option "Rotate" "normal"
[     9.853] (II) modeset(0): EDID for output DSI-1
[     9.854] (II) modeset(0): Printing probed modes for output DSI-1
[     9.854] (II) modeset(0): Modeline "720x1280"x60.6   67.00  720 832 836 848  1280 1292 1296 1304 -hsync -vsync (79.0 kHz P)
[     9.854] (II) modeset(0): Modeline "720x1280"x60.6   67.00  720 732 736 848  1280 1288 1292 1304 (79.0 kHz)
[     9.854] (II) modeset(0): Output DSI-1 connected
[     9.854] (II) modeset(0): Using exact sizes for initial modes
[     9.854] (II) modeset(0): Output DSI-1 using initial mode 720x1280 +0+0
[     9.854] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[     9.854] (==) modeset(0): DPI set to (96, 96)
[     9.854] (II) Loading sub module "fb"
[     9.854] (II) LoadModule: "fb"
[     9.854] (II) Loading /usr/lib/xorg/modules/libfb.so
[     9.855] (II) Module fb: vendor="X.Org Foundation"
[     9.855]    compiled for 1.20.8, module version = 1.0.0
[     9.855]    ABI class: X.Org ANSI C Emulation, version 0.4
[     9.861] (II) Loading sub module "exa"
[     9.861] (II) LoadModule: "exa"
[     9.861] (II) Loading /usr/lib/xorg/modules/libexa.so
[     9.861] (II) Module exa: vendor="X.Org Foundation"
[     9.861]    compiled for 1.20.8, module version = 2.6.0
[     9.861]    ABI class: X.Org Video Driver, version 24.1
[     9.861] (II) modeset(0): Using RGA EXA
[     9.862] (II) EXA(0): Driver allocated offscreen pixmaps
[     9.862] (II) EXA(0): Driver registered support for the following operations:
[     9.862] (II)         Solid
[     9.862] (II)         Copy
[     9.862] (II)         Composite (RENDER acceleration)
[     9.862] (II)         UploadToScreen
[     9.862] (II)         DownloadFromScreen
[     9.944] (II) modeset(0): exa initialized
[     9.944] (==) modeset(0): Backing store enabled
[     9.944] (==) modeset(0): Silken mouse enabled
[     9.944] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[     9.944] (==) modeset(0): DPMS enabled
[     9.944] (WW) modeset(0): Option "Rotate" is not used
[     9.946] (II) modeset(0): [DRI2] Setup complete
[     9.946] (II) modeset(0): [DRI2]   DRI driver: rockchip
[     9.946] (II) modeset(0): [DRI2]   VDPAU driver: rockchip
[     9.946] (II) Initializing extension Generic Event Extension
[     9.946] (II) Initializing extension SHAPE
[     9.946] (II) Initializing extension MIT-SHM
[     9.946] (II) Initializing extension XInputExtension
[     9.946] (II) Initializing extension XTEST
[     9.946] (II) Initializing extension BIG-REQUESTS
[     9.946] (II) Initializing extension SYNC
[     9.946] (II) Initializing extension XKEYBOARD
[     9.946] (II) Initializing extension XC-MISC
[     9.946] (II) Initializing extension XFIXES
[     9.946] (II) Initializing extension RENDER
[     9.946] (II) Initializing extension RANDR
[     9.946] (II) Initializing extension COMPOSITE
[     9.946] (II) Initializing extension DAMAGE
[     9.946] (II) Initializing extension MIT-SCREEN-SAVER
[     9.946] (II) Initializing extension DOUBLE-BUFFER
[     9.946] (II) Initializing extension DPMS
[     9.946] (II) Initializing extension Present
[     9.946] (II) Initializing extension DRI3
[     9.946] (II) Initializing extension X-Resource
[     9.946] (II) Initializing extension XVideo
[     9.946] (II) Initializing extension XVideo-MotionCompensation
[     9.946] (II) Initializing extension GLX
[     9.946] (EE) AIGLX error: dlopen of /usr/lib/dri/rockchip_dri.so failed (/usr/lib/dri/rockchip_dri.so: cannot open shared object file: No such file or directory)
[     9.946] (EE) AIGLX error: unable to load driver rockchip
[     9.958] (II) IGLX: Loaded and initialized swrast
[     9.958] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[     9.958] (II) Initializing extension XFree86-VidModeExtension
[     9.958] (II) Initializing extension XFree86-DGA
[     9.958] (II) Initializing extension XFree86-DRI
[     9.958] (II) Initializing extension DRI2
[     9.967] (II) modeset(0): Damage tracking initialized
[     9.967] (II) modeset(0): Setting screen physical size to 190 x 338
[    10.023] (II) config/udev: Adding input device goodix-ts (/dev/input/event1)
[    10.023] (**) goodix-ts: Applying InputClass "evdev touchscreen catchall"
[    10.023] (**) goodix-ts: Applying InputClass "libinput touchscreen catchall"
[    10.023] (II) LoadModule: "libinput"
[    10.024] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    10.025] (II) Module libinput: vendor="X.Org Foundation"
[    10.025]    compiled for 1.20.8, module version = 0.29.0
[    10.025]    Module class: X.Org XInput Driver
[    10.025]    ABI class: X.Org XInput driver, version 24.1
[    10.025] (II) Using input driver 'libinput' for 'goodix-ts'
[    10.025] (**) goodix-ts: always reports core events
[    10.025] (**) Option "Device" "/dev/input/event1"
[    10.025] (**) Option "_source" "server/udev"
[    10.029] (II) event1  - goodix-ts: is tagged by udev as: Touchscreen
[    10.030] (II) event1  - goodix-ts: device is a touch device
[    10.030] (II) event1  - goodix-ts: device removed
[    10.100] (**) Option "config_info" "udev:/sys/devices/platform/ff110000.i2c/i2c-1/1-0014/input/input1/event1"
[    10.100] (II) XINPUT: Adding extended input device "goodix-ts" (type: TOUCHSCREEN, id 6)
[    10.101] (**) Option "AccelerationScheme" "none"
[    10.101] (**) goodix-ts: (accel) selected scheme none/0
[    10.101] (**) goodix-ts: (accel) acceleration factor: 2.000
[    10.101] (**) goodix-ts: (accel) acceleration threshold: 4
[    10.109] (II) event1  - goodix-ts: is tagged by udev as: Touchscreen
[    10.112] (II) event1  - goodix-ts: device is a touch device
[    10.118] (II) config/udev: Adding input device rk8xx_pwrkey (/dev/input/event0)
[    10.118] (**) rk8xx_pwrkey: Applying InputClass "evdev keyboard catchall"
[    10.118] (**) rk8xx_pwrkey: Applying InputClass "libinput keyboard catchall"
[    10.118] (II) Using input driver 'libinput' for 'rk8xx_pwrkey'
[    10.118] (**) rk8xx_pwrkey: always reports core events
[    10.118] (**) Option "Device" "/dev/input/event0"
[    10.118] (**) Option "_source" "server/udev"
[    10.126] (II) event0  - rk8xx_pwrkey: is tagged by udev as: Keyboard
[    10.126] (II) event0  - rk8xx_pwrkey: device is a keyboard
[    10.127] (II) event0  - rk8xx_pwrkey: device removed
[    10.148] (**) Option "config_info" "udev:/sys/devices/platform/ff3c0000.i2c/i2c-0/0-0020/input/input0/event0"
[    10.148] (II) XINPUT: Adding extended input device "rk8xx_pwrkey" (type: KEYBOARD, id 7)
[    10.153] (II) event0  - rk8xx_pwrkey: is tagged by udev as: Keyboard
[    10.153] (II) event0  - rk8xx_pwrkey: device is a keyboard
[    10.155] (II) config/udev: Adding input device gpio-keys (/dev/input/event2)
[    10.155] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
[    10.155] (**) gpio-keys: Applying InputClass "libinput keyboard catchall"
[    10.155] (II) Using input driver 'libinput' for 'gpio-keys'
[    10.155] (**) gpio-keys: always reports core events
[    10.155] (**) Option "Device" "/dev/input/event2"
[    10.155] (**) Option "_source" "server/udev"
[    10.157] (II) event2  - gpio-keys: is tagged by udev as: Keyboard
[    10.157] (II) event2  - gpio-keys: device is a keyboard
[    10.157] (II) event2  - gpio-keys: device removed
[    10.224] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys/input/input2/event2"
[    10.224] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 8)
[    10.230] (II) event2  - gpio-keys: is tagged by udev as: Keyboard
[    10.230] (II) event2  - gpio-keys: device is a keyboard
[    10.267] (WW) modeset(0): flip queue failed: Invalid argument
[    10.267] (WW) modeset(0): Page flip failed: Invalid argument
[    10.588] (II) modeset(0): Disabling kernel dirty updates, not required.

weston does not run on the rk3288-evb development board

Describe the bug
I tried to run weston by building a meta-rockchip layer(zeus) with yocto, but an error occurred.

Environment

Board : rk3288-evb
build branch : meta-rockchip(zeus), poky(zeus), meta-openembedded(zeus)

build/conf/bblayers.conf

BBLAYERS ?= " \
  ${TOPDIR}/../meta-rockchip \
  ${TOPDIR}/../poky/meta \
  ${TOPDIR}/../poky/meta-poky \
  ${TOPDIR}/../poky/meta-yocto-bsp \
  ${TOPDIR}/../meta-openembedded/meta-oe \

build/conf/local.conf

  MACHINE = "rockchip-rk3288-evb"

build core-image-core-image-weston

$ bitbake core-image-core-image-weston

result of the build

결과물

flash emmc

rkdeveloptool db loader.bin-2017.09+gitAUTOINC+e3ca3c3805_104659686b
rkdeveloptool gpt core-image-weston-rockchip-rk3288-evb.parameter
rkdeveloptool wl 0x4000 u-boot-rockchip-rk3288-evb-2017.09+gitAUTOINC+e3ca3c3805_104659686b-r0.bin
rkdeveloptool wl 0x6000 trust.img-2017.09+gitAUTOINC+e3ca3c3805_104659686b
rkdeveloptool wl 0x8000 boot.img--4.4+git0+0a502c81c2-r0-rockchip-rk3288-evb-20220303132749.bin
rkdeveloptool wl 0xc000 core-image-weston-rockchip-rk3288-evb-20220303151315.rootfs.ext4
rkdeveloptool  rd

Error when executing weston

  1. XDG_RUNTIME_DIR not set error:
    xdg_err

[Solved]
$ mkdir /tmp/wayland
$ echo XDG_RUNTIME_DIR=/tmp/wayland >> /etc/environment

  1. drm-backend error
    weston_err
root@rockchip-rk3288-evb:~# weston
Date: 2022-03-03 UTC
[17:00:23.927] weston 7.0.0
               https://wayland.freedesktop.org
               Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
               Build: 7.0.0
[17:00:23.940] Command line: weston
[17:00:23.943] OS: Linux, 4.4.194-rockchip-standard, #1 SMP Thu Mar 3 14:04:16 UTC 2022, armv7l
[17:00:23.952] warning: XDG_RUNTIME_DIR "/tmp/wayland" is not configured
correctly.  Unix access mode must be 0700 (current mode is 755),
and must be owned by the user (current owner is UID 0).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[17:00:23.980] Using config file '/etc/xdg/weston/weston.ini'
[17:00:23.986] Output repaint window is 7 ms maximum.
[17:00:23.991] Loading module '/usr/lib/libweston-7/drm-backend.so'
[17:00:24.008] initializing drm backend
[17:00:24.008] <stdin> not a vt
[17:00:24.009] if running weston from ssh, use --tty to specify a tty
[17:00:24.015] fatal: drm backend should be run using weston-launch binary, or your system should provide the logind D-Bus API.
[17:00:24.027] fatal: failed to create compositor backend
Internal warning: debug scope 'drm-backend' has not been destroyed.

I want to know the cause of the error as follows.
Is there anything else I need to do?

GBM application failed with error EGL_BAD_DISPLAY

I test ozone-gbm on rk3566 but it failed with error below.

[ERROR:gl_surface_egl.cc(1382)] eglInitialize Default failed with error EGL_BAD_DISPLAY
[ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
[ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization

But kmscube and glmark2-es2-drm work ok.

Is this a gbm driver issue?

xserver-xorg branch rewrites breaks meta-rockchip releases

Branch 1.20.4 was rewritten, which makes eg. 1.20.4_2019_9_29 unreachable from the branch.
As a consequence, xserver-xorg recipe in release 1.1.0 fail to fetch, unless the download has been previously cached.

I guess the clean way to handle this is to ship patches in meta-rockchip, rather than pointing to a moving source tree.

ASUS TinkerBoard 2 kernel 4.19 hang at startup

Hello,

I had a little progress on TinkerBoard 2 but I am again stuck with some issue. I created a custom machine tinker-board-2.conf, providing the official device tree, kernel and u-boot configs from the official TinkerBoard2 repo. It got me to the current state - stuck at the Rockchip logo with the following kernel log (got it from the debug port). I am using the kirkstone branch.

Any help would be appreciated.

Best regards!

u▒{B▒y.▒q▒.▒DD▒▒sB▒▒▒▒F{G▒W__w_▒.Fgg▒WfGFgGFGFg^FWgW▒oo▒y{{{y{qq{▒Kvn_O▒y{ffo▒▒▒vDM: v1
no mmc device at slot 1
Found IDB in SDcard
dwmmc@fe320000: 1 (SD), sdhci@fe330000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 52Mhz
PartType: EFI
No misc partition
boot mode: None
Found DTB in boot part
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 400000Hz
PMIC:  RK808
vdd_center 900000 uV
vdd_cpu_l 900000 uV
vdd_log 1100000 uV
Can't get crtc id, default set to id = 0
Could not find baseparameter partition
Model: ASUS Tinker Board 2/2S
Rockchip UBOOT DRM driver version: v1.0.1
xfer: num: 2, addr: 0x50
xfer: num: 2, addr: 0x50
Could not find baseparameter partition
mode:1920x1080
hdmi@ff940000:  detailed mode clock 148500 kHz, flags[5]
    H: 1920 2008 2052 2200
    V: 1080 1084 1089 1125
bus_format: 2025
CEA mode used vic=16
final pixclk = 148500000 tmdsclk = 148500000
PHY powered down in 0 iterations
PHY PLL locked 1 iterations
PHY powered down in 0 iterations
PHY PLL locked 1 iterations
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  aplll 816000 KHz
  apllb 816000 KHz
  dpll 856000 KHz
  cpll 24000 KHz
  gpll 800000 KHz
  npll 600000 KHz
  vpll 148000 KHz
  aclk_perihp 133333 KHz
  hclk_perihp 66666 KHz
  pclk_perihp 33333 KHz
  aclk_perilp0 266666 KHz
  hclk_perilp0 88888 KHz
  pclk_perilp0 44444 KHz
  hclk_perilp1 100000 KHz
  pclk_perilp1 50000 KHz
No misc partition
Net:   rk3399_gmac_set_clk: internal clock is UNIMPLEMENTED
No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0
Could not find misc partition
ANDROID: reboot reason: "(none)"
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
Booting IMAGE kernel at 0x00280000 with fdt at 0x08300000...


Fdt Ramdisk skip relocation
No misc partition
## Booting Android Image at 0x0027f800 ...
Kernel: 0x00280000 - 0x01b89808 (25639 KiB)
## Flattened Device Tree blob at 0x08300000
   Booting using the fdt blob at 0x08300000
   XIP Kernel Image from 0x00280000 to 0x00280000 ... OK
   kernel loaded at 0x00280000, end = 0x01b89808
  'reserved-memory' ramoops@110000: addr=110000 size=f0000
   Using Device Tree in place at 0000000008300000, end 000000000831e5c2
failed to reserve drm-cubic-lut memory
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x0a200000 - 0x80000000 (size: 0x75e00000)
Total: 4938.124 ms

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.19.219-rockchip-standard (oe-user@oe-host) (gcc version 11.3.0 (GCC), GNU ld (GNU Binutils) 2.38.20220623) #1 SMP Thu Jan 6 08:58:33 UTC 2022
[    0.000000] Machine model: ASUS Tinker Board 2/2S
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 23 pages/cpu s54056 r8192 d31960 u94208
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507912
[    0.000000] Kernel command line: sdfwupdate storagemedia=sd androidboot.storagemedia=sd androidboot.mode=normal androidboot.verifiedbootstate=orange androidboot.serialno=329830ba8b82bc5a  rw rootwait console=tty0 earlycon=uart8250,mmio32,0xff1a0000 console=ttyFIQ0 rootfstype=ext4 coherent_pool=1m
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1982896K/2064384K available (16254K kernel code, 2214K rwdata, 5412K rodata, 1728K init, 563K bss, 65104K reserved, 16384K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] ftrace: allocating 55893 entries in 219 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @a380000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GIC: using LPI property table @0x000000000a310000
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] CPU0: using LPI pending table @0x000000000a320000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] random: random: get_random_bytes called from start_kernel+0x358/0x4dc with crng_init=0
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.010364] Console: colour dummy device 80x25
[    0.016069] console [tty0] enabled
[    0.019844] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.031141] pid_max: default: 32768 minimum: 301
[    0.036397] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.043783] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.053092] ASID allocator initialised with 32768 entries
[    0.059159] rcu: Hierarchical SRCU implementation.
[    0.068131] Platform MSI: interrupt-controller@fee20000 domain created
[    0.075877] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.086236] smp: Bringing up secondary CPUs ...
[    0.091874] Detected VIPT I-cache on CPU1
[    0.091917] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.091963] CPU1: using LPI pending table @0x000000007e110000
[    0.092020] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.092874] Detected VIPT I-cache on CPU2
[    0.092915] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.092962] CPU2: using LPI pending table @0x000000007e170000
[    0.093018] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.093855] Detected VIPT I-cache on CPU3
[    0.093895] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.093941] CPU3: using LPI pending table @0x000000007e190000
[    0.093997] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.094927] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.094934] CPU features: enabling workaround for EL2 vector hardening
[    0.094944] Detected PIPT I-cache on CPU4
[    0.094970] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.095029] CPU4: using LPI pending table @0x000000007e1e0000
[    0.095066] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.095787] Detected PIPT I-cache on CPU5
[    0.095817] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.095875] CPU5: using LPI pending table @0x000000007e1f0000
[    0.095912] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.096020] smp: Brought up 1 node, 6 CPUs
[    0.241762] SMP: Total of 6 processors activated.
[    0.246943] CPU features: detected: GIC system register CPU interface
[    0.254034] CPU features: detected: 32-bit EL0 Support
[    0.259775] CPU: All CPU(s) started at EL2
[    0.264328] alternatives: patching kernel code
[    0.270524] devtmpfs: initialized
[    0.290667] Registered cp15_barrier emulation handler
[    0.296250] Registered setend emulation handler
[    0.301481] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.312199] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.319575] xor: measuring software checksum speed
[    0.357697]    8regs     :  2857.200 MB/sec
[    0.394438]    8regs_prefetch:  2559.600 MB/sec
[    0.431177]    32regs    :  3193.200 MB/sec
[    0.467917]    32regs_prefetch:  2835.600 MB/sec
[    0.472990] xor: using function: 32regs (3193.200 MB/sec)
[    0.478922] pinctrl core: initialized pinctrl subsystem
[    0.485316] NET: Registered protocol family 16
[    0.492162] cpuidle: using governor menu
[    0.496494] Registered FIQ tty driver
[    0.500948] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.510097] DMA: preallocated 1024 KiB pool for atomic allocations
[    0.519159] console [pstore-1] enabled
[    0.523296] pstore: Registered ramoops as persistent store backend
[    0.530090] ramoops: attached 0xf0000@0x110000, ecc: 0/0
[    0.556767] rockchip-gpio ff720000.gpio0: probed gpio0 (ff720000.gpio0)
[    0.564467] rockchip-gpio ff730000.gpio1: probed gpio1 (ff730000.gpio1)
[    0.572151] rockchip-gpio ff780000.gpio2: probed gpio2 (ff780000.gpio2)
[    0.579825] rockchip-gpio ff788000.gpio3: probed gpio3 (ff788000.gpio3)
[    0.587506] rockchip-gpio ff790000.gpio4: probed gpio4 (ff790000.gpio4)
[    0.594859] rockchip-pinctrl pinctrl: probed pinctrl
[    0.610794] cryptd: max_cpu_qlen set to 1000
[    0.671727] raid6: int64x1  gen()   475 MB/s
[    0.731853] raid6: int64x1  xor()   413 MB/s
[    0.791975] raid6: int64x2  gen()   656 MB/s
[    0.852081] raid6: int64x2  xor()   594 MB/s
[    0.912190] raid6: int64x4  gen()   982 MB/s
[    0.972337] raid6: int64x4  xor()   666 MB/s
[    1.032453] raid6: int64x8  gen()   753 MB/s
[    1.092581] raid6: int64x8  xor()   581 MB/s
[    1.152722] raid6: neonx1   gen()   986 MB/s
[    1.212798] raid6: neonx1   xor()  1103 MB/s
[    1.272956] raid6: neonx2   gen()  1258 MB/s
[    1.333063] raid6: neonx2   xor()  1367 MB/s
[    1.393172] raid6: neonx4   gen()  1449 MB/s
[    1.453306] raid6: neonx4   xor()  1388 MB/s
[    1.513440] raid6: neonx8   gen()  1770 MB/s
[    1.573532] raid6: neonx8   xor()  1581 MB/s
[    1.578226] raid6: using algorithm neonx8 gen() 1770 MB/s
[    1.584158] raid6: .... xor() 1581 MB/s, rmw enabled
[    1.589613] raid6: using neon recovery algorithm
[[    1.595590] console [ttyFIQ0] enabled
    1.595590] console [ttyFIQ0] enabled
[    1.603277] bootconsole [uart8250] disabled
[    1.603277] bootconsole [uart8250] disabled
[    1.608026] Registered fiq debugger ttyFIQ0
[    1.608655] reg-fixed-voltage vcc1v8-s3: Failed to register regulator: -517
[    1.608774] reg-fixed-voltage vcc3v0-sd: Failed to register regulator: -517
[    1.608884] reg-fixed-voltage vcc3v3-sys: Failed to register regulator: -517
[    1.608986] vcc_sys: supplied by dc_12v
[    1.609760] vcc_lcd: supplied by vcc5v0_sys
[    1.635493] rk_iommu ff650800.iommu: version = 1
[    1.635962] rk_iommu ff660480.iommu: version = 1
[    1.636295] rk_iommu ff670800.iommu: version = 1
[    1.636634] rk_iommu ff8f3f00.iommu: version = 1
[    1.636875] rk_iommu ff903f00.iommu: version = 1
[    1.637119] rk_iommu ff914000.iommu: version = 1
[    1.637767] SCSI subsystem initialized
[    1.637987] usbcore: registered new interface driver usbfs
[    1.638045] usbcore: registered new interface driver hub
[    1.638097] usbcore: registered new device driver usb
[    1.638218] media: Linux media interface: v0.10
[    1.638263] videodev: Linux video capture interface: v2.00
[    1.638331] pps_core: LinuxPPS API ver. 1 registered
[    1.638352] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    1.638383] PTP clock support registered
[    1.639875] Advanced Linux Sound Architecture Driver Initialized.
[    1.640258] Bluetooth: Core ver 2.22
[    1.640306] NET: Registered protocol family 31
[    1.640327] Bluetooth: HCI device and connection manager initialized
[    1.640352] Bluetooth: HCI socket layer initialized
[    1.640373] Bluetooth: L2CAP socket layer initialized
[    1.640411] Bluetooth: SCO socket layer initialized
[    1.641369] clocksource: Switched to clocksource arch_sys_counter
[    1.719684] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[    1.719922] NET: Registered protocol family 2
[    1.720130] IP idents hash table entries: 32768 (order: 6, 262144 bytes)
[    1.721250] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes)
[    1.721324] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.721508] TCP bind hash table entries: 16384 (order: 7, 524288 bytes)
[    1.721965] TCP: Hash tables configured (established 16384 bind 16384)
[    1.722123] UDP hash table entries: 1024 (order: 4, 98304 bytes)
[    1.722244] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes)
[    1.722518] NET: Registered protocol family 1
[    1.722926] RPC: Registered named UNIX socket transport module.
[    1.722951] RPC: Registered udp transport module.
[    1.722969] RPC: Registered tcp transport module.
[    1.722986] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.725175] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.725483] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    1.727143] Initialise system trusted keyrings
[    1.727281] workingset: timestamp_bits=61 max_order=19 bucket_order=0
[    1.732613] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.733301] NFS: Registering the id_resolver key type
[    1.733344] Key type id_resolver registered
[    1.733363] Key type id_legacy registered
[    1.733842] Key type cifs.spnego registered
[    1.733870] Key type cifs.idmap registered
[    1.733891] ntfs: driver 2.1.32 [Flags: R/O].
[    1.734070] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    1.734252] fuse init (API version 7.27)
[    1.734672] SGI XFS with security attributes, no debug enabled
[    1.736872] NET: Registered protocol family 38
[    1.736909] Key type asymmetric registered
[    1.736929] Asymmetric key parser 'x509' registered
[    1.736974] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    1.736999] io scheduler noop registered
[    1.737017] io scheduler deadline registered
[    1.737122] io scheduler cfq registered (default)
[    1.737144] io scheduler mq-deadline registered
[    1.737162] io scheduler kyber registered
[    1.739700] phy phy-ff770000.syscon:[email protected]: No vbus specified for otg port
[    1.741510] rockchip-mipi-dphy-rx ff770000.syscon:mipi-dphy-rx0: invalid resource
[    1.741804] rockchip-mipi-dphy-rx ff968000.mipi-dphy-tx1rx1: bad remote port parent
[    1.745716] rockchip-pcie f8000000.pcie: missing "memory-region" property
[    1.745895] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    1.745942] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    1.745986] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    1.746028] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    1.746065] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    1.746103] rockchip-pcie f8000000.pcie:   MEM 0xfa000000..0xfbdfffff -> 0xfa000000
[    1.746133] rockchip-pcie f8000000.pcie:    IO 0xfbe00000..0xfbefffff -> 0xfbe00000
[    2.298081] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    2.298118] rockchip-pcie f8000000.pcie: deferred probe failed
[    2.298221] rockchip-pcie: probe of f8000000.pcie failed with error -110
[    2.299114] mpp_service mpp-srv: unknown mpp version for missing VCS info
[    2.299141] mpp_service mpp-srv: probe start
[    2.299565] iommu: Adding device ff660000.rkvdec to group 1
[    2.299605] mpp_rkvdec ff660000.rkvdec: Linked as a consumer to ff660480.iommu
[    2.299812] mpp_rkvdec ff660000.rkvdec: probing start
[    2.300195] rkvdec_init:1222: failed on clk_get clk_hevc_cabac
[    2.300276] mpp_rkvdec ff660000.rkvdec: shared_video_hevc_cabac is not found!
[    2.300298] rkvdec_init:1253: No hevc cabac reset resource define
[    2.300495] mpp_rkvdec ff660000.rkvdec: probing finish
[    2.301535] iommu: Adding device ff650400.vdpu to group 0
[    2.301575] mpp_vdpu2 ff650400.vdpu: Linked as a consumer to ff650800.iommu
[    2.301761] mpp_vdpu2 ff650400.vdpu: probe device
[    2.302122] mpp_vdpu2 ff650400.vdpu: reset_group->rw_sem_on=0
[    2.302156] mpp_vdpu2 ff650400.vdpu: reset_group->rw_sem_on=0
[    2.302312] mpp_vdpu2 ff650400.vdpu: probing finish
[    2.302698] iommu: Adding device ff650000.vepu to group 0
[    2.302736] mpp_vepu2 ff650000.vepu: Linked as a consumer to ff650800.iommu
[    2.302796] mpp_vepu2 ff650000.vepu: probe device
[    2.303102] mpp_vepu2 ff650000.vepu: reset_group->rw_sem_on=0
[    2.303129] mpp_vepu2 ff650000.vepu: reset_group->rw_sem_on=0
[    2.303281] mpp_vepu2 ff650000.vepu: probing finish
[    2.304039] mpp_service mpp-srv: probe success
[    2.307071] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.307108] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    2.308378] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.308412] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.309294] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    2.309748] vdd_log: supplied by regulator-dummy
[    2.310349] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    2.312140] iommu: Adding device ff8f0000.vop to group 3
[    2.312182] rockchip-vop ff8f0000.vop: Linked as a consumer to ff8f3f00.iommu
[    2.312614] iommu: Adding device ff900000.vop to group 4
[    2.312654] rockchip-vop ff900000.vop: Linked as a consumer to ff903f00.iommu
[    2.316575] rockchip-drm display-subsystem: Linked as a consumer to ff8f0000.vop
[    2.316623] rockchip-drm display-subsystem: Linked as a consumer to ff900000.vop
[    2.317445] rockchip-drm display-subsystem: Linked as a consumer to fec00000.dp
[    2.317804] rockchip-drm display-subsystem: Linked as a consumer to ff940000.hdmi
[    2.318192] rockchip-drm display-subsystem: Linked as a consumer to ff960000.dsi
[    2.322188] /dsi@ff960000/panel@0: could not find display-timings node
[    2.322213] /dsi@ff960000/panel@0: no timings specified
[    2.322282] panel-simple-dsi ff960000.dsi.0: ff960000.dsi.0 supply power not found, using dummy regulator
[    2.322347] panel-simple-dsi ff960000.dsi.0: Linked as a consumer to regulator.0
[    2.322405] panel-simple-dsi ff960000.dsi.0: ff960000.dsi.0 supply vsp not found, using dummy regulator
[    2.322490] panel-simple-dsi ff960000.dsi.0: ff960000.dsi.0 supply vsn not found, using dummy regulator
[    2.322689] panel-simple-dsi: probe of ff960000.dsi.0 failed with error -22
[    2.323256] midgard ff9a0000.gpu: Failed to get regulator
[    2.323281] midgard ff9a0000.gpu: Power control initialization failed
[    2.323812] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.324409] brd: module loaded
[    2.330805] loop: module loaded
[    2.331187] zram: Added device: zram0
[    2.331302] lkdtm: No crash points registered, enable through debugfs
[    2.333755] libphy: Fixed MDIO Bus: probed
[    2.333807] tun: Universal TUN/TAP device driver, 1.6
[    2.334561] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    2.334619] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    2.335592] PPP generic driver version 2.4.2
[    2.335751] PPP BSD Compression module registered
[    2.335773] PPP Deflate Compression module registered
[    2.335811] PPP MPPE Compression module registered
[    2.335831] NET: Registered protocol family 24
[    2.336033] usbcore: registered new interface driver rndis_wlan
[    2.336098] usbcore: registered new interface driver rtl8150
[    2.336155] usbcore: registered new interface driver r8152
[    2.336205] usbcore: registered new interface driver asix
[    2.336251] usbcore: registered new interface driver ax88179_178a
[    2.336300] usbcore: registered new interface driver cdc_ether
[    2.336347] usbcore: registered new interface driver rndis_host
[    2.336396] usbcore: registered new interface driver ipheth
[    2.336448] usbcore: registered new interface driver cdc_ncm
[    2.336494] usbcore: registered new interface driver qmi_wwan
[    2.336545] usbcore: registered new interface driver cdc_mbim
[    2.337511] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2
[    2.338676] dwc3 fe900000.dwc3: Failed to get clk 'ref': -2
[    2.344263] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.344299] ehci-pci: EHCI PCI platform driver
[    2.344368] ehci-platform: EHCI generic platform driver
[    2.346766] ehci-platform fe3c0000.usb: EHCI Host Controller
[    2.346958] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 1
[    2.347297] ehci-platform fe3c0000.usb: irq 32, io mem 0xfe3c0000
[    2.358059] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    2.358258] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    2.358289] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.358312] usb usb1: Product: EHCI Host Controller
[    2.358332] usb usb1: Manufacturer: Linux 4.19.219-rockchip-standard ehci_hcd
[    2.358350] usb usb1: SerialNumber: fe3c0000.usb
[    2.358805] hub 1-0:1.0: USB hub found
[    2.358849] hub 1-0:1.0: 1 port detected
[    2.359460] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.359495] ohci-platform: OHCI generic platform driver
[    2.359828] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    2.360011] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 2
[    2.360275] ohci-platform fe3e0000.usb: irq 33, io mem 0xfe3e0000
[    2.418863] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19
[    2.418897] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.418922] usb usb2: Product: Generic Platform OHCI controller
[    2.418944] usb usb2: Manufacturer: Linux 4.19.219-rockchip-standard ohci_hcd
[    2.418966] usb usb2: SerialNumber: fe3e0000.usb
[    2.419367] hub 2-0:1.0: USB hub found
[    2.419413] hub 2-0:1.0: 1 port detected
[    2.420581] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.420756] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 3
[    2.421241] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000009002030010
[    2.421318] xhci-hcd xhci-hcd.0.auto: irq 69, io mem 0xfe900000
[    2.421621] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    2.421652] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.421675] usb usb3: Product: xHCI Host Controller
[    2.421696] usb usb3: Manufacturer: Linux 4.19.219-rockchip-standard xhci-hcd
[    2.421718] usb usb3: SerialNumber: xhci-hcd.0.auto
[    2.422121] hub 3-0:1.0: USB hub found
[    2.422171] hub 3-0:1.0: 1 port detected
[    2.422463] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.422607] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
[    2.422637] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    2.422712] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.422827] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    2.422851] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.422876] usb usb4: Product: xHCI Host Controller
[    2.422895] usb usb4: Manufacturer: Linux 4.19.219-rockchip-standard xhci-hcd
[    2.422917] usb usb4: SerialNumber: xhci-hcd.0.auto
[    2.423277] hub 4-0:1.0: USB hub found
[    2.423322] hub 4-0:1.0: 1 port detected
[    2.423706] usbcore: registered new interface driver cdc_acm
[    2.423731] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.423801] usbcore: registered new interface driver usblp
[    2.423858] usbcore: registered new interface driver cdc_wdm
[    2.424054] usbcore: registered new interface driver uas
[    2.424197] usbcore: registered new interface driver usb-storage
[    2.424297] usbcore: registered new interface driver usbserial_generic
[    2.424348] usbserial: USB Serial support registered for generic
[    2.424429] usbcore: registered new interface driver ch341
[    2.424475] usbserial: USB Serial support registered for ch341-uart
[    2.424547] usbcore: registered new interface driver cp210x
[    2.424594] usbserial: USB Serial support registered for cp210x
[    2.424709] usbcore: registered new interface driver ftdi_sio
[    2.424758] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.424931] usbcore: registered new interface driver keyspan
[    2.424981] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    2.425031] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    2.425079] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    2.425134] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    2.425206] usbcore: registered new interface driver option
[    2.425251] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.425474] usbcore: registered new interface driver oti6858
[    2.425520] usbserial: USB Serial support registered for oti6858
[    2.425588] usbcore: registered new interface driver pl2303
[    2.425634] usbserial: USB Serial support registered for pl2303
[    2.425713] usbcore: registered new interface driver qcserial
[    2.425760] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.425843] usbcore: registered new interface driver sierra
[    2.425889] usbserial: USB Serial support registered for Sierra USB modem
[    2.426931] usbcore: registered new interface driver xpad
[    2.427224] usbcore: registered new interface driver usbtouchscreen
[    2.427289] cyttsp5_loader_init: Parade TTSP FW Loader Driver (Built TTDA.03.08.874312) rc=0
[    2.427315] cyttsp5_device_access_init: Parade TTSP Device Access Driver (Built TTDA.03.08.874312) rc=0
[    2.427939] i2c /dev entries driver
[    2.429856] rk808 0-001b: chip id: 0x0
[    2.433686] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    2.433733] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    2.434319] vdd_center: supplied by vcc_sys
[    2.435175] vdd_cpu_l: supplied by vcc_sys
[    2.435474] vcc_ddr: supplied by vcc_sys
[    2.436030] vcc_1v8: supplied by vcc_sys
[    2.436697] vcc1v8_dvp: supplied by vcc_sys
[    2.437358] vcc3v0_tp: supplied by vcc_sys
[    2.438041] vcc1v8_pmu: supplied by vcc_sys
[    2.438729] vcc_sdio: supplied by vcc_sys
[    2.439273] vcca3v0_codec: supplied by vcc_sys
[    2.439944] vcc_1v5: supplied by vcc_sys
[    2.440482] vcca1v8_codec: supplied by vcc_sys
[    2.441165] vcc_3v0: supplied by vcc_sys
[    2.441494] rk808 0-001b: failed to register 12 regulator
[    2.446712] rk808-rtc rk808-rtc: registered as rtc0
[    2.447252] rk808-rtc rk808-rtc: setting system clock to 2013-01-18 08:50:10 UTC (1358499010)
[    2.448538] fusb302 4-0022: Can't get property of role, set role to default DRP
[    2.451677] fusb302 4-0022: port 0 probe success with role ROLE_MODE_DRP, try_role ROLE_MODE_NONE
[    2.451826] input: Typec_Headphone as /devices/platform/ff3d0000.i2c/i2c-4/4-0022/input/input0
[    2.452198] rockchip-pinctrl pinctrl: pin gpio1-2 already requested by 4-0022; cannot claim for 4-004e
[    2.452231] rockchip-pinctrl pinctrl: pin-34 (4-004e) status -22
[    2.452255] rockchip-pinctrl pinctrl: could not request pin 34 (gpio1-2) from group fusb0-int  on device rockchip-pinctrl
[    2.452282] rt1711h 4-004e: Error applying setting, reverse things back
[    2.452312] rt1711h: probe of 4-004e failed with error -22
[    2.453789] at24 8-0050: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[    2.455151] imx219 1-0010: driver version: 00.01.02
[    2.455389] imx219 1-0010: Reading register 100 from 10 failed
[    2.455567] imx219 1-0010: Reading register 100 from 10 failed
[    2.462039] imx219 1-0010: Error -5 setting default controls
[    2.462077] imx219: probe of 1-0010 failed with error -5
[    2.462786] iommu: Adding device ff910000.rkisp1 to group 5
[    2.462826] rkisp1 ff910000.rkisp1: Linked as a consumer to ff914000.iommu
[    2.463038] rkisp1 ff910000.rkisp1: rkisp1 driver version: v00.01.05
[    2.463080] rkisp1 ff910000.rkisp1: Missing rockchip,grf property
[    2.463332] rkisp1 ff910000.rkisp1: Entity type for entity rkisp1-isp-subdev was not initialized!
[    2.464980] usbcore: registered new interface driver uvcvideo
[    2.465007] USB Video Class driver (1.1.1)
[    2.467354] rockchip-thermal ff260000.tsadc: tsadc is probed successfully!
[    2.468611] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: [email protected]
[    2.468877] Bluetooth: HCI UART driver ver 2.3
[    2.468904] Bluetooth: HCI UART protocol H4 registered
[    2.468923] Bluetooth: HCI UART protocol ATH3K registered
[    2.468997] usbcore: registered new interface driver bfusb
[    2.469239] cpu cpu0: bin=0
[    2.469282] cpu cpu0: leakage=29
[    2.469332] cpu cpu0: Failed to get reg
[    2.469359] cpu cpu0: bin-scale=30
[    2.469429] cpu cpu4: bin=0
[    2.469464] cpu cpu4: leakage=50
[    2.469507] cpu cpu4: Failed to get reg
[    2.469532] cpu cpu4: bin-scale=8
[    2.470954] sdhci: Secure Digital Host Controller Interface driver
[    2.470981] sdhci: Copyright(c) Pierre Ossman
[    2.470998] Synopsys Designware Multimedia Card Interface Driver
[    2.471801] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
[    2.472160] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
[    2.472197] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
[    2.472269] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    2.472780] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.497657] mmc2: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[    2.499533] ledtrig-cpu: registered to indicate activity on CPUs
[    2.500001] hidraw: raw HID events driver (C) Jiri Kosina
[    2.500463] usbcore: registered new interface driver usbhid
[    2.500490] usbhid: USB HID core driver
[    2.504080] rockchip-saradc ff100000.saradc: Linked as a consumer to regulator.9
[    2.504975] optee: probing for conduit method from DT.
[    2.505014] optee: revision 1.1
[    2.506127] optee: initialized driver
[    2.506183] rksfc_base v1.1 2016-01-08
[    2.507226] usbcore: registered new interface driver snd-usb-audio
[    2.513761] xt_time: kernel timezone is -0000
[    2.513804] IPVS: Registered protocols ()
[    2.513876] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    2.514022] IPVS: ipvs loaded.
[    2.514045] IPVS: [rr] scheduler registered.
[    2.514463] Initializing XFRM netlink socket
[    2.514901] NET: Registered protocol family 10
[    2.515832] Segment Routing with IPv6
[    2.516158] NET: Registered protocol family 17
[    2.516201] NET: Registered protocol family 15
[    2.516264] Bridge firewalling registered
[    2.516503] Bluetooth: RFCOMM TTY layer initialized
[    2.516537] Bluetooth: RFCOMM socket layer initialized
[    2.516575] Bluetooth: RFCOMM ver 1.11
[    2.516602] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.516621] Bluetooth: BNEP filters: protocol multicast
[    2.516644] Bluetooth: BNEP socket layer initialized
[    2.516662] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.516685] Bluetooth: HIDP socket layer initialized
[    2.516740] [BT_RFKILL]: Enter rfkill_rk_init
[    2.516759] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    2.517090] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    2.517141] [WLAN_RFKILL]: can't find rockchip,grf property
[    2.517163] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = rtl8822ce
[    2.517182] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    2.517203] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    2.517251] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[    2.517272] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    2.517292] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 1
[    2.517312] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    2.517632] Key type dns_resolver registered
[    2.517947] flash vendor_init_thread!
[    2.517967] flash vendor storage:20170308 ret = -1
[    2.519969] Loading compiled-in X.509 certificates
[    2.521032] Btrfs loaded, crc32c=crc32c-generic
[    2.521226] pstore: Using compression: deflate
[    2.522218] rga2: Driver loaded successfully ver:3.2.18218
[    2.522561] rga2: Module initialized.
[    2.548453] reg-fixed-voltage vcc1v8-s3: Failed to register regulator: -517
[    2.548953] reg-fixed-voltage vcc3v0-sd: Failed to register regulator: -517
[    2.549282] vcc3v3_sys: supplied by vcc_sys
[    2.550228] phy phy-ff770000.syscon:[email protected]: No vbus specified for otg port
[    2.552442] rockchip-drm display-subsystem: defer getting devfreq
[    2.552642] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[    2.552780] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8009163bf0)
[    2.552855] rockchip-vop ff900000.vop: missing rockchip,grf property
[    2.553019] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8009163bf0)
[    2.553508] rockchip-drm display-subsystem: bound fec00000.dp (ops 0xffffff800916b1f8)
[    2.553698] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    2.554509] dwhdmi-rockchip ff940000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.556038] rockchip-drm display-subsystem: bound ff940000.hdmi (ops 0xffffff800916ba50)
[    2.556110] dw-mipi-dsi ff960000.dsi: [drm:dw_mipi_dsi_bind] *ERROR* Failed to find panel or bridge: -517
[    2.671527] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[    2.814689] usb 3-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=93.11
[    2.814755] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.814778] usb 3-1: Product: USB2.1 Hub
[    2.814796] usb 3-1: Manufacturer:
[    2.871348] hub 3-1:1.0: USB hub found
[    2.871788] hub 3-1:1.0: 4 ports detected
[    2.934979] usb 4-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    2.954480] random: fast init done
[    2.955447] usb 4-1: New USB device found, idVendor=05e3, idProduct=0620, bcdDevice=93.11
[    2.955487] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.955509] usb 4-1: Product: USB3.2 Hub
[    2.955527] usb 4-1: Manufacturer: GenesysLogic
[    2.983331] hub 4-1:1.0: USB hub found
[    2.983811] hub 4-1:1.0: 4 ports detected
[    5.608221] vendor storage:20190527 ret = -1
[   68.024886] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] *ERROR* Timed out trying to load firmware
[   68.025903] midgard ff9a0000.gpu: Failed to get regulator
[   68.025937] midgard ff9a0000.gpu: Power control initialization failed
[   68.026764] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[   68.026829] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[   68.027312] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2
[   68.036252] ehci-platform fe380000.usb: EHCI Host Controller
[   68.036552] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 5
[   68.036888] ehci-platform fe380000.usb: irq 30, io mem 0xfe380000
[   68.048116] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[   68.048311] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[   68.048345] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   68.048371] usb usb5: Product: EHCI Host Controller
[   68.048393] usb usb5: Manufacturer: Linux 4.19.219-rockchip-standard ehci_hcd
[   68.048416] usb usb5: SerialNumber: fe380000.usb
[   68.048884] hub 5-0:1.0: USB hub found
[   68.048934] hub 5-0:1.0: 1 port detected
[   68.049612] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[   68.049784] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 6
[   68.050035] ohci-platform fe3a0000.usb: irq 31, io mem 0xfe3a0000
[   68.108852] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19
[   68.108888] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   68.108915] usb usb6: Product: Generic Platform OHCI controller
[   68.108938] usb usb6: Manufacturer: Linux 4.19.219-rockchip-standard ohci_hcd
[   68.108959] usb usb6: SerialNumber: fe3a0000.usb
[   68.109378] hub 6-0:1.0: USB hub found
[   68.109424] hub 6-0:1.0: 1 port detected
[   68.110127] input: adc-keys as /devices/platform/adc-keys/input/input1
[   68.110719] rk808-regulator rk808-regulator: there is no dvs0 gpio
[   68.110768] rk808-regulator rk808-regulator: there is no dvs1 gpio
[   68.110861] vdd_center: supplied by vcc_sys
[   68.111196] vdd_cpu_l: supplied by vcc_sys
[   68.111514] vcc_ddr: supplied by vcc_sys
[   68.111788] vcc_1v8: supplied by vcc_sys
[   68.112062] vcc1v8_dvp: supplied by vcc_sys
[   68.112338] vcc3v0_tp: supplied by vcc_sys
[   68.112618] vcc1v8_pmu: supplied by vcc_sys
[   68.112912] vcc_sdio: supplied by vcc_sys
[   68.113189] vcca3v0_codec: supplied by vcc_sys
[   68.113470] vcc_1v5: supplied by vcc_sys
[   68.113745] vcca1v8_codec: supplied by vcc_sys
[   68.114033] vcc_3v0: supplied by vcc_sys
[   68.114322] vcc3v3_s3: supplied by vcc3v3_sys
[   68.114905] vcc3v3_s0: supplied by vcc3v3_sys
[   68.115564] rockchip-iodomain ff320000.syscon:io-domains: Linked as a consumer to regulator.38
[   68.115624] rockchip-iodomain ff320000.syscon:io-domains: pmu1830(3000000 uV) supplied by vcc_3v0
[   68.115986] rockchip-iodomain ff770000.syscon:io-domains: Linked as a consumer to regulator.38
[   68.116038] rockchip-iodomain ff770000.syscon:io-domains: bt656(3000000 uV) supplied by vcc_3v0
[   68.116145] rockchip-iodomain ff770000.syscon:io-domains: audio(3000000 uV) supplied by vcc_3v0
[   68.116232] rockchip-iodomain ff770000.syscon:io-domains: Linked as a consumer to regulator.34
[   68.116278] rockchip-iodomain ff770000.syscon:io-domains: sdmmc(3000000 uV) supplied by vcc_sdio
[   68.116394] rockchip-iodomain ff770000.syscon:io-domains: gpio1830(3000000 uV) supplied by vcc_3v0
[   68.116623] cpu cpu0: Linked as a consumer to regulator.28
[   68.116689] cpu cpu0: Dropping the link to regulator.28
[   68.116849] cpu cpu0: Linked as a consumer to regulator.28
[   68.117358] cpu cpu0: avs=0
[   68.117578] cpu cpu0: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0 h_table=0
[   68.118130] cpu cpu0: failed to find power_model node
[   68.118268] cpu cpu4: Failed to set regulator for cpu4: -517
[   68.118401] cpu cpu5: Failed to set regulator for cpu5: -517
[   68.119265] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
[   68.119468] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
[   68.119503] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
[   68.119548] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[   68.119694] dwmmc_rockchip fe320000.dwmmc: Linked as a consumer to regulator.34
[   68.119783] dwmmc_rockchip fe320000.dwmmc: Dropping the link to regulator.34
[   68.120325] rockchip-dmc dmc: Linked as a consumer to regulator.27
[   68.120371] rockchip-dmc dmc: Failed to get ddr_leakage
[   68.120575] rockchip-dmc dmc: avs=0
[   68.120863] rockchip-dmc dmc: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[   68.120913] rockchip-dmc dmc: could not find power_model node
[   68.120956] rockchip-dmc dmc: cpu4 policy NULL
[   68.121600] vcc1v8_s3: supplied by vcc_1v8
[   68.121996] vcc3v0_sd: supplied by vcc3v3_sys
[   68.122773] rockchip-drm display-subsystem: devfreq is ready
[   68.123012] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[   68.123151] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8009163bf0)
[   68.123227] rockchip-vop ff900000.vop: missing rockchip,grf property
[   68.123394] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8009163bf0)
[   68.123858] rockchip-drm display-subsystem: bound fec00000.dp (ops 0xffffff800916b1f8)
[   68.124058] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[   68.125266] dwhdmi-rockchip ff940000.hdmi: registered DesignWare HDMI I2C bus driver
[   68.126918] rockchip-drm display-subsystem: bound ff940000.hdmi (ops 0xffffff800916ba50)
[   68.126991] dw-mipi-dsi ff960000.dsi: [drm:dw_mipi_dsi_bind] *ERROR* Failed to find panel or bridge: -517
[   68.188130] rockchip-dmc dmc: cpu5 policy NULL
[   68.241461] rockchip-dmc dmc: cpu4 policy NULL
[   68.314780] rockchip-dmc dmc: cpu5 policy NULL
[   95.331631] rockchip-dmc dmc: cpu4 policy NULL
[   95.388283] rockchip-dmc dmc: cpu5 policy NULL
[  105.308622] random: crng init done
[  126.051597] rockchip-dmc dmc: cpu5 policy NULL
[  132.878206] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] *ERROR* Timed out trying to load firmware
[  132.879227] midgard ff9a0000.gpu: Failed to get regulator
[  132.879259] midgard ff9a0000.gpu: Power control initialization failed
[  132.880083] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[  132.880206] rk_gmac-dwmac fe300000.ethernet: Linked as a consumer to regulator.39
[  132.880239] rk_gmac-dwmac fe300000.ethernet: clock input or output? (output).
[  132.880265] rk_gmac-dwmac fe300000.ethernet: TX delay(0x25).
[  132.880288] rk_gmac-dwmac fe300000.ethernet: RX delay(0x20).
[  132.880313] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[  132.880372] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[  132.881396] rockchip-dmc dmc: cpu5 policy NULL
[  132.885402] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[  132.885981] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[  132.886023] rk_gmac-dwmac fe300000.ethernet:         DWMAC1000
[  132.886046] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[  132.886068] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[  132.886088] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[  132.886105] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[  132.886123] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[  132.886197] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[  132.886220] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[  132.886237] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[  132.991385] rockchip-dmc dmc: cpu5 policy NULL
[  132.995704] libphy: stmmac: p[  133.022035] Unable to handle kernel NULL pointer dereference at virtual address 000000000000002c
[  133.035594] Mem abort info:
robed
[  132.995733] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[  132.995758] mdio_bus stmmac-0:01: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[  132.997224] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
[  132.997674] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
[  132.997704] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
[  132.997745] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[  132.997861] dwmmc_rockchip fe320000.dwmmc: Linked as a consumer to regulator.42
[  132.997942] dwmmc_rockchip fe320000.dwmmc: Linked as a consumer to regulator.34
[  132.998085] mmc_host mmc1: card is polling.
[  133.010910] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  133.115206]   ESR = 0x96000005
[  133.118059] rockchip-dmc dmc: cpu5 policy NULL
[  133.118278]   Exception class = DABT (current EL), IL = 32 bits
[  133.128657]   SET = 0, FnV = 0
[  133.131726]   EA = 0, S1PTW = 0
[  133.134878] Data abort info:
[  133.137767]   ISV = 0, ISS = 0x00000005
[  133.141618]   CM = 0, WnR = 0
[  133.144592] [000000000000002c] user address but active_mm is swapper
[  133.150963] Internal error: Oops: 96000005 [#1] SMP
[  133.155843] Modules linked in:
[  133.158906] Process kworker/4:1 (pid: 42, stack limit = 0x000000005f11a16c)
[  133.165873] CPU: 4 PID: 42 Comm: kworker/4:1 Not tainted 4.19.219-rockchip-standard #1
[  133.173788] Hardware name: ASUS Tinker Board 2/2S (DT)
[  133.178118] rockchip-dmc dmc: cpu5 policy NULL
[  133.178947] Workqueue: events deferred_probe_work_func
[  133.188521] pstate: 00000005 (nzcv daif -PAN -UAO)
[  133.193319] pc : device_reorder_to_tail+0x7c/0x9c
[  133.198031] lr : device_reorder_to_tail+0x54/0x9c
[  133.202739] sp : ffffff8009c63cc0
[  133.206061] x29: ffffff8009c63cc0 x28: 0000000000000000
[  133.211376] x27: ffffffc07e274648 x26: 0000000000000000
[  133.216691] x25: ffffff8009767980 x24: 0000000000000000
[  133.222005] x23: ffffff80098532b8 x22: ffffff800948e4c9
[  133.227319] x21: ffffff80088c206c x20: fffffffffffffff8
[  133.232633] x19: ffffffc07a282ad8 x18: 0000000000000000
[  133.237947] x17: 0000000000000000 x16: 0000000000000001
[  133.238117] rockchip-dmc dmc: cpu5 policy NULL
[  133.243260] x15: 0000000000000000 x14: 0000000000000040
[  133.243265] x13: ffffffc0795c2828 x12: ffffffc00a357d10
[  133.243275] x11: 0000000000000007 x10: 0101010101010101
[  133.263643] x9 : 0000000000000004 x8 : 0000000000000004
[  133.268957] x7 : 0000000000000008 x6 : 0000000000000001
[  133.274271] x5 : 0000000000000002 x4 : 0000000000000001
[  133.279585] x3 : ffffffc07a2df650 x2 : 0000000000000000
[  133.284898] x1 : 0000000000000000 x0 : 0000000000000000
[  133.290213]
[  133.290213] PC: 0xffffff80088c2068:
[  133.295187] 2068  d65f03c0 d503233f a9be7bfd 910003fd a90153f3 aa0003f3 d50320ff aa1e03e0
[  133.298117] rockchip-dmc dmc: cpu5 policy NULL
[  133.303380] 2088  d503201f f9402660 b6080060 aa1303e0 97ffffcb f940a260 b6100060 aa1303e0
[  133.316017] 20a8  94005826 aa1303e0 90000002 d2800001 9101b042 97fff6cd f84e8e74 d1002294
[  133.324209] 20c8  91002280 eb13001f 540000c1 52800000 a94153f3 a8c27bfd d50323bf d65f03c0
[  133.332400] 20e8  b9403680 7103001f 54000080 f9400e80 d2800001 97ffffdc f9400694 17fffff0
[  133.340592] 2108  d503233f a9be7bfd 910003fd a90153f3 d50320ff aa0003f4 aa1e03e0 d503201f
[  133.348784] 2128  97fff209 2a0003f3 9400576b d2800001 aa1403e0 97ffffcc 94005773 2a1303e0
[  133.356975] 2148  97fff20d a94153f3 a8c27bfd d50323bf d65f03c0 d503233f a9ba7bfd 910003fd
[  133.358117] rockchip-dmc dmc: cpu5 policy NULL
[  133.365167]
[  133.365167] LR: 0xffffff80088c2040:
[  133.365169] 2040  f9400401 f9000402 a9018660 f9000022 f9466680 91004000 941e4700 a94153f3
[  133.382764] 2060  a8c27bfd d50323bf d65f03c0 d503233f a9be7bfd 910003fd a90153f3 aa0003f3
[  133.390956] 2080  d50320ff aa1e03e0 d503201f f9402660 b6080060 aa1303e0 97ffffcb f940a260
[  133.399147] 20a0  b6100060 aa1303e0 94005826 aa1303e0 90000002 d2800001 9101b042 97fff6cd
[  133.407339] 20c0  f84e8e74 d1002294 91002280 eb13001f 540000c1 52800000 a94153f3 a8c27bfd
[  133.415530] 20e0  d50323bf d65f03c0 b9403680 7103001f 54000080 f9400e80 d2800001 97ffffdc
[  133.423721] 2100  f9400694 17fffff0 d503233f a9be7bfd 910003fd a90153f3 d50320ff aa0003f4
[  133.431913] 2120  aa1e03e0 d503201f 97fff209 2a0003f3 9400576b d2800001 aa1403e0 97ffffcc
[  133.440106]
[  133.440106] SP: 0xffffff8009c63c40:
[  133.445080] 3c40  00000000 00000000 09767980 ffffff80 00000000 00000000 7e274648 ffffffc0
[  133.453272] 3c60  00000000 00000000 09c63cc0 ffffff80 088c20c0 ffffff80 09c63cc0 ffffff80
[  133.461464] 3c80  088c20e8 ffffff80 00000005 00000000 088c206c ffffff80 09c63d18 ffffff80
[  133.469655] 3ca0  ffffffff ffffffff 088bfc44 ffffff80 09c63cc0 ffffff80 088c20e8 ffffff80
[  133.477847] 3cc0  09c63ce0 ffffff80 088bfc60 ffffff80 00000000 00000000 00000000 00000000
[  133.486039] 3ce0  09c63d30 ffffff80 088c20c0 ffffff80 7b95e810 ffffffc0 7b95e810 ffffffc0
[  133.494230] 3d00  0993efe0 ffffff80 7b95e810 ffffffc0 09c63d30 ffffff80 7e280200 ffffffc0
[  133.502422] 3d20  7a2df638 ffffffc0 87b6f100 eee3ddab 09c63d50 ffffff80 088c2140 ffffff80
[  133.510616]
[  133.510616] X3: 0xffffffc07a2df5d0:
[  133.515591] f5d0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.523782] f5f0  00000000 00000000 00000000 00000000 00000000 dead4ead ffffffff 00000000
[  133.531974] f610  ffffffff ffffffff 7a2df740 ffffffc0 7a2df740 ffffffc0 088bf958 ffffff80
[  133.540165] f630  088bfb08 ffffff80 7e280200 ffffffc0 7a3c4740 ffffffc0 7a2d9440 ffffffc0
[  133.548356] f650  00000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.556548] f670  00000000 00000000 7b911508 ffffffc0 7a2ec980 ffffffc0 7ab43680 ffffffc0
[  133.564740] f690  00000001 00000000 7a2df698 ffffffc0 7a2df698 ffffffc0 00000000 00000000
[  133.572931] f6b0  7a2829f0 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[  133.581127]
[  133.581127] X12: 0xffffffc00a357c90:
[  133.586186] 7c90  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.594377] 7cb0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.602569] 7cd0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.610760] 7cf0  00000000 00000000 00000000 00000000 7e04a000 ffffffc0 00000002 00000000
[  133.618951] 7d10  00000000 dead4ead ffffffff 00000000 ffffffff ffffffff 02000004 00000000
[  133.627142] 7d30  7e4a4001 ffffffc0 00000000 00006428 00006427 00000001 00000000 00000000
[  133.635334] 7d50  0a357d50 ffffffc0 0a357d50 ffffffc0 00000000 dead4ead ffffffff 00000000
[  133.643526] 7d70  ffffffff ffffffff 0a357d78 ffffffc0 0a357d78 ffffffc0 00000000 00000000
[  133.651718]
[  133.651718] X13: 0xffffffc0795c27a8:
[  133.656778] 27a8  7a1b0908 ffffffc0 7a1b0880 ffffffc0 7a1b0990 ffffffc0 7a1b0a18 ffffffc0
[  133.664969] 27c8  7a1b07f8 ffffffc0 7a1b0aa0 ffffffc0 7a1b0d48 ffffffc0 7a1b0cc0 ffffffc0
[  133.673161] 27e8  7a1b0c38 ffffffc0 7a1b0bb0 ffffffc0 7a1b0b28 ffffffc0 7a1b0f68 ffffffc0
[  133.681353] 2808  7a1b0ee0 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
[  133.689544] 2828  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.697736] 2848  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.705927] 2868  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.714119] 2888  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.722313]
[  133.722313] X19: 0xffffffc07a282a58:
[  133.727373] 2a58  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.735564] 2a78  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.743755] 2a98  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.751946] 2ab8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.760138] 2ad8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.768330] 2af8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.776521] 2b18  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.784712] 2b38  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  133.792906]
[  133.792906] X21: 0xffffff80088c1fec:
[  133.797965] 1fec  b4000380 b00083e0 91326000 f9407401 720e003f 54000100 f9403a62 b5000042
[  133.806157] 200c  f9400a62 90005e61 91032000 9104e421 97f640d2 f9466680 91004000 941e46be
[  133.814348] 202c  a9418663 f9000461 f9466680 91006262 f9000023 f9400401 f9000402 a9018660
[  133.822540] 204c  f9000022 f9466680 91004000 941e4700 a94153f3 a8c27bfd d50323bf d65f03c0
[  133.830731] 206c  d503233f a9be7bfd 910003fd a90153f3 aa0003f3 d50320ff aa1e03e0 d503201f
[  133.838922] 208c  f9402660 b6080060 aa1303e0 97ffffcb f940a260 b6100060 aa1303e0 94005826
[  133.847114] 20ac  aa1303e0 90000002 d2800001 9101b042 97fff6cd f84e8e74 d1002294 91002280
[  133.855305] 20cc  eb13001f 540000c1 52800000 a94153f3 a8c27bfd d50323bf d65f03c0 b9403680
[  133.863498]
[  133.863498] X22: 0xffffff800948e449:
[  133.868557] e448  69616620 0a64656c 25330100 61203a73 625f6464 5f646e69 656c6966 73252873
[  133.876749] e468  61662029 64656c69 7562000a 27203a73 3a277325 6d657220 2065766f 76697264
[  133.884941] e488  25207265 64000a73 65766972 622f7372 2f657361 2e737562 72640063 72657669
[  133.893132] e4a8  75615f73 72706f74 0065626f 76697264 5f737265 626f7270 6e750065 646e6962
[  133.901324] e4c8  74655200 6e697972 72662067 64206d6f 72656665 20646572 7473696c 3401000a
[  133.909516] e4e8  206f6f54 676e6f6c 73696c20 666f2074 69726420 20726576 656d616e 6f662073
[  133.917707] e508  64272072 65766972 73615f72 5f636e79 626f7270 0a212765 79736100 7020636e
[  133.925899] e528  65626f72 6d6f6320 74656c70 000a6465 69766564 5f736563 65666564 64657272
[  133.934091] e548  66656400 65727265 72702064 2065626f 646e6570 0a676e69 64644100 74206465
[  133.942283]
[  133.942283] X23: 0xffffff8009853238:
[  133.947342] 3238  088c493c ffffff80 0948e4c2 ffffff80 00000080 00000000 00000000 00000000
[  133.955534] 3258  088c4bd0 ffffff80 0952ae4d ffffff80 00000080 00000000 00000000 00000000
[  133.963726] 3278  088c4ad4 ffffff80 00000000 00000000 00000000 dead4ead ffffffff 00000000
[  133.971917] 3298  ffffffff ffffffff 00000000 00000000 098532a8 ffffff80 098532a8 ffffff80
[  133.980109] 32b8  7b972298 ffffffc0 7b972298 ffffffc0 ffffffff 00000000 7b969c98 ffffffc0
[  133.988300] 32d8  7a039598 ffffffc0 09490fc6 ffffff80 00000080 00000000 00000000 00000000
[  133.996492] 32f8  088c59ac ffffff80 7ef4570d ffffffc0 0804bd08 ffffff80 7b890d28 ffffffc0
[  134.004684] 3318  088c5a64 ffffff80 00000000 00000000 00000000 00000000 00000000 dead4ead
[  134.012877]
[  134.012877] X25: 0xffffff8009767900:
[  134.017936] 7900  097678f8 ffffff80 00000000 dead4ead ffffffff 00000000 ffffffff ffffffff
[  134.026128] 7920  09767920 ffffff80 09767920 ffffff80 00000000 dead4ead ffffffff 00000000
[  134.034319] 7940  ffffffff ffffffff 09767948 ffffff80 09767948 ffffff80 00000000 dead4ead
[  134.042511] 7960  ffffffff 00000000 ffffffff ffffffff 09767970 ffffff80 09767970 ffffff80
[  134.050702] 7980  ffff3c92 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  134.058894] 79a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  134.067085] 79c0  000018fc 00000000 00000000 dead4ead ffffffff 00000000 ffffffff ffffffff
[  134.075276] 79e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  134.083469]
[  134.083469] X27: 0xffffffc07e2745c8:
[  134.088529] 45c8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  134.096720] 45e8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  134.104911] 4608  00000000 00000000 7b890d00 ffffffc0 00000000 00000000 00000000 dead4ead
[  134.113102] 4628  ffffffff 00000000 ffffffff ffffffff 7e274638 ffffffc0 7e274638 ffffffc0
[  134.121294] 4648  00000000 00000000 00000000 dead4ead ffffffff 00000000 ffffffff ffffffff
[  134.129485] 4668  7e274668 ffffffc0 7e274668 ffffffc0 00000000 00000000 00000000 00000000
[  134.137677] 4688  00000000 00000000 7e277000 ffffffc0 00000000 00000000 00000000 dead4ead
[  134.145868] 46a8  ffffffff 00000000 ffffffff ffffffff 7e2746b8 ffffffc0 7e2746b8 ffffffc0
[  134.154061]
[  134.154061] X29: 0xffffff8009c63c40:
[  134.159121] 3c40  00000000 00000000 09767980 ffffff80 00000000 00000000 7e274648 ffffffc0
[  134.167312] 3c60  00000000 00000000 09c63cc0 ffffff80 088c20c0 ffffff80 09c63cc0 ffffff80
[  134.175504] 3c80  088c20e8 ffffff80 00000005 00000000 088c206c ffffff80 09c63d18 ffffff80
[  134.183696] 3ca0  ffffffff ffffffff 088bfc44 ffffff80 09c63cc0 ffffff80 088c20e8 ffffff80
[  134.191887] 3cc0  09c63ce0 ffffff80 088bfc60 ffffff80 00000000 00000000 00000000 00000000
[  134.200079] 3ce0  09c63d30 ffffff80 088c20c0 ffffff80 7b95e810 ffffffc0 7b95e810 ffffffc0
[  134.208270] 3d00  0993efe0 ffffff80 7b95e810 ffffffc0 09c63d30 ffffff80 7e280200 ffffffc0
[  134.216462] 3d20  7a2df638 ffffffc0 87b6f100 eee3ddab 09c63d50 ffffff80 088c2140 ffffff80
[  134.224654]
[  134.226156] Call trace:
[  134.228614]  device_reorder_to_tail+0x7c/0x9c
[  134.232976]  device_for_each_child+0x70/0xbc
[  134.237254]  device_reorder_to_tail+0x54/0x9c
[  134.241615]  device_pm_move_to_tail+0x38/0x54
[  134.245977]  deferred_probe_work_func+0xa8/0xe0
[  134.250522]  process_one_work+0x204/0x338
[  134.254535]  worker_thread+0x234/0x314
[  134.258294]  kthread+0x120/0x130
[  134.261535]  ret_from_fork+0x10/0x18
[  134.265114] Code: a94153f3 a8c27bfd d50323bf d65f03c0 (b9403680)
[  134.271213] ---[ end trace e6d2078484e72b13 ]---
[  134.291463] rockchip-dmc dmc: cpu5 policy NULL
[  134.318045] vcc_sdio: ramp_delay not set
[  134.348150] mmc_host mmc1: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[  134.596180] dwmmc_rockchip fe320000.dwmmc: Successfully tuned phase to 242
[  134.603109] mmc1: new ultra high speed SDR104 SDHC card at address 59b4
[  156.771595] rockchip-dmc dmc: cpu5 policy NULL
[  187.491566] rockchip-dmc dmc: cpu5 policy NULL
[  218.211601] rockchip-dmc dmc: cpu4 policy NULL
[  218.308262] rockchip-dmc dmc: cpu5 policy NULL

Missing libgav1 ?

When trying to build chromium-ozone-wayland using your patchset, it seems to error out during configure stage:

ERROR Unresolved dependencies.
//media/gpu/v4l2:v4l2_stateless_decoder(//build/toolchain/yocto:yocto_target)
  needs //third_party/libgav1:libgav1(//build/toolchain/yocto:yocto_target)

I'm building with: use_v4l2_codec=true use_v4lplugin=true use_linux_v4l2_only=true

Any ideas?

RK3399 Rockchip kernel 4.19, non fatal USB hang at startup

Goodmorning Jeffy,

I have been running the rockchip kernel 4.19 (kernel-4.19-2022_01_18) on my Yocto for a custom RK3399 board and noticed that sometimes at startup a non fatal kernel hang is reported from the USB subsystem, because I'm not able to easily reproduce the hang I decided to investigate and enabled the kernel lock debugging I think I found a possible deadlock that seems to be related to the USB hang I am getting, here is the relevant kernel log:

Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013082]  [5:    kworker/5:3:   78] BUG: workqueue leaked lock or atomic: kworker/5:3/0x00000000/78
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013082]  [5:    kworker/5:3:   78]      last function: rockchip_chg_detect_work
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013241]  [5:    kworker/5:3:   78] 1 lock held by kworker/5:3/78:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013249]  [5:    kworker/5:3:   78]  #0: 0000000035a79ffd (&rport->mutex){+.+.}, at: rockchip_chg_detect_work+0x1c4/0x48c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013272]  [5:    kworker/5:3:   78] CPU: 5 PID: 78 Comm: kworker/5:3 Not tainted 4.19.219-<redacted> #1
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013280]  [5:    kworker/5:3:   78] Hardware name: <redacted> (DT)
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013292]  [5:    kworker/5:3:   78] Workqueue: events rockchip_chg_detect_work
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013301]  [5:    kworker/5:3:   78] Call trace:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013312]  [5:    kworker/5:3:   78]  dump_backtrace+0x0/0x170
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013321]  [5:    kworker/5:3:   78]  show_stack+0x28/0x34
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013330]  [5:    kworker/5:3:   78]  dump_stack+0xb4/0xec
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013339]  [5:    kworker/5:3:   78]  process_one_work+0x520/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013347]  [5:    kworker/5:3:   78]  worker_thread+0x6c/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013355]  [5:    kworker/5:3:   78]  kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013362]  [5:    kworker/5:3:   78]  ret_from_fork+0x10/0x18
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013543]  [5:    kworker/5:3:   78] BUG: workqueue leaked lock or atomic: kworker/5:3/0x00000000/78
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013543]  [5:    kworker/5:3:   78]      last function: pm_runtime_work
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013565]  [5:    kworker/5:3:   78] 1 lock held by kworker/5:3/78:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013573]  [5:    kworker/5:3:   78]  #0: 0000000035a79ffd (&rport->mutex){+.+.}, at: rockchip_chg_detect_work+0x1c4/0x48c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013590]  [5:    kworker/5:3:   78] CPU: 5 PID: 78 Comm: kworker/5:3 Not tainted 4.19.219-<redacted> #1
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013597]  [5:    kworker/5:3:   78] Hardware name: <redacted> (DT)
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013608]  [5:    kworker/5:3:   78] Workqueue: pm pm_runtime_work
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013616]  [5:    kworker/5:3:   78] Call trace:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013624]  [5:    kworker/5:3:   78]  dump_backtrace+0x0/0x170
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013633]  [5:    kworker/5:3:   78]  show_stack+0x28/0x34
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013640]  [5:    kworker/5:3:   78]  dump_stack+0xb4/0xec
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013648]  [5:    kworker/5:3:   78]  process_one_work+0x520/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013656]  [5:    kworker/5:3:   78]  worker_thread+0x6c/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013664]  [5:    kworker/5:3:   78]  kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.013671]  [5:    kworker/5:3:   78]  ret_from_fork+0x10/0x18
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.090914]  [5:    kworker/5:3:   78] BUG: workqueue leaked lock or atomic: kworker/5:3/0x00000000/78
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.090914]  [5:    kworker/5:3:   78]      last function: drain_local_pages_wq
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.090943]  [5:    kworker/5:3:   78] 1 lock held by kworker/5:3/78:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.090951]  [5:    kworker/5:3:   78]  #0: 0000000035a79ffd (&rport->mutex){+.+.}, at: rockchip_chg_detect_work+0x1c4/0x48c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.090975]  [5:    kworker/5:3:   78] CPU: 5 PID: 78 Comm: kworker/5:3 Not tainted 4.19.219-<redacted> #1
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.090983]  [5:    kworker/5:3:   78] Hardware name: <redacted> (DT)
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.090996]  [5:    kworker/5:3:   78] Workqueue: mm_percpu_wq drain_local_pages_wq
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091004]  [5:    kworker/5:3:   78] Call trace:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091015]  [5:    kworker/5:3:   78]  dump_backtrace+0x0/0x170
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091024]  [5:    kworker/5:3:   78]  show_stack+0x28/0x34
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091032]  [5:    kworker/5:3:   78]  dump_stack+0xb4/0xec
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091042]  [5:    kworker/5:3:   78]  process_one_work+0x520/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091050]  [5:    kworker/5:3:   78]  worker_thread+0x234/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091058]  [5:    kworker/5:3:   78]  kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091066]  [5:    kworker/5:3:   78]  ret_from_fork+0x10/0x18
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091211]  [5:    kworker/5:3:   78] BUG: workqueue leaked lock or atomic: kworker/5:3/0x00000000/78
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091211]  [5:    kworker/5:3:   78]      last function: wq_barrier_func
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091231]  [5:    kworker/5:3:   78] 1 lock held by kworker/5:3/78:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091239]  [5:    kworker/5:3:   78]  #0: 0000000035a79ffd (&rport->mutex){+.+.}, at: rockchip_chg_detect_work+0x1c4/0x48c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091257]  [5:    kworker/5:3:   78] CPU: 5 PID: 78 Comm: kworker/5:3 Not tainted 4.19.219-<redacted> #1
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091264]  [5:    kworker/5:3:   78] Hardware name: <redacted> (DT)
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091275]  [5:    kworker/5:3:   78] Workqueue: mm_percpu_wq wq_barrier_func
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091282]  [5:    kworker/5:3:   78] Call trace:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091291]  [5:    kworker/5:3:   78]  dump_backtrace+0x0/0x170
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091299]  [5:    kworker/5:3:   78]  show_stack+0x28/0x34
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091307]  [5:    kworker/5:3:   78]  dump_stack+0xb4/0xec
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091315]  [5:    kworker/5:3:   78]  process_one_work+0x520/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091323]  [5:    kworker/5:3:   78]  worker_thread+0x234/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091330]  [5:    kworker/5:3:   78]  kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.091338]  [5:    kworker/5:3:   78]  ret_from_fork+0x10/0x18
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092169]  [5:    kworker/5:3:   78] BUG: workqueue leaked lock or atomic: kworker/5:3/0x00000000/78
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092169]  [5:    kworker/5:3:   78]      last function: drain_local_pages_wq
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092191]  [5:    kworker/5:3:   78] 1 lock held by kworker/5:3/78:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092199]  [5:    kworker/5:3:   78]  #0: 0000000035a79ffd (&rport->mutex){+.+.}, at: rockchip_chg_detect_work+0x1c4/0x48c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092265]  [5:    kworker/5:3:   78] CPU: 5 PID: 78 Comm: kworker/5:3 Not tainted 4.19.219-<redacted> #1
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092272]  [5:    kworker/5:3:   78] Hardware name: <redacted> (DT)
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092283]  [5:    kworker/5:3:   78] Workqueue: mm_percpu_wq drain_local_pages_wq
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092291]  [5:    kworker/5:3:   78] Call trace:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092300]  [5:    kworker/5:3:   78]  dump_backtrace+0x0/0x170
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092308]  [5:    kworker/5:3:   78]  show_stack+0x28/0x34
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092316]  [5:    kworker/5:3:   78]  dump_stack+0xb4/0xec
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092325]  [5:    kworker/5:3:   78]  process_one_work+0x520/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092333]  [5:    kworker/5:3:   78]  worker_thread+0x234/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092340]  [5:    kworker/5:3:   78]  kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092348]  [5:    kworker/5:3:   78]  ret_from_fork+0x10/0x18
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092403]  [5:    kworker/5:3:   78] BUG: workqueue leaked lock or atomic: kworker/5:3/0x00000000/78
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092403]  [5:    kworker/5:3:   78]      last function: wq_barrier_func
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092422]  [5:    kworker/5:3:   78] 1 lock held by kworker/5:3/78:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092430]  [5:    kworker/5:3:   78]  #0: 0000000035a79ffd (&rport->mutex){+.+.}, at: rockchip_chg_detect_work+0x1c4/0x48c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092448]  [5:    kworker/5:3:   78] CPU: 5 PID: 78 Comm: kworker/5:3 Not tainted 4.19.219-<redacted> #1
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092455]  [5:    kworker/5:3:   78] Hardware name: <redacted> (DT)
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092465]  [5:    kworker/5:3:   78] Workqueue: mm_percpu_wq wq_barrier_func
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092473]  [5:    kworker/5:3:   78] Call trace:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092481]  [5:    kworker/5:3:   78]  dump_backtrace+0x0/0x170
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092490]  [5:    kworker/5:3:   78]  show_stack+0x28/0x34
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092497]  [5:    kworker/5:3:   78]  dump_stack+0xb4/0xec
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092505]  [5:    kworker/5:3:   78]  process_one_work+0x520/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092513]  [5:    kworker/5:3:   78]  worker_thread+0x234/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092520]  [5:    kworker/5:3:   78]  kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.092528]  [5:    kworker/5:3:   78]  ret_from_fork+0x10/0x18
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109257]  [5:    kworker/5:3:   78] BUG: workqueue leaked lock or atomic: kworker/5:3/0x00000000/78
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109257]  [5:    kworker/5:3:   78]      last function: hub_event
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109270]  [5:    kworker/5:3:   78] 1 lock held by kworker/5:3/78:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109279]  [5:    kworker/5:3:   78]  #0: 0000000035a79ffd (&rport->mutex){+.+.}, at: rockchip_chg_detect_work+0x1c4/0x48c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109299]  [5:    kworker/5:3:   78] CPU: 5 PID: 78 Comm: kworker/5:3 Not tainted 4.19.219-<redacted> #1
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109306]  [5:    kworker/5:3:   78] Hardware name: <redacted> (DT)
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109318]  [5:    kworker/5:3:   78] Workqueue: usb_hub_wq hub_event
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109326]  [5:    kworker/5:3:   78] Call trace:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109335]  [5:    kworker/5:3:   78]  dump_backtrace+0x0/0x170
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109343]  [5:    kworker/5:3:   78]  show_stack+0x28/0x34
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109351]  [5:    kworker/5:3:   78]  dump_stack+0xb4/0xec
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109360]  [5:    kworker/5:3:   78]  process_one_work+0x520/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109367]  [5:    kworker/5:3:   78]  worker_thread+0x6c/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109375]  [5:    kworker/5:3:   78]  kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.109383]  [5:    kworker/5:3:   78]  ret_from_fork+0x10/0x18
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110166]  [5:    kworker/5:3:   78] BUG: workqueue leaked lock or atomic: kworker/5:3/0x00000000/78
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110166]  [5:    kworker/5:3:   78]      last function: pm_runtime_work
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110186]  [5:    kworker/5:3:   78] 1 lock held by kworker/5:3/78:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110195]  [5:    kworker/5:3:   78]  #0: 0000000035a79ffd (&rport->mutex){+.+.}, at: rockchip_chg_detect_work+0x1c4/0x48c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110213]  [5:    kworker/5:3:   78] CPU: 5 PID: 78 Comm: kworker/5:3 Not tainted 4.19.219-<redacted> #1
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110220]  [5:    kworker/5:3:   78] Hardware name: <redacted> (DT)
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110231]  [5:    kworker/5:3:   78] Workqueue: pm pm_runtime_work
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110239]  [5:    kworker/5:3:   78] Call trace:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110247]  [5:    kworker/5:3:   78]  dump_backtrace+0x0/0x170
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110256]  [5:    kworker/5:3:   78]  show_stack+0x28/0x34
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110263]  [5:    kworker/5:3:   78]  dump_stack+0xb4/0xec
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110272]  [5:    kworker/5:3:   78]  process_one_work+0x520/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110279]  [5:    kworker/5:3:   78]  worker_thread+0x6c/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110287]  [5:    kworker/5:3:   78]  kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.110295]  [5:    kworker/5:3:   78]  ret_from_fork+0x10/0x18
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115836]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115847]  [5:    kworker/5:3:   78] ======================================================
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115851]  [5:    kworker/5:3:   78] WARNING: possible circular locking dependency detected
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115856]  [5:    kworker/5:3:   78] 4.19.219-<redacted> #1 Not tainted
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115859]  [5:    kworker/5:3:   78] ------------------------------------------------------
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115863]  [5:    kworker/5:3:   78] kworker/5:3/78 is trying to acquire lock:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115868]  [5:    kworker/5:3:   78] 0000000006a0005d ((wq_completion)"events"){+.+.}, at: process_one_work+0x1e0/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115878]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115878]  [5:    kworker/5:3:   78] but task is already holding lock:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115882]  [5:    kworker/5:3:   78] 0000000035a79ffd (&rport->mutex){+.+.}, at: rockchip_chg_detect_work+0x1c4/0x48c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115891]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115891]  [5:    kworker/5:3:   78] which lock already depends on the new lock.
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115891]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115896]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115896]  [5:    kworker/5:3:   78] the existing dependency chain (in reverse order) is:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115901]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115901]  [5:    kworker/5:3:   78] -> #2 (&rport->mutex){+.+.}:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115910]  [5:    kworker/5:3:   78]        __mutex_lock+0x7c/0x740
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115915]  [5:    kworker/5:3:   78]        mutex_lock_nested+0x48/0x5c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115921]  [5:    kworker/5:3:   78]        rockchip_chg_detect_work+0x1c4/0x48c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115926]  [5:    kworker/5:3:   78]        process_one_work+0x28c/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115931]  [5:    kworker/5:3:   78]        worker_thread+0x6c/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115935]  [5:    kworker/5:3:   78]        kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115940]  [5:    kworker/5:3:   78]        ret_from_fork+0x10/0x18
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115944]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115944]  [5:    kworker/5:3:   78] -> #1 ((work_completion)(&(&rport->chg_work)->work)){+.+.}:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115953]  [5:    kworker/5:3:   78]        process_one_work+0x240/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115957]  [5:    kworker/5:3:   78]        worker_thread+0x6c/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115962]  [5:    kworker/5:3:   78]        kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115966]  [5:    kworker/5:3:   78]        ret_from_fork+0x10/0x18
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115970]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115970]  [5:    kworker/5:3:   78] -> #0 ((wq_completion)"events"){+.+.}:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115978]  [5:    kworker/5:3:   78]        lock_acquire+0xc8/0x1d0
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115983]  [5:    kworker/5:3:   78]        process_one_work+0x21c/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115988]  [5:    kworker/5:3:   78]        worker_thread+0x6c/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115992]  [5:    kworker/5:3:   78]        kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.115996]  [5:    kworker/5:3:   78]        ret_from_fork+0x10/0x18
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116000]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116000]  [5:    kworker/5:3:   78] other info that might help us debug this:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116000]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116006]  [5:    kworker/5:3:   78] Chain exists of:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116006]  [5:    kworker/5:3:   78]   (wq_completion)"events" --> (work_completion)(&(&rport->chg_work)->work) --> &rport->mutex
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116006]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116015]  [5:    kworker/5:3:   78]  Possible unsafe locking scenario:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116015]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116020]  [5:    kworker/5:3:   78]        CPU0                    CPU1
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116024]  [5:    kworker/5:3:   78]        ----                    ----
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116027]  [5:    kworker/5:3:   78]   lock(&rport->mutex);
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116031]  [5:    kworker/5:3:   78]                                lock((work_completion)(&(&rport->chg_work)->work));
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116036]  [5:    kworker/5:3:   78]                                lock(&rport->mutex);
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116040]  [5:    kworker/5:3:   78]   lock((wq_completion)"events");
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116045]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116045]  [5:    kworker/5:3:   78]  *** DEADLOCK ***
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116045]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116051]  [5:    kworker/5:3:   78] 1 lock held by kworker/5:3/78:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116054]  [5:    kworker/5:3:   78]  #0: 0000000035a79ffd (&rport->mutex){+.+.}, at: rockchip_chg_detect_work+0x1c4/0x48c
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116062]  [5:    kworker/5:3:   78]
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116062]  [5:    kworker/5:3:   78] stack backtrace:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116068]  [5:    kworker/5:3:   78] CPU: 5 PID: 78 Comm: kworker/5:3 Not tainted 4.19.219-<redacted> #1
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116072]  [5:    kworker/5:3:   78] Hardware name: <redacted> (DT)
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116080]  [5:    kworker/5:3:   78] Workqueue: events rockchip_chg_detect_work
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116085]  [5:    kworker/5:3:   78] Call trace:
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116091]  [5:    kworker/5:3:   78]  dump_backtrace+0x0/0x170
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116096]  [5:    kworker/5:3:   78]  show_stack+0x28/0x34
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116100]  [5:    kworker/5:3:   78]  dump_stack+0xb4/0xec
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116104]  [5:    kworker/5:3:   78]  print_circular_bug.constprop.0+0x270/0x2e0
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116108]  [5:    kworker/5:3:   78]  __lock_acquire+0x1464/0x16f0
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116112]  [5:    kworker/5:3:   78]  lock_acquire+0xc8/0x1d0
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116118]  [5:    kworker/5:3:   78]  process_one_work+0x21c/0x5e4
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116122]  [5:    kworker/5:3:   78]  worker_thread+0x6c/0x440
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116126]  [5:    kworker/5:3:   78]  kthread+0x104/0x130
Apr 28 17:42:26 XX0XX000000 kernel[221]: [    1.116131]  [5:    kworker/5:3:   78]  ret_from_fork+0x10/0x18

Do you think you could take a look at it?

Thanks.

weston cannot resume after idle

After weston resume from the idle black screen, only the background image is displayed, and the newly launched application is not displayed. but if set idle-time to 0, it seems to work fine all the time.

bitbake core-image-minimal fails because of libgpoid

Hello,

First I want to mention that I am extremely new to Yocto and this is my first project, so probably the issue is something on my end.

I am trying to build a Yocto image for ASUS TinkerBoard 2, using the dunfell branch. I have included the meta-flutter layer, so I tried with both dunfell and flutter branch of meta-rockchip. The error is the same.

| checking linux/gpio.h usability... no
| checking linux/gpio.h presence... no
| checking for linux/gpio.h... no
| configure: error: linux/gpio.h header not found (needed to build the library)
| NOTE: The following config.log files may provide further information.
| NOTE: /mnt/data/Projects/smib/build/tmp/work/aarch64-poky-linux/libgpiod/1.4.3-r0/build/config.log
| ERROR: configure failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/mnt/data/Projects/smib/build/tmp/work/aarch64-poky-linux/libgpiod/1.4.3-r0/temp/run.do_configure.1239664' failed with exit code 1
ERROR: Task (/mnt/data/Projects/smib/meta-openembedded/meta-oe/recipes-support/libgpiod/libgpiod_1.4.3.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2689 tasks of which 2346 didn't need to be rerun and 1 failed.

This is the content of my local.conf

MACHINE ??= "rockchip-rk3399-sapphire-excavator"
IMAGE_FSTYPES = "tar.xz ext3"
CORE_IMAGE_EXTRA_INSTALL_append = " kernel-modules kribo-app-release flutter-pi-release flutter-engine-release flutter-drm-gbm-backend flutter-linux-plugins-release init"
DISTRO_FEATURES += " systemd opengl x11"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
GLIBC_GENERATE_LOCALES = "en_US.UTF-8"
IMAGE_LINGUAS = "en-us"
FLUTTER_RUNTIME_pn-flutter-drm-gbm-backend = "release"
LICENSE_FLAGS_WHITELIST = "commercial"
CLANGSDK = "1"

This is the content of my bblayers.conf

# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /mnt/data/Projects/smib/meta \
  /mnt/data/Projects/smib/meta-poky \
  /mnt/data/Projects/smib/meta-yocto-bsp \
  /mnt/data/Projects/smib/meta-rockchip \
  /mnt/data/Projects/smib/meta-openembedded/meta-oe \
  /mnt/data/Projects/smib/meta-openembedded/meta-multimedia \
  /mnt/data/Projects/smib/meta-openembedded/meta-networking \
  /mnt/data/Projects/smib/meta-openembedded/meta-python \
  /mnt/data/Projects/smib/meta-flutter \
  /mnt/data/Projects/smib/meta-clang \
  "

Previously I was able to successfully build an image for RaspberryPi 4, using meta-raspberrypi instead of meta-rockchip. Any help would be appreciated.

Best regards.

Kirkstone meta-rockchip bitbake error

Hi, I'm new to the kirkstone version. I have updated all the files but when I call bitbake-layers show-layers I get this error. What is the reason?

ERROR: Variable BB_BASEHASH_IGNORE_VARS_append file: /media/tunahan/f1cceee6-ac24-4956-9e80-7ce648ac31e4/yoctoproject-kirkstone/meta-rockchip/conf/layer.conf line: 22 contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.

The contents of the file mentioned in the error are as follows:

# Released under the MIT license (see COPYING.MIT for the terms)

# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
	    ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILES_DYNAMIC += " \
	browser-layer:${LAYERDIR}/dynamic-layers/recipes-browser/*/*.bbappend \
	chromium-browser-layer:${LAYERDIR}/dynamic-layers/recipes-browser/*/*.bbappend \
	qt5-layer:${LAYERDIR}/dynamic-layers/recipes-qt/*/*.bbappend \
"

BBFILE_COLLECTIONS += "rockchip"
BBFILE_PATTERN_rockchip := "^${LAYERDIR}/"
BBFILE_PRIORITY_rockchip = "9"

RKBASE = '${@os.path.normpath("${LAYERDIR}")}'
BB_BASEHASH_IGNORE_VARS:append = " RKBASE"

# Additional license directories.
LICENSE_PATH += "${LAYERDIR}/licenses"

LAYERDEPENDS_rockchip = "core openembedded-layer"

# This should only be incremented on significant changes that will
# cause compatibility issues with other layers
LAYERVERSION_rockchip = "1"
LAYERSERIES_COMPAT_rockchip = "kirkstone"

Upstream Source URI

Are you able to add some comments to the recipe files that indicate where the upstream sources are? Since you've mirrored everything into a single repository, I can't find any way of obtaining the original upstream source URL. Presumably it's only visible on the machine that is updating the mirrors.

Some additional comments for this information would be really helpful.

RK3568 and kernel 5.10

What is needed to raise the kernel version vor RK3568 to 5.10?
I tried it with just changing in the rk356x.inc, bitbake is finishing the image, but this does not boot, with 4.19 it does.
It stops at the Rockchip logo (wihout kernel text on it).
I want to use yocto with NanoPi R5C, it has RTL 8125 LAN chipset which is not supported in 4.19 but 5.10.
Can you give me a hint, what has to be changed too?

Flashing a wic image question

Hello, I had a lot of luck getting a Kirkstone image to build, but am having some issues flashing that image. I'm new to RK devices, so I may be missing something simple. As a side note, this isn't a board supported in your meta layers, but for the upgrade_tool operation, I'm not sure if that matters.

upgrade_tool -v
Not found config.ini
Program Data in /home/pete/bin
Upgrade Tool v1.43

Scan output

sudo ~/bin/upgrade_tool
Not found config.ini
Program Data in /home/pete/bin
List of rockusb connected
DevNo=1	Vid=0x2207,Pid=0x330c,LocationID=301	Mode=Maskrom
Found 1 rockusb,Select input DevNo,Rescan press <R>,Quit press <Q>:

But, when I try to flash the image

sudo ~/bin/upgrade_tool wl 0 core-image-minimal-rockchip-rk3399-icg-200-20220809000634.rootfs.wic
Not found config.ini
Program Data in /home/pete/bin
Write LBA failed!

I can't find any reference to the config.ini, but could get the Windows copy if that's important from the AndroidTool binary.

Any thoughts? I realize this is a bit outside your offering, and will understand if this isn't something you can support, but any help would be appreciated. Thank you.

Trouble with Chromium 98.0.4758.102-r0

I'm trying to build Chromium 98.0.4758.102-r0.
The patches do apply, but it fails with:

error: undefined symbol: media::V4L2VideoDecoder::Create(std::__1::unique_ptr<media::MediaLog, std::__1::default_delete<media::MediaLog> >, scoped_refptr<base::SequencedTaskRunner>, base::WeakPtr<media::VideoDecoderMixin::Client>)
| >>> referenced by video_decoder_pipeline.cc:0 (./../../media/gpu/chromeos/video_decoder_pipeline.cc:0)

It seems media::V4L2VideoDecoder::Create is called in: /media/gpu/chromeos/video_decoder_pipeline.cc

 #if BUILDFLAG(USE_VAAPI)
      base::BindOnce(&VaapiVideoDecoder::Create);
#elif BUILDFLAG(USE_V4L2_CODEC)
      base::BindOnce(&V4L2VideoDecoder::Create);
#endif

Which is included because /media/gpu/BUILD.gn has:

  # TODO(crbug.com/1006266): consider using |use_chromeos_video_acceleration|.
  if (use_v4l2_codec || use_vaapi) {
    public_deps += [
      ":video_frame_mapper",
      "//media/gpu/chromeos",
    ]
  }

Are we supposed to build //media/gpu/chromeos even on the ozone platform for linux?

Question: rk3588 evb1 where to buy

Hi,

I'm planning to do some experiments with rk3588 and this layer seems to support rk3588 evb1, but I cannot find any exact link on internet where to get it. Any idea where to get it pls? Thanks.

Missing driver for Xorg modesetting with rk3568

Branch: dunfell

Building the core-image-x11 for rk3568, the Xorg server fails to start. It seems that there is no driver for modesetting in the meta-rockchip layer. I found only a fbdev driver. It seems strange as the layer provide a conf file for Xorg that specifies that the default driver should be modesetting.

rk3328-evb u-boot Build break

|   aarch64-poky-linux-gcc  --sysroot=/__w/meta-flutter/kirkstone-rockchip-rk3328/rockchip-rk3328-evb/tmp/work/rockchip_rk3328_evb-poky-linux/u-boot/1_2017.09-r0/recipe-sysroot -Wp,-MD,spl/common/.image-android-dt.o.d -nostdinc -isystem /__w/meta-flutter/kirkstone-rockchip-rk3328/rockchip-rk3328-evb/tmp/work/rockchip_rk3328_evb-poky-linux/u-boot/1_2017.09-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../lib/aarch64-poky-linux/gcc/aarch64-poky-linux/11.3.0/include -Iinclude  -I/__w/meta-flutter/kirkstone-rockchip-rk3328/rockchip-rk3328-evb/tmp/work/rockchip_rk3328_evb-poky-linux/u-boot/1_2017.09-r0/git/include  -I/__w/meta-flutter/kirkstone-rockchip-rk3328/rockchip-rk3328-evb/tmp/work/rockchip_rk3328_evb-poky-linux/u-boot/1_2017.09-r0/git/arch/arm/include -include /__w/meta-flutter/kirkstone-rockchip-rk3328/rockchip-rk3328-evb/tmp/work/rockchip_rk3328_evb-poky-linux/u-boot/1_2017.09-r0/git/include/linux/kconfig.h  -I/__w/meta-flutter/kirkstone-rockchip-rk3328/rockchip-rk3328-evb/tmp/work/rockchip_rk3328_evb-poky-linux/u-boot/1_2017.09-r0/git/spl/common -Ispl/common -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -fshort-wchar -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Wno-address-of-packed-member -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a+nosimd -D__LINUX_ARM_ARCH__=8   -I/__w/meta-flutter/kirkstone-rockchip-rk3328/rockchip-rk3328-evb/tmp/work/rockchip_rk3328_evb-poky-linux/u-boot/1_2017.09-r0/git/arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(image_android_dt)"  -D"KBUILD_MODNAME=KBUILD_STR(image_android_dt)" -c -o spl/common/image-android-dt.o /__w/meta-flutter/kirkstone-rockchip-rk3328/rockchip-rk3328-evb/tmp/work/rockchip_rk3328_evb-poky-linux/u-boot/1_2017.09-r0/git/common/image-android-dt.c
|   File "/__w/meta-flutter/kirkstone-rockchip-rk3328/rockchip-rk3328-evb/tmp/work/rockchip_rk3328_evb-poky-linux/u-boot/1_2017.09-r0/git/tools/dtoc/dtoc", line 50
|     print result
|     ^^^^^^^^^^^^
| SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

USB not working in JWS3288-I

Hi JeffyCN,

I am working on JWS3288-I industry evaluation board, i used your meta-rockchip layer and successful booted the target thank you.

When i insert usb stick in target there is no sign of usb i think proper dtb file should have use, currently i am using rk3288-evb-rk808.dtb, could you please suggest me proper dtb file for JWS3288.

I need to inform you that I don't have schematic or SDK for JWS3288

You can find the based details of JWS3288 from the following link https://www.icp-deutschland.de/en/industrial-pc/cpu-boards-cpu-cards/embedded-boards/3-5-inch-wafer/wafer-jws3288-i-2r16s-l44.html

glmark2-es2-drm cannot run on rk3566 (rockchip-rk3566-evb.conf)

I change recipes-graphics/rockchip-libmali/rockchip-libmali.bb with the patch below (also added opengl to DISTRO_FEATURES).

diff --git a/recipes-graphics/rockchip-libmali/rockchip-libmali.bb b/recipes-graphics/rockchip-libmali/rockchip-libmali.bb
index 0c569f0..6e3a7cf 100644
--- a/recipes-graphics/rockchip-libmali/rockchip-libmali.bb
+++ b/recipes-graphics/rockchip-libmali/rockchip-libmali.bb
@@ -24,6 +24,8 @@ MALI_VERSION ??= "r18p0"
 MALI_SUBVERSION ??= "none"
 MALI_PLATFORM ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'gbm', d), d)}"

+MALI_PLATFORM = "gbm"
+
 # The utgard DDK and 'without-cl' subversion are not providing OpenCL.
 # The ICD OpenCL implementation should work with opencl-icd-loader.
 PROVIDES:append = " ${@ 'virtual/opencl-icd' if not d.getVar('MALI_GPU').startswith('utgard') and d.getVar('MALI_SUBVERSION') != 'without-cl' else ''}"

When run glmark2-es2-drm on rk3566 with failed with the error below.

arm_release_ver of this libmali is 'g2p0-01eac0', rk_so_ver is '3'.Error: eglCreateWindowSurface failed with error: 0x3009
Error: eglCreateWindowSurface failed with error: 0x3009
Error: CanvasGeneric: Invalid EGL state
Error: main: Could not initialize canvas

Noted, on rk3399 platform both kmscube and glmark2-es2-drm work well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.