linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* No ttyS device at I/O port 0xfe004500 for console
@ 2006-06-13 16:48 Alex Zeffertt
  2006-06-13 19:55 ` Kumar Gala
  2006-06-13 21:20 ` Joakim Tjernlund
  0 siblings, 2 replies; 16+ messages in thread
From: Alex Zeffertt @ 2006-06-13 16:48 UTC (permalink / raw)
  To: linuxppc-embedded

Hi list,

I'm trying to boot a linux-2.6.11 kernel on a MPC83xx based board.  Through
some experimentation I have found I need "console=uart,io,0xfe004500"
in the kernel command line in order to get any output over the serial
port.

Half way through initialisation the kernel appears to swap from its "early"
8250 serial driver to a "full" 8250 serial driver.  At this point it prints
"No ttyS device at I/O port 0xfe004500 for console" and there is no
further output.

Does anyone have any idea what I may be doing wrong?

BTW, here's the output that I do get.

-------------------/snip--------------------------
U-Boot 1.1.3 (FSL Development) (Jun 13 2006 - 14:01:25) MPC83XX

Clock configuration:
   Coherent System Bus:  132 MHz
   Core:                 264 MHz
   QE:                   198 MHz
   Local Bus Controller: 132 MHz
   Local Bus:             66 MHz
   DDR:                  264 MHz
   SEC:                  132 MHz
   I2C1:                 132 MHz
CPU: MPC8323E, Rev: 10 at 264 MHz
Board: Freescale MPC832XEPB
I2C:   ready
DRAM:
    DDR RAM: 128 MB
FLASH: 16 MB
In:    serial
Out:   serial
Err:   serial
Net:   FSL GETH0
Hit any key to stop autoboot:  0
geth: PHY is Davicom DM9161A (181b8a0)
FSL GETH0: Full Duplex
FSL GETH0: Speed 100BT
FSL GETH0: Link is up
Using FSL GETH0 device
TFTP from server 10.0.0.107; our IP address is 10.0.6.65
Filename 'uImage'.
Load address: 0x200000
Loading: #################################################################
          #################################################################
          #################################################################
          ##########
done
Bytes transferred = 1046491 (ff7db hex)
## Booting image at 00200000 ...
    Image Name:   Linux-2.6.11
    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
    Data Size:    1046427 Bytes = 1021.9 kB
    Load Address: 00000000
    Entry Point:  00000000
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
Linux version 2.6.11 (ajz@zambia) (gcc version 3.4.3) #5 Tue Jun 13 17:36:46 BST 2006
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=10.0.0.107:/opt/eldk/ppc_6xx ip=10.0.6.65:10.0.0.107:10.0.0.1:255.255.0.0:eth0:off console=uart,io,0xfe004500
IPIC (128 IRQ sources, 8 External IRQs) at fe000700
QE IC (64 IRQ sources) at fe100080
PID hash table entries: 1024 (order: 10, 16384 bytes)
Early serial console at I/O port 0xfe004500 (options '134')
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 127488k available (1724k kernel code, 432k data, 100k init, 0k highmem)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
SCSI subsystem initialized
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
loop: loaded (max 8 devices)
MPC832XE MDS flash device: 1000000 at ff000000 Partition number 5
MPC832XE PB Flash Map Info: Found 1 x16 devices at 0x0 in 16-bit bank
  Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Creating 5 MTD partitions on "MPC832XE PB Flash Map Info":
0x00000000-0x00020000 : "HRCW"
0x00020000-0x00900000 : "JFFS2"
0x00900000-0x00d00000 : "Ramdisk"
0x00d00000-0x00f00000 : "Kernel"
0x00f00000-0x01000000 : "U-Boot"
MPC832XE MDS flash device initialized
i2c /dev entries driver
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
No ttyS device at I/O port 0xfe004500 for console

-------------------/snip--------------------------



TIA,

Alex

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: No ttyS device at I/O port 0xfe004500 for console
@ 2006-06-14 12:37 Joakim Tjernlund
  2006-06-14 14:04 ` Chuck Meade
  0 siblings, 1 reply; 16+ messages in thread
From: Joakim Tjernlund @ 2006-06-14 12:37 UTC (permalink / raw)
  To: Alex Zeffertt, Kumar Gala; +Cc: linuxppc-embedded

=20
> Kumar Gala wrote:
> >> Here you go:
> >=20
> > Let me know if this fixes the issues you guys are seeing=20
> with your 83xx=20
> > boards.  If so, I'll clean up this patch and push it upstream.
> >=20
> > - k
>=20
>=20
> Great, thank you!
>=20
> Your patch and the params "console=3Duart,io,0xfe004500=20
> console=3DttyS0" in
> the kernel command line do the trick.

I think you should loose the "console=3Duart,io,0xfe004500", don't think
it is needed
sine the "console=3DttyS0" will override it.

>=20
> Alex
>=20
>=20
> >> +        .device_list    =3D (enum ppc_sys_devices[])
> >> +        {
> >> +            MPC83xx_IIC1, MPC83xx_DUART,
> >> +#ifdef CONFIG_QE
> >> +            MPC83xx_QE_UCC3, MPC83xx_QE_UCC4,
> >> +#endif
> >> +        },
> >> +    },
> >>      {    /* default match */
> >>          .ppc_sys_name    =3D "",
> >>          .mask         =3D 0x00000000,

This device list appears to be common to all 8323E CPUs and to me this
looks
like a board unique list. Seems to that this list is better off in the=20
mpc832xe_mds.c board file. That would make it easier for custom boards I
think.

 Jocke

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2006-06-14 14:03 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-13 16:48 No ttyS device at I/O port 0xfe004500 for console Alex Zeffertt
2006-06-13 19:55 ` Kumar Gala
2006-06-13 20:46   ` Joakim Tjernlund
2006-06-13 21:25     ` Chuck Meade
2006-06-13 21:39       ` Joakim Tjernlund
2006-06-13 22:01         ` Chuck Meade
2006-06-13 22:32           ` Kumar Gala
2006-06-14  9:00             ` Alex Zeffertt
2006-06-13 23:53           ` Joakim Tjernlund
2006-06-14  0:19             ` Joakim Tjernlund
2006-06-14  2:27               ` Chuck Meade
2006-06-14  8:47   ` Alex Zeffertt
2006-06-13 21:20 ` Joakim Tjernlund
2006-06-14  8:51   ` Alex Zeffertt
  -- strict thread matches above, loose matches on Subject: below --
2006-06-14 12:37 Joakim Tjernlund
2006-06-14 14:04 ` Chuck Meade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).