2008-06-02 05:38:59     nano-X not working on BF527 EZ Kit

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

2008-06-02 05:38:59     nano-X not working on BF527 EZ Kit

V Hemanth Kumar (INDIA)

Message: 56556   

 

Hi,

 

I built the distribution by including Micro Windows, Nano-X, Frame Buffer support and its dependent utilities. (Followed the steps as indicated in "http://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:microwindows")

 

After downloading the built image on to the board, if I try to run the "nano-X &" command it does not succeed, it throws a error "Cannot initialize screen".

 

Have included the Varitronix T350 frame buffer driver in the distribution. So what could be the problem.

 

Below are the kernel log messages and the error.

 

/************************************Kernel Log********************************************************/

 

fb0: Virtual frame buffer device, using 1024K of video memory

bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...

dma_alloc_init: dma_page @ 0x00dab000 - 256 pages at 0x03f00000

bfin-otp: initialized

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

 

/*******************************************************************************************************/

 

/************************************Error Message***************************************************/

 

root:/> nano-X &

 

102

 

root:/> m

 

Cannot initialise screen

 

/*******************************************************************************************************/

 

Thanks,

 

Hemanth Kumar.V

QuoteReplyEditDelete

 

 

2008-06-02 06:07:01     Re: nano-X not working on BF527 EZ Kit

Konstantin Hartwich (GERMANY)

Message: 56557   

 

Hi

 

this error seems to come from zour program, not the 'nano-X &' itself, which seems to startup well.

 

I suppose the program you are using is selfmade, try first one of those demos...

 

have the same board, my nano-X works pretty fine.

 

 

QuoteReplyEditDelete

 

 

2008-06-02 11:16:44     Re: nano-X not working on BF527 EZ Kit

V Hemanth Kumar (INDIA)

Message: 56569   

 

Hi Konstantin,

 

Thanks for the response.

 

The program which I am trying to run is one which is included in the distribution. I have not done any changes to it.

 

I tried running the demos but of no use since the "nano-X" needs to be started before starting these demos, as in my case it is failing because of above error.

 

Any idea if I am missing something?

 

Thanks,

 

Hemanth Kumar.V

QuoteReplyEditDelete

 

 

2008-06-02 18:28:45     Re: nano-X not working on BF527 EZ Kit

Konstantin Hartwich (GERMANY)

Message: 56590   

 

to verify weather your fb0 is working correctly or not I suggest you to

 

cd /dev

 

cat urandom > fb0

 

 

 

yoy should see a kind of a white noise on yor screen.

 

btw: have you set up U-boot with a boot screen at the beginning? does this work? is the fbcon active, can you see the tux splash screen at boot time of uClinux?

 

that would be the first shot

QuoteReplyEditDelete

 

 

2008-06-02 22:02:57     Re: nano-X not working on BF527 EZ Kit

Yi Li (CHINA)

Message: 56593   

 

To test whether theframbuffer device works, you could run "videotest" (by default it is configured to be built into romfs).

 

 

QuoteReplyEditDelete

 

 

2008-06-02 22:31:02     Re: nano-X not working on BF527 EZ Kit

Yi Li (CHINA)

Message: 56594   

 

As Konstantin says, please check whether your framebuffer driver works well. By greping nano-x source, the error message comes out when open the video driver: see " nanox/srvmain.c".

QuoteReplyEditDelete

 

 

2008-06-03 11:18:30     Re: nano-X not working on BF527 EZ Kit

V Hemanth Kumar (INDIA)

Message: 56631   

 

Hi Konstantin & Yi Li,

 

Thanks for your valuable response.

 

Now the "nano-X &" is working (rebuilt the uClinux kernel again).

 

As indicated by Konstantin I did "cat urandom > fb0", with this I was able to view a kind of noise on the screen.

 

And also I ran the video test application i.e. "video_test", even that was successful, I was able to see a yello-white screen with a infinity symbol on it.

 

So with these test it seems like the LCD frame buffer is up.

 

I am able to test the demo applications like, "demo", "demo2",...

 

But I have noticed few things, when I download the uClinux dist image :-

 

1. without including the FB driver for varitronix T350, we are able to view the tux logo during the uClinux start up.

 

2. by including the FB driver for T350 the tux image disappears.

 

 

Thanks,

 

Hemanth Kumar.V

QuoteReplyEditDelete

 

 

2008-06-03 11:31:31     Re: nano-X not working on BF527 EZ Kit

Mike Frysinger (UNITED STATES)

Message: 56633   

 

that's how it's supposed to work

Attachments

    Outcomes