[U-Boot] rk3288: HDMI out causing boot hang

Tony McKahan tonymckahan at gmail.com
Fri Sep 13 03:21:22 UTC 2019


Hello Jagan,

On Thu, Sep 12, 2019 at 10:50 PM Jagan Teki <jagan at amarulasolutions.com> wrote:
>
> Hi All,
>
> Did anyone tried HDMI out on rk3288? Enabling HDMI out causing boot
> hang, during stdout initialization from console.c
>
> Enabled below configs and stdin/out/err environment to probe the
> DM_VIDEO, seems like the console initialization hangs during stdout
> initialization.
>
> Log:
> Model: Tinker-RK3288
> DRAM:  2 GiB
> MMC:   dwmmc at ff0c0000: 1
> Loading Environment from MMC... OK
> 1. console_init_r
> 2. console_init_r
> 2.1 console_init_r
> rk3288_vop_probe
> vop at ff930000: probing regulator 'vcc18_lcd'
> vop at ff930000: probing regulator 'VCC18_LCD'
> vop at ff930000: probing regulator 'vdd10_lcd_pwren_h'
> vop at ff930000: probing regulator 'vdd10_lcd'
> vop at ff930000: probing regulator 'VDD10_LCD'
> vop at ff930000: probing regulator 'vcc33_lcd'
> rk_display_init(vop at ff930000, 2139095040, endpoint at 0)
> vop_id=0
> remote vop_id=0
> rk_display_init(vop at ff930000): no UCLASS_DISPLAY for remote-endpoint
> Device failed: ret=-22
> rk_display_init(vop at ff930000, 2139095040, endpoint at 1)
> vop_id=1
> remote vop_id=0
> Found device 'hdmi at ff980000', disp_uc_priv=7cf71710
> rk3288_hdmi_probe
> hdmi at ff980000: probing regulator 'vcc50_hdmi'
> rk_hdmi_probe: 1
> rk_hdmi_probe: 2
> rk_hdmi_probe: done!
> fb=7f800000, size=2560 1440
> rk3288_vop_probe done!
>
> Changes:
> +CONFIG_DM_VIDEO=y
> +CONFIG_DISPLAY=y
> +CONFIG_VIDEO_ROCKCHIP=y
> +CONFIG_DISPLAY_ROCKCHIP_HDMI=y
> +CONFIG_CONSOLE_SCROLL_LINES=10
>
> +#define ROCKCHIP_DEVICE_SETTINGS \
> +               "stdout=serial,vidconsole\0" \
> +               "stderr=serial,vidconsole\0"
>
> Any inputs?

I saw this some time ago with Armbian with ASUS Tinker Board, but
thought I had somehow misconfigured it, and simply disabled it.  I can
confirm it hangs for me though.

>
> Jagan.
>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip


More information about the U-Boot mailing list