On Mon, 23 Feb 2004 15:15:31 +0100
alain2210@free.fr wrote:
> I found a solution :
> in arch/arm/mach-pxa/h2200.c
> I write
> GPCR0 = GPSRx_InitValue;
> GPCR1 = GPSRy_InitValue;
> GPCR2 = GPSRz_InitValue;
This is totally wrong as GPCR are the inverse of the GPSR. If it hangs,
this just mean the initial GPIO state in h2200-init.h is wrong. Setting
some GPIO to 1 causes the kernel to hang during bootstrap. You may find
that commenting out all three lines will give the same effect.
Some ways to find out which one:
a) Revert back all three lines to use ~ then comment out two GPCR*
of three.
b) When you find out which one of three is causing the lockup, try to
play with the GPIOxx_Level constants corresponding to that GPCR (GPCR0
is responsible for GPIOs 0-31, GPCR1 for 32-63, GPCR2 for 64-80).
This also may be done analythically, by analyzing all GPIOxx_Level's and
looking in the h2200-gpio.h what a specific GPIO does. If you see
something is enabled which shouldn't be enabled during startup (which
is supposed to be handled later by some specific driver - such as
PCMCIA or video), disable it. For example, backlight could be as well
turned off since h2200_lcd.c will take care of it later.
-- Greetings, AndrewReceived on Mon Feb 23 14:51:32 2004
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:46 EDT