Google
  Web www.spinics.net

No console on SMDK2440 Board boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi

I'm running kernel 2.6.10 on an SMDK2440 Board and the kernel boots OK (see boot messages below) but I was expecting to have a serial console after boot finishes and I don't get one. After boot has finished no more messages are seen on the serial port ttySAC0 and it doesn't respond to input characters.

My command line is "console=ttySAC0,115200 root=/dev/mtdblock/2 init=/linuxrc rootfstype=cramfs ro noinitrd". As it doesn't give me the "Warning: unable to open an initial console" message I assume that ttySAC0 has been installed as the preferred console. ls -l /dev/ttySAC0 (on the uncompressed file system directory on my host PC, the one I cramfs-ed to make the target cramfs file) gives me "1 500 244 4 64 1970-01 01-01:00 dev/ttySAC0" so ttySAC0 is definitely in the file system.

I'm new to Linux so I'm a bit stuck as to what to do to fix the problem and I wondered if anyone could help me please.

Thanks
Kevin

Uncompressing Linux........................................................................... done, booting the kernel. Linux version 2.6.10 (kmorfitt@fearnside-laptop) (gcc version 3.3.2) #1 Sat Mar 24 09:49:39 GMT 2007
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
CPU: D VIVT write-back cache
CPU: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Machine: SMDK2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C2440: core 406.425 MHz, memory 135.475 MHz, peripheral 67.737 MHz
S3C2440 Clock control, (c) 2004 Simtec Electronics
Built 1 zonelists
Kernel command line: console=ttySAC0,115200 root=/dev/mtdblock/2 init=/linuxrc rootfstype=cramfs ro noinitrd
irq: clearing pending ext status 00000100
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
OK? timer tcon=00500000, tcnt 2957, tcfg 00000f00,00000000, usec 000016ad
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 62368KB available (1906K code, 401K data, 108K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c4800000, irq 17
DMA channel 1 at c4800040, irq 18
DMA channel 2 at c4800080, irq 19
DMA channel 3 at c48000c0, irq 20
NetWinder Floating Point Emulator V0.97 (double precision)
devfs: 2004-01-31 Richard Gooch (rgooch@xxxxxxxxxxxxx)
devfs: boot_options: 0x1
yaffs Mar 24 2007 09:47:23 Installing.
Console: switching to colour frame buffer device 30x40
S3C2440 RTC, Samsung
s3c2440-rtc s3c2440-rtc: rtc disabled, re-enabling
s3c2440_serial0 at MMIO 0x50000000 (irq = 54) is a S3C2440
s3c2440_serial1 at MMIO 0x50004000 (irq = 57) is a S3C2440
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
cs89x0:cs89x0_probe(0x0)
PP_addr=0x3000
cs89x0.c: v2.4.3-pre1 Russell Nelson <nelson@xxxxxxxxxx>, Andrew Morton <andrewm@xxxxxxxxxx>
eth0: cs8900 rev K found at 0xf1400300
cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command line
cs89x0 media RJ-45, IRQ 37, programmed I/O, MAC 00:09:c0:ff:ec:48
cs89x0_probe1() successful
PPP generic driver version 2.4.2
elevator: using anticipatory as default io scheduler
S3C2440 NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand: mapped registers at c4880000
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00030000 : "NAND partition 0 : Bootloader"
0x00030000-0x00200000 : "NAND partition 1 : Kernel"
0x00200000-0x04000000 : "NAND partition 2"
ts: Compaq touchscreen protocol output
s3c2440 TouchScreen successfully loaded
Unable to load Touch Event Emulation module
GPIO L3 bus interface for elfin, installed
Sound: elfin 2440 UDA1341: dsp id 3 mixer id 0
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing init memory: 108K


-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux