From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from n67.bullet.mail.sp1.yahoo.com (n67.bullet.mail.sp1.yahoo.com [98.136.44.47]) by ozlabs.org (Postfix) with SMTP id 80087DE162 for ; Wed, 3 Sep 2008 08:36:25 +1000 (EST) Date: Tue, 2 Sep 2008 15:36:17 -0700 (PDT) From: Laxmikant Rashinkar Subject: Re: Compile new kernel for 5200B w/ ELDK To: =?iso-8859-1?Q?Albrecht_Dre=DF?= , linuxppc-embedded@ozlabs.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-57730028-1220394977=:36930" Message-ID: <560405.36930.qm@web46310.mail.sp1.yahoo.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0-57730028-1220394977=:36930 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I had the same problem as you.=0A=0AFor what its worth, here is what I adde= d to the end of my .dts file to get my console working for a MPC8347 embedd= ed systems=0A=0Achosen {=0A linux,stdout-path =3D &serial0;=0A};=0A= =0AAlso, since I use uboot and not OF, I load the cuImage file instead of t= he uImage file=0A=0A=0Athanks=0ALK=0A=0A=0A----- Original Message ----=0AFr= om: Albrecht Dre=DF =0ATo: linuxppc-embedded@ozlab= s.org=0ASent: Tuesday, September 2, 2008 10:18:15 AM=0ASubject: Re: Compile= new kernel for 5200B w/ ELDK=0A=0AHi Detlev:=0A=0AAm 01.09.08 16:42 schrie= b(en) Detlev Zundel:=0A> Use a recent kernel version. 2.6.26 should work o= ut of the box =0A> without too much hassle. Some of the older versions ha= d problems =0A> effectively stalling Linux very early without any output o= n the =0A> console.=0A=0AThanks a lot for your hint, but unfortunately it = doesn't solve my =0Aproblem:=0A- downloaded 2.6.26.3 from kernel.org;=0A- = called "make ARCH=3Dpowerpc CROSS_COMPILE=3Dppc_6xx- =0A52xx/lite5200b_def= config";=0A- called "make ARCH=3Dpowerpc CROSS_COMPILE=3Dppc_6xx- uImage".= =0A=0AHowever, even with "console=3DttyPSC0,115200 verbose panic=3D1" in th= e =0Abootargs, the kernel simply doesn't say /anything/ after decompressio= n:=0A=0A=0A=3D> bootm=0A## Booting kernel from Legacy Image at 010000= 00 ...=0A Image Name: Linux-2.6.26.3=0A Created: 2008-09-02 = 9:11:12 UTC=0A Image Type: PowerPC Linux Kernel Image (gzip compressed= )=0A Data Size: 1341904 Bytes =3D 1.3 MB=0A Load Address: 0000000= 0=0A Entry Point: 00000000=0A Verifying Checksum ... OK=0A Uncomp= ressing Kernel Image ... OK=0A=0A=0ADo I understand the remark in = =0ADocumentation/powerpc/booting-without-of.txt, section "The /chosen =0An= ode", correctly that it is *not* necessary to add it to the dts file =0Aas= u-boot 1.3.4 should fill it in automatically? Anyway, adding this =0Asec= tion doesn't change anything...=0A=0AHELP! I'm really lost here...=0A=0ATh= anks, Albrecht.=0A=0A=0A=0A --0-57730028-1220394977=:36930 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I had the same problem as you.

For what its wor= th, here is what I added to the end of my .dts file to get my console worki= ng for a MPC8347 embedded systems

chosen {
      &= nbsp; linux,stdout-path =3D &serial0;
};

Also, since I use ub= oot and not OF, I load the cuImage file instead of the uImage file

thanks
LK

----- Original Message ----
From: Albrech= t Dre=DF <albrecht.dress@arcor.de>
To: linuxppc-embedded@ozlabs.or= g
Sent: Tuesday, September 2, 2008 10:18:15 AM
Subject: Re: Compile n= ew kernel for 5200B w/ ELDK

=0AHi Detlev:

Am 01.09.08 16:42 s= chrieb(en) Detlev Zundel:
> Use a recent kernel version.  2.6.26= should work out of the box 
> without too much hassle.  S= ome of the older versions had problems 
> effectively stalling = Linux very early without any output on the 
> console.

T= hanks a lot for your hint, but unfortunately it doesn't solve my 
= problem:
- downloaded 2.6.26.3 from kernel.org;
- called "make ARCH=3Dpowerpc CROSS_COMPILE= =3Dppc_6xx- 
52xx/lite5200b_defconfig";
- called "make ARCH=3Dp= owerpc CROSS_COMPILE=3Dppc_6xx- uImage".

However, even with "console= =3DttyPSC0,115200 verbose panic=3D1" in the 
bootargs, the kernel = simply doesn't say /anything/ after decompression:

<snip>
= =3D> bootm
## Booting kernel from Legacy Image at 01000000 ...
&nb= sp;   Image Name: =20 Linux-2.6.26.3
    Created:      2008-09-02&nb= sp; 9:11:12 UTC
    Image Type:  PowerPC Linux Kernel I= mage (gzip compressed)
    Data Size:    1341904 Byt= es =3D  1.3 MB
    Load Address: 00000000
   = ; Entry Point:  00000000
    Verifying Checksum ... OK    Uncompressing Kernel Image ... OK
</snip>

Do= I understand the remark in 
Documentation/powerpc/booting-without= -of.txt, section "The /chosen 
node", correctly that it is *not* n= ecessary to add it to the dts file 
as u-boot 1.3.4 should fill it= in automatically?  Anyway, adding this 
section doesn't chan= ge anything...

HELP!  I'm really lost here...

Thanks, Al= brecht.

=0A=0A=0A=0A --0-57730028-1220394977=:36930--