Firefly开源社区

标题: Qt+eglf on X11 配置 [打印本页]

作者: Rudis    时间: 2017-11-20 10:24
标题: Qt+eglf on X11 配置
花了不少时间,终于在ubuntu x11下搞定了qt+opengl es2,虽然回过头来看,其实结论很简单。

这块开发板加上rk给的libmali.so 的库是可以正常在x11桌面下运行opengles2程序的,之前编译一直通不过 eglfs on x11。这里稍微总结一下处理办法。

建议使用qt5.8+的版本,之前用的qt5.6在很多情况下不是很好用,5.6的opengl es2测试文件时,没有加
  1. #define GL_GLEXT_PROTOTYPES
复制代码

opengles2 测试无法通过,自己手工加不知道有多少坑,所以建议使用qt5.8。本人就是在 qt5.8下面测试的。

本人是利用开发板直接编译的qt,需要交叉编译的,仿照我的工作,修改systemroot下的文件即可。

首先把xcb相关的动态库补充完整,这类文章很多,就不重复了

配置命令:
  1. ./configure -v -nomake examples -opengl es2
复制代码
直接这样配置,可以看到 eglf on x11 是失败的,这样编译的qt无法使用 opengl es2 也无法使用gpu 加速。进入 text文件,打开

5.8/Src/qtbase/config.tests/qpa/egl-x11 文件,或者观察 congiure 的测试报告

  1. #include <EGL/egl.h>
  2. #include <xcb/xcb.h>
  3. #include <X11/Xlib.h>
  4. #include <X11/Xlib-xcb.h>

  5. int main(int, char **)
  6. {
  7.     Display *dpy = EGL_DEFAULT_DISPLAY;
  8.     EGLNativeDisplayType egldpy = XOpenDisplay("");
  9.     dpy = egldpy;
  10.     EGLNativeWindowType w = XCreateWindow(dpy, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  11.     XDestroyWindow(dpy, w);
  12.     XCloseDisplay(dpy);
  13.     return 0;
  14. }
复制代码

可以看到是类型转换过程中出现的问题,由于类型转化错误,导致编译不通过,所以qt认为egl on x11是不支持的。但是我在使用opengl-es3的范例程序,在

rk3399上是可以正常运行的,此例子的窗口创建程序如下
  1. static Display *x_display = NULL;
  2. EGLBoolean WinCreate(ESContext *esContext, const char *title)
  3. {
  4. Window win;
  5. win = XCreateWindow(

  6.                x_display, root,

  7.                0, 0, esContext->width, esContext->height, 0,

  8.                CopyFromParent, InputOutput,

  9.                CopyFromParent, CWEventMask,

  10.                &swa );

  11. esContext->eglNativeWindow = (EGLNativeWindowType) win;

  12.     esContext->eglNativeDisplay = (EGLNativeDisplayType) x_display;

  13. }

复制代码

opengles3 的范例程序跟qt的测试代码用的是同样的方式创建窗口,缺可以正常工作,证明eglfs on x11 是支持的,只是由于某些问题,导致qt配置测试通过

不了。

打开/usr/include/EGL/eglplatform.h
  1. struct gbm_device;
  2. struct gbm_surface;

  3. typedef struct gbm_device * EGLNativeDisplayType;
  4. typedef struct gbm_surface * EGLNativeWindowType;
  5. typedef void * EGLNativePixmapType;

  6. /* EGL 1.2 types, renamed for consistency in EGL 1.3 */
  7. typedef EGLNativeDisplayType NativeDisplayType;
  8. typedef EGLNativePixmapType  NativePixmapType;
  9. typedef EGLNativeWindowType NativeWindowType;
复制代码

里面的内容就只有短短这几句话,和虚拟机上ubuntu比较就会发现,rk的egl头文件并没有添加egl在x11上面的支持。事实上,他们的驱动已经支持egl on

x11了,所以,我们的工作,只要把这个头文件补充完整。

  1. struct gbm_device;
  2. struct gbm_surface;

  3. #if defined(__GBM__)
  4. typedef struct gbm_device * EGLNativeDisplayType;
  5. typedef struct gbm_surface * EGLNativeWindowType;
  6. typedef void * EGLNativePixmapType;
  7. #elif defined(__unix__)
  8. #include <X11/Xlib.h>
  9. #include <X11/Xutil.h>
  10. typedef Display *EGLNativeDisplayType;
  11. typedef Pixmap EGLNativePixmapType;
  12. typedef Window EGLNativeWindowType;
  13. #endif

  14. typedef EGLNativeWindowType NativeWindowType;
  15. typedef EGLNativePixmapType NativePixmapType;
  16. typedef EGLNativeDisplayType NativeDisplayType;
复制代码

这里增加了 __unix__ 环境下对x11的类型的支持,保存之后重新配置qt,可以看到egl on x11 通过,编译qt。






作者: mouqilng    时间: 2017-11-23 16:21
你编译的qt能用webengin吗

作者: baisetuzi    时间: 2017-11-23 22:06
您好,能加您qq吗?想请教几个问题,我也在学习RK3399(qq794513669)
作者: Rudis    时间: 2017-11-24 11:48
mouqilng 发表于 2017-11-23 16:21
你编译的qt能用webengin吗

我没有编译这个模块,理论上这个模块应该是没问题的
作者: mouqilng    时间: 2017-11-24 14:13
Rudis 发表于 2017-11-24 11:48
我没有编译这个模块,理论上这个模块应该是没问题的

我编译的webengin一直报错,主要是opengl相关的,方便分享下你的环境配置步骤和参数吗?谢谢!
作者: mouqilng    时间: 2017-11-24 14:13
Rudis 发表于 2017-11-24 11:48
我没有编译这个模块,理论上这个模块应该是没问题的

我编译的webengin一直报错,主要是opengl相关的,方便分享下你的环境配置步骤和参数吗?谢谢!
作者: mouqilng    时间: 2017-11-24 14:46
Rudis 发表于 2017-11-24 11:48
我没有编译这个模块,理论上这个模块应该是没问题的

大神,方便qq给我不,我qq:395668693
作者: mouqilng    时间: 2017-11-24 18:12
能不能再详细点,按照你的步骤做了,还是没有通过
作者: Rudis    时间: 2017-11-28 09:07
mouqilng 发表于 2017-11-24 18:12
能不能再详细点,按照你的步骤做了,还是没有通过

我这个是为了在rk3399上支持gpu的qt3d,webengine我没有去尝试

无非是少什么装什么,rk3399本身也支持opengl,具体要看configure中测试失败详细信息
作者: mouqilng    时间: 2017-11-28 20:41
Rudis 发表于 2017-11-28 09:07
我这个是为了在rk3399上支持gpu的qt3d,webengine我没有去尝试

无非是少什么装什么,rk3399本身也支持 ...

configure 感觉能过,但是log中报了一堆错

firefly@firefly:~/qt-everywhere-opensource-src-5.8.0$ ./configure -v -opengl es2 -xplatform linux-rk3399-g++ -device-option CROSS_COMPILE=/usr/bin/ -opensource -qt-xcb -qpa xcb -confirm-license -optimized-qmake -reduce-exports -release -qt-pcre -make libs
+ cd qtbase
+ /home/firefly/qt-everywhere-opensource-src-5.8.0/qtbase/configure -top-level -v -opengl es2 -xplatform linux-rk3399-g++ -device-option CROSS_COMPILE=/usr/bin/ -opensource -qt-xcb -qpa xcb -confirm-license -optimized-qmake -reduce-exports -release -qt-pcre -make libs

This is the Qt Open Source Edition.

You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) version 3.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) version 2.

You have already accepted the terms of the Open Source license.

Creating qmake...
make: Nothing to be done for 'first'.

Running configuration tests...
Done running configuration tests.

Configure summary:

Building on:  arm64
Building for: arm64
Configuration: use_gold_linker cross_compile compile_examples enable_new_dtags largefile neon precompile_header shared rpath accessibility release c++11 c++14 c++1z concurrent dbus no-pkg-config mremap reduce_exports release_tools stl
Build options:
  Mode ................................... release; optimized tools
  Building shared libraries .............. yes
  Using C++ standard ..................... C++1z
  Using gold linker ...................... yes
  Using new DTAGS ........................ yes
  Using precompiled headers .............. yes
  Using LTCG ............................. no
  Target compiler supports:
    NEON ................................. yes
  Build parts ............................ libs
Qt modules and options:
  Qt Concurrent .......................... yes
  Qt D-Bus ............................... yes
  Qt D-Bus directly linked to libdbus .... no
  Qt Gui ................................. yes
  Qt Widgets ............................. yes
Support enabled for:
  Accessibility .......................... yes
  Using pkg-config ....................... no
  QML debugging .......................... yes
  udev ................................... no
  Using system zlib ...................... yes
Qt Core:
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
  GLib ................................... no
  iconv .................................. yes
  ICU .................................... no
  Logging backends:
    journald ............................. no
    syslog ............................... no
  Using system PCRE ...................... no
Qt Network:
  getaddrinfo() .......................... yes
  getifaddrs() ........................... yes
  IPv6 ifname ............................ yes
  libproxy ............................... no
  OpenSSL ................................ no
    Qt directly linked to OpenSSL ........ no
  SCTP ................................... no
  Use system proxies ..................... yes
Qt Sql:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. no
  OCI (Oracle) ........................... no
  ODBC ................................... no
  PostgreSQL ............................. no
  SQLite2 ................................ no
  SQLite ................................. yes
    Using system provided SQLite ......... no
  TDS (Sybase) ........................... no
Qt Gui:
  FreeType ............................... yes
    Using system FreeType ................ no
  HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
  Fontconfig ............................. no
  Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
      Using system libjpeg ............... no
    PNG .................................. yes
      Using system libpng ................ yes
  OpenGL:
    EGL .................................. yes
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ yes
    OpenGL ES 3.0 ........................ yes
    OpenGL ES 3.1 ........................ no
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... no
  mtdev .................................. no
  tslib .................................. no
  xkbcommon-evdev ........................ no
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. yes
  EGLFS details:
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS EGLDevice ...................... no
    EGLFS GBM ............................ no
    EGLFS Mali ........................... no
    EGLFS Rasberry Pi .................... no
    EGL on X11 ........................... yes
  LinuxFB ................................ yes
  Mir client ............................. no
  X11:
    Using system provided XCB libraries .. no
    EGL on X11 ........................... yes
    Xinput2 .............................. no
    XCB XKB .............................. no
    XLib ................................. yes
    Xrender .............................. yes
    XCB GLX .............................. yes
    XCB Xlib ............................. yes
    Using system-provided xkbcommon ...... no
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt PrintSupport:
  CUPS ................................... no
Qt SerialBus:
  Socket CAN ............................. yes
  Socket CAN FD .......................... yes
QtXmlPatterns:
  XML schema support ..................... yes
Qt QML:
  QML interpreter ........................ yes
  QML network support .................... yes
Qt Quick:
  Direct3D 12 ............................ no
  AnimatedImage item ..................... yes
  Canvas item ............................ yes
  Support for Quick Designer ............. yes
  Flipable item .......................... yes
  GridView item .......................... yes
  ListView item .......................... yes
  Path support ........................... yes
  PathView item .......................... yes
  Positioner items ....................... yes
  ShaderEffect item ...................... yes
  Sprite item ............................ yes
Qt Gamepad:
  SDL2 ................................... no
Qt 3D:
  System Assimp .......................... no
Qt Wayland Client ........................ no
Qt Wayland Compositor .................... no
Qt Bluetooth:
  BlueZ .................................. no
  BlueZ Low Energy ....................... no
  Linux Crypto API ....................... no
Qt Multimedia:
  ALSA ................................... no
  GStreamer 1.0 .......................... no
  GStreamer 0.10 ......................... no
  Video for Linux ........................ yes
  OpenAL ................................. no
  PulseAudio ............................. no
  Resource Policy (libresourceqt5) ....... no
  DirectShow ............................. no
  Windows Media Foundation ............... no
Qt Location:
  Gypsy GPS Daemon ....................... no
  WinRT Geolocation API .................. no
Qt Sensors:
  sensorfw ............................... no
Qt WebEngine:
  Proprietary Codecs ..................... no
  Spellchecker ........................... yes
  ALSA ................................... no
  PulseAudio ............................. no

Note: -optimized-tools is not useful in -release mode.

Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.


Platform notes:

            - Also available for Linux: linux-clang linux-kcc linux-icc linux-cxx
        

Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /usr/local/Qt-5.8.0

Prior to reconfiguration, make sure you remove any leftovers from
the previous build.

作者: lxdlbs371    时间: 2018-1-15 17:36
群主加个QQ ,我的QQ : 87973576 向你学习 编译openES 我还打算在opencv上使用opengl
作者: lxdlbs371    时间: 2018-2-5 17:19
我按照楼主的编译,结果发现很多错误:
Checking for xkbcommon...
Trying source 0 (type pkgConfig) of library xkbcommon ...
+ /usr/bin/pkg-config --exists --silence-errors xkbcommon
  => source produced no result.
test config.gui.libraries.xkbcommon FAILED
Checking for XLib...
+ cd /mnt/nfsroot/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/x11/xlib && /mnt/nfsroot/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qmake -qtconf /mnt/nfsroot/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qt.conf "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker console" /mnt/nfsroot/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/x11/xlib
+ cd /mnt/nfsroot/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/x11/xlib && MAKEFLAGS= /usr/bin/make
> g++ -c -pipe -O2 -std=gnu++11 -Wall -W -fPIC  -I. -I/mnt/nfsroot/qt-everywhere-opensource-src-5.8.0/qtbase/mkspecs/linux-g++ -o xlib.o xlib.cpp
> g++ -Wl,-O1 -fuse-ld=gold -o xlib xlib.o    -lXext -lX11 -lm
test config.gui.tests.xlib succeeded


[  223.332889] rockchip-dp ff970000.edp: AUX CH command reply failed!
[  223.336234] rockchip-dp ff970000.edp: AUX CH command reply failed!
[  223.421406] rockchip-dp ff970000.edp: AUX CH command reply failed!
[  223.580288] rockchip-dp ff970000.edp: AUX CH command reply failed!
[  223.840169] rockchip-dp ff970000.edp: AUX CH command reply failed!
[  223.842811] rockchip-dp ff970000.edp: AUX CH command reply failed!
[  223.895852] rockchip-dp ff970000.edp: AUX CH command reply failed!
[  223.935652] rockchip-dp ff970000.edp: AUX CH command reply failed!
[  240.255891] INFO: task qmake:2152 blocked for more than 120 seconds.
[  240.256467]       Not tainted 4.4.52 #22
[  240.256885] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  240.257993] Kernel panic - not syncing: hung_task: blocked tasks
[  240.258531] CPU: 5 PID: 39 Comm: khungtaskd Not tainted 4.4.52 #22
[  240.259078] Hardware name: Rockchip RK3399 Firefly Board (Linux Opensource) (DT)
[  240.259728] Call trace:
[  240.259959] [<ffffff8008088190>] dump_backtrace+0x0/0x1b8
[  240.260442] [<ffffff8008088368>] show_stack+0x20/0x28
[  240.260897] [<ffffff8008386cf8>] dump_stack+0x8c/0xac
[  240.261348] [<ffffff800815de88>] panic+0xf4/0x23c
[  240.261772] [<ffffff8008127d60>] watchdog+0x2e0/0x30c
[  240.262224] [<ffffff80080b9284>] kthread+0xe4/0xec
[  240.262652] [<ffffff8008082690>] ret_from_fork+0x10/0x40
[  240.263136] CPU0: stopping
[  240.263396] CPU: 0 PID: 842 Comm: X Not tainted 4.4.52 #22
[  240.263876] Hardware name: Rockchip RK3399 Firefly Board (Linux Opensource) (DT)
[  240.264522] Call trace:
[  240.264752] [<ffffff8008088190>] dump_backtrace+0x0/0x1b8
[  240.265227] [<ffffff8008088368>] show_stack+0x20/0x28
[  240.265675] [<ffffff8008386cf8>] dump_stack+0x8c/0xac
[  240.266121] [<ffffff800808d944>] handle_IPI+0x134/0x240
[  240.266580] [<ffffff8008080e60>] gic_handle_irq+0x130/0x188
[  240.267068] Exception stack(0xffffffc07ff03000 to 0xffffffc07ff03130)
[  240.267633] 3000: ffffffc07405fec0 0000000000000000 ffffffffffffffff 0000007f7ee657a0
[  240.268316] 3020: 0000000080000000 0000000000000014 ffffffc07feff060 0000000000000000
[  240.268999] 3040: 0000000000000000 ffffffc07405fec0 0000000000000000 0000000000000000
[  240.269682] 3060: ffffffc07160f720 0000000000000000 0000000000000000 0000000000000000
[  240.270365] 3080: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.271048] 30a0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.271730] 30c0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.272413] 30e0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.273096] 3100: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.273778] 3120: 0000000000000000 0000000000000000
[  240.274206] [<ffffff80080824cc>] el0_irq_naked+0x48/0x5c
[  240.274671] CPU1: stopping
[  240.274917] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.52 #22
[  240.275440] Hardware name: Rockchip RK3399 Firefly Board (Linux Opensource) (DT)
[  240.276083] Call trace:
[  240.276303] [<ffffff8008088190>] dump_backtrace+0x0/0x1b8
[  240.276776] [<ffffff8008088368>] show_stack+0x20/0x28
[  240.277220] [<ffffff8008386cf8>] dump_stack+0x8c/0xac
[  240.277663] [<ffffff800808d944>] handle_IPI+0x134/0x240
[  240.278121] [<ffffff8008080e60>] gic_handle_irq+0x130/0x188
[  240.278608] Exception stack(0xffffffc07ff18000 to 0xffffffc07ff18130)
[  240.279171] 8000: ffffffc07964bdc0 0000008000000000 ffffffc07964bef0 ffffff80088742c4
[  240.279855] 8020: 0000000060000145 ffffff80091ae1a0 ffffffc07ff14060 0000000000000000
[  240.280538] 8040: ffffffc07964bef0 ffffffc07964bdc0 0000000000000000 0000000000000000
[  240.281221] 8060: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.281904] 8080: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.282587] 80a0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.283270] 80c0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.283953] 80e0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.284636] 8100: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.285317] 8120: 0000000000000000 0000000000000000
[  240.285744] [<ffffff8008081fb4>] el1_irq+0xb4/0x140
[  240.286177] [<ffffff80088742c4>] cpuidle_enter_state+0x1fc/0x2a8
[  240.286703] [<ffffff80088743e4>] cpuidle_enter+0x34/0x40
[  240.287173] [<ffffff80080dd108>] cpu_startup_entry+0x26c/0x300
[  240.287684] [<ffffff800808d46c>] secondary_start_kernel+0x184/0x190
[  240.288232] [<0000000000282978>] 0x282978
[  240.288585] CPU2: stopping
[  240.288829] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.4.52 #22
[  240.289353] Hardware name: Rockchip RK3399 Firefly Board (Linux Opensource) (DT)
[  240.289995] Call trace:
[  240.290214] [<ffffff8008088190>] dump_backtrace+0x0/0x1b8
[  240.290688] [<ffffff8008088368>] show_stack+0x20/0x28
[  240.291132] [<ffffff8008386cf8>] dump_stack+0x8c/0xac
[  240.291575] [<ffffff800808d944>] handle_IPI+0x134/0x240
[  240.292034] [<ffffff8008080e60>] gic_handle_irq+0x130/0x188
[  240.292520] Exception stack(0xffffffc07ff2d000 to 0xffffffc07ff2d130)
[  240.293084] d000: ffffffc07964fdc0 0000008000000000 ffffffc07964fef0 ffffff80088742c4
[  240.293768] d020: 0000000060000145 ffffff80091ae1a0 ffffffc07ff29060 0000000000000000
[  240.294451] d040: ffffffc07964fef0 ffffffc07964fdc0 0000000000000000 0000000000000000
[  240.295133] d060: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.295816] d080: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.296499] d0a0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.297182] d0c0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.297865] d0e0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.298548] d100: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.299230] d120: 0000000000000000 0000000000000000
[  240.299657] [<ffffff8008081fb4>] el1_irq+0xb4/0x140
[  240.300086] [<ffffff80088742c4>] cpuidle_enter_state+0x1fc/0x2a8
[  240.300612] [<ffffff80088743e4>] cpuidle_enter+0x34/0x40
[  240.301079] [<ffffff80080dd108>] cpu_startup_entry+0x26c/0x300
[  240.301590] [<ffffff800808d46c>] secondary_start_kernel+0x184/0x190
[  240.302137] [<0000000000282978>] 0x282978
[  240.302495] CPU4: stopping
[  240.302757] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 4.4.52 #22
[  240.303290] Hardware name: Rockchip RK3399 Firefly Board (Linux Opensource) (DT)
[  240.303941] Call trace:
[  240.304176] [<ffffff8008088190>] dump_backtrace+0x0/0x1b8
[  240.304662] [<ffffff8008088368>] show_stack+0x20/0x28
[  240.305116] [<ffffff8008386cf8>] dump_stack+0x8c/0xac
[  240.305569] [<ffffff800808d944>] handle_IPI+0x134/0x240
[  240.306035] [<ffffff8008080e60>] gic_handle_irq+0x130/0x188
[  240.306530] Exception stack(0xffffffc07ff57000 to 0xffffffc07ff57130)
[  240.307103] 7000: ffffffc07965bdc0 0000008000000000 ffffffc07965bef0 ffffff80088742c4
[  240.307795] 7020: 0000000060000145 ffffff80091ae1a0 ffffffc07ff53060 0000000000000000
[  240.308487] 7040: ffffffc07965bef0 ffffffc07965bdc0 0000000000000000 0000000000000000
[  240.309177] 7060: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.309867] 7080: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.310558] 70a0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.311248] 70c0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.311939] 70e0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.312630] 7100: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.313319] 7120: 0000000000000000 0000000000000000
[  240.313755] [<ffffff8008081fb4>] el1_irq+0xb4/0x140
[  240.314197] [<ffffff80088742c4>] cpuidle_enter_state+0x1fc/0x2a8
[  240.314733] [<ffffff80088743e4>] cpuidle_enter+0x34/0x40
[  240.315211] [<ffffff80080dd108>] cpu_startup_entry+0x26c/0x300
[  240.315731] [<ffffff800808d46c>] secondary_start_kernel+0x184/0x190
[  240.316286] [<0000000000282978>] 0x282978
[  240.316645] CPU3: stopping
[  240.316891] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.4.52 #22
[  240.317415] Hardware name: Rockchip RK3399 Firefly Board (Linux Opensource) (DT)
[  240.318058] Call trace:
[  240.318278] [<ffffff8008088190>] dump_backtrace+0x0/0x1b8
[  240.318751] [<ffffff8008088368>] show_stack+0x20/0x28
[  240.319196] [<ffffff8008386cf8>] dump_stack+0x8c/0xac
[  240.319639] [<ffffff800808d944>] handle_IPI+0x134/0x240
[  240.320096] [<ffffff8008080e60>] gic_handle_irq+0x130/0x188
[  240.320584] Exception stack(0xffffffc07ff42000 to 0xffffffc07ff42130)
[  240.321147] 2000: ffffffc079657dc0 0000008000000000 ffffffc079657ef0 ffffff80088742c4
[  240.321831] 2020: 0000000060000145 ffffff80091ae1a0 ffffffc07ff3e060 0000000000000000
[  240.322515] 2040: ffffffc079657ef0 ffffffc079657dc0 0000000000000000 0000000000000000
[  240.323197] 2060: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.323881] 2080: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.324564] 20a0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.325247] 20c0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.325930] 20e0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.326612] 2100: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  240.327294] 2120: 0000000000000000 0000000000000000
[  240.327722] [<ffffff8008081fb4>] el1_irq+0xb4/0x140
[  240.328151] [<ffffff80088742c4>] cpuidle_enter_state+0x1fc/0x2a8
[  240.328677] [<ffffff80088743e4>] cpuidle_enter+0x34/0x40
[  240.329145] [<ffffff80080dd108>] cpu_startup_entry+0x26c/0x300
[  240.329655] [<ffffff800808d46c>] secondary_start_kernel+0x184/0x190
[  240.330203] [<0000000000282978>] 0x282978
[  240.330560] CRU:
[  240.330747] 00000000: 00000032 00001101 80000000 00000108 00000007 00007f00 00000000 00000000
[  240.331507] 00000020: 00000044 00002201 80000000 00000108 00000007 00007f00 00000000 00000000
[  240.332267] 00000040: 00000037 00001201 8000031f 00000108 00000007 00007f00 00000000 00000000
[  240.333026] 00000060: 00000190 00001206 80000000 00000108 00000007 00007f00 00000000 00000000
[  240.333785] 00000080: 00000032 00001101 80000000 00000108 00000007 00007f00 00000000 00000000
[  240.334542] 000000a0: 00000190 00001206 80000000 00000108 00000007 00007f00 00000000 00000000
[  240.335300] 000000c0: 00000081 00003701 80f00000 00000100 00000007 00007f00 00000000 00000000
[  240.336057] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.336814] 00000100: 00000100 00000505 00000140 00006202 00000047 00008743 00008520 00000142
[  240.337572] 00000120: 00000143 00004343 00000142 00000142 00004242 00008545 00003187 0000010b
[  240.338329] 00000140: 0000041d 00000300 00004a87 00000113 00009382 0000838b 00001105 0000108b
[  240.339087] 00000160: 0000834b 0000018b 00001745 0000001f 00000380 00000380 00000380 00000000
[  240.339845] 00000180: 00006380 00009200 00000200 00000200 00000200 00000200 00003f3f 00000043
[  240.340603] 000001a0: 00000000 00000000 00004242 00000421 00008b00 000002dc 00000004 00000182
[  240.341361] 000001c0: 00000182 00000000 00000000 0000008b 0000008b 00000142 00000142 00008181
[  240.342118] 000001e0: 0000853f 0000000b 0000971f 00009797 00009797 00008b8b 00008b8b 00008b8b
[  240.342875] 00000200: 000000d7 000000d7 00000000 00000000 00000000 00000000 00000000 00000000
[  240.343632] 00000220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.344389] 00000240: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.345146] 00000260: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.345904] 00000280: 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60
[  240.346662] 000002a0: 0bb8ea60 0bb8ea60 00010014 00010014 00000000 00000000 00000000 00000000
[  240.347419] 000002c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.348176] 000002e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.348934] 00000300: 00000080 00000080 00000000 0000006b 00000c30 00000000 0000001c 000001c0
[  240.349692] 00000320: 0000fff8 0000f0ff 0000c0ff 0000c1b0 00000040 0000e202 00000000 00000000
[  240.350449] 00000340: 00000505 00000505 00001000 00000000 00000e04 00000000 0000cfea 00003f00
[  240.351207] 00000360: 0000ef60 00000020 00000ffe 000001f0 00000000 00000f86 00000c08 000001b8
[  240.351965] 00000380: 00000010 00000000 00000028 00000000 00000000 00000000 00000000 00000000
[  240.352722] 000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.353478] 000003c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.354235] 000003e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.354991] 00000400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.355749] 00000420: 00000000 00004040 00000000 00000014 00000000 00000000 00000000 00000000
[  240.356505] 00000440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.357262] 00000460: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.358018] 00000480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.358775] 000004a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.359531] 000004c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.360288] 000004e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.361044] 00000500: 00000000 00000000 00640064 00000000 00000003 00000000 00000000 00000000
[  240.361802] 00000520: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.362558] 00000540: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.363315] 00000560: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.364068] 00000580: 00000004 00000000 00000004 0000096e 00000004
[  240.364612] PMU CRU:
[  240.364824] 00000000: 000000a9 00001203 80000000 00000108 00000007 00007f00 00000000 00000000
[  240.365583] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.366341] 00000040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.367099] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.367859] 00000080: 0000070d 00001986 00000d0d 0000000d 000002dc 00000200 0bb8ea60 0bb8ea60
[  240.368617] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.369376] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.370134] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  240.370893] 00000100: 00000efc 0000fb80 0000000f 00000000 00000024 00000000 00000000 00000000
[  240.371648] 00000120: 00000000 00000180 00000000 00000000 00000000
[  240.372194] Kernel Offset: disabled
[  240.372506] Memory Limit: none
[  240.372794] rockchip-thermal ff260000.tsadc: channal 0: temperature(28 C)
[  240.373392] THERMAL REGS:
[  240.373641] 00000000: 00000200 00030133 00000031 00000002 00000000 00000000 00000000 00000000
[  240.374399] 00000020: 00000207 00000206 00000000 00000000 0000024e 00000000 00000000 00000000
[  240.375157] 00000040: 00000279 00000279 00000000 00000000 00000000 00000000 00000000 00000000
[  240.375914] 00000060: 00000004 00000004 00000753 00000753 00000000 00000000 00000000 00000000
[  240.376664] 00000080: 00000000 00000000
[  240.377015] ---[ end Kernel panic - not syncing: hung_task: blocked tasks
[  252.124826] Watchdog detected hard LOCKUP on cpu 0
[  252.125249] ------------[ cut here ]------------
[  252.125678] WARNING: at kernel/watchdog.c:352
[  252.126065] Modules linked in:
[  252.126345]
[  252.126490] CPU: 5 PID: 39 Comm: khungtaskd Not tainted 4.4.52 #22
[  252.127035] Hardware name: Rockchip RK3399 Firefly Board (Linux Opensource) (DT)
[  252.127689] task: ffffffc0797924c0 ti: ffffffc078e40000 task.ti: ffffffc078e40000
[  252.128354] PC is at watchdog_timer_fn+0x104/0x2f0
[  252.128783] LR is at watchdog_timer_fn+0x104/0x2f0
[  252.129211] pc : [<ffffff80081284c0>] lr : [<ffffff80081284c0>] pstate: 600001c5
[  252.129860] sp : ffffffc07ff6bde0
[  252.130158] x29: ffffffc07ff6bde0 x28: ffffff80090cdf70
[  252.130643] x27: 0000000000000000 x26: ffffff800908f1f8
[  252.131126] x25: ffffffc07ff6e210 x24: ffffffc078e43b60
[  252.131608] x23: 0000000000000000 x22: 0000000000000000
[  252.132089] x21: ffffff80090cc000 x20: ffffff800908f270
[  252.132570] x19: ffffff800908f000 x18: 0000000030d00800
[  252.133051] x17: 0000000000000000 x16: 0000000000000000
[  252.133532] x15: 0000000000000000 x14: 0ffffffffffffffd
[  252.134013] x13: 0000000000000000 x12: 0101010101010101
[  252.134494] x11: 7f7f7f7f7f7f7f7f x10: fefefefefefefeff
[  252.134976] x9 : 7f7f7f7f7f7f7f7f x8 : 4c20647261682064
[  252.135457] x7 : 6574636574656420 x6 : ffffff800921982d
[  252.135938] x5 : 0000000000000002 x4 : 0000000000000005
[  252.136418] x3 : 0000000000000000 x2 : 0000000000000001
[  252.136898] x1 : 00000000000001c0 x0 : 0000000000000026
[  252.137381]
[  252.137381] PC: 0xffffff8008128440:
[  252.137822] 8440  b9401c00 f90033a3 f90037a4 97fffeb4 2a0003fb 90007d20 b94f0000 6b00037f
[  252.138599] 8460  54000382 d50339bf b0007d3c 91002281 913dc39c f94037a4 f87b5b82 38626825
[  252.139372] 8480  34000085 f94033a3 38226823 14000011 91020280 f8626b41 f8626803 91022294
[  252.140146] 84a0  eb01007f 54000e40 f8226801 f87b5b80 38206a85 14000007 2a1b03e1 9400d714
[  252.140919] 84c0  d4210000 f87b5b80 52800021 38206a81 9107a274 913d62ba d538d081 91008280
[  252.141692] 84e0  f8606820 97fe764c f9401b20 f9401f42 f90037a2 f9401000 d63f0000 aa0003e1
[  252.142464] 8500  f94037a2 aa1903e0 97ff55b8 b50000f6 91022694 d538d080 38746801 34000361
[  252.143237] 8520  38346816 14000019 97fe8afc 90007d21 f947ac21 36080921 b9403741 340008e1
[  252.144010]
[  252.144010] LR: 0xffffff8008128440:
[  252.144451] 8440  b9401c00 f90033a3 f90037a4 97fffeb4 2a0003fb 90007d20 b94f0000 6b00037f
[  252.145224] 8460  54000382 d50339bf b0007d3c 91002281 913dc39c f94037a4 f87b5b82 38626825
[  252.145997] 8480  34000085 f94033a3 38226823 14000011 91020280 f8626b41 f8626803 91022294
[  252.146769] 84a0  eb01007f 54000e40 f8226801 f87b5b80 38206a85 14000007 2a1b03e1 9400d714
[  252.147541] 84c0  d4210000 f87b5b80 52800021 38206a81 9107a274 913d62ba d538d081 91008280
[  252.148313] 84e0  f8606820 97fe764c f9401b20 f9401f42 f90037a2 f9401000 d63f0000 aa0003e1
[  252.149085] 8500  f94037a2 aa1903e0 97ff55b8 b50000f6 91022694 d538d080 38746801 34000361
[  252.149857] 8520  38346816 14000019 97fe8afc 90007d21 f947ac21 36080921 b9403741 340008e1
[  252.150630]
[  252.150630] SP: 0xffffffc07ff6bd60:
[  252.151071] bd60  00000000 00000000 00000000 00000000 78e43b60 ffffffc0 7ff6e210 ffffffc0
[  252.151845] bd80  0908f1f8 ffffff80 00000000 00000000 090cdf70 ffffff80 7ff6bde0 ffffffc0
[  252.152617] bda0  081284c0 ffffff80 7ff6bde0 ffffffc0 081284c0 ffffff80 600001c5 00000000
[  252.153390] bdc0  090ccf58 ffffff80 00000000 00000000 00000000 00000080 ffffffff 00ffffff
[  252.154161] bde0  7ff6be50 ffffffc0 080fe76c ffffff80 7ff6e210 ffffffc0 7ff6dbc0 ffffffc0
[  252.154934] be00  7ff6dc40 ffffffc0 00000001 00000000 0920a24f ffffff80 090cbed0 ffffff80
[  252.155705] be20  081283bc ffffff80 af2c0a4a 0000003a 0920a000 ffffff80 78e40000 ffffffc0
[  252.156476] be40  00000000 00000000 090ccf58 ffffff80 7ff6bec0 ffffffc0 080fea88 ffffff80
[  252.157253]
[  252.157253] X6: 0xffffff80092197ad:
[  252.157694] 97ac  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  252.158466] 97cc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  252.159238] 97ec  00000000 00000001 00000000 30303020 32303330 33323930 39205d38 20636537
[  252.160010] 980c  312e3235 35323735 58205d33 30203a36 66666678 38666666 32393030 61373931
[  252.160782] 982c  300a3a64 32313830 30633438 70205d3e 74617473 36203a65 30303030 0a356331
[  252.161553] 984c  2030300a 30303030 30303030 37203a0a 36633a61 3a37303a 363a6434 37613a39
[  252.162326] 986c  4f54280a 28202942 39353572 29333932 49574620 31302044 3232622d 39366561
[  252.163099] 988c  4c0a2063 412b2053 2b204c43 2d205a58 20345a4c 4345532b 504d4f43 4c422b20
[  252.163872] 98ac  2044494b 464c452b 4c495455 4b2b2053 20444f4d 4e44492d 47200a29 5b0a2942
[  252.164652]
[  252.164652] X19: 0xffffff800908ef80:
[  252.165100] ef80  ******** ******** ******** ******** ******** ******** ******** ********
[  252.165887] efa0  ******** ******** ******** ******** ******** ******** ******** ********
[  252.166666] efc0  ******** ******** ******** ******** ******** ******** ******** ********
[  252.167444] efe0  ******** ******** ******** ******** ******** ******** ******** ********
[  252.168223] f000  ******** ******** ******** ******** ******** ******** ******** ********
[  252.169003] f020  ******** ******** ******** ******** ******** ******** ******** ********
[  252.169781] f040  ******** ******** ******** ******** ******** ******** ******** ********
[  252.170560] f060  ******** ******** ******** ******** ******** ******** ******** ********
[  252.171343]
[  252.171343] X20: 0xffffff800908f1f0:
[  252.171791] f1f0  ******** ******** ******** ******** ******** ******** ******** ********
[  252.172568] f210  ******** ******** ******** ******** ******** ******** ******** ********
[  252.173346] f230  ******** ******** ******** ******** ******** ******** ******** ********
[  252.174124] f250  ******** ******** ******** ******** ******** ******** ******** ********
[  252.174901] f270  ******** ******** ******** ******** ******** ******** ******** ********
[  252.175681] f290  ******** ******** ******** ******** ******** ******** ******** ********
[  252.176458] f2b0  ******** ******** ******** ******** ******** ******** ******** ********
[  252.177239] f2d0  ******** ******** ******** ******** ******** ******** ******** ********
[  252.178020]
[  252.178020] X21: 0xffffff80090cbf80:
[  252.178468] bf80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  252.179241] bfa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  252.180013] bfc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  252.180784] bfe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  252.181555] c000  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  252.182327] c020  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  252.183098] c040  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  252.183869] c060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  252.184646]
[  252.184646] X24: 0xffffffc078e43ae0:
[  252.185094] 3ae0  0000003d 00000000 00000000 00000000 00000000 00000000 0000003d 00000000
[  252.185867] 3b00  0925c05a ffffff80 00000000 00000000 0002f2f8 00000000 00000006 00000000
[  252.186640] 3b20  78e43b40 ffffffc0 090e5680 ffffff80 08e27177 ffffff80 00000000 00000000
[  252.187413] 3b40  78e43be0 ffffffc0 080e9868 ffffff80 08e22f2a ffffff80 09216850 ffffff80
[  252.188183] 3b60  6a1d5f4b 00000001 0000078c 00000000 000003e8 00000000 00000007 00000000
[  252.188955] 3b80  00000001 00000000 00000001 00000000 09219844 ffffff80 61745f67 203a6b73
[  252.189727] 3ba0  636f6c62 2064656b 7f7f7f7f 7f7f7f7f fefefeff fefefefe 7f7f7f7f 7f7f7f7f
[  252.190499] 3bc0  01010101 01010101 00000000 00000000 fffffffd 0fffffff 00000000 00000000
[  252.191274]
[  252.191274] X25: 0xffffffc07ff6e190:
[  252.191722] e190  ffffffff 00000000 ffffffff ffffffff 00000001 00000000 7ff6e1a8 ffffffc0
[  252.192495] e1b0  7ff6e1a8 ffffffc0 7ff6e1b8 ffffffc0 7ff6e1b8 ffffffc0 08126f0c ffffff80
[  252.193266] e1d0  79517cf8 ffffffc0 79517c40 ffffffc0 00020002 00000000 00000000 00000000
[  252.194039] e1f0  00000001 00000000 0000003f 00000000 0000003c 00000000 796ebd40 ffffffc0
[  252.194810] e210  7ff6e210 ffffffc0 7ff6e080 ffffffc0 00000000 00000000 af2c01c0 0000003a
[  252.195583] e230  af2c01c0 0000003a 081283bc ffffff80 7ff6dc40 ffffffc0 00000000 0000001f
[  252.196355] e250  0812838c ffffff80 63746177 676f6468 0000352f 00000000 0000003b 00000000
[  252.197128] e270  00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000000
[  252.197903]
[  252.197903] X26: 0xffffff800908f178:
[  252.198351] f178  ******** ******** ******** ******** ******** ******** ******** ********
[  252.199130] f198  ******** ******** ******** ******** ******** ******** ******** ********
[  252.199910] f1b8  ******** ******** ******** ******** ******** ******** ******** ********
[  252.200689] f1d8  ******** ******** ******** ******** ******** ******** ******** ********
[  252.201469] f1f8  ******** ******** ******** ******** ******** ******** ******** ********
[  252.202248] f218  ******** ******** ******** ******** ******** ******** ******** ********
[  252.203028] f238  ******** ******** ******** ******** ******** ******** ******** ********
[  252.203808] f258  ******** ******** ******** ******** ******** ******** ******** ********
[  252.204591]
[  252.204591] X28: 0xffffff80090cdef0:
[  252.205038] def0  00000001 00000000 00000001 00000000 000003e8 00000000 7ff7d300 ffffffc0
[  252.205810] df10  00000015 00000000 7ff7d2c0 ffffffc0 00000001 00000000 00000060 00000000
[  252.206583] df30  00015000 00000000 7ff7d380 ffffffc0 7ff7d340 ffffffc0 00000001 00001000
[  252.207355] df50  00000006 00000000 00000005 00000010 7ff7d1c0 ffffffc0 7feff000 ffffffc0
[  252.208126] df70  76e76000 00000040 76e8b000 00000040 76ea0000 00000040 76eb5000 00000040
[  252.208898] df90  76eca000 00000040 76edf000 00000040 00000000 00000000 00000000 00000000
[  252.209670] dfb0  00000002 00000000 00001415 00000000 00010000 00000000 0007ffff 00000000
[  252.210441] dfd0  0000efe9 00000000 00002000 00000000 00000000 0000fffa 00000000 00000000
[  252.211216]
[  252.211216] X29: 0xffffffc07ff6bd60:
[  252.211664] bd60  00000000 00000000 00000000 00000000 78e43b60 ffffffc0 7ff6e210 ffffffc0
[  252.212436] bd80  0908f1f8 ffffff80 00000000 00000000 090cdf70 ffffff80 7ff6bde0 ffffffc0
[  252.213208] bda0  081284c0 ffffff80 7ff6bde0 ffffffc0 081284c0 ffffff80 600001c5 00000000
[  252.213981] bdc0  090ccf58 ffffff80 00000000 00000000 00000000 00000080 ffffffff 00ffffff
[  252.214754] bde0  7ff6be50 ffffffc0 080fe76c ffffff80 7ff6e210 ffffffc0 7ff6dbc0 ffffffc0
[  252.215526] be00  7ff6dc40 ffffffc0 00000001 00000000 0920a24f ffffff80 090cbed0 ffffff80
[  252.216300] be20  081283bc ffffff80 af2c0a4a 0000003a 0920a000 ffffff80 78e40000 ffffffc0
[  252.217073] be40  00000000 00000000 090ccf58 ffffff80 7ff6bec0 ffffffc0 080fea88 ffffff80
[  252.217845]
[  252.217986] ---[ end trace 31451f1e6874d108 ]---
[  252.218395] Call trace:
[  252.218620] Exception stack(0xffffffc07ff6bc10 to 0xffffffc07ff6bd40)
[  252.219190] bc00:                                   ffffff800908f000 0000008000000000
[  252.219883] bc20: ffffffc07ff6bde0 ffffff80081284c0 ffffff80090e5680 0000000000000004
[  252.220574] bc40: ffffffc07ff6bc60 ffffff80090e5680 ffffff8008e27177 0000000000000004
[  252.221265] bc60: ffffffc07ff6bd00 ffffff80080e9868 ffffff8008e2a2af ffffff800908f270
[  252.221956] bc80: ffffff80090cc000 0000000000000000 0000000000000000 ffffffc078e43b60
[  252.222647] bca0: ffffffc07ff6e210 ffffff800908f1f8 0000000000000026 00000000000001c0
[  252.223338] bcc0: 0000000000000001 0000000000000000 0000000000000005 0000000000000002
[  252.224029] bce0: ffffff800921982d 6574636574656420 4c20647261682064 7f7f7f7f7f7f7f7f
[  252.224720] bd00: fefefefefefefeff 7f7f7f7f7f7f7f7f 0101010101010101 0000000000000000
[  252.225411] bd20: 0ffffffffffffffd 0000000000000000 0000000000000000 0000000000000000
[  252.226106] [<ffffff80081284c0>] watchdog_timer_fn+0x104/0x2f0
[  252.226631] [<ffffff80080fe76c>] __hrtimer_run_queues+0x164/0x290
[  252.227175] [<ffffff80080fea88>] hrtimer_interrupt+0xac/0x1c4
[  252.227692] [<ffffff800889a9d0>] arch_timer_handler_phys+0x3c/0x48
[  252.228244] [<ffffff80080eea08>] handle_percpu_devid_irq+0xc4/0x178
[  252.228806] [<ffffff80080ea394>] generic_handle_irq+0x30/0x44
[  252.229319] [<ffffff80080ea6fc>] __handle_domain_irq+0x90/0xc0
[  252.229837] [<ffffff8008080dfc>] gic_handle_irq+0xcc/0x188
[  252.230323] Exception stack(0xffffffc07ff6c000 to 0xffffffc07ff6c130)
[  252.230895] c000: ffffffc078e43b60 0000008000000000 ffffffc078e43c90 ffffff80083856b4
[  252.231586] c020: 0000000080000145 ffffff80090cc000 ffffffc07ff68060 0000000000000000
[  252.232277] c040: ffffffc078e43c90 ffffffc078e43b60 0000000000000000 0000000000000000
[  252.232967] c060: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  252.233657] c080: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  252.234347] c0a0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  252.235038] c0c0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  252.235728] c0e0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  252.236419] c100: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  252.237107] c120: 0000000000000000 0000000000000000
[  252.237542] [<ffffff8008081fb4>] el1_irq+0xb4/0x140
[  252.237981] [<ffffff80083856b4>] __delay+0x34/0x48
[  252.238410] [<ffffff80083856ec>] __const_udelay+0x24/0x2c
[  252.238891] [<ffffff800815dfc4>] panic+0x230/0x23c
[  252.239321] [<ffffff8008127d60>] watchdog+0x2e0/0x30c
[  252.239772] [<ffffff80080b9284>] kthread+0xe4/0xec
[  252.240200] [<ffffff8008082690>] ret_from_fork+0x10/0x40

作者: Rudis    时间: 2018-4-10 10:12
lxdlbs371 发表于 2018-2-5 17:19
我按照楼主的编译,结果发现很多错误:
Checking for xkbcommon...
Trying source 0 (type pkgConfig) o ...

你这个问题应该和qt没什么关系
作者: baisetuzi    时间: 2018-7-24 15:00
请教一下,Qt中的webengine能否交叉编译成功?QQ794513669
作者: Emel    时间: 2018-12-7 17:22
版主你好,既然已经写了麻烦写清楚一点 。 谢谢
作者: Emel    时间: 2018-12-13 11:03
验证能够成功搭建qt+opengles环境。添加一个主意地方,在按照楼主修改代码后重新配置需要 ./confinure -recheck 不然不会重新config test egl-11 那个模块。
作者: 13418516095    时间: 2019-7-19 09:12
版主您好!
     按照您提供的方法,Qt configure提示EGL on X11了 。但是examples下的openglwidow 运行还是提示
QXcbIntegration:Cannot create platform OpenGL context.neither GLX not RGL are enabled
Segmentation fault

下面是config.summary 信息,望回复,谢谢!
  EGL .................................... yes
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ yes
    OpenGL ES 3.0 ........................ yes
    OpenGL ES 3.1 ........................ yes
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... no
  INTEGRITY HID .......................... no
  mtdev .................................. no
  tslib .................................. no
  xkbcommon-evdev ........................ no
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. yes
  EGLFS details:
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS EGLDevice ...................... no
    EGLFS GBM ............................ no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGL on X11 ........................... yes
  LinuxFB ................................ yes
  VNC .................................... yes
  Mir client ............................. no
  X11:
    Using system-provided XCB libraries .. yes
    EGL on X11 ........................... yes
    Xinput2 .............................. no
    XCB XKB .............................. no
    XLib ................................. yes
    XCB render ........................... yes
    XCB GLX .............................. yes
    XCB Xlib ............................. yes
    Using system-provided xkbcommon ...... no






欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1