<br>which uart we required?<br>already it is registered thats why i am getting bootup messages through ttySAC3 debug port.<br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 3:13 PM, Ben Dooks <span dir="ltr"><<a href="mailto:ben-linux@fluff.org">ben-linux@fluff.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, Jul 28, 2010 at 08:51:06AM +0530, nitin vishnoi wrote:<br>
> Hi<br>
><br>
> I am porting the 2.6.33.6 kernel,which i took from kernel.org.I am trying to<br>
> port it on samsung-s3c2451 board.<br>
> But i am not getting the shell prompt,due to getting the following error.Any<br>
> body can tell due to what this error i am getting?<br>
><br>
> Starting kernel ...<br>
><br>
><br>
> Uncompressing Linux... done, booting the kernel.<br>
> Linux version 2.6.33.6 (root@ubntu-desktop) (gcc version 4.2.2) #12 Mon Jul<br>
> 26 18:39:19 IST 2010<br>
> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177<br>
> CPU: VIVT data cache, VIVT instruction cache<br>
> Machine: SMDK2450<br>
> Ignoring unrecognised tag 0x00000000<br>
> Memory policy: ECC disabled, Data cache writeback<br>
> CPU S3C2450 EVT3 (id 0x32450003)<br>
> SPA epll 80200102 Mpll 80640061 clkdiv0 557<br>
> S3C24XX Clocks, (c) 2004 Simtec Electronics<br>
> S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666<br>
> MHz<br>
> S3C2450: epll on 96.000 MHz, usb-bus 48.000 MHz<br>
> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256<br>
> Kernel command line: root=/dev/ram0 initrd=0x30800000,16M ramdisk=32768<br>
> init=/bin/sh console=ttySAC3,115200 mem=64M<br>
> PID hash table entries: 256 (order: -2, 1024 bytes)<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: 45432KB available (2588K code, 271K data, 116K init, 0K highmem)<br>
> Hierarchical RCU implementation.<br>
> NR_IRQS:109<br>
> irq: clearing subpending status 02000006<br>
> irq: clearing subpending status 02000002<br>
> timer tcon=00000000, tcnt 28af, tcfg 00000f00,00000000, usec 00007ae2<br>
> Console: colour dummy device 80x30<br>
> console [ttySAC3] enabled<br>
> Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)<br>
> Mount-cache hash table entries: 512<br>
> CPU: Testing write buffer coherency: ok<br>
> NET: Registered protocol family 16<br>
> whats up blady<br>
> hello<br>
> entered machine init<br>
> S3C Power Management, Copyright 2004 Simtec Electronics<br>
> S3C2450: Initialising architecture<br>
> SPA s3c2450_init<br>
> S3C2450: IRQ Support<br>
> bio: create slab <bio-0> at 0<br>
> SCSI subsystem initialized<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>
> UDP hash table entries: 256 (order: 0, 4096 bytes)<br>
> UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)<br>
> NET: Registered protocol family 1<br>
> Trying to unpack rootfs image as initramfs...<br>
> rootfs image is not initramfs (no cpio magic); looks like an initrd<br>
> Freeing initrd memory: 16384K<br>
> NetWinder Floating Point Emulator V0.97 (double precision)<br>
> JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.<br>
> ROMFS MTD (C) 2007 Red Hat, Inc.<br>
> msgmni has been set to 120<br>
> alg: No test for stdrng (krng)<br>
> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)<br>
> io scheduler noop registered<br>
> io scheduler deadline registered<br>
> io scheduler cfq registered (default)<br>
> brd: module loaded<br>
> loop: module loaded<br>
> Uniform Multi-Platform E-IDE driver<br>
> ide-gd driver 1.18<br>
> ide-cd driver 5.00<br>
> PPP generic driver version 2.4.2<br>
> PPP Deflate Compression module registered<br>
> PPP BSD Compression module registered<br>
> PPP MPPE Compression module registered<br>
> NET: Registered protocol family 24<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>
> mice: PS/2 mouse device common for all mice<br>
> TCP cubic registered<br>
> RAMDISK: gzip image found at block 0<br>
> EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck is<br>
> recommended<br>
> VFS: Mounted root (ext2 filesystem) on device 1:0.<br>
> Freeing init memory: 116K<br>
> Warning: unable to open an initial console.<br>
> Kernel panic - not syncing: Attempted to kill init!<br>
> [<c002b900>] (unwind_backtrace+0x0/0xe0) from [<c003fe9c>]<br>
> (panic+0x40/0x12c)<br>
> [<c003fe9c>] (panic+0x40/0x12c) from [<c0042cac>] (do_exit+0x58/0x57c)<br>
> [<c0042cac>] (do_exit+0x58/0x57c) from [<c0043254>]<br>
> (do_group_exit+0x84/0xb8)<br>
> [<c0043254>] (do_group_exit+0x84/0xb8) from [<c004329c>]<br>
> (sys_exit_group+0x14/0x20)<br>
> [<c004329c>] (sys_exit_group+0x14/0x20) from [<c0025e80>]<br>
> (ret_fast_syscall+0x0/0x28)<br>
<br>
looks like whatever you're trying to run as init doesn't have /dev/console<br>
available. there seems to be no evidence of UARTs being added in the<br>
setup, are they being registered with the serial driver properly?<br>
<font color="#888888"><br>
--<br>
Ben<br>
<br>
Q: What's a light-year?<br>
A: One-third less calories than a regular year.<br>
<br>
</font></blockquote></div><br>