<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> Hi daniel , <br><br><br>I have checked the inittab. the baud rate is correct. <br><br>When i am passing command line arguments "init=bin/sh consloe=ttymxc0,115200 root=/dev/ram rw ip=off"<br><br>same status. i can see the print Freeing init memory and some uart function prints... <br><br>After that only junk characters are coming. <br><br>we have checked serial drivers . almost no changes between 2.6.19(working kernel) and 2.6.27<br><br><br>Please help us to go forward.....<br><br>Logs : <br>*************************************<br> * Card Information *<br> *************************************<br> Card Type : SD<br> Manufacturer ID : 28<br> OEM/Application ID : S<br> Product name : SC <br> Product revision : 1.0<br> Product serial number : 141073e<br> Size of Card : 952 MBytes <br> ########<br> Read 995328 bytes from file /zImage#<br> Dat is a3c0d5e4#############<br> Read 1765376 bytes from file /initrd.gz<br> Launching Linux ...<br> Copying f2ad8 bytes of zImage from a1000000 to a0008000<br><br> Launch LinuxUncompressing Linux.................................................................. done, booting the kernel.<br>Linux version 2.6.28-arm2 (root@localhost.localdomain) (gcc version 4.1.1) #123 Fri Nov 6 06:57:12 IST 2009<br>CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177<br>CPU: VIVT data cache, VIVT instruction cache<br>Machine: Freescale i.MX27ADS<br>Memory policy: ECC disabled, Data cache writeback<br><br> VADI: kernel command line check init=/bin/sh console=ttymxc0,115200 root=/dev/ram rw ip=off <br>Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256<br>c<br>MXC GPIO hardware<br>MXC IRQ initialized<br>PID hash table entries: 256 (order: 8, 1024 bytes)<br><br> Clock input source is 26000000<br><br> After for loop<br> test1<br> CCM_PCCR1 = fe5aef88<br> b4 spll_clk.disableConsole: 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: 60908KB available (1824K code, 252K data, 92K init)<br>Calibrating delay loop... 132.71 BogoMIPS (lpj=663552)<br>Security Framework initialized<br>Mount-cache hash table entries: 512<br>CPU: Testing write buffer coherency: ok<br>kernel thread started : M.V<5>SCSI subsystem initialized<br>checking if image is initramfs...it isn't (no cpio magic); looks like an initrd<br>do_sys_open entry/n called PTR_ERR fd is -1014075392 <br> b4 calling get_unused_fd_flags <br> <br> VADI: alloc_fd entry<br> VADI: alloc_fd exit/n called get_unused_fd_flags fd is 0 <br> VADI: do_filp_open() entry <br>/n VADI: after calling do_filp_open <br>/n VADI: after calling fd_install <br>/n VADI: withing fd>= 0 <br><br> VADI: do_sys_open exit<br> file name is /initrd.image <br> %%%% called do_sys_open 0 <br> called asmlinkage_protect <6>Freeing initrd memory: 1792K<br>NetWinder Floating Point Emulator V0.97 (extended precision)<br>VFS: Disk quotas dquot_6.5.1<br>Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)<br>JFS: nTxBlock = 490, nTxLock = 3922<br>msgmni has been set to 122<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><br> VADI: UART1_TXD 1420 <br>imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX<br><br> VADI Baudrate is 115200 <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>st: Version 20080504, fixed bufsize 32768, s/g segs 256<br>Driver 'st' needs updating - please use bus_type methods<br>Driver 'sd' needs updating - please use bus_type methods<br>drivers/rtc/hctosys.c: unable to open rtc device (rtc0)<br>do_sys_open entry/n called PTR_ERR fd is -1014075392 <br> b4 calling get_unused_fd_flags <br> <br> VADI: alloc_fd entry<br> VADI: alloc_fd exit/n called get_unused_fd_flags fd is 0 <br> VADI: do_filp_open() entry <br>/n VADI: after calling do_filp_open <br>/n VADI: after calling fd_install <br>/n VADI: withing fd>= 0 <br><br> VADI: do_sys_open exit<br> file name is /dev/ram <br> %%%% called do_sys_open 0 <br> called asmlinkage_protect do_sys_open entry/n called PTR_ERR fd is -1014075392 <br> b4 calling get_unused_fd_flags <br> <br> VADI: alloc_fd entry<br> VADI: alloc_fd exit/n called get_unused_fd_flags fd is 1 <br> VADI: do_filp_open() entry <br>/n VADI: after calling do_filp_open <br>/n VADI: after calling fd_install <br>/n VADI: withing fd>= 0 <br><br> VADI: do_sys_open exit<br> file name is /initrd.image <br> %%%% called do_sys_open 1 <br> called asmlinkage_protect <5>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><br> VADI: ramdisk_execute_command <NULL> <6>Freeing init memory: 92K<br>do_sys_open entry/n called PTR_ERR fd is -1014075392 <br> b4 calling get_unused_fd_flags <br> <br> VADI: alloc_fd entry<br> VADI: alloc_fd exit/n called get_unused_fd_flags fd is 0 <br> VADI: do_filp_open() entry <br><br> uart_startup 0 b4 called <br><br> uart_startup <br><br> imx_startup() entry <br> b��.b�..b��..|F.vb3..W......�:�.��..��]n.�.o....�m���..���.�..]n.�.n��]�v.��.>�����w_.N.._����..��.��..<br> ]7|��V.....s�O�������w.l��M��..v.��O��..�q].�..W�...<br> _<br><br> <br><br>Thanks and regards , <br><br><br>Vadivelan M<br>team member<br>Tata Consultancy Services<br>No. 69/2, Salarpuria G.R.Tech Park, JAL Building,<br>Mahadevapura,<br>K.R.Puram<br>Bangalore - 560018,Karnataka<br>India<br>Mailto: vadivelan.m@tcs.com<br>Website: http://www.tcs.com<br>____________________________________________<br>Experience certainty.        IT Services<br>                        Business Solutions<br>                        Outsourcing<br>____________________________________________<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 <vadivelan.m@tcs.com><br>From: Daniel Mack <daniel@caiaq.de><br>Date: 11/04/2009 06:45PM<br>cc: linux-arm-kernel@lists.infradead.org, linux-arm <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 Wed, Nov 04, 2009 at 01:09:32PM +0530, Vadivelan M wrote:<br>> I am porting Linux-2.6.28 Kernel on IMX27based board.<br>> Filesystem is mounted and after that we are getting message Freeing init<br>> memory and some junk characters are coming. Keyboards are responding.<br>> Can anybody help us in this regard.<br>> <br>> Thanks,<br>> <br>> Please see the following logs ..<br>> <br>> Launch LinuxUncompressing<br>> Linux......................................................................<br>> done, booting the kernel.<br>> Linux version 2.6.28-arm2 (root@localhost.localdomain) (gcc version<br>> 4.1.1) #75 Wed Oct 28 13:12:53 IST 2009<br>> CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177<br>> CPU: VIVT data cache, VIVT instruction cache<br>> Machine: Freescale i.MX27ADS<br>> Kernel command line: root=/dev/ram rw mem=64M console=ttymxc0,115200<br><br>Your kernel uses 115200 baud to output these messages ...<br><br>[...]<br><br>> EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended<br>> VFS: Mounted root (ext2 filesystem).<br>> Freeing init memory: 92K<br>> <br>> After this some junk characters are coming like ....<br>> <br>> &#65533;&#65533;&#1421;&#65533;&#531488;0^&#1949;&#65533;&#65533;r&#65533;'&#65533;&#65533;&#65533;j&#65533;&#65533;r:&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;:&#65533;&#65533;M&#65533;.&#65533;&#65533;D&#65533;d&#65533;z.?&#65533;&#65533;.T&#65533;&#65533;8V&#65533;`&#65533;T&#65533;&#65533;&#65533;V&#51082;]nn]^&#65400;&#65533;m8m&#65533;&#65533;^&#65533;.&#65533;m&#65533;.E&#65533;&#65533;N&#65533;&#65533;8&#65533;&#65533;6&#65533;&#65533;&#65533;:]&#65533;&#65533;&#65533;<br><br>... and in your inittab, there seems to be a getty registered which<br>operates at a different speed. Change either of the two and you should<br>be fine.<br><br>Daniel<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>