Re: [jornada] Problems with CyaCE-YACH

From: John Ankcorn <ankcorn.a.t.hpl.hp.com>
Date: Thu Mar 28 2002 - 12:11:32 EST

Jacek,

The epson1356fb.c module depends on the following memory
map (set up near the bottom of arch/arm/jornada720.c):

static struct map_desc jornada720_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
{ 0xf0000000, 0x48000000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 },
/* Epson registers */
{ 0xf1000000, 0x48200000, 0x00100000, DOMAIN_IO, 1, 1, 0, 0 },
/* Epson frame buffer */
....
};
(The epson chip is at physical address 0x48000000, mapped
to kernel virtual 0xf0000000; the frame buffer for the epson
is at physical 0x48200000, mapped to kernel virtual 0xf1000000 )

I am pretty sure that the earlier initialization by Wince
will not cause the type of hangup that you are seeing.

Good luck,
jca

Jacek Lipkowski wrote:
>
> On Wed, 27 Mar 2002, John Ankcorn wrote:
>
> > The Jornada 720 does not use the SA1110 LCD controller for the display
> > (in fact the internal controller must be disabled, as the GPIO lines
> > used for the LCD actually control other hardware (e.g., sound).
>
> but i used epson1356fb.c
>
> > The controller chip actually used is an Epson 1356 and the driver
> > for this is in drivers/video/epson1356fb.c.
>
> maybe the -hh2 patch broke something?
> the kernel says:
> Configuring Jornada LCD
> [epson1356fb.c:92] e1356fb_set_var() entry
> [epson1356fb.c:147] e1356fb_set_var() exit
> and freezes at this point
>
> in the source in e1356fb_init() after the call to e1356fb_switch() a lot
> of registers are set and this is the place where it seems to hang (the
> printk at the end of e1356fb_init() isn't reached). i will try to put some
> printk's in there to see where it goes wrong (after i set up a
> crosscompiler for arm - i feel that i'm abusing the skiffcluster too much
> already).
>
> my guess is that the hardware was already preconfigured by wince, and that
> while epson1356fb.c works ok when it boots on cold-booted hardware it
> breaks when something has configured it previously. maybe it doesn't like
> powersave mode?
>
> jacek
>
> ps. the .tgz of my tree that was posted at my site was corrupt (fixed it),
> and i have posted the .config file in case you don't want the whole tree.
> i also extract the CIBD patch in case someones interested.
>
> _______________________________________________
> jornada mailing list
> jornada@handhelds.org
> http://handhelds.org/mailman/listinfo/jornada
Received on Thu Mar 28 17:11:33 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:45:59 EDT