Glamo problem on GTA02

Rod Whitby rod at whitby.id.au
Thu Jul 31 10:08:51 CEST 2008


Andy,

Further to the help you were giving me on debugging my GTA02 that often 
doesn't want to power on, I've done some more debugging, this time with 
the debug board attached and a terminal attached to the serial console 
that you get with the debug board.

It shows some interesting things which point the finger at the Glamo.

I find that when the GTA02 seems to be completely unresponsive to the 
power button (if you don't have a debug board attached), that the 
following is actually being displayed on the debug console:

> U-Boot 1.3.2-rc2 (Jul 21 2008 - 02:08:00)
> 
> I2C:   ready
> DRAM:  128 MB
> Flash:  2 MB
> NAND:  256 MiB
> Found Environment offset in OOB..

and there it hangs.  Pushing all combinations of power, aux, or removing 
or inserting battery or USB have no effect.

On the very rare times that it does respond to buttons, I see the following:

> U-Boot 1.3.2-rc2 (Jul 21 2008 - 02:08:00)
> 
> I2C:   ready
> DRAM:  128 MB
> Flash:  2 MB
> NAND:  256 MiB
> Found Environment offset in OOB..
> Glamo core device ID: 0x3650, Revision 0x0002
> USB:   S3C2410 USB Deviced

which indicates to me that when (from the non-debug-board user point of 
view) it doesn't power on it's actually the Glamo stopping u-boot 
getting to the point where it recognises a press of the power button.

When it did finally boot once, I got the following:

> U-Boot 1.3.2-rc2 (Jul 21 2008 - 02:08:00)
> 
> I2C:   ready
> DRAM:  128 MB
> Flash:  2 MB
> NAND:  256 MiB
> Found Environment offset in OOB..
> Glamo core device ID: 0x3650, Revision 0x0002
> USB:   S3C2410 USB Deviced
> Clearing SETUP_END
> Clearing SETUP_END
> Uncompressing Linux..................................................................................................................... done, booting the kernel.
> Linux version 2.6.24 (oe at buildhost.openmoko.org) (gcc version 4.1.2) #1 PREEMPT Tue Jul 29 01:19:54 CEST 2008
> CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
> Machine: GTA02
> Memory policy: ECC disabled, Data cache writeback
> On node 0 totalpages: 32768
>   DMA zone: 256 pages used for memmap
>   DMA zone: 0 pages reserved
>   DMA zone: 32512 pages, LIFO batch:7
>   Normal zone: 0 pages used for memmap
>   Movable zone: 0 pages used for memmap
> CPU S3C2442B (id 0x32440aab)
> S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
> S3C24XX Clocks, (c) 2004 Simtec Electronics
> CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
> CPU0: D VIVT write-back cache
> CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
> CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
> Kernel command line: rootfstype=jffs2 root=/dev/mtdblock6 console=ttySAC2,115200 console=tty0 loglevel=8 regular_boot mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000(u-boot),0x00040000(u-boot_env),0x00800000(kernel),0x000a0000(splash),0x00040000(factory),0x0f6a0000(rootfs)
> irq: clearing pending ext status 000b02f0
> irq: clearing pending ext status 000902d0
> irq: clearing subpending status 00000087
> irq: clearing subpending status 00000082
> PID hash table entries: 512 (order: 9, 2048 bytes)
> pclk = 50000000
> timer_usec_ticks = 7864
> timer tcon=00500000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
> Console: colour dummy device 80x30
> console [tty0] enabled
> console [ttySAC2] enabled
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Memory: 128MB = 128MB total
> Memory: 126080KB available (3344K code, 346K data, 128K init)
> Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> net_namespace: 64 bytes
> NET: Registered protocol family 16
> S3C2410 Power Management, (c) 2004 Simtec Electronics
> modem wakeup interrupt
> wake enabled for irq 17
> wake enabled for irq 49
> S3C2442: Initialising architecture
> S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
> DMA channel 0 at c8800000, irq 33
> DMA channel 1 at c8800040, irq 34
> DMA channel 2 at c8800080, irq 35
> DMA channel 3 at c88000c0, irq 36
> S3C2442: Clock Support, DVS off
> Linux Plug and Play Support v0.97 (c) Adam Belay
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> pnp: the driver 'system' has been registered
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 4096 (order: 3, 32768 bytes)
> TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
> TCP: Hash tables configured (established 4096 bind 4096)
> TCP reno registered
> s3c24xx_pwm s3c24xx_pwm.0: s3c24xx_pwm is registered
> Enabling FIQ using irq 29
> not changing prescaler of PWM 3, since it's shared with timer4 (clock tick)
> NetWinder Floating Point Emulator V0.97 (double precision)
> neo1973-version neo1973-version.0: starting
> neo1973-pm-host neo1973-pm-host.0: starting
> neo1973-resume neo1973-resume.0: starting
> neo1973-memconfig neo1973-memconfig.0: starting
> JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
> io scheduler noop registered
> io scheduler deadline registered (default)
> s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
> s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
> s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> glamo3362 glamo3362.0: Detected Glamo core 3650 Revision 0002 (49119232Hz CPU / 81887232Hz Memory)
> glamo3362 glamo3362.0: Glamo core now 49119232Hz CPU / 81887232Hz Memory)
> Detected S-Media IRQ# pullup, enabling interrupt
> glamo-spi-gpio glamo-spi-gpio.0: registering c0373838: jbt6k74
> SMEDIA Glamo frame buffer driver (C) 2007 Openmoko, Inc.

But then it hangs at this point, and Glamo is in the limelight.

Does any of this provide any clues on what might be happening on my GTA02?

-- Rod




More information about the openmoko-kernel mailing list