Booting hangs with updated linux-omap kernel on OMAP3EVM

2011-08-29 Thread Ravi, Deepthy
Hi,
I tried booting OMAP3EVM with the updated linux-omap kernel . 
The last commit details on the kernel are :
Author: Tony Lindgren t...@atomide.com
commit b148d763841161894ed6629794064065a834aa2b
Linux-omap rebuilt: Updated to use omap_sdrc_init

It hangs at one point.

Following is the boot log,

Texas Instruments X-Loader 1.51 (May  3 2011 - 19:22:23)
Starting X-loader on MMC
Reading boot sector

220008 Bytes Read from MMC
Starting OS Bootloader from MMC...
Starting OS Bootloader...


U-Boot 2010.06 (May 03 2011 - 19:23:34)

OMAP3430/3530-GP ES3.1, CPU-OPP2 L3-165MHz
OMAP3 EVM board + LPDDR/NAND
I2C:   ready
DRAM:  128 MiB
NAND:  HW ECC [Kernel/FS layout] selected
256 MiB
In:serial
Out:   serial
Err:   serial
Read back SMSC id 0x9220
Die ID #46a4000404032d460d01d014
Net:   smc911x-0
Hit any key to stop autoboot:  0 
OMAP3_EVM # 
OMAP3_EVM # 
OMAP3_EVM # run myboot
smc911x: detected LAN9220 controller
smc911x: phy initialized
smc911x: MAC 00:50:c2:7e:93:73
Using smc911x-0 device
TFTP from server 192.168.1.79; our IP address is 192.168.1.123
Filename 'uImage'.
Load address: 0x8000
Loading: #
 #
 #
 #
 #
 #
 #
 #
 #
 ##
done
Bytes transferred = 3287400 (322968 hex)
mmc1 is available
reading ramdisk.gz

2013059 bytes read
## Booting kernel from Legacy Image at 8000 ...
   Image Name:   Linux-3.1.0-rc3-11176-g2e5a5f9-d
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:3287336 Bytes = 3.1 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[0.00] Linux version 3.1.0-rc3-11176-g2e5a5f9-dirty 
(x0157478@psplinux060) (gcc version 4.3.3 (GCC) ) #4 SMP Mon Aug 29 15:37:16 
IST 2011
[0.00] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
[0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction 
cache
[0.00] Machine: OMAP3 EVM
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
[0.00] SRAM: Mapped pa 0x4020 to va 0xfe40 size: 0x1
[0.00] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
[0.00] PERCPU: Embedded 8 pages/cpu @c0cef000 s10112 r8192 d14464 u32768
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 32512
[0.00] Kernel command line: mem=128M console=ttyO0,115200n8 
root=/dev/ram0 initrd=0x8200,40M ramdisk_size=32768 ip=dhcp
[0.00] PID hash table entries: 512 (order: -1, 2048 bytes)
[0.00] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[0.00] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[0.00] Memory: 128MB = 128MB total
[0.00] Memory: 76736k/76736k available, 54336k reserved, 0K highmem
[0.00] Virtual kernel memory layout:
[0.00] vector  : 0x - 0x1000   (   4 kB)
[0.00] fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
[0.00] DMA : 0xffc0 - 0xffe0   (   2 MB)
[0.00] vmalloc : 0xc880 - 0xf800   ( 760 MB)
[0.00] lowmem  : 0xc000 - 0xc800   ( 128 MB)
[0.00] modules : 0xbf00 - 0xc000   (  16 MB)
[0.00]   .text : 0xc0008000 - 0xc05c0d30   (5860 kB)
[0.00]   .init : 0xc05c1000 - 0xc060e780   ( 310 kB)
[0.00]   .data : 0xc061 - 0xc0695490   ( 534 kB)
[0.00].bss : 0xc06954b4 - 0xc0bea4f4   (5461 kB)
[0.00] Hierarchical RCU implementation.
[0.00] NR_IRQS:410
[0.00] IRQ: Found an INTC at 0xfa20 (revision 4.0) with 96 
interrupts
[0.00] Total of 96 interrupts on 1 active controller
[0.00] OMAP clockevent source: GPTIMER1 at 32768 Hz
[0.00] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 
131071999ms
[0.00] Console: colour dummy device 80x30
[0.00] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., 
Ingo Molnar
[0.00] ... MAX_LOCKDEP_SUBCLASSES:  8
[0.00] ... MAX_LOCK_DEPTH:  48
[0.00] ... MAX_LOCKDEP_KEYS:8191
[0.00] ... CLASSHASH_SIZE:  

Re: Booting hangs with updated linux-omap kernel on OMAP3EVM

2011-08-29 Thread Kishore Kadiyala
On Mon, Aug 29, 2011 at 4:18 PM, Ravi, Deepthy deepthy.r...@ti.com wrote:
 Hi,
 I tried booting OMAP3EVM with the updated linux-omap kernel .
 The last commit details on the kernel are :
 Author: Tony Lindgren t...@atomide.com
 commit b148d763841161894ed6629794064065a834aa2b
 Linux-omap rebuilt: Updated to use omap_sdrc_init

 It hangs at one point.

 Following is the boot log,

 Texas Instruments X-Loader 1.51 (May  3 2011 - 19:22:23)
 Starting X-loader on MMC
 Reading boot sector

 220008 Bytes Read from MMC
 Starting OS Bootloader from MMC...
 Starting OS Bootloader...


 U-Boot 2010.06 (May 03 2011 - 19:23:34)

 OMAP3430/3530-GP ES3.1, CPU-OPP2 L3-165MHz
 OMAP3 EVM board + LPDDR/NAND
 I2C:   ready
 DRAM:  128 MiB
 NAND:  HW ECC [Kernel/FS layout] selected
 256 MiB
 In:    serial
 Out:   serial
 Err:   serial
 Read back SMSC id 0x9220
 Die ID #46a4000404032d460d01d014
 Net:   smc911x-0
 Hit any key to stop autoboot:  0
 OMAP3_EVM #
 OMAP3_EVM #
 OMAP3_EVM # run myboot
 smc911x: detected LAN9220 controller
 smc911x: phy initialized
 smc911x: MAC 00:50:c2:7e:93:73
 Using smc911x-0 device
 TFTP from server 192.168.1.79; our IP address is 192.168.1.123
 Filename 'uImage'.
 Load address: 0x8000
 Loading: #
         #
         #
         #
         #
         #
         #
         #
         #
         ##
 done
 Bytes transferred = 3287400 (322968 hex)
 mmc1 is available
 reading ramdisk.gz

 2013059 bytes read
 ## Booting kernel from Legacy Image at 8000 ...
   Image Name:   Linux-3.1.0-rc3-11176-g2e5a5f9-d
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3287336 Bytes = 3.1 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
 OK

 Starting kernel ...

 Uncompressing Linux... done, booting the kernel.
 [    0.00] Linux version 3.1.0-rc3-11176-g2e5a5f9-dirty 
 (x0157478@psplinux060) (gcc version 4.3.3 (GCC) ) #4 SMP Mon Aug 29 15:37:16 
 IST 2011
 [    0.00] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
 [    0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction 
 cache
 [    0.00] Machine: OMAP3 EVM
 [    0.00] Memory policy: ECC disabled, Data cache writeback
 [    0.00] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
 [    0.00] SRAM: Mapped pa 0x4020 to va 0xfe40 size: 0x1
 [    0.00] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
 [    0.00] PERCPU: Embedded 8 pages/cpu @c0cef000 s10112 r8192 d14464 
 u32768
 [    0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
 pages: 32512
 [    0.00] Kernel command line: mem=128M console=ttyO0,115200n8 
 root=/dev/ram0 initrd=0x8200,40M ramdisk_size=32768 ip=dhcp
 [    0.00] PID hash table entries: 512 (order: -1, 2048 bytes)
 [    0.00] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
 [    0.00] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
 [    0.00] Memory: 128MB = 128MB total
 [    0.00] Memory: 76736k/76736k available, 54336k reserved, 0K highmem
 [    0.00] Virtual kernel memory layout:
 [    0.00]     vector  : 0x - 0x1000   (   4 kB)
 [    0.00]     fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
 [    0.00]     DMA     : 0xffc0 - 0xffe0   (   2 MB)
 [    0.00]     vmalloc : 0xc880 - 0xf800   ( 760 MB)
 [    0.00]     lowmem  : 0xc000 - 0xc800   ( 128 MB)
 [    0.00]     modules : 0xbf00 - 0xc000   (  16 MB)
 [    0.00]       .text : 0xc0008000 - 0xc05c0d30   (5860 kB)
 [    0.00]       .init : 0xc05c1000 - 0xc060e780   ( 310 kB)
 [    0.00]       .data : 0xc061 - 0xc0695490   ( 534 kB)
 [    0.00]        .bss : 0xc06954b4 - 0xc0bea4f4   (5461 kB)
 [    0.00] Hierarchical RCU implementation.
 [    0.00] NR_IRQS:410
 [    0.00] IRQ: Found an INTC at 0xfa20 (revision 4.0) with 96 
 interrupts
 [    0.00] Total of 96 interrupts on 1 active controller
 [    0.00] OMAP clockevent source: GPTIMER1 at 32768 Hz
 [    0.00] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 
 131071999ms
 [    0.00] Console: colour dummy device 80x30
 [    0.00] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., 
 Ingo Molnar
 [    0.00] ... 

Re: Booting hangs with updated linux-omap kernel on OMAP3EVM

2011-08-29 Thread Govindraj
On Mon, Aug 29, 2011 at 4:18 PM, Ravi, Deepthy deepthy.r...@ti.com wrote:
 Hi,
 I tried booting OMAP3EVM with the updated linux-omap kernel .
 The last commit details on the kernel are :
 Author: Tony Lindgren t...@atomide.com
 commit b148d763841161894ed6629794064065a834aa2b
 Linux-omap rebuilt: Updated to use omap_sdrc_init


probably missing below commit from mainline,

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=69dd3d8e29e294caaf63eb5e8a72d250279f9e5f

Try,

git revert f3637a5f2e2eb391ff5757bc83fb5de8f9726464

--
Thanks,
Govindraj.R


 It hangs at one point.

 Following is the boot log,

 Texas Instruments X-Loader 1.51 (May  3 2011 - 19:22:23)
 Starting X-loader on MMC
 Reading boot sector

 220008 Bytes Read from MMC
 Starting OS Bootloader from MMC...
 Starting OS Bootloader...


 U-Boot 2010.06 (May 03 2011 - 19:23:34)

 OMAP3430/3530-GP ES3.1, CPU-OPP2 L3-165MHz
 OMAP3 EVM board + LPDDR/NAND
 I2C:   ready
 DRAM:  128 MiB
 NAND:  HW ECC [Kernel/FS layout] selected
 256 MiB
 In:    serial
 Out:   serial
 Err:   serial
 Read back SMSC id 0x9220
 Die ID #46a4000404032d460d01d014
 Net:   smc911x-0
 Hit any key to stop autoboot:  0
 OMAP3_EVM #
 OMAP3_EVM #
 OMAP3_EVM # run myboot
 smc911x: detected LAN9220 controller
 smc911x: phy initialized
 smc911x: MAC 00:50:c2:7e:93:73
 Using smc911x-0 device
 TFTP from server 192.168.1.79; our IP address is 192.168.1.123
 Filename 'uImage'.
 Load address: 0x8000
 Loading: #
         #
         #
         #
         #
         #
         #
         #
         #
         ##
 done
 Bytes transferred = 3287400 (322968 hex)
 mmc1 is available
 reading ramdisk.gz

 2013059 bytes read
 ## Booting kernel from Legacy Image at 8000 ...
   Image Name:   Linux-3.1.0-rc3-11176-g2e5a5f9-d
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3287336 Bytes = 3.1 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
 OK

 Starting kernel ...

 Uncompressing Linux... done, booting the kernel.
 [    0.00] Linux version 3.1.0-rc3-11176-g2e5a5f9-dirty 
 (x0157478@psplinux060) (gcc version 4.3.3 (GCC) ) #4 SMP Mon Aug 29 15:37:16 
 IST 2011
 [    0.00] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
 [    0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction 
 cache
 [    0.00] Machine: OMAP3 EVM
 [    0.00] Memory policy: ECC disabled, Data cache writeback
 [    0.00] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
 [    0.00] SRAM: Mapped pa 0x4020 to va 0xfe40 size: 0x1
 [    0.00] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
 [    0.00] PERCPU: Embedded 8 pages/cpu @c0cef000 s10112 r8192 d14464 
 u32768
 [    0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
 pages: 32512
 [    0.00] Kernel command line: mem=128M console=ttyO0,115200n8 
 root=/dev/ram0 initrd=0x8200,40M ramdisk_size=32768 ip=dhcp
 [    0.00] PID hash table entries: 512 (order: -1, 2048 bytes)
 [    0.00] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
 [    0.00] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
 [    0.00] Memory: 128MB = 128MB total
 [    0.00] Memory: 76736k/76736k available, 54336k reserved, 0K highmem
 [    0.00] Virtual kernel memory layout:
 [    0.00]     vector  : 0x - 0x1000   (   4 kB)
 [    0.00]     fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
 [    0.00]     DMA     : 0xffc0 - 0xffe0   (   2 MB)
 [    0.00]     vmalloc : 0xc880 - 0xf800   ( 760 MB)
 [    0.00]     lowmem  : 0xc000 - 0xc800   ( 128 MB)
 [    0.00]     modules : 0xbf00 - 0xc000   (  16 MB)
 [    0.00]       .text : 0xc0008000 - 0xc05c0d30   (5860 kB)
 [    0.00]       .init : 0xc05c1000 - 0xc060e780   ( 310 kB)
 [    0.00]       .data : 0xc061 - 0xc0695490   ( 534 kB)
 [    0.00]        .bss : 0xc06954b4 - 0xc0bea4f4   (5461 kB)
 [    0.00] Hierarchical RCU implementation.
 [    0.00] NR_IRQS:410
 [    0.00] IRQ: Found an INTC at 0xfa20 (revision 4.0) with 96 
 interrupts
 [    0.00] Total of 96 interrupts on 1 active controller
 [    0.00] OMAP clockevent source: GPTIMER1 at 32768 Hz
 [    

RE: Booting hangs with updated linux-omap kernel on OMAP3EVM

2011-08-29 Thread Ravi, Deepthy
Hi Govindraj,
With this commit added, it is booting up.Thanks for the info.

Thanks,
Deepthy Ravi.

From: Govindraj [govindraj...@gmail.com]
Sent: Monday, August 29, 2011 4:59 PM
To: Ravi, Deepthy
Cc: linux-omap@vger.kernel.org
Subject: Re: Booting hangs with updated linux-omap kernel on OMAP3EVM

On Mon, Aug 29, 2011 at 4:18 PM, Ravi, Deepthy deepthy.r...@ti.com wrote:
 Hi,
 I tried booting OMAP3EVM with the updated linux-omap kernel .
 The last commit details on the kernel are :
 Author: Tony Lindgren t...@atomide.com
 commit b148d763841161894ed6629794064065a834aa2b
 Linux-omap rebuilt: Updated to use omap_sdrc_init


probably missing below commit from mainline,

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=69dd3d8e29e294caaf63eb5e8a72d250279f9e5f

Try,

git revert f3637a5f2e2eb391ff5757bc83fb5de8f9726464

--
Thanks,
Govindraj.R


 It hangs at one point.

 Following is the boot log,

 Texas Instruments X-Loader 1.51 (May  3 2011 - 19:22:23)
 Starting X-loader on MMC
 Reading boot sector

 220008 Bytes Read from MMC
 Starting OS Bootloader from MMC...
 Starting OS Bootloader...


 U-Boot 2010.06 (May 03 2011 - 19:23:34)

 OMAP3430/3530-GP ES3.1, CPU-OPP2 L3-165MHz
 OMAP3 EVM board + LPDDR/NAND
 I2C:   ready
 DRAM:  128 MiB
 NAND:  HW ECC [Kernel/FS layout] selected
 256 MiB
 In:serial
 Out:   serial
 Err:   serial
 Read back SMSC id 0x9220
 Die ID #46a4000404032d460d01d014
 Net:   smc911x-0
 Hit any key to stop autoboot:  0
 OMAP3_EVM #
 OMAP3_EVM #
 OMAP3_EVM # run myboot
 smc911x: detected LAN9220 controller
 smc911x: phy initialized
 smc911x: MAC 00:50:c2:7e:93:73
 Using smc911x-0 device
 TFTP from server 192.168.1.79; our IP address is 192.168.1.123
 Filename 'uImage'.
 Load address: 0x8000
 Loading: #
 #
 #
 #
 #
 #
 #
 #
 #
 ##
 done
 Bytes transferred = 3287400 (322968 hex)
 mmc1 is available
 reading ramdisk.gz

 2013059 bytes read
 ## Booting kernel from Legacy Image at 8000 ...
   Image Name:   Linux-3.1.0-rc3-11176-g2e5a5f9-d
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:3287336 Bytes = 3.1 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
 OK

 Starting kernel ...

 Uncompressing Linux... done, booting the kernel.
 [0.00] Linux version 3.1.0-rc3-11176-g2e5a5f9-dirty 
 (x0157478@psplinux060) (gcc version 4.3.3 (GCC) ) #4 SMP Mon Aug 29 15:37:16 
 IST 2011
 [0.00] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
 [0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction 
 cache
 [0.00] Machine: OMAP3 EVM
 [0.00] Memory policy: ECC disabled, Data cache writeback
 [0.00] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
 [0.00] SRAM: Mapped pa 0x4020 to va 0xfe40 size: 0x1
 [0.00] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
 [0.00] PERCPU: Embedded 8 pages/cpu @c0cef000 s10112 r8192 d14464 
 u32768
 [0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
 pages: 32512
 [0.00] Kernel command line: mem=128M console=ttyO0,115200n8 
 root=/dev/ram0 initrd=0x8200,40M ramdisk_size=32768 ip=dhcp
 [0.00] PID hash table entries: 512 (order: -1, 2048 bytes)
 [0.00] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
 [0.00] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
 [0.00] Memory: 128MB = 128MB total
 [0.00] Memory: 76736k/76736k available, 54336k reserved, 0K highmem
 [0.00] Virtual kernel memory layout:
 [0.00] vector  : 0x - 0x1000   (   4 kB)
 [0.00] fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
 [0.00] DMA : 0xffc0 - 0xffe0   (   2 MB)
 [0.00] vmalloc : 0xc880 - 0xf800   ( 760 MB)
 [0.00] lowmem  : 0xc000 - 0xc800   ( 128 MB)
 [0.00] modules : 0xbf00 - 0xc000   (  16 MB)
 [0.00]   .text : 0xc0008000 - 0xc05c0d30   (5860 kB)
 [0.00]   .init : 0xc05c1000 - 0xc060e780   ( 310 kB)
 [0.00]   .data : 0xc061 - 0xc0695490   ( 534 kB)
 [0.00