• Lv1
    粉丝0

积分0 / 贡献0

提问1答案被采纳0文章0

作者动态

    OpenHarmony 5.0.3移植新开发板后无法进入桌面

    Ddragon00000 显示全部楼层 发表于 2026-6-18 17:26:36
    【问题描述】
    问题现象和发生的背景
    完成openharmony 5.0.3系统在云服务器上编译,在PC上烧录之后,,SD卡进入新的开发板后,HDMI连接的显示器检测到有1920*1080@60Hz的信号输出,但是一直是黑屏状态

    相关的代码,截图,日志信息
    [   22.059394] {1}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 0
    [   22.073101] {1}[Hardware Error]: event severity: recoverable
    [   22.078750] {1}[Hardware Error]:  Error 0, type: recoverable
    [   22.084399] {1}[Hardware Error]:   section type: unknown, c8b328a8-9917-4af6-9a13-2e08ab2e7586
    [   22.092997] {1}[Hardware Error]:   section length: 0x60
    [   22.098213] {1}[Hardware Error]:   00000000: 000038fb 00001202 0014ff00 00000000  .8..............
    [   22.107158] {1}[Hardware Error]:   00000010: 00000000 00000000 00000000 00000040  ............@...
    [   22.116104] {1}[Hardware Error]:   00000020: 00142aa2 00000000 00000515 00000000  .*..............
    [   22.125050] {1}[Hardware Error]:   00000030: fc30050e 00000000 10080010 e0000001  ..0.............
    [   22.133996] {1}[Hardware Error]:   00000040: 00000000 00000000 0d718005 00800122  ..........q."...
    [   22.142941] {1}[Hardware Error]:   00000050: 0000003f 00000000 00000000 00000000  ?...............
    [   22.152026] [ascend] [fpdc] [ras_err_notifier_callback 581] <kworker/0:1:34> received a ras event. (syscnt=22139999)
    cpu 0 entering scheduler
    >>>>>>>>>>>>LiteOS start succeed!<<<<<<<<<<<
    [   22.815037] [ascend] [uda] [uda_notifier_change_action 154] <insmod:755:755:2> Action. (notifier=prof; udevid=0; action=0)
    [   22.826486] [ascend] [uda] [uda_notifier_change_action 154] <insmod:757:757:3> Action. (notifier=log; udevid=0; action=0)
    [   22.994719] drv_sys: module license 'Proprietary' taints kernel.
    [   23.000746] Disabling lock debugging due to kernel taint
    [   23.130569] [HiISP][A631] [791 791][ISP]:hi_dev_isp_register [Line]:155 register i2c_write_callback to isp failed, hi_i2c init is failed!
    [   23.270247] load motionfusion.ko ....OK!
    [   23.363587] load mipi_tx.ko ....OK!
    [   23.678339] test function:vin_hw_probe -> 325
    [   23.682710] test function:vinc_get_reg -> 29,phy:0x300280000
    [   23.688392] test function:vinc_get_reg -> 29,phy:0x3002c0000
    [   23.694081] test function:vinc_alloc_hw_resource -> 133
    [   23.699297] test function:vinc_get_reg -> 29,phy:0x300400000
    [   23.704961] test function:vinc_get_reg -> 29,phy:0x300200000
    [   23.710999] (efault): Enter
    [   23.711280] vin-media media:isp_vir0: Entity type for entity vin-media-isp-subdev was not initialized!
    [   23.723386] mipi_rx_mod_init,234 start create mipi_rx proc
    [   23.728864] mipi_rx_mod_init,242 create mipi_rx proc end
    [   23.734179] function:__mipi_rx_set_irq -> 549 need to realize
    [   23.739940] function:__mipi_ec_set_irq -> 556 need to realize
    [   23.745685]
    [   23.745686]
    [   23.747266] vin-media media:isp_vir0: Entity type for entity vin-media-csi-subdev was not initialized!
    [   23.758047] test function:__vinc_vcap_set_regs -> 581
    [   23.763089] test function:__vinc_proc_set_regs -> 587
    [   23.768137] test function:__vinc_vcap_set_irq_num -> 569
    [   23.773464] test function:__vinc_proc_set_irq_num -> 575
    [   23.779381] test function:vi_init -> 1324
    [   23.783390] test function:vi_init -> 1329
    [   23.787429] test function:vi_init -> 1336
    [   23.791447] test function:vi_init -> 1344
    [   23.795452] test function:vi_init -> 1346
    [   23.799589] Adding subdev with fwnode
    [   23.803262] Notifier register returned 0
    [   23.807176] success add notifier
    [   23.836327] imx219_probe 1601 enable sensor ok
    [   23.840779] imx219_probe 1608 enable sensor ok
    [   23.845223] sensor_drv_disable_clock 191 sns_clk_source: 0
    [   23.850699] sensor_drv_config_clock 221 sns_clk_config clk_source: 0, clk_freq: 5
    [   23.858173] get_sensor_clk_reg_by_freq 178 sensor clock frequency config, reg_val=0x8
    [   23.865993] sensor_drv_enable_clock 260 sns_clk_source: 0
    [   23.871382] sensor_drv_reset 280 sns_reset_source: 0
    [   23.877337] sensor_drv_unreset 310 sns_reset_source: 0
    [   23.889342] imx219_probe 1621 enable sensor ok
    [   23.893899] hisi-i2c 300170000.i2c0: [i2c] [hisi_i2c_handle_errors_v400 230] hisi_i2c_handle_errors_v400: slave address not acknowledged (7bit mode)
    [   23.907194] imx219_v4l2 0-0010: failed to read chip id 219
    [   23.912671] imx219_init_dy err
    [   23.915716] sensor_drv_reset 280 sns_reset_source: 0
    [   23.920670] sensor_drv_disable_clock 191 sns_clk_source: 0
    [   23.926154] imx219_v4l2: probe of 0-0010 failed with error -5
    [   24.008162] [ascend] [user_cfg_drv] [devdrv_config_check_valid 910] <kworker/0:1:34> The valid_flag is invalid. (valid_flag=4294967295; must_be=2323344477)
    [   24.045014] [ascend] [user_cfg_drv] [devdrv_config_check_valid 910] <kworker/0:1:34> The valid_flag is invalid. (valid_flag=4294967295; must_be=2323344477)
    [   24.058943] [ascend] [user_cfg_drv] [devdrv_config_get_item_dynamic 3099] <kworker/0:1:34> The block is invalid.
    [   24.069119] [ascend] [user_cfg_drv] [devdrv_kernel_get_config_dynamic 3252] <kworker/0:1:34> The getting item is not set before. (device_id=0; ret=-2)
    [   24.082624] [ascend] [user_cfg_drv] [hal_kernel_get_user_config 3319] <kworker/0:1:34> Can't get dynamic item. (ret=-2)
    [   24.093409] [DRV_LPM_DEVMNG]user has not config dev_id=0 flash yet
    [   24.554189] xhci_hcd: exports duplicate symbol __SCK__tp_func_xhci_dbg_quirks (owned by kernel)
    [   24.669370] [HSM RAS]:[37] cannot find int_sfc_hiss irq.
    [   24.694188] Error: Driver 'xhci-hcd' is already registered, aborting...
    [   25.272322] cgroup: mkdir (946) created nested cgroup for controller "memory" which has incomplete hierarchy support. Nested cgroups may change behavior in the future.
    [   25.287294] cgroup: "memory" requires setting use_hierarchy to 1 on the root

    #

    我尝试过的解决方法和结果
    # find /system /vendor -name "libmali*.so"
    # hdc shell
    /system/bin/sh: hdc: inaccessible or not found
    # find /system /vendor -name "libGLES*.so"
    /system/lib64/platformsdk/libGLESv3.so
    /system/lib64/ndk/libGLESv2.so
    /vendor/lib64/chipsetsdk/libGLESv3_impl.so
    /vendor/lib64/chipsetsdk/libGLESv3.so
    /vendor/lib64/chipsetsdk/libGLESv1_CM.so
    /vendor/lib64/chipsetsdk/libGLESv2_impl.so
    /vendor/lib64/chipsetsdk/libGLESv1.so
    /vendor/lib64/chipsetsdk/libGLESv2.so
    /vendor/lib64/chipsetsdk/libGLESv1_impl.so
    #

    我想要达到的结果
    显示器可以正常显示图形化操作桌面

    【运行环境】
    硬件:Ascend 310B
    ROM版本:N/A
    DevEvoStudio版本:N/A
    SDK版本:API 15

    您尚未登录,无法参与评论,登录后可以:
    参与开源共建问题交流
    认同或收藏高质量问答
    获取积分成为开源共建先驱

    Copyright   ©2025  OpenHarmony开发者论坛  京ICP备2020036654号-3 | 京公网安备11030102011662号 |技术支持 Discuz!

    返回顶部