ATK-DLRK3568 mipi屏点亮异常

Jason Yan 显示全部楼层 发表于 2024-11-28 14:16:29

【问题描述】

  1. 介绍问题现象和发生的背景

    下载的是OpenHarmony3.2 release版本,开发板是正点原子的,提供的镜像直接烧录也是这个现象,分辨率是720x1280,5.5寸MIPI屏,我自己配置后编译出来也是这个现象,可以排除硬件问题,因为烧录安卓系统显示和触摸都正常,HDMI显示正常。kernel驱动按照官方文档应该没什么问题。

  2. 相关的代码(请勿使用截图)

  3. 运行结果、错误截图

    1323eb0733bf7145a44fafcde0e272e.jpg

  4. 我尝试过的解决方法和结果

    换成1080的分辨率的可以显示,但是闪屏,感觉驱动配置也没什么问题,不知道是不是hal层存在问题。

  5. 我想要达到的结果

    能正常显示。

【运行环境】

硬件:ATK-DLRK3568 ROM 版本:N/A DevEvoStudio 版本:N/A SDK 版本:OpenHarmony3.2 release 版本

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

精彩评论8

Jason Yan

沙发 发表于 2024-11-29 16:05:48
附上HDFlog
[    1.457025] [E/HDF_LOG_TAG] SetInputDevAbility: match cached info failed\x0d
[    1.518539] [I/HDF_LOG_TAG] [rockchip_i2s_tdm_probe][line:206]: failed dmaDevice->name fe400000.i2s \x0d
[    1.519802] [I/HDF_LOG_TAG] [rockchip_i2s_tdm_probe][line:206]: failed dmaDevice->name fe430000.i2s \x0d
[    3.909909] [D/HDF_LOG_TAG] DeviceManagerInit enter\x0d
[    3.914219] [D/HDF_LOG_TAG] PlatformManagerAddDevice: add devnull)(0) to PLATFORM_MODULE_GPIO success\x0d
[    3.914235] [D/HDF_LOG_TAG] PlatformDeviceAdd: add devnull)(0) success\x0d
[    3.914508] [D/HDF_LOG_TAG] PlatformManagerAddDevice: add devnull)(0) to PLATFORM_MODULE_GPIO success\x0d
[    3.914523] [D/HDF_LOG_TAG] PlatformDeviceAdd: add devnull)(0) success\x0d
[    3.914782] [D/HDF_LOG_TAG] PlatformManagerAddDevice: add devnull)(0) to PLATFORM_MODULE_GPIO success\x0d
[    3.914797] [D/HDF_LOG_TAG] PlatformDeviceAdd: add devnull)(0) success\x0d
[    3.915055] [D/HDF_LOG_TAG] PlatformManagerAddDevice: add devnull)(0) to PLATFORM_MODULE_GPIO success\x0d
[    3.915070] [D/HDF_LOG_TAG] PlatformDeviceAdd: add devnull)(0) success\x0d
[    3.915324] [D/HDF_LOG_TAG] PlatformManagerAddDevice: add devnull)(0) to PLATFORM_MODULE_GPIO success\x0d
[    3.915339] [D/HDF_LOG_TAG] PlatformDeviceAdd: add devnull)(0) success\x0d
[    3.915462] [D/HDF_LOG_TAG] PlatformManagerAddDevice: add dev:(null)(0) to PLATFORM_MODULE_GPIO success\x0d
[    3.915478] [D/HDF_LOG_TAG] PlatformDeviceAdd: add dev:(null)(0) success\x0d
[    3.915601] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_PLATFORM_EMMC\x0d
[    3.915641] [E/devhost_service_clnt] failed to AddDevice HDF_PLATFORM_MMC_0, ret = -207\x0d
[    3.915687] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_PLATFORM_WATCHDOG\x0d
[    3.915720] [E/devhost_service_clnt] failed to AddDevice HDF_PLATFORM_WATCHDOG_0, ret = -207\x0d
[    3.915762] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_PLATFORM_RTC\x0d
[    3.915796] [E/devhost_service_clnt] failed to AddDevice HDF_PLATFORM_RTC, ret = -207\x0d
[    3.915936] [I/device_node] launch devnode HDF_PLATFORM_UART_1\x0d
[    3.916872] [I/osal_cdev] add cdev HDF_PLATFORM_UART_1 success\x0a\x0d
[    3.917074] [I/device_node] launch devnode HDF_PLATFORM_UART_0\x0d
[    3.917497] [D/device_node] node HDF_PLATFORM_I2C_MANAGER property empty, match attr: hdf_platform_i2c_manager\x0d
[    3.917516] [I/device_node] launch devnode HDF_PLATFORM_I2C_MANAGER\x0d
[    3.918282] [I/osal_cdev] add cdev HDF_PLATFORM_I2C_MANAGER success\x0a\x0d
[    3.919246] [I/device_node] launch devnode HDF_PLATFORM_SPI_3\x0d
[    3.919279] [I/HDF_SPI_LINUX_ADAPTER] HdfSpiDeviceBind: entry\x0d
[    3.921214] [I/HDF_SPI_LINUX_ADAPTER] HdfSpiDeviceInit: entry\x0d
[    3.921482] [I/device_node] launch devnode HDF_PLATFORM_SPI_2\x0d
[    3.921522] [I/HDF_SPI_LINUX_ADAPTER] HdfSpiDeviceBind: entry\x0d
[    3.921573] [I/HDF_SPI_LINUX_ADAPTER] HdfSpiDeviceInit: entry\x0d
[    3.921757] [I/device_node] launch devnode HDF_PLATFORM_SPI_1\x0d
[    3.921790] [I/HDF_SPI_LINUX_ADAPTER] HdfSpiDeviceBind: entry\x0d
[    3.921823] [I/HDF_SPI_LINUX_ADAPTER] HdfSpiDeviceInit: entry\x0d
[    3.921992] [I/device_node] launch devnode HDF_PLATFORM_SPI_0\x0d
[    3.922024] [I/HDF_SPI_LINUX_ADAPTER] HdfSpiDeviceBind: entry\x0d
[    3.922056] [I/HDF_SPI_LINUX_ADAPTER] HdfSpiDeviceInit: entry\x0d
[    3.922141] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_PLATFORM_SDIO\x0d
[    3.922181] [E/devhost_service_clnt] failed to AddDevice HDF_PLATFORM_MMC_2, ret = -207\x0d
[    3.922340] [I/device_node] launch devnode HDF_PLATFORM_PWM_4\x0d
[    3.922536] [I/device_node] launch devnode HDF_PLATFORM_PWM_3\x0d
[    3.922730] [I/device_node] launch devnode HDF_PLATFORM_PWM_2\x0d
[    3.922942] [I/device_node] launch devnode HDF_PLATFORM_PWM_1\x0d
[    3.923140] [I/device_node] launch devnode HDF_PLATFORM_PWM_0\x0d
[    3.923250] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_MIPI_TX\x0d
[    3.923288] [E/devhost_service_clnt] failed to AddDevice HDF_MIPI_TX, ret = -207\x0d
[    3.923580] [D/device_node] node HDF_KEVENT property empty, match attr: \x0d
[    3.928840] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_DRV2605L_VIBRATOR\x0d
[    3.928888] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver HDF_DRV2605L_VIBRATOR not found\x0d
[    3.929558] [D/device_node] node HDF_USB_PNP_NOTIFY property empty, match attr: hdf_usb_pnp_notify_config\x0d
[    3.932412] [D/device_node] node HDF_SENSOR_MGR_AP property empty, match attr: \x0d
[    3.933362] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_SENSOR_MAGNETIC\x0d
[    3.933412] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver HDF_SENSOR_MAGNETIC not found\x0d
[    3.933492] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_SENSOR_PROXIMITY\x0d
[    3.933528] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver HDF_SENSOR_PROXIMITY not found\x0d
[    3.933601] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_SENSOR_ALS\x0d
[    3.933637] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver HDF_SENSOR_ALS not found\x0d
[    3.934842] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_SENSOR_MAGNETIC_LSM303\x0d
[    3.934889] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver HDF_SENSOR_MAGNETIC_LSM303 not found\x0d
[    3.934973] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_SENSOR_PROXIMITY_APDS9960\x0d
[    3.935009] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver HDF_SENSOR_PROXIMITY_APDS9960 not found\x0d
[    3.935082] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_SENSOR_ALS_BH1745\x0d
[    3.935119] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver HDF_SENSOR_ALS_BH1745 not found\x0d
[    3.936271] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HDF_WIFI\x0d
[    3.936313] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver HDF_WIFI not found\x0d
[    3.936640] [D/device_node] node HDF_INPUT_MANAGER property empty, match attr: \x0d
[    3.936691] [I/HDF_LOG_TAG] HdfInputManagerInit: enter\x0d
[    3.936728] [I/HDF_LOG_TAG] HdfInputManagerInit: exit succ\x0d
[    3.937815] [I/HDF_LOG_TAG] HdfTouchDriverProbe: enter\x0d
[    3.937912] [I/HDF_LOG_TAG] HdfTouchDriverRegisterPowerListener::enter!\x0d
[    3.937953] [I/HDF_LOG_TAG] HdfTouchDriverRegisterPowerListener:register power listener, ret = 0\x0d
[    3.937983] [I/HDF_LOG_TAG] HdfTouchDriverProbe: main_touch exit succ\x0d
[    3.938980] [I/HDF_INPUT_DRV] HdfGoodixChipInit: enter\x0d
[    3.939116] [I/HDF_LOG_TAG] ChipMatchCheck: boardNode's father name = touch0, chipNode's grandpa name = touch0\x0d
[    4.070980] [D/HDF_LOG_TAG] SetTiming: rstPinAddr = 0x112f0094, rstPinValue = 0x400, intPinAddr = 0x112f0098, intPinValue = 0x400\x0d
[    4.071002] [E/HDF_LOG_TAG] SetTiming: enable = 0\x0d
[    4.071081] [D/HDF_LOG_TAG] HandlePowerEvent: type = 3, status = 0, dir = 2, delay = 10\x0d
[    4.087587] [D/HDF_LOG_TAG] HandlePowerEvent: type = 1, status = 0, dir = 2, delay = 20\x0d
[    4.114763] [E/HDF_LOG_TAG] InputI2cWrite: i2c write err\x0d
[    4.114845] [E/HDF_LOG_TAG] SetResetStatus: InputI2cWrite failed, ret = -1\x0d
[    4.114878] [E/HDF_LOG_TAG] SetTiming: SetResetStatus failed\x0d
[    4.221458] [E/HDF_LOG_TAG] InputI2cRead: i2c read err\x0d
[    4.221535] [E/HDF_INPUT_DRV] ChipDetect: read chip version failed\x0d
[    4.221570] [I/HDF_LOG_TAG] ChipDriverInit: reset chip 19 time\x0d
[    4.221608] [D/HDF_LOG_TAG] SetTiming: rstPinAddr = 0x112f0094, rstPinValue = 0x400, intPinAddr = 0x112f0098, intPinValue = 0x400\x0d
[    4.221622] [E/HDF_LOG_TAG] SetTiming: enable = 1\x0d
[    4.221656] [D/HDF_LOG_TAG] HandleResetEvent: type = 4, status = 0, dir = 1, delay = 5\x0d
[    4.234249] [D/HDF_LOG_TAG] HandleResetEvent: type = 3, status = 0, dir = 1, delay = 10\x0d
[    4.251013] [D/HDF_LOG_TAG] HandleResetEvent: type = 3, status = 1, dir = 1, delay = 60\x0d
[    4.317724] [D/HDF_LOG_TAG] HandleResetEvent: type = 4, status = 2, dir = 0, delay = 50\x0d
[    4.482649] [I/HDF_INPUT_DRV] ChipDetect:IC FW version is 4192\x0d
[    4.482724] [I/HDF_INPUT_DRV] ChipDetect:TOUCH IC is GT911\x0d
[    4.482766] [I/HDF_INPUT_DRV] Product_ID: 911\x00_1060, x_sol = 1080, y_sol = 1920\x0d
[    4.483683] [I/HDF_LOG_TAG] Clock ticks for an esd cycle: 600\x0d
[    4.483725] [I/HDF_LOG_TAG] Esd protector started!\x0d
[    4.483765] [I/HDF_LOG_TAG] ChipDriverInit: chipDetect succ, ret = 0 \x0d
[    4.483791] [I/HDF_LOG_TAG] ChipDriverInit: do not update firmware\x0d
[    4.483819] [D/HDF_LOG_TAG] SetupChipIrq: gpioNum = 13, irqFlag = 258\x0d
[    4.485203] [I/HDF_LOG_TAG] RegisterInputDevice: enter\x0d
[    4.485246] [I/HDF_LOG_TAG] CreateDeviceNode: create node succ, devId is 1 \x0d
[    4.486165] [E/HDF_LOG_TAG] HotPlugNotify: send event failed\x0d
[    4.486214] [I/HDF_LOG_TAG] RegisterInputDevice: exit succ, devCount is 1\x0d
[    4.486248] [I/HDF_INPUT_DRV] HdfGoodixChipInit: exit succ, chipName = gt911\x0d
[    4.486622] [D/device_node] node HDF_HID property empty, match attr: \x0d
[    4.486676] [I/HDF_LOG_TAG] RegisterInputDevice: enter\x0d
[    4.486707] [I/HDF_LOG_TAG] CreateDeviceNode: prepare to register hdf device\x0d
[    4.487673] [I/HDF_LOG_TAG] HidRegisterHdfDevice: svcName is hdf_input_event2, devName = hid-powerkey\x0d
[    4.487706] [I/HDF_LOG_TAG] CreateDeviceNode: create node succ, devId is 2 \x0d
[    4.488635] [E/HDF_LOG_TAG] HotPlugNotify: send event failed\x0d
[    4.488684] [I/HDF_LOG_TAG] RegisterInputDevice: exit succ, devCount is 2\x0d
[    4.489122] [D/device_node] node HDF_BL property empty, match attr: \x0d
[    4.489179] [I/HDF_DISP] BacklightInit success\x0d
[    4.490596] [E/HDF_DISP] BlPwmDevInit: PwmOpen failed\x0d
[    4.490620] [E/HDF_DISP] BlPwmEntryInit: BlPwmDevInit fail\x0d
[    4.491106] [E/HDF_DISP] esto enter mipi5p5PanelEntryInit\x0a\x0d
[    4.492566] [I/HDF_DISP] RegisterPanel: register success\x0d
[    4.492620] [I/HDF_DISP] mipi5p5PanelEntryInit success\x0d
[    4.492711] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver LCD_ICN9700\x0d
[    4.492753] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver LCD_ICN9700 not found\x0d
[    4.492831] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver HI351XX_DISP\x0d
[    4.492864] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver HI351XX_DISP not found\x0d
[    4.493242] [D/device_node] node HDF_DISP property empty, match attr: \x0d
[    4.494195] [I/HDF_DISP] EsdCheckInit none of panels support esd\x0d
[    4.494245] [I/HDF_DISP] HdfDispEntryInit success\x0d
[    4.495467] [D/device_node] node HDF_DRMPANEL property empty, match attr: \x0d
[    4.514282] [D/HDF_DISP] HdfDrmPanelGetModes\x0d
[    4.521971] [D/HDF_DISP] HdfDrmPanelGetModes\x0d
[    4.542746] [I/HDF_DISP] HdfDrmPanelEntryInit panel[0] registered success\x0d
[    4.542772] [I/HDF_DISP] HdfDrmPanelEntryInit success\x0d
[    4.543132] [I/HDF_AUDIO_KADM] [AudioSocRegisterPlatform][line:51]: Register [dma_service_0] success.\x0d
[    4.543371] [I/HDF_AUDIO_KADM] [AudioSocRegisterDai][line:78]: Register [dsp_dai] success.\x0d
[    4.543392] [I/HDF_AUDIO_KADM] [AudioRegisterDsp][line:159]: Register [dsp_service_0] success.\x0d
[    4.543461] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver CODEC_RK817\x0d
[    4.543490] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver CODEC_RK817 not found\x0d
[    4.545059] [I/HDF_AUDIO_KADM] [AudioSocRegisterDai][line:78]: Register [codec_dai] success.\x0d
[    4.545089] [I/HDF_AUDIO_KADM] [AudioRegisterCodec][line:119]: Register [codec_service_0] success.\x0d
[    4.545806] [I/HDF_AUDIO_KADM] [AudioSocRegisterDai][line:78]: Register [dai_service] success.\x0d
[    4.545969] [I/HDF_AUDIO_KADM] [AudioDriverBind][line:293]: success.\x0d
[    4.546422] [I/HDF_AUDIO_KADM] [AudioPlatformDevInit][line:104]: success.\x0d
[    4.546476] [I/HDF_AUDIO_KADM] [AudioCpuDaiDevInit][line:195]: success.\x0d
[    4.546499] [I/HDF_AUDIO_KADM] [AudioCodecDevInit][line:74]: success.\x0d
[    4.546516] [I/HDF_AUDIO_KADM] [AudioCodecDaiDevInit][line:165]: success.\x0d
[    4.546535] [I/HDF_AUDIO_KADM] [AudioDspDevInit][line:135]: success.\x0d
[    4.546552] [I/HDF_AUDIO_KADM] [AudioDspDaiDevInit][line:226]: success.\x0d
[    4.546569] [I/HDF_AUDIO_KADM] [AudioDriverInit][line:369]: success.\x0d
[    4.547411] [I/HDF_AUDIO_KADM] [AudioDriverBind][line:293]: success.\x0d
[    4.547635] [I/HDF_AUDIO_KADM] [AudioPlatformDevInit][line:104]: success.\x0d
[    4.547660] [I/HDF_AUDIO_KADM] [AudioCpuDaiDevInit][line:195]: success.\x0d
[    5.014553] [I/HDF_AUDIO_KADM] [AudioCodecDevInit][line:74]: success.\x0d
[    5.014637] [I/HDF_AUDIO_KADM] [AudioCodecDaiDevInit][line:165]: success.\x0d
[    5.014672] [I/HDF_AUDIO_KADM] [AudioDspDevInit][line:135]: success.\x0d
[    5.014701] [I/HDF_AUDIO_KADM] [AudioDspDaiDevInit][line:226]: success.\x0d
[    5.014728] [I/HDF_AUDIO_KADM] [AudioDriverInit][line:369]: success.\x0d
[    5.015944] [D/device_node] node HDF_AUDIO_CONTROL property empty, match attr: \x0d
[    5.016005] [I/HDF_AUDIO_KADM] [AudioControlBind][line:453]: success.\x0d
[    5.016036] [I/HDF_AUDIO_KADM] [AudioControlInit][line:460]: success.\x0d
[    5.017042] [D/device_node] node HDF_AUDIO_STREAM property empty, match attr: \x0d
[    5.017102] [I/HDF_AUDIO_KADM] [AudioStreamBind][line:1489]: success!\x0d
[    5.017135] [I/HDF_AUDIO_KADM] [AudioStreamInit][line:1509]: Success!\x0d
[    5.018182] [D/device_node] node HDF_AUDIO_STREAM property empty, match attr: \x0d
[    5.018240] [I/HDF_AUDIO_KADM] [AudioStreamBind][line:1489]: success!\x0d
[    5.018269] [I/HDF_AUDIO_KADM] [AudioStreamInit][line:1509]: Success!\x0d
[    5.023197] [E/HDF_INPUT_DRV] [CreateAndRegisterHdfInputDevice][line:104]: [HdfInputDeviceInstance] failed.\x0d
[    5.030884] [D/device_node] node HDF_SENSOR_TEST_DRIVER property empty, match attr: \x0d
[    5.032233] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver PLATFORM_MIPI_DSI_TEST\x0d
[    5.032280] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver PLATFORM_MIPI_DSI_TEST not found\x0d
[    5.032352] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver PLATFORM_SDIO_TEST\x0d
[    5.032384] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver PLATFORM_SDIO_TEST not found\x0d
[    5.032445] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver PLATFORM_EMMC_TEST\x0d
[    5.032477] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver PLATFORM_EMMC_TEST not found\x0d
[    5.034182] [E/HDF_LOG_TAG] GpioTestReadConfig: failed to read gpioTestTwo!\x0d
[    5.034208] [E/HDF_LOG_TAG] GpioTestBind: failed to read config!\x0d
[    5.034392] [I/HDF_LOG_TAG] HdfDriverManagerGetDriver:try to dynamic load driver PLATFORM_WATCHDOG_TEST\x0d
[    5.034430] [E/HDF_LOG_TAG] HdfDriverManagerGetDriver:driver PLATFORM_WATCHDOG_TEST not found\x0d
[    5.034860] [D/HDF_LOG_TAG] DeviceManagerInit start success\x0d
[   10.527850] [I/HDF_LOG_TAG] HdfTouchDispatch: cmd = 0\x0d
[   10.527894] [I/HDF_LOG_TAG] TouchGetDevType: enter, devType is 0\x0d
[   10.527928] [I/HDF_LOG_TAG] HdfTouchDispatch: cmd = 5\x0d
[   10.527940] [I/HDF_LOG_TAG] TouchGetDeviceStrInfo: cmd is 5, the info is gt911\x0d
[   10.528006] [I/HDF_LOG_TAG] HdfTouchDispatch: cmd = 3\x0d
[   10.528016] [I/HDF_LOG_TAG] TouchGetDeviceStrInfo: cmd is 3, the info is ZIDN45100\x0d
[   10.528060] [I/HDF_LOG_TAG] HdfTouchDispatch: cmd = 4\x0d
[   10.528069] [I/HDF_LOG_TAG] TouchGetDeviceStrInfo: cmd is 4, the info is zsj\x0d
[   10.528118] [I/HDF_LOG_TAG] HdfTouchDispatch: cmd = 7\x0d
[   10.528127] [E/HDF_LOG_TAG] TouchGetDeviceAbility: enter\x0d
[   10.528138] [I/HDF_LOG_TAG] TouchGetDeviceAbility: get dev ability succ\x0d
[   10.528162] [I/HDF_LOG_TAG] HdfTouchDispatch: cmd = 6\x0d
[   10.528170] [E/HDF_LOG_TAG] TouchGetDeviceAttr: enter\x0d
[   10.528180] [I/HDF_LOG_TAG] TouchGetDeviceAttr: get dev attr succ\x0d
[   12.301565] [D/HDF_DISP] HdfDrmPanelGetModes\x0d
[   12.328824] [I/HDF_LOG_TAG] HdfTouchDriverDozeResume:called\x0d
[   12.328826] [I/HDF_LOG_TAG] Esd protector started!\x0d
[   14.905856] [I/HDF_AUDIO_SAPM] [AudioSapmPowerUpSeqRun][line:994]: Sapm Codec MIC2 Power Up.\x0d
[   14.907599] [I/HDF_AUDIO_SAPM] [AudioSapmPowerUpSeqRun][line:994]: Sapm Codec ADCR Power Up.\x0d
[   57.005504] [I/HDF_LOG_TAG] HdfTouchDriverDozeSuspend:called\x0d
[   57.005513] [I/HDF_LOG_TAG] Esd protector stoped!\x0d
[   57.006156] [I/HDF_LOG_TAG] HdfTouchDriverDozeSuspend:ret = 0\x0d

牵着蜗牛去散步

板凳 发表于 2024-12-9 13:15:20
我现在想用rk3568点亮1920*1080的屏幕,但是编译完升级到板卡后,cat /sys/kernel/debug/dri/0/summary 显示的分辨率始终是720*1280。但是我的dts确实配置的是1920*1080。请问,您这里是怎么改成1080分辨率的。
# cat /sys/kernel/debug/dri/0/summary
Video Port0: ACTIVE
    Connector: DSI-1
        bus_format[100a]: RGB888_1X24
        overlay_mode[0] output_mode[0] color_space[0], eotf:0
    Display mode: 720x1280p69
        clk[75000] real_clk[75000] type[48] flag[a]
        H: 720 760 770 810
        V: 1280 1290 1326 1341
    Smart0-win0: ACTIVE
        win_id: 0
        format: AB24 little-endian (0x34324241) SDR[0] color_space[0] glb_alpha[0xff]
        rotate: xmirror: 0 ymirror: 0 rotate_90: 0 rotate_270: 0
        csc: y2r[0] r2y[0] csc mode[0]
        zpos: 3
        src: pos[0, 0] rect[720 x 1280]
        dst: pos[0, 0] rect[720 x 1280]
        buf[0]: addr: 0x0000000004cfd000 pitch: 2880 offset: 0
Video Port1: DISABLED

Jason Yan

发表于 2024-12-10 08:40  IP属地: 浙江省温州市

回复 牵着蜗牛去散步: 这个要在linux内核的dts里面去修改,因为它默认配置的是720P的,有个宏控

牵着蜗牛去散步

发表于 2024-12-19 14:27  IP属地: 山东省青岛市

回复 Jason Yan: D:\Users\Administrator\Desktop\1734589454662.jpg
您说的红框是这个吗?在生成的.dtb.dts.tmp文件里显示的确实1920*1080的分辨率。

牵着蜗牛去散步

发表于 2024-12-19 14:35  IP属地: 山东省潍坊市

回复 Jason Yan:     disp_timings0: display-timings {
            native-mode = <&dsi0_timing0>;
            dsi0_timing0: timing0 {
                clock-frequency = <148500000>;
                hactive = <1920>;
                vactive = <1080>;
                hback-porch = <148>;
                hfront-porch = <88>;
                vback-porch = <36>;
                vfront-porch = <4>;
                hsync-len = <44>;
                vsync-len = <5>;
                hsync-active = <0>;
                vsync-active = <0>;
                de-active = <0>;
                pixelclk-active = <0>;
            };
        };
图片没贴上。在生成的.dtb.dts.tmp文件里显示的确实1920*1080的分辨率。

【4 条回复】 查看全部

Deng_tao2914

地板 发表于 7 天前
正点原子资料网盘不是提供了镜像吗,你用的是720x1280的MIPI 那你就烧录对应的镜像呀  他不是提供了多个.cfg文件吗

Jason Yan

发表于 2024-12-25 10:47  IP属地: 浙江省宁波市

回复 Deng_tao2914: 他那个原镜像1080p的点亮就是异常的

【1 条回复】
共8 条回复,点击查看

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部