Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    T113i更换10.1寸MIPI显示屏后,内核无法启动!

    其它全志芯片讨论区
    2
    3
    1470
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      boguang_li LV 2 last edited by

      我的T113i核心板需要使用10.1寸的MIPI显示屏,我在board-mipi-lcd.dts和uboot-board-mipi-lcd.dts 修改屏参如下:
      c28dc147-d2c2-42a2-9343-b45e7a23b535-1725525777396.png

      我使用 tlt113-evm-emmc 编译内核 ,执行如下步骤
      Host# ./build.sh config //配置编译选项,注意选择eMMC版本、MIPI显示方式

      Host# ./build.sh
      Host# ./build.sh pack

      生成镜像文件 t113_i_linux_tlt113-evm-emmc_uart0.img 烧写后,程序无法启动,卡死在
      035429d7-b50d-4388-8506-aa57aca0ceab-1725525898142.png

      正常下一步应该是 [00.846] boot_gui_init:finish。

      如果把uboot-board-mipi-lcd.dts 修改厂家的默认,则可以正常启动。哪里还有需要修改的地方吗?各位工程师给指导一下!!

      W 1 Reply Last reply Reply Quote Share 0
      • W
        whycanservice2 LV 8 @boguang_li last edited by

        @boguang_li 检查屏驱动程序,内部初始化代码有可能进入死循环。遇到过类似情况。

        B 1 Reply Last reply Reply Quote Share 1
        • B
          boguang_li LV 2 @whycanservice2 last edited by

          @whycanservice2

          跟踪驱动代码,发现程序死在drv_lcd_open_callback里面,如图
          ee0453fe-6932-49c1-9374-ff7edb64c86b-1725615111987.png

          分别使用开发板的uboot-board-mipi-lcd.dts 和更换后的uboot-board-mipi-lcd.dts,编译内核,烧录运行,情况如下:
          fdb36222-1d34-4ff0-bfa3-0d5b3e0df891-1725615752442.png

          很明显drv_lcd_open_callback这个回调函数进入后,没有再次执行。
          if (flow->func[i].delay == 0) 这个delay应该是定时器递减的吧,为什么定时器没有运行起来呢?

          希望前辈给指点一下

          1 Reply Last reply Reply Quote Share 1
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策