This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie: mirowindow help


On Wed, 2003-11-12 at 04:08, Oscar wrote:
> Hi all,
> i'm trying to run Microwindows demo "World" on my custom board (with pxa255
> ARM processor), but i can't undersatand what happen.
> I've written an appropriate lcd_support.c (with only lcd_init(),lcd_clear()
> and lcd_get_info()), modify my "CDL" file and built. That's fine!! I
> downloaded the .elf on my board and run, this is the GDB console message:
> -------------------------------------------------------
> [cyg_net_init] Init: mbinit(0x00000000)
> [cyg_net_init] Init: cyg_net_init_devs(0x00000000) [cyg_net_init] Init:
> loopattach(0x00000000) [cyg_net_init] Init: ifinit(0x00000000)
> IFP: 0x0011f120, next: 0x00000000
> [cyg_net_init] Init: domaininit(0x00000000)
> [cyg_net_init] Init: cyg_net_add_domain(0x0008e51c)
> New domain internet at 0x00000000
> [cyg_net_init] Init: cyg_net_add_domain(0x0008d03c)
> New domain route at 0x00000000
> [cyg_net_init] Init: call_route_init(0x00000000)
> [cyg_net_init] Done
> SYSTEM INITIALIZATION in progress
> NETWORK:
> data index = 4
> Creating system threads
> Creating Nano-X server thread
> Creating Nano-WX thread
> Creating World demo thread
> Starting threads
> Starting Nano-X server
> Starting Nano-WM
> IPAQ_Open - Can't open keyboard!
> 320x240x65536 linelen 640 type 1 bpp 16
> Error 2 opening touch panel
> Cannot initialise mouse
> fb_close - NOT IMPLEMENTED
> 'fgets': 0 bytes in 0.05ns
> 'fread': 0 byte in 0.02ns
> 'read': 0 byte in 0.01ns
> ------------------------------------------------------- 
> 
> I only can see the LCD turn ON and became black.
> My hardware haven't got mouse,keyboard and touch pannel.
> Could you help me to understand where my system fail and what represent
> 'fgets','fread','read'

First of all, MicroWindows needs some sort of keyboard (or touch)
and mouse.  You could configure it to use a NULL device.

The 'fgets', etc, lines are just some code in the test examples.

Read the sources - all the answers are there in plain view.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]