<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> Hi , <br><br>Thanks for the continuous support.&nbsp; <br>As you have suggested we have tried in main kernel with default configuration. <br><br><font size="4"><span style="font-weight: bold;">Without any change its stopping at <br><br></span></font> *************************************<br>&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Card Information&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *<br>&nbsp;*************************************<br>&nbsp;Card Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : SD<br>&nbsp;Manufacturer ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 28<br>&nbsp;OEM/Application ID&nbsp;&nbsp;&nbsp; : S<br>&nbsp;Product name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : SC <br>&nbsp;Product revision&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1.0<br>&nbsp;Product serial number : 141073e<br>&nbsp;Size of Card&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 952 MBytes <br>&nbsp;################<br>&nbsp;Read 2160640 bytes from file /zImage#<br>&nbsp;Dat is a3c0d5e4#############<br>&nbsp;Read 1773568 bytes from file /initrd.gz<br>&nbsp;Launching Linux ...<br>&nbsp;Copying 20f04c bytes of zImage from a1000000 to a0008000<br><br>&nbsp;Launch LinuxUncompressing Linux..............................................................................................................................<br>&lt;6&gt;Initializing cgroup subsys cpu<br>&lt;5&gt;Linux version 2.6.27 (root@localhost.localdomain) (gcc version 4.1.1) #11 Tue Nov 17 22:38:42 IST 2009<br>CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177<br>Machine: Freescale i.MX27ADS<br>Prabha COMMAND LINE&nbsp; cmdline_p is&nbsp; root=/dev/ram rw console=ttymxc0,115200<br>and from is root=/dev/ram rw mem=64M console=ttymxc0,115200<br>Memory policy: ECC disabled, Data cache writeback<br>&lt;7&gt;On node 0 totalpages: 16384<br>&lt;7&gt;free_area_init_node: node 0, pgdat c044b41c, node_mem_map c049f000<br>&lt;7&gt;&nbsp; DMA zone: 16256 pages, LIFO batch:3<br>CPU0: D VIVT write-back cache<br>CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets<br>CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets<br>Built 1 zonelists in Zone order, mobility grouping on.&nbsp; Total pages: 16256<br>&lt;5&gt;Kernel command line: root=/dev/ram rw mem=64M console=ttymxc0,115200<br>&lt;6&gt;MXC GPIO hardware<br>&lt;6&gt;MXC IRQ initialized<br>PID hash table entries: 256 (order: 8, 1024 bytes)<br>&lt;1&gt;Unhandled fault: external abort on non-linefetch (0x008) at 0xf4300000<br>Internal error: : 8 [#1]<br>Modules linked in:<br>CPU: 0&nbsp;&nbsp;&nbsp; Not tainted&nbsp; (2.6.27 #11)<br>PC is at mx27ads_timer_init+0x14/0x44<br>LR is at time_init+0x1c/0x24<br>pc : [&lt;c0011390&gt;]&nbsp;&nbsp;&nbsp; lr : [&lt;c000f8ac&gt;]&nbsp;&nbsp;&nbsp; psr: 800000d3<br>sp : c0429fa8&nbsp; ip : c0429fb8&nbsp; fp : c0429fb4<br>r10: a0021b58&nbsp; r9 : 41069264&nbsp; r8 : a0021b8c<br>r7 : c042ce5c&nbsp; r6 : c0023f14&nbsp; r5 : c044bcf0&nbsp; r4 : c044bce4<br>r3 : f4300000&nbsp; r2 : 00000000&nbsp; r1 : 00000000&nbsp; r0 : 019bfcc0<br>Flags: Nzcv&nbsp; IRQs off&nbsp; FIQs off&nbsp; Mode SVC_32&nbsp; ISA ARM&nbsp; Segment kernel<br>Control: 0005317f&nbsp; Table: a0004000&nbsp; DAC: 00000017<br>Process swapper (pid: 0, stack limit = 0xc0428268)<br>Stack: (0xc0429fa8 to 0xc042a000)<br>9fa0:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c0429fc4 c0429fb8 c000f8ac c001138c c0429ff4 c0429fc8 <br>9fc0: c0008ae8 c000f8a0 c000853c 00000000 00000000 c0023f14 00000000 00053175 <br>9fe0: c044c60c c0024318 00000000 c0429ff8 a0008034 c0008970 00000000 00000000 <br>Backtrace: <br>[&lt;c001137c&gt;] (mx27ads_timer_init+0x0/0x44) from [&lt;c000f8ac&gt;] (time_init+0x1c/0x24)<br>[&lt;c000f890&gt;] (time_init+0x0/0x24) from [&lt;c0008ae8&gt;] (start_kernel+0x188/0x30c)<br>[&lt;c0008960&gt;] (start_kernel+0x0/0x30c) from [&lt;a0008034&gt;] (0xa0008034)<br>&nbsp;r6:c0024318 r5:c044c60c r4:00053175<br>Code: e92dd800 e24cb004 e59f3020 e59f0020 (e1d330b0) <br>&lt;4&gt;---[ end trace 1b75b31a2719ed1c ]---<br>&lt;0&gt;Kernel panic - not syncing: Attempted to kill the idle task!<br><br><br><br><br><font size="4"><span style="font-weight: bold;">So we did a change at clock </span></font><br><br>arch/arm/mach-mx2/mx27ads.c&nbsp;&nbsp; :&nbsp;&nbsp; function : static void __init mx27ads_timer_init(void) : <br><br>For our board the fref = 26000000. <br><br>But it is taking fref = 27000000<br>so we have commented the following line. <br>/*<br>&nbsp;if ((__raw_readw(PBC_VERSION_REG) &amp; CKIH_27MHZ_BIT_SET) == 0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fref = 27000000;<br>*/<br>and made fref = 26000000<br><br>and the output log as follows....<br><br><br><span style="font-weight: bold;">LOGS :</span><br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOARD INFO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>------------------------------------------------<br>&nbsp;Area&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Start address End address&nbsp;&nbsp; Size<br>------------------------------------------------<br>&nbsp;SDRAM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xa000_0000&nbsp;&nbsp; 0xa3ff_ffff&nbsp;&nbsp; 64 MB<br>&nbsp;Data section 0xa3e0_0000&nbsp;&nbsp; 0xa3ef_ffff&nbsp;&nbsp; 1 MB<br>&nbsp;UsrStack&nbsp;&nbsp;&nbsp;&nbsp; 0xa3f0_0000&nbsp;&nbsp; 0xa3f0_ffff&nbsp;&nbsp; 64 KB<br>&nbsp;IRQStack&nbsp;&nbsp;&nbsp;&nbsp; 0xa3f1_0000&nbsp;&nbsp; 0xa3f1_ffff&nbsp;&nbsp; 64 KB<br>&nbsp;FIQStack&nbsp;&nbsp;&nbsp;&nbsp; 0xa3f2_0000&nbsp;&nbsp; 0xa3f2_ffff&nbsp;&nbsp; 64 KB<br>&nbsp;UndefStack&nbsp;&nbsp; 0xa3f3_0000&nbsp;&nbsp; 0xa3f3_ffff&nbsp;&nbsp; 64 KB<br>&nbsp;AbortStack&nbsp;&nbsp; 0xa3f4_0000&nbsp;&nbsp; 0xa3f4_ffff&nbsp;&nbsp; 64 KB<br>&nbsp;SVCStack&nbsp;&nbsp;&nbsp;&nbsp; 0xa3f5_0000&nbsp;&nbsp; 0xa3f5_ffff&nbsp;&nbsp; 64 KB<br>&nbsp;SYSStack&nbsp;&nbsp;&nbsp;&nbsp; 0xa3f6_0000&nbsp;&nbsp; 0xa3f6_ffff&nbsp;&nbsp; 64 KB<br>&nbsp;Flash&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xc000_0000&nbsp;&nbsp; 0xc1ff_ffff&nbsp;&nbsp; 32 MB<br>&nbsp;Bootloader&nbsp;&nbsp; 0xc000_0000&nbsp;&nbsp; 0xc00f_ffff&nbsp;&nbsp; 1 MB<br>&nbsp;Kernel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xc010_0000&nbsp;&nbsp; 0xc02f_ffff&nbsp;&nbsp; 2 MB<br>&nbsp;Initrd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xc030_0000&nbsp;&nbsp; 0xc04f_ffff&nbsp;&nbsp; 2 MB<br>&nbsp;Filesystems&nbsp; 0xc050_0000&nbsp;&nbsp; 0xc1ff_ffff&nbsp;&nbsp; 27 MB<br>------------------------------------------------<br>Going to Bring up GUI Menu. Press any key with in 5 sec for diagnostics<br><br>&nbsp;Switching on LCD <br>&nbsp;Switched on LCD<br>&nbsp;Drawing Screen 1<br>&nbsp;Drawn Screen<br>&nbsp;Going to next Screen<br>&nbsp;Drawing Screen 2<br>&nbsp;Drawn Screen<br>&nbsp;valid value:<br>&nbsp;adc value: ( 442 , 446 )<br>&nbsp;Screen value: ( 142 , 188 )<br>&nbsp;Selected menu id is = A<br>&nbsp;Going to next Screen<br>&nbsp;Drawing Screen 13<br>&nbsp;Drawn Screen<br>&nbsp;valid value:<br>&nbsp;adc value: ( 406 , 279 )<br>&nbsp;Screen value: ( 151 , 245 )<br>&nbsp;Selected menu id is = B<br>&nbsp;Going to next Screen<br>&nbsp;Drawing Screen 3<br>&nbsp;Drawn Screen<br>&nbsp;valid value:<br>&nbsp;adc value: ( 415 , 628 )<br>&nbsp;Screen value: ( 149 , 125 )<br>&nbsp;Selected menu id is = A<br>&nbsp;Going to next Screen<br>&nbsp;Drawing Screen 5<br>&nbsp;Drawn Screen<br>&nbsp;Launch linux with lcd menu function<br><br>&nbsp;SD/MMC Card Detected<br>&nbsp;SD Card Initialised #<br>&nbsp;Dat is a3c0d5e4<br><br>&nbsp;*************************************<br>&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Card Information&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *<br>&nbsp;*************************************<br>&nbsp;Card Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : SD<br>&nbsp;Manufacturer ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 28<br>&nbsp;OEM/Application ID&nbsp;&nbsp;&nbsp; : S<br>&nbsp;Product name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : SC <br>&nbsp;Product revision&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1.0<br>&nbsp;Product serial number : 141073e<br>&nbsp;Size of Card&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 952 MBytes <br>&nbsp;################<br>&nbsp;Read 2158592 bytes from file /zImage#<br>&nbsp;Dat is a3c0d5e4#############<br>&nbsp;Read 1773568 bytes from file /initrd.gz<br>&nbsp;Launching Linux ...<br>&nbsp;Copying 20efac bytes of zImage from a1000000 to a0008000<br><br>&nbsp;Launch LinuxUncompressing Linux..............................................................................................................................<br>Initializing cgroup subsys cpu<br>Linux version 2.6.27 (root@localhost.localdomain) (gcc version 4.1.1) #9 Tue Nov 17 21:49:00 IST 2009<br>CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177<br>Machine: Freescale i.MX27ADS<br>Prabha COMMAND LINE&nbsp; cmdline_p is&nbsp; root=/dev/ram rw console=ttymxc0,115200<br>and from is root=/dev/ram rw mem=64M console=ttymxc0,115200<br>Memory policy: ECC disabled, Data cache writeback<br>CPU0: D VIVT write-back cache<br>CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets<br>CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets<br>Built 1 zonelists in Zone order, mobility grouping on.&nbsp; Total pages: 16256<br>Kernel command line: root=/dev/ram rw mem=64M console=ttymxc0,115200<br>MXC GPIO hardware<br>MXC IRQ initialized<br>PID hash table entries: 256 (order: 8, 1024 bytes)<br>Console: colour dummy device 80x30<br>Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)<br>Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)<br>Memory: 64MB = 64MB total<br>Memory: 58384KB available (4092K code, 469K data, 128K init)<br>SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1<br>Calibrating delay loop... 132.71 BogoMIPS (lpj=663552)<br>Security Framework initialized<br>SELinux:&nbsp; Initializing.<br>Mount-cache hash table entries: 512<br>Initializing cgroup subsys ns<br>Initializing cgroup subsys cpuacct<br>CPU: Testing write buffer coherency: ok<br>net_namespace: 616 bytes<br>NET: Registered protocol family 16<br>SCSI subsystem initialized<br>usbcore: registered new interface driver usbfs<br>usbcore: registered new interface driver hub<br>usbcore: registered new device driver usb<br>NetLabel: Initializing<br>NetLabel:&nbsp; domain hash size = 128<br>NetLabel:&nbsp; protocols = UNLABELED CIPSOv4<br>NetLabel:&nbsp; unlabeled traffic allowed by default<br>NET: Registered protocol family 2<br>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<br>TCP established hash table entries: 2048 (order: 2, 16384 bytes)<br>TCP bind hash table entries: 2048 (order: 1, 8192 bytes)<br>TCP: Hash tables configured (established 2048 bind 2048)<br>TCP reno registered<br>NET: Registered protocol family 1<br>checking if image is initramfs...it isn't (no cpio magic); looks like an initrd<br>Freeing initrd memory: 1792K<br>NetWinder Floating Point Emulator V0.97 (extended precision)<br>audit: initializing netlink socket (disabled)<br>type=2000 audit(1.480:1): initialized<br>VFS: Disk quotas dquot_6.5.1<br>Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)<br>Installing knfsd (copyright (C) 1996 okir@monad.swb.de).<br>JFFS2 version 2.2. (NAND) (SUMMARY)&nbsp; &#65533;© 2001-2006 Red Hat, Inc.<br>fuse init (API version 7.9)<br>JFS: nTxBlock = 470, nTxLock = 3765<br>msgmni has been set to 117<br>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)<br>io scheduler noop registered<br>io scheduler anticipatory registered<br>io scheduler deadline registered<br>io scheduler cfq registered (default)<br>Serial: IMX driver<br>imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX<br>console [ttymxc0] enabled<br>imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX<br>imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX<br>imx-uart.3: ttymxc3 at MMIO 0x1000d000 (irq = 17) is a IMX<br>imx-uart.4: ttymxc4 at MMIO 0x1001b000 (irq = 49) is a IMX<br>imx-uart.5: ttymxc5 at MMIO 0x1001c000 (irq = 48) is a IMX<br>brd: module loaded<br>loop: module loaded<br>nbd: registered device at major 43<br>SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).<br>CSLIP: code copyright 1989 Regents of the University of California.<br>SLIP linefill/keepalive option.<br>console [netcon0] enabled<br>netconsole: network logging started<br>mice: PS/2 mouse device common for all mice<br>usbcore: registered new interface driver hiddev<br>usbcore: registered new interface driver usbhid<br>usbhid: v2.6:USB HID core driver<br>TCP cubic registered<br>Initializing XFRM netlink socket<br>NET: Registered protocol family 17<br>NET: Registered protocol family 15<br>RPC: Registered udp transport module.<br>RPC: Registered tcp transport module.<br>registered taskstats version 1<br>RAMDISK: Compressed image found at block 0<br>EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended<br>VFS: Mounted root (ext2 filesystem).<br>Freeing init memory: 128K<br><br>After this some junk characters start coming .... <br><br>Please help us to go forward.....<br><br>Thanks and regards , <br>Vadivelan M<br><br><font color="#990099">-----Daniel Mack <daniel@caiaq.de> wrote: -----</daniel@caiaq.de></font><div><blockquote style="border-left: 2px solid black; padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">To: Vadivelan M &lt;vadivelan.m@tcs.com&gt;<br>From: Daniel Mack &lt;daniel@caiaq.de&gt;<br>Date: 11/17/2009 02:47PM<br>cc: linux-arm-kernel@lists.infradead.org, linux-arm@lists.infradead.org<br>Subject: Re: imx27 - hanging at freeing init memory -- getting some junk characters here after on console ..<br><br><pre>On Tue, Nov 17, 2009 at 01:57:11PM +0530, Vadivelan M wrote:<br>&gt;  Did you measure the junk characters or the 'working' serial output. The<br>&gt;  question is whether the baud rate really changes.<br>&gt;           -- Yes. we have measured the baud rate when the junk characters starts coming.<br><br>Then the only explanation I have is that something seriously crashes<br>your userspace binaries and makes the kernel go wild.<br><br>&gt;  Please send in patches of your modifications so people here can have a<br>&gt;  look to what you did.<br>&gt;           -- Please find the patches [please find the attachment . ]<br><br>I don't get what you're doing and why. Why do you patch around in<br>vmalloc.h? What reason is there to modify the clock framework for that<br>platform? And Those patches are obvisouly agains version 2.6.19.2 and<br>not mainline? Without any word of elaboration, I'm afraid you're on your<br>own.<br><br>My suggestion is to take the MX27ADS platform which your kernel config<br>is made for and try the current mainline kernel on that hardware.<br>Without any of your patches. Then find out the difference between that<br>setup and your own board.<br><br>Albeit I don't have such hardware, but I'm quite confident the reference<br>platform works well. Maybe someone of the MX2 people can acknowledge that.<br><br>Daniel<br><br></pre>
</blockquote></div><div></div></font><pre>=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


</pre>