2008-04-30 06:38:20     BF527-EZKIT: Varitronix TFT: framebuffer console turns black after ca. 300 sec

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-04-30 06:38:20     BF527-EZKIT: Varitronix TFT: framebuffer console turns black after ca. 300 sec

Konstantin Hartwich (GERMANY)

Message: 55285    Hi

 

I am trying with ev. Board above with 2008R8-RC1 official release.

Everithing seems to work fine so far.

 

I have framebuffer support turned on an so on, the fbcon is displaying at startup, everithing normal.

I am NOT running nano-X, btw. so the console simply stays at status quo after boot. telnet the device is normally working

so the system is obviously not hanging.

 

After aprox. 5 min. it simply turns black. Seems to be a timeout issue or kind of power saving or so, which indeed is turned of in kernel settings. Starting nano-X though, seems to reactivate the display. starting nanox apps succeeds. and WHILE nano-X is running the displays remains turned on.

 

Is there any known issue about that?

 

greets and thanks in advance

kostah

 

-----

student developper

QuoteReplyEditDelete

 

 

2008-04-30 09:50:13     Re: BF527-EZKIT: Varitronix TFT: framebuffer console turns black after ca. 300 sec

Yi Li (CHINA)

Message: 55291    I saw the same behavior when using LCD. Could you try to configure the LCD framebuffer driver and disable the backlight control option?

QuoteReplyEditDelete

 

 

2008-04-30 11:12:44     Re: BF527-EZKIT: Varitronix TFT: framebuffer console turns black after ca. 300 sec

Konstantin Hartwich (GERMANY)

Message: 55299    This seems to have not effect..

 

have you had same problems? is it maybe in the driver stuff ?

 

btw> after executing nano-x, the fbcon is gone, does anyone know how to bring it back

it comes back if the kernel starts to output again something..

 

greetz

QuoteReplyEditDelete

 

 

2008-04-30 12:25:05     Re: BF527-EZKIT: Varitronix TFT: framebuffer console turns black after ca. 300 sec

Michael Hennerich (GERMANY)

Message: 55305    This is absolutely expected behavior. When the screen is blank and you hit a key connected to the fb console, the screen comes back (unblank)

 

If you want to avoid this provide fb_blank return 0 in the fb driver, see example below.

 

-Michael

 

Index: drivers/video/bf54x-lq043fb.c

===================================================================

--- drivers/video/bf54x-lq043fb.c       (revision 4686)

+++ drivers/video/bf54x-lq043fb.c       (working copy)

@@ -432,6 +432,32 @@

        return 0;

}

 

+/**

+ *      xxxfb_blank - NOT a required function. Blanks the display.

+ *      @blank_mode: the blank mode we want.

+ *      @info: frame buffer structure that represents a single frame buffer

+ *

+ *      Blank the screen if blank_mode != FB_BLANK_UNBLANK, else unblank.

+ *      Return 0 if blanking succeeded, != 0 if un-/blanking failed due to

+ *      e.g. a video mode which doesn't support it.

+ *

+ *      Implements VESA suspend and powerdown modes on hardware that supports

+ *      disabling hsync/vsync:

+ *

+ *      FB_BLANK_NORMAL = display is blanked, syncs are on.

+ *      FB_BLANK_HSYNC_SUSPEND = hsync off

+ *      FB_BLANK_VSYNC_SUSPEND = vsync off

+ *      FB_BLANK_POWERDOWN =  hsync and vsync off

+ *

+ *      If implementing this function, at least support FB_BLANK_UNBLANK.

+ *      Return !0 for any modes that are unimplemented.

+ *

+ */

+static int bfin_bf54x_fb_blank(int blank_mode, struct fb_info *info)

+{

+    return 0;

+}

+

static struct fb_ops bfin_bf54x_fb_ops = {

        .owner = THIS_MODULE,

        .fb_open = bfin_bf54x_fb_open,

@@ -443,6 +469,7 @@

        .fb_mmap = bfin_bf54x_fb_mmap,

        .fb_cursor = bfin_bf54x_fb_cursor,

        .fb_setcolreg = bfin_bf54x_fb_setcolreg,

+       .fb_blank = bfin_bf54x_fb_blank,

};

 

#ifndef NO_BL_SUPPORT

QuoteReplyEditDelete

 

 

2008-04-30 16:09:17     Re: BF527-EZKIT: Varitronix TFT: framebuffer console turns black after ca. 300 sec

Mike Frysinger (UNITED STATES)

Message: 55313    2008R1-RC1 is not the latest RC release.  please only use the latest posted.

QuoteReplyEditDelete

 

 

2008-05-01 08:02:49     Re: BF527-EZKIT: Varitronix TFT: framebuffer console turns black after ca. 300 sec

Konstantin Hartwich (GERMANY)

Message: 55341    OK, i tried it, it worked finally..thank you a lot, saved me trouble

 

btw @mike: seems to be a misunderstanding, for i AM using the most current release.

QuoteReplyEditDelete

 

 

2008-05-02 17:45:01     Re: BF527-EZKIT: Varitronix TFT: framebuffer console turns black after ca. 300 sec

Robin Getz (UNITED STATES)

Message: 55375   

 

Konstantin:

 

First - I am glad things are working for you.

 

 

 

Second - In your orginal message you said:

 

>Board above with 2008R8-RC1 official release.

 

and now you are saying:

 

>for i AM using the most current release.

 

 

 

Both those statements are can not be other correct. The most current release is 2008R1-RC8 (eight is larger, and therefor newer, than one).

 

http://blackfin.uclinux.org/gf/project/uclinux-dist/frs/?action=FrsReleaseView&release_id=378

 

 

 

-Robin

QuoteReplyEditDelete

 

 

2008-05-08 09:54:58     Re: BF527-EZKIT: Varitronix TFT: framebuffer console turns black after ca. 300 sec

Konstantin Hartwich (GERMANY)

Message: 55640   

 

sure enough, it was a twisted number ...

 

another question;

 

how to bring back the console (fbcon) after killing nano-X

 

is there a way?

Attachments

    Outcomes