Return-Path: Received: from web27407.mail.ukl.yahoo.com (web27407.mail.ukl.yahoo.com [217.146.177.183]) by ozlabs.org (Postfix) with SMTP id BEBBDDDF17 for ; Tue, 29 Jul 2008 18:53:41 +1000 (EST) Date: Tue, 29 Jul 2008 08:47:00 +0000 (GMT) From: Fabien Oriede Subject: No output from SCC1 console To: linuxppc-embedded@ozlabs.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-29168941-1217321220=:17571" Message-ID: <828666.17571.qm@web27407.mail.ukl.yahoo.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0-29168941-1217321220=:17571 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi all,=0AI'm working with a custom board (MPC860T, 8MB FLASH, 4MB SDRAM, s= erial 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 kerne= l 2.6.24 and when I use the command "bootm ffa00000" (uImage is at 0xFFA000= 00), no message from linux appear on the terminal. I work with the base of = the TQM860L.=C2=A0When I have compiled my kernel, I have activated the opti= on 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 va= riables, I have "bootargs=3Dconsole=3DttyS0,38400". Even if I don't have me= ssages 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 = =E2=80=93 =0A< 7 > Entering add_active_range(0, 0, 1024) 0 entries of 256 u= sed =E2=80=93 =0A< 4 > Zone PFN ranges: - =0A< 4 >=C2=A0=C2=A0=C2=A0=C2=A0 = DMA0 ->1024 =E2=80=93 =0A< 4 >=C2=A0=C2=A0=C2=A0=C2=A0 Normal 1024 ->1024 = =E2=80=93 =0A< 4 > Movable zone start PFN for each node =E2=80=93 =0A< 4 > = early_node_map[1] active PFN ranges =E2=80=93 =0A< 4 >=C2=A0=C2=A0=C2=A0=C2= =A0 0:0 -> 1024 =E2=80=93 =0A< 7 > On node0 total pages : 1024 =E2=80=93 = =0A< 7 >=C2=A0=C2=A0=C2=A0=C2=A0 DMA zone : 8 pages used for memmap =E2=80= =93 =0A< 7 > DMA zone : 0 pages reserved =E2=80=93 =0A< 7 > DMA zone : 1016= pages, LIFO batch : 0 =E2=80=93 =0A< 7 >=C2=A0=C2=A0=C2=A0=C2=A0 Normal zo= ne : 0 pages used for memmap =E2=80=93 =0A< 7 > Movable zone : 0 pages used= for memmap =E2=80=93 =0A< 4 > Built1 zonelists in Zone order, mobility gro= uping off. Total pages : 1016 =E2=80=93 =0A< 5 > Kernel command line :=C2= =A0=C2=A0 - =0A< 4 > PID hash table entries : 16 (order : 4, 64 bytes) =E2= =80=93 =0A< 4 > Decrementer Frequency =3D 150000000/60 =E2=80=93 =0A< 4 > C= onsole : colour dummy device 80x25 =E2=80=93 =0A< 6 > console [tty0] enable= d =E2=80=93 =0A< 6 > Dentry cache hash table entries : 1024 (order : 0, 409= 6 bytes) =E2=80=93 =0A< 6 > Inode-cache hash table entries : 1024 (order : = 0, 4096 bytes) =E2=80=93 =0A< 4 > Memory : 2636k available (1084k kernel co= de, 260k data, 56k init, 0k highmem) =E2=80=93 =0A< 6 > SLUB : Genslabs=3D1= 1, HWalign=3D16, Order=3D0-1, MinObjects=3D4, CPUs=3D1, Nodes=3D1 =E2=80=93= =0A< 7 > Calibrating delay loop...39.55 BogoMIPS(lpj=3D79104) =E2=80=93 = =0A< 4 > Mount-cache hashtable entries : 512 =E2=80=93 =0A< 6 > io schedule= r noop registered =E2=80=93 =0A< 6 > io scheduler anticipatory registered = =E2=80=93 =0A< 6 > io scheduler deadline registered =E2=80=93 =0A< 6 > io s= cheduler cfq registered (default) =E2=80=93 =0A< 6 > Generic RTC Driver v1.= 07 =E2=80=93 =0A< 6 > Serial : CPM driver $Revision : 0.02 $ - =0A< 6 > cpm= _uart : WARNING : no UART devices found on platorm bus! =E2=80=93 =0A< 6 > = cpm_uart : the driver will guess configuration, but this mode is no longer = supported. =E2=80=93 =0A< 6 > ttyCPM0 at MMIO 0xffe00a00 (irq =3D 46) is a = CPM UART =E2=80=93 =0A< 3 > i8042.c : No controller found. =E2=80=93 =0A< 6= > mice : PS/2 mouse device common for all mice =E2=80=93 =0A< 4 > VFS : Ca= nnot open rootdevice ""or unknown-block(0,0) =E2=80=93 =0A< 4 > Pleas= e append a correct "root=3D" boot option; here are the available partitions= : - =0A< 0 > Kernel panic =E2=80=93 notsyncing : VFS : Unable to mount roo= t fs on unknown-block(0,0) =E2=80=93 =0A< 0 > Rebooting in 180seconds.. - -= - - - - - - - - - - - - - - - - - - - - -=C2=A0 =0AIn this log, it seems t= hat I have 2 problems, UART and FileSystem. At this moment, I'm not using a= n initrd image. I will use it in the futur, I hope that the problem with th= e UART is not due to=C2=A0the non use of the initrd image.=0ASomeone can he= lp me with my UART problem please ?=0AThanks.=0A=0A=0A _______________= ______________________________________________________________ =0AEnvoyez a= vec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr --0-29168941-1217321220=:17571 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi all,
=0A
 
=0A
I'm working w= ith 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 mess= ages 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 li= nux 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 addres= s as IMMR in U-Boot. In my U-Boot's environnement variables, I have "bootar= gs=3Dconsole=3DttyS0,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 :=0A
 
=0A

<= FONT face=3D"Courier New">< 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 =E2=80=93

=0A

< 7 > Entering add_active_range(0, 0, 1024) 0 entries of 256 u= sed =E2=80=93

=0A

< 4 >     DMA0 ->1024 =E2=80=93

=0A

< 4 >     Normal 1024 ->1024 =E2= =80=93

=0A

< 4 > M= ovable zone start PFN for each node =E2=80=93

= =0A

<= FONT face=3D"Courier New">< 4 > early_node_map[1] active PFN ranges = =E2=80=93

=0A

<= FONT face=3D"Courier New">< 4 >&nbs= p;    0:0 -> 1024 =E2=80=93

=0A

< 7= > On node0 total pages : 1024 =E2=80=93

= =0A

<= FONT face=3D"Courier New">< 7 >&nbs= p;    DMA zone : 8 pages used for memmap =E2=80=93

=0A

< 7 > DMA zone : 0 pages reserved =E2=80=93 =

=0A

= < 7 > DMA zone : 1016 pages, LIFO batch : 0 =E2=80=93

=0A

< 7 >     Normal zone : 0 pages used f= or memmap =E2=80=93

=0A

= < 7 > Movable zone : 0 pages used for memmap =E2=80=93

=0A

< 4 > Built1 zonelists in Zo= ne order, mobility grouping off. Total pages : 1016 =E2=80=93

=0A

< 5 > Kernel command line :=    - <= /SPAN>

=0A

< 4 > PID hash table entries : 16= (order : 4, 64 bytes) =E2=80=93

=0A

< 4 > Decrementer Frequency =3D 150000000/60 =E2=80= =93

=0A

< 4 > Console : colour dummy device 80x25 =E2=80= =93

=0A

< 6 > cons= ole [tty0] enabled =E2=80=93

=0A

< 6 > Dentry cache hash table entries : 1024 (order : 0, 409= 6 bytes) =E2=80=93

=0A

&= lt; 6 > Inode-cache hash table entries : 1024 (order : 0, 4096 bytes) = =E2=80=93

=0A

< 4 >= ; Memory : 2636k available (1084k kernel code, 260k data, 56k init, 0k high= mem) =E2=80=93

=0A

< = 6 > SLUB : Genslabs=3D11, HWalign=3D16, Order=3D0-1, MinObjects=3D4, CPU= s=3D1, Nodes=3D1 =E2=80=93

=0A

< 7 > Calibrating delay loop...39.55 BogoMIPS(lpj=3D79104) =E2= =80=93

=0A

< 4 > M= ount-cache hashtable entries : 512 =E2=80=93

= =0A

<= FONT face=3D"Courier New">< 6 > io scheduler noop registered =E2=80= =93

=0A

< 6 > io s= cheduler anticipatory registered =E2=80=93

=0A=

< 6 > io scheduler deadline registered =E2=80= =93

=0A

< 6 > io s= cheduler cfq registered (default) =E2=80=93

= =0A

<= FONT face=3D"Courier New">< 6 > Generic RTC Driver v1.07 =E2=80=93

=0A

< 6 > Serial : C= PM driver $Revision : 0.02 $ -

=0A

< 6 > cpm_uart : WARNING : no UART devices found on plator= m bus! =E2=80=93

=0A

<= ; 6 > cpm_uart : the driver will guess configuration, but this mode is n= o longer supported. =E2=80=93

=0A

< 6 > ttyCPM0 at MMIO 0xffe00a00 (irq =3D 46) is a CPM UART= =E2=80=93

=0A

< 3 &g= t; i8042.c : No controller found. =E2=80=93

= =0A

<= FONT face=3D"Courier New">< 6 > mice : PS/2 mouse device common for a= ll mice =E2=80=93

=0A

&l= t; 4 > VFS : Cannot open rootdevice "<NULL>"or unknown-block(0,0) = =E2=80=93

=0A

< 4 >= ; Please append a correct "root=3D" boot option; here are the available par= titions : -

=0A

< 0= > Kernel panic =E2=80=93 notsyncing : VFS : Unable to mount root fs on = unknown-block(0,0) =E2=80=93

=0A
< 0 > Rebooting in 180seconds.. - -= - - - - - - - - - - - - - - - - - - - - - 
=0A
 
=0A
I= n this log, it seems that I have 2 problems, UART and FileSystem. At this m= oment, I'm not using an initrd image. I will use it in the futur, I hope th= at the problem with the UART is not due to the non use of the initrd i= mage.
=0A
Someone can help me with my UART problem= please ?
=0A
Thanks.<= /SPAN>

=0A=0A=0A
=0AEnvoy=C3=A9 avec Ya= hoo! Mail.
Une boite mail plus intelligente. --0-29168941-1217321220=:17571--