Navigation

    全志在线开发者论坛

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

    V536设置无法通过hdmi输出终端信息,设置fbcon后,启动一段时间后会停止

    其它全志芯片讨论区
    3
    4
    1821
    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.
    • U
      ulichi LV 3 last edited by

      我想在V536上通HDMI接口向屏幕输出启动信息,而且要能在屏幕上登录终端。

      于是我在内核选项中配置了虚拟终端(Enable TTY)、fbcon support。
      a8e5f05e-1223-4923-bfea-778714dac816-image.png
      b2d1308e-002e-49c5-a6cb-9b78a6c58b2f-image.png
      2cf011dc-e00b-4b4a-bb47-8fe5914fecd3-image.png

      在设备树中,sceen0设置为HDMI输出(3)、720p50hz(5)、fb0_width(1280)、fb0_height(720)。
      设置完后,启动开发板能够显示uboot的logo。
      5da98502-7fec-415a-8852-6c9cc0d7d470-image.png

      [disp]
      disp_init_enable         = 1
      disp_mode                = 0
      
      screen0_output_type      = 3
      screen0_output_mode      = 5
      
      screen0_output_format    = 1
      screen0_output_bits      = 0
      screen0_output_eotf      = 4
      screen0_output_cs        = 257
      screen0_output_dvi_hdmi  = 2
      screen0_output_range     = 2
      screen0_output_scan      = 0
      screen0_output_aspect_ratio = 8
      
      fb0_format               = 0
      fb0_width                = 1280
      fb0_height               = 720
      
      

      另外,一开始u-boot参数console=ttyS4,115200时能输出内核信息,系统能够正常运行,但是此时屏幕只有uboot的logo,没有终端输出。
      为了能输出终端,我加上了console=tty1,之后运行后到starting kernel,宕机了。
      想问问大家 怎么才能输出屏幕终端呢?

      whycan 1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 @ulichi last edited by

        @ulichi
        改成这样

        console=ttyS4,115200 console=tty0

        两个都要

        U 1 Reply Last reply Reply Quote Share 0
        • U
          ulichi LV 3 @whycan last edited by

          @whycan 也不行 。

          只要内核配置里勾选了framebuffer support选项,不管console用串口,还是用tty0,两个一起写入都会死机

          1 Reply Last reply Reply Quote Share 0
          • K
            kevin_allwinner LV 5 last edited by

            搞定了吗?我用主线Linux驱动H616时也遇到了hdmi的问题,我按照orangepi的源码配置了设备树,也设置了内核配置:8bfa38a2-3c79-4fd1-8063-3b094553205f-image.png

            屏幕上没有任何显示,有知道怎么配置的,望指导指导,谢谢!

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

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

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