linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Boot fail on OMAP3430SDP
@ 2010-06-29 13:35 Sripathy, Vishwanath
  2010-06-29 14:15 ` Sripathy, Vishwanath
  0 siblings, 1 reply; 5+ messages in thread
From: Sripathy, Vishwanath @ 2010-06-29 13:35 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

Hi,

I am observing that image built using omap3_pm_defconfig on Kevin's pm branch does not seem to boot on OMAP3430 SDP board. It just stops after printing "Uncompressing Linux... done, booting the kernel". I am using console=ttyS0 as part of my bootargs. Any hints?

Vishwa

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Boot fail on OMAP3430SDP
  2010-06-29 13:35 Boot fail on OMAP3430SDP Sripathy, Vishwanath
@ 2010-06-29 14:15 ` Sripathy, Vishwanath
  2010-06-29 16:06   ` Aguirre, Sergio
  0 siblings, 1 reply; 5+ messages in thread
From: Sripathy, Vishwanath @ 2010-06-29 14:15 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

Here is the log from Early printk.

Bytes transferred = 2094808 (1ff6d8 hex)
## Booting image at 80300000 ...
   Image Name:   Linux-2.6.35-rc3-10791-g305f453
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2094744 Bytes =  2 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.35-rc3-10791-g305f453 (vishwa@vishwa-desktop) (gcc version 4.3
.3 (Sourcery G++ Lite 2009q1-203) ) #38 PREEMPT Tue Jun 29 19:13:42 IST 2010
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3430 3430SDP board
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writeback
OMAP3430/3530 ES3.0 (l2cache iva sgx neon isp )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,115200n8 noinitrd root=/dev/nfs rw nfsroot=17
2.24.136.185:/home/a0876481/testtarget,nolock,tcp, ip=dhcp earlyprintk
PID hash table entries: 512 (order: -1, 2048 bytes)
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: 125508k/125508k available, 5564k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc8800000 - 0xf8000000   ( 760 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0034000   ( 176 kB)
      .text : 0xc0034000 - 0xc03ee000   (3816 kB)
      .data : 0xc03ee000 - 0xc0432280   ( 273 kB)
SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
omap_hwmod: l3_hwmod: cannot be enabled (3)
omap_hwmod: l4_core_hwmod: cannot be enabled (3)
omap_hwmod: l4_per_hwmod: cannot be enabled (3)
omap_hwmod: l4_wkup_hwmod: cannot be enabled (3)
omap_hwmod: sr1_hwmod: cannot be enabled (3)
omap_hwmod: sr2_hwmod: cannot be enabled (3)
Reprogramming SDRC clock to 332000000 Hz
GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
Could not get gpios_ick
Could not get gpios_fck
OMAP GPIO hardware version 2.5
OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
SmartReflex CLASS3 initialized
OMAP DMA hardware revision 4.0
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz


Vishwa
> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Sripathy, Vishwanath
> Sent: Tuesday, June 29, 2010 7:06 PM
> To: linux-omap@vger.kernel.org
> Subject: Boot fail on OMAP3430SDP
> 
> Hi,
> 
> I am observing that image built using omap3_pm_defconfig on Kevin's pm branch
> does not seem to boot on OMAP3430 SDP board. It just stops after printing
> "Uncompressing Linux... done, booting the kernel". I am using console=ttyS0 as part
> of my bootargs. Any hints?
> 
> Vishwa
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Boot fail on OMAP3430SDP
  2010-06-29 14:15 ` Sripathy, Vishwanath
@ 2010-06-29 16:06   ` Aguirre, Sergio
  2010-06-29 16:11     ` Gadiyar, Anand
  0 siblings, 1 reply; 5+ messages in thread
From: Aguirre, Sergio @ 2010-06-29 16:06 UTC (permalink / raw)
  To: Sripathy, Vishwanath, linux-omap@vger.kernel.org

Hi Vishwa,

> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Sripathy, Vishwanath
> Sent: Tuesday, June 29, 2010 9:15 AM
> To: linux-omap@vger.kernel.org
> Subject: RE: Boot fail on OMAP3430SDP
> 
> Here is the log from Early printk.
> 

<snip>

> Could not get gpios_ick
> Could not get gpios_fck

Probably Tony will be the best to answer this, but... This code shouldn't get executed I think (the one producing above prints)..

Above clocks are declared for omap2 only (in arch/arm/mach-omap2/clock24[20,30]_data.c), and even this clk_get calls are
inside of a supposedly omap2 only execution in arch/arm/plat-omap/gpio.c:

static int __init _omap_gpio_init(void)
{
...
...
#if defined(CONFIG_ARCH_OMAP2)
	if (cpu_class_is_omap2()) {
		gpio_ick = clk_get(NULL, "gpios_ick");
		if (IS_ERR(gpio_ick))
			printk("Could not get gpios_ick\n");
		else
			clk_enable(gpio_ick);
		gpio_fck = clk_get(NULL, "gpios_fck");
		if (IS_ERR(gpio_fck))
			printk("Could not get gpios_fck\n");
		else
			clk_enable(gpio_fck);

		/*
		 * On 2430 & 3430 GPIO 5 uses CORE L4 ICLK
		 */
#if defined(CONFIG_ARCH_OMAP2430)
		if (cpu_is_omap2430()) {
			gpio5_ick = clk_get(NULL, "gpio5_ick");
			if (IS_ERR(gpio5_ick))
				printk("Could not get gpio5_ick\n");
			else
				clk_enable(gpio5_ick);
			gpio5_fck = clk_get(NULL, "gpio5_fck");
			if (IS_ERR(gpio5_fck))
				printk("Could not get gpio5_fck\n");
			else
				clk_enable(gpio5_fck);
		}
#endif
	}
#endif
...
}

So, I guess your board is trying to get initialized as omap2 somehow...

Regards,
Sergio

<snip>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Boot fail on OMAP3430SDP
  2010-06-29 16:06   ` Aguirre, Sergio
@ 2010-06-29 16:11     ` Gadiyar, Anand
  2010-06-30  6:06       ` Tony Lindgren
  0 siblings, 1 reply; 5+ messages in thread
From: Gadiyar, Anand @ 2010-06-29 16:11 UTC (permalink / raw)
  To: Aguirre, Sergio, Sripathy, Vishwanath, linux-omap@vger.kernel.org

Aguirre, Sergio wrote:
> Sripathy, Vishwanath wrote:
> > Here is the log from Early printk.
> > 
> 
> <snip>
> 
> > Could not get gpios_ick
> > Could not get gpios_fck
> 
> Probably Tony will be the best to answer this, but... This 
> code shouldn't get executed I think (the one producing above prints)..
> 
> Above clocks are declared for omap2 only (in arch/arm/mach-omap2/clock24[20,30]_data.c), and even this 
> clk_get calls are inside of a supposedly omap2 only execution in arch/arm/plat-omap/gpio.c:
> 
> static int __init _omap_gpio_init(void)
> {
> ...
> ...
> #if defined(CONFIG_ARCH_OMAP2)
> 	if (cpu_class_is_omap2()) {


Isn't cpu_class_is_omap2() valid for OMAP3 as well?

> 		gpio_ick = clk_get(NULL, "gpios_ick");
> 		if (IS_ERR(gpio_ick))
> 			printk("Could not get gpios_ick\n");
> 		else
> 			clk_enable(gpio_ick);
> 		gpio_fck = clk_get(NULL, "gpios_fck");
> 		if (IS_ERR(gpio_fck))
> 			printk("Could not get gpios_fck\n");
> 		else
> 			clk_enable(gpio_fck);
> 
> 		/*
> 		 * On 2430 & 3430 GPIO 5 uses CORE L4 ICLK
> 		 */
> #if defined(CONFIG_ARCH_OMAP2430)
> 		if (cpu_is_omap2430()) {
> 			gpio5_ick = clk_get(NULL, "gpio5_ick");
> 			if (IS_ERR(gpio5_ick))
> 				printk("Could not get gpio5_ick\n");
> 			else
> 				clk_enable(gpio5_ick);
> 			gpio5_fck = clk_get(NULL, "gpio5_fck");
> 			if (IS_ERR(gpio5_fck))
> 				printk("Could not get gpio5_fck\n");
> 			else
> 				clk_enable(gpio5_fck);
> 		}
> #endif
> 	}
> #endif
> ...
> }

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Boot fail on OMAP3430SDP
  2010-06-29 16:11     ` Gadiyar, Anand
@ 2010-06-30  6:06       ` Tony Lindgren
  0 siblings, 0 replies; 5+ messages in thread
From: Tony Lindgren @ 2010-06-30  6:06 UTC (permalink / raw)
  To: Gadiyar, Anand
  Cc: Aguirre, Sergio, Sripathy, Vishwanath, linux-omap@vger.kernel.org

* Gadiyar, Anand <gadiyar@ti.com> [100629 19:07]:
> Aguirre, Sergio wrote:
> > Sripathy, Vishwanath wrote:
> > > Here is the log from Early printk.
> > > 
> > 
> > <snip>
> > 
> > > Could not get gpios_ick
> > > Could not get gpios_fck
> > 
> > Probably Tony will be the best to answer this, but... This 
> > code shouldn't get executed I think (the one producing above prints)..
> > 
> > Above clocks are declared for omap2 only (in arch/arm/mach-omap2/clock24[20,30]_data.c), and even this 
> > clk_get calls are inside of a supposedly omap2 only execution in arch/arm/plat-omap/gpio.c:
> > 
> > static int __init _omap_gpio_init(void)
> > {
> > ...
> > ...
> > #if defined(CONFIG_ARCH_OMAP2)
> > 	if (cpu_class_is_omap2()) {
> 
> 
> Isn't cpu_class_is_omap2() valid for OMAP3 as well?

Yeah. The above should be just if (cpu_is_omap24xx()) instead.
But that's just a warning and should not matter for the boot
issue.

To me it looks like the early_printk works, but the 8250 serial
console never gets initialized?

Tony

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-30  6:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 13:35 Boot fail on OMAP3430SDP Sripathy, Vishwanath
2010-06-29 14:15 ` Sripathy, Vishwanath
2010-06-29 16:06   ` Aguirre, Sergio
2010-06-29 16:11     ` Gadiyar, Anand
2010-06-30  6:06       ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).