* No output from SCC1 console
@ 2008-07-29 8:47 Fabien Oriede
2008-07-29 9:19 ` Jochen Friedrich
2008-07-29 19:33 ` Scott Wood
0 siblings, 2 replies; 3+ messages in thread
From: Fabien Oriede @ 2008-07-29 8:47 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 3639 bytes --]
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@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
[-- Attachment #2: Type: text/html, Size: 13546 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: No output from SCC1 console
2008-07-29 8:47 No output from SCC1 console Fabien Oriede
@ 2008-07-29 9:19 ` Jochen Friedrich
2008-07-29 19:33 ` Scott Wood
1 sibling, 0 replies; 3+ messages in thread
From: Jochen Friedrich @ 2008-07-29 9:19 UTC (permalink / raw)
To: Fabien Oriede; +Cc: linuxppc-embedded
Hi Fabien,
> In my
> U-Boot's environnement variables, I have "bootargs=console=ttyS0,38400".
Make this console=ttyCPM0,38400
> < 6 > ttyCPM0 at MMIO 0xffe00a00 (irq = 46) is a CPM UART –
Thanks,
Jochen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: No output from SCC1 console
2008-07-29 8:47 No output from SCC1 console Fabien Oriede
2008-07-29 9:19 ` Jochen Friedrich
@ 2008-07-29 19:33 ` Scott Wood
1 sibling, 0 replies; 3+ messages in thread
From: Scott Wood @ 2008-07-29 19:33 UTC (permalink / raw)
To: Fabien Oriede; +Cc: linuxppc-embedded
On Tue, Jul 29, 2008 at 08:47:00AM +0000, Fabien Oriede wrote:
> < 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. –
Enable CONFIG_PPC_CPM_NEW_BINDING (or better, upgrade to the latest
kernel), and ensure that the device tree node and pin/brg setup is
correct.
Try commenting out calls to set the BRG as a test, to see if it's getting
a bad frequency.
-Scott
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-29 19:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 8:47 No output from SCC1 console Fabien Oriede
2008-07-29 9:19 ` Jochen Friedrich
2008-07-29 19:33 ` Scott Wood
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).