Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Build rootfs for ITX-3588J using yocto

7

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
7

【Linux】 Build rootfs for ITX-3588J using yocto

Posted at 11/15/2022 14:42:03      View:1506 | Replies:0        Print      Only Author   [Copy Link] 1#
  • Type: Self-Compiled Firmware
  • SDK Package Name: NULL
  • Last Commit: 0000-00-00 00:00:00
  • Modification Content: NULL
  • Log: log.zip
Problem description and steps to reproduce:
Last edited by CheetahLee In 11/15/2022 14:49 Editor

I use yocto to build rootfs for ITX-3588J, with gnome desktop base wayland ; the system can start normally,But HDMI external monitor can't display;
meta-rockchip:
https://github.com/JeffyCN/meta-rockchip.git


mutter: 41.6
gnome-shell: 41.6


when display is connected,Error stack:

  1. Thread 1 "gnome-shell" received signal SIGSEGV, Segmentation fault.
  2. meta_kms_crtc_predict_state (crtc=0x55c7ca7410 [MetaKmsCrtc], update=0x55c9a00170) at ../mutter-41.6/src/backends/native/meta-kms-crtc.c:307
  3. 307                 meta_fixed_16_rectangle_to_rectangle (plane_assignment->src_rect);
  4. (gdb) bt
  5. #0  meta_kms_crtc_predict_state (crtc=0x55c7ca7410 [MetaKmsCrtc], update=0x55c9a00170) at ../mutter-41.6/src/backends/native/meta-kms-crtc.c:307

  6. #1  0x0000007fbb8ea6f8 in g_list_foreach (list=<optimized out>, func=0x7fbac01100 <meta_kms_crtc_predict_state>, user_data=user_data@entry=0x55c9a00170) at ../glib-2.70.0/glib/glist.c:1090

  7. #2  0x0000007fbac07504 in meta_kms_impl_device_predict_states (impl_device=<optimized out>, update=update@entry=0x55c9a00170) at ../mutter-41.6/src/backends/native/meta-kms-impl-device.c:782

  8. #3  0x0000007fbac01f0c in meta_kms_device_predict_states_in_impl (device=<optimized out>, update=update@entry=0x55c9a00170) at ../mutter-41.6/src/backends/native/meta-kms-device.c:270

  9. #4  0x0000007fbac0b9a8 in meta_kms_process_update_in_impl (error=0x0, user_data=<synthetic pointer>, impl=<optimized out>) at ../mutter-41.6/src/backends/native/meta-kms.c:266

  10. #5  meta_kms_run_impl_task_sync (error=0x0, user_data=<synthetic pointer>, func=<optimized out>, kms=0x55c7c6f660 [MetaKms]) at ../mutter-41.6/src/backends/native/meta-kms.c:448

  11. #6  meta_kms_post_pending_update_sync (kms=kms@entry=0x55c7c6f660 [MetaKms], device=device@entry=0x55c7c5aca0 [MetaKmsDevice], flags=flags@entry=META_KMS_UPDATE_FLAG_NONE)
  12.     at ../mutter-41.6/src/backends/native/meta-kms.c:296
Copy the code


Mutter log:
  1. KMS: Updating device state for /dev/dri/card0
  2. KMS: Read CRTC 68 state: active: 0, mode: (nil), changed: no
  3. KMS: Read CRTC 85 state: active: 0, mode: (nil), changed: no
  4. KMS: Read CRTC 102 state: active: 0, mode: (nil), changed: no
  5. KMS: Read CRTC 119 state: active: 1, mode: 1200x1920, changed: no
  6. KMS: Queue mode set
  7. WORKAREA: Invalidating work area for workspace 0
  8. WORKAREA: Adding work area hint computation function
  9. WORKAREA: Work area for workspace 1 is already invalid
  10. WORKAREA: Computed work area for workspace 0: 0,64 3120 x 1856
  11. WORKAREA: Computed work area for workspace 0 monitor 0: 0,64 1200 x 1856
  12. WORKAREA: Computed work area for workspace 0 monitor 1: 1200,64 1920 x 1016
  13. VERBOSE: Binding monitor 0x55a20935e0/DELL D2421H (1200, 0, 1920, 1080) x 60.000000
  14. VERBOSE: Binding monitor 0x55a20935e0/DELL D2421H (1200, 0, 1920, 1080) x 60.000000
  15. VERBOSE: Binding monitor 0x55a20935e0/DELL D2421H (1200, 0, 1920, 1080) x 60.000000
  16. VERBOSE: Binding monitor 0x55a20935e0/DELL D2421H (1200, 0, 1920, 1080) x 60.000000
  17. WORKAREA: Invalidating work area for workspace 0
  18. WORKAREA: Work area for workspace 1 is already invalid
  19. WORKAREA: Running work area hint computation function
  20. WORKAREA: Computed work area for workspace 0: 0,32 3120 x 1888
  21. WORKAREA: Computed work area for workspace 0 monitor 0: 0,32 1200 x 1888
  22. WORKAREA: Computed work area for workspace 0 monitor 1: 1200,0 1920 x 1080
  23. BACKEND: Unclipped stage paint
  24. BACKEND: cogl_onscreen_swap_buffers (onscreen: 0x55a101c620)
  25. BACKEND: Acquiring device file '/dev/dri/card0'
  26. KMS: Setting CRTC (119) mode to 1200x1920
  27. KMS: Postponing primary plane composite update for CRTC 119 (/dev/dri/card0)
  28. BACKEND: Unclipped stage paint
  29. BACKEND: cogl_onscreen_swap_buffers (onscreen: 0x55a101cda0)
  30. BACKEND: Acquiring device file '/dev/dri/card0'
  31. KMS: Setting CRTC (68) mode to 1920x1080
  32. KMS: Posting global mode set updates on /dev/dri/card0
  33. KMS: [atomic] Processing update 55
  34. KMS: [atomic] Setting connector 185 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  35. KMS: [atomic] Setting connector 195 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  36. KMS: [atomic] Setting connector 205 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  37. KMS: [atomic] Setting connector 208 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  38. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  39. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'FB_ID' (17) to 0
  40. KMS: [atomic] Setting plane 71 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  41. KMS: [atomic] Setting plane 71 (/dev/dri/card0) property 'FB_ID' (17) to 0
  42. KMS: [atomic] Setting plane 88 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  43. KMS: [atomic] Setting plane 88 (/dev/dri/card0) property 'FB_ID' (17) to 0
  44. KMS: [atomic] Setting plane 105 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  45. KMS: [atomic] Setting plane 105 (/dev/dri/card0) property 'FB_ID' (17) to 0
  46. KMS: [atomic] Setting plane 122 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  47. KMS: [atomic] Setting plane 122 (/dev/dri/card0) property 'FB_ID' (17) to 0
  48. KMS: [atomic] Setting plane 136 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  49. KMS: [atomic] Setting plane 136 (/dev/dri/card0) property 'FB_ID' (17) to 0
  50. KMS: [atomic] Setting plane 150 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  51. KMS: [atomic] Setting plane 150 (/dev/dri/card0) property 'FB_ID' (17) to 0
  52. KMS: [atomic] Setting plane 164 (/dev/dri/card0) property 'CRTC_ID' (20) to 0
  53. KMS: [atomic] Setting plane 164 (/dev/dri/card0) property 'FB_ID' (17) to 0
  54. KMS: [atomic] Setting mode of CRTC 68 (/dev/dri/card0) to 1920x1080
  55. KMS: [atomic] Setting CRTC 68 (/dev/dri/card0) property 'MODE_ID' (23) to 227
  56. KMS: [atomic] Setting CRTC 68 (/dev/dri/card0) property 'ACTIVE' (22) to 1
  57. KMS: [atomic] Setting connector 185 (/dev/dri/card0) property 'CRTC_ID' (20) to 68
  58. KMS: [atomic] Setting mode of CRTC 119 (/dev/dri/card0) to 1200x1920
  59. KMS: [atomic] Setting CRTC 119 (/dev/dri/card0) property 'MODE_ID' (23) to 228
  60. KMS: [atomic] Setting CRTC 119 (/dev/dri/card0) property 'ACTIVE' (22) to 1
  61. KMS: [atomic] Setting connector 205 (/dev/dri/card0) property 'CRTC_ID' (20) to 119
  62. KMS: [atomic] Assigning primary plane (54, /dev/dri/card0) to 226, 1920x1080+0+0 -> 1920x1080+0+0
  63. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'FB_ID' (17) to 226
  64. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'CRTC_ID' (20) to 68
  65. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'SRC_X' (9) to 0.00
  66. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'SRC_Y' (10) to 0.00
  67. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'SRC_W' (11) to 1920.00
  68. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'SRC_H' (12) to 1080.00
  69. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'CRTC_X' (13) to 0
  70. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'CRTC_Y' (14) to 0
  71. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'CRTC_W' (15) to 1920
  72. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'CRTC_H' (16) to 1080
  73. KMS: [atomic] Setting plane (54, /dev/dri/card0) rotation to 1
  74. KMS: [atomic] Setting plane 54 (/dev/dri/card0) property 'rotation' (56) to 1
  75. KMS: [atomic] Committing update 55, flags: ATOMIC_ALLOW_MODESET|PAGE_FLIP_EVENT
  76. KMS: [atomic] KMS update failed: drmModeAtomicCommit: Invalid argument
  77. KMS: [atomic] Creating transient page flip data for (68, /dev/dri/card0): 0x55a30fb690
  78. KMS: [atomic] Creating transient page flip data for (119, /dev/dri/card0): 0x55a2097c10
Copy the code


But i use ITX-3588J_Ubuntu20.04-Gnome-r211_v0.0.1c_220402.img can display normally;


What do I need to modify to get the HDMI monitor to work properly like the firmware above.






log.zip

2.7 KB, Down times: 0

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list