嵌入式爱好者

6q如何修改bootlogo较长时间的黑屏

2023-4-28 14:24| 发布者: 金色田野的灿烂| 查看: 236| 评论: 0

类目: I.MX6系列产品  >  Linux     文档编号: 990

让bootlogo显示出来只需要将延时函数这部分注释掉就可以了,操作方法如下

diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c
index 66304c0d..b7324897 100644
--- a/drivers/video/backlight/pwm_bl.c
+++ b/drivers/video/backlight/pwm_bl.c
@@ -423,7 +423,7 @@ static struct platform_driver pwm_backlight_driver = {
        .remove         = pwm_backlight_remove,
        .shutdown       = pwm_backlight_shutdown,
 };
-
+/*
 static int __init pwm_backlight_init(void) 
 { 
         return platform_driver_register(&pwm_backlight_driver); 
@@ -436,8 +436,8 @@ static void __exit pwm_backlight_exit(void)
         platform_driver_unregister(&pwm_backlight_driver); 
 } 
 module_exit(pwm_backlight_exit);
-
-//module_platform_driver(pwm_backlight_driver);
+*/
+module_platform_driver(pwm_backlight_driver);
 
 MODULE_DESCRIPTION("PWM based Backlight Driver");
 MODULE_LICENSE("GPL");

已解决

未解决

只是看看

最新评论

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-11-22 16:36

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

返回顶部