您尚未登录。

楼主 # 2024-02-16 17:31:36

memory
会员
注册时间: 2021-08-11
已发帖子: 483
积分: 459

奇怪了,f1c100s tina 运行出错

[    1.297890] NET: Registered protocol family 15
[    1.303369] VFP support v0.3: not present
[    1.310076] [LCD]lcd_module_init
[    1.319757] enhance_en=1
[    1.322736] matrixresult:(0x0, 0x3c4, 0x0, 0x0)
[    1.362783] pll_freq=297000000HZ, lcd_dclk_freq=19000000HZ, clk_div=15
[    1.370055] clk_div=15
[    1.372855] =====================LCD_open_flow
[    1.411179] =====================LCD_power_on
[    1.710293] [LCD]open, step 0 finish
[    1.740307] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.749867] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.759473] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.769079] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.778676] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.788261] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.797856] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.807449] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.817029] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.826621] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.836215] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.845797] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.855388] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.864980] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.874561] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.884150] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.893740] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.903318] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.912909] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.922501] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.932081] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.941678] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.951271] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.960853] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.970446] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.980009] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.989590] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    1.999183] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[    2.008785] [DISP] disp_sys_gpio_set_value,line:449:    GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL

离线

楼主 #1 2024-02-16 17:33:39

memory
会员
注册时间: 2021-08-11
已发帖子: 483
积分: 459

Re: 奇怪了,f1c100s tina 运行出错

打开 lichee/linux-3.10/drivers/video/sunxi/disp/disp/disp_sys_intf.c 看了一下

int disp_sys_gpio_set_value(u32 p_handler,
                            u32 value_to_gpio, const char *gpio_name)
{
        if (p_handler)
#ifdef CONFIG_IO_EXPAND
                gpio_set_value_cansleep(p_handler, value_to_gpio);
#else
                __gpio_set_value(p_handler, value_to_gpio);
#endif
        else
                __wrn("GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL\n");

        return 0;
}

感觉是 CONFIG_IO_EXPAND 这个宏的问题

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn