No output from SCC1 console

Fabien Oriede fabien.oriede at yahoo.fr
Tue Jul 29 18:47:00 EST 2008


Hi all,
I'm working with a custom board (MPC860T, 8MB FLASH, 4MB SDRAM, serial port on SCC1). I have ported U-Boot on my board, SCC1 is used as UART and I can see all messages on my terminal. Now I'm porting the Linux kernel 2.6.24 and when I use the command "bootm ffa00000" (uImage is at 0xFFA00000), no message from linux appear on the terminal. I work with the base of the TQM860L. When I have compiled my kernel, I have activated the option to use SCC1 as UART, the console on the UART, and changed the IMMAP_ADDR to get the same address as IMMR in U-Boot. In my U-Boot's environnement variables, I have "bootargs=console=ttyS0,38400". Even if I don't have messages on the terminal, I have acces to the "log_buf" variable in SDRAM and the contents is :< 5 > Linux version 2.6.24 (root at localhost.localdomain) (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) #25 Sun Feb 6 14:03:59 CET 2011 – 
< 7 > Entering add_active_range(0, 0, 1024) 0 entries of 256 used – 
< 4 > Zone PFN ranges: - 
< 4 >     DMA0 ->1024 – 
< 4 >     Normal 1024 ->1024 – 
< 4 > Movable zone start PFN for each node – 
< 4 > early_node_map[1] active PFN ranges – 
< 4 >     0:0 -> 1024 – 
< 7 > On node0 total pages : 1024 – 
< 7 >     DMA zone : 8 pages used for memmap – 
< 7 > DMA zone : 0 pages reserved – 
< 7 > DMA zone : 1016 pages, LIFO batch : 0 – 
< 7 >     Normal zone : 0 pages used for memmap – 
< 7 > Movable zone : 0 pages used for memmap – 
< 4 > Built1 zonelists in Zone order, mobility grouping off. Total pages : 1016 – 
< 5 > Kernel command line :   - 
< 4 > PID hash table entries : 16 (order : 4, 64 bytes) – 
< 4 > Decrementer Frequency = 150000000/60 – 
< 4 > Console : colour dummy device 80x25 – 
< 6 > console [tty0] enabled – 
< 6 > Dentry cache hash table entries : 1024 (order : 0, 4096 bytes) – 
< 6 > Inode-cache hash table entries : 1024 (order : 0, 4096 bytes) – 
< 4 > Memory : 2636k available (1084k kernel code, 260k data, 56k init, 0k highmem) – 
< 6 > SLUB : Genslabs=11, HWalign=16, Order=0-1, MinObjects=4, CPUs=1, Nodes=1 – 
< 7 > Calibrating delay loop...39.55 BogoMIPS(lpj=79104) – 
< 4 > Mount-cache hashtable entries : 512 – 
< 6 > io scheduler noop registered – 
< 6 > io scheduler anticipatory registered – 
< 6 > io scheduler deadline registered – 
< 6 > io scheduler cfq registered (default) – 
< 6 > Generic RTC Driver v1.07 – 
< 6 > Serial : CPM driver $Revision : 0.02 $ - 
< 6 > cpm_uart : WARNING : no UART devices found on platorm bus! – 
< 6 > cpm_uart : the driver will guess configuration, but this mode is no longer supported. – 
< 6 > ttyCPM0 at MMIO 0xffe00a00 (irq = 46) is a CPM UART – 
< 3 > i8042.c : No controller found. – 
< 6 > mice : PS/2 mouse device common for all mice – 
< 4 > VFS : Cannot open rootdevice "<NULL>"or unknown-block(0,0) – 
< 4 > Please append a correct "root=" boot option; here are the available partitions : - 
< 0 > Kernel panic – notsyncing : VFS : Unable to mount root fs on unknown-block(0,0) – 
< 0 > Rebooting in 180seconds.. - - - - - - - - - - - - - - - - - - - - - - -  
In this log, it seems that I have 2 problems, UART and FileSystem. At this moment, I'm not using an initrd image. I will use it in the futur, I hope that the problem with the UART is not due to the non use of the initrd image.
Someone can help me with my UART problem please ?
Thanks.


      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080729/33cfa2d2/attachment-0001.htm>


More information about the Linuxppc-embedded mailing list