Return-Path: Received: from n78.bullet.mail.sp1.yahoo.com (n78.bullet.mail.sp1.yahoo.com [98.136.44.42]) by ozlabs.org (Postfix) with SMTP id 689AFDE7BB for ; Fri, 22 Aug 2008 07:12:16 +1000 (EST) Date: Thu, 21 Aug 2008 14:12:15 -0700 (PDT) From: Laxmikant Rashinkar Subject: Re: porting linux 2.6.27 to embedded powerpc board To: Scott Wood , David Jander MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-701845607-1219353135=:22152" Message-ID: <750378.22152.qm@web46310.mail.sp1.yahoo.com> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0-701845607-1219353135=:22152 Content-Type: text/plain; charset=us-ascii Just wanted to thank all of you for the detailed feedback and suggestions. I am going to try them out now and keep my fingers crossed. thanks again LK ----- Original Message ---- From: Scott Wood To: David Jander Cc: linuxppc-embedded@ozlabs.org; Laxmikant Rashinkar Sent: Thursday, August 21, 2008 9:12:23 AM Subject: Re: porting linux 2.6.27 to embedded powerpc board David Jander wrote: > 4. Be sure that the device(s) necessary to produce output on your console are > correctly placed in the DT. Also make sure that u-boot knows about it > (#define OF_STDOUT_PATH... in your u-boot board config file) OF_STDOUT_PATH is deprecated; you should enable CONFIG_OF_SERIAL_VIA_ALIAS, and provide aliases in the device tree for serial0, serial1, etc. > 6. Remember to always specify the "rootfstype=" option on the commandline if > booting from anything other than NFS. This was not necessary back in the > 2.6.15-times AFAICR. It still should not be necessary. > 7. Boot with a device-tree (in u-boot: "bootm $addrofkernel - $addrofdtb", > don't forget the dash if you are not using an initrd). If you don't do this, > u-boot can't fix your DT, and the kernel probably won't find it either. s/probably/definitely/ > 8. Be sure to use the correct version of the DTC (DT compiler) for your kernel > (the sources are included nowadays, somewhere in arch/powerpc/boot IIRC). The > command used to compile, should probably be something like this: Or just use the most recent DTC. -Scott --0-701845607-1219353135=:22152 Content-Type: text/html; charset=us-ascii
Just wanted to thank all of you for the detailed feedback and suggestions.
I am going to try them out now and keep my fingers crossed.

thanks again
LK

----- Original Message ----
From: Scott Wood <scottwood@freescale.com>
To: David Jander <david.jander@protonic.nl>
Cc: linuxppc-embedded@ozlabs.org; Laxmikant Rashinkar <lk.atwork@yahoo.com>
Sent: Thursday, August 21, 2008 9:12:23 AM
Subject: Re: porting linux 2.6.27 to embedded powerpc board

David Jander wrote:
> 4. Be sure that the device(s) necessary to produce output on your console are
> correctly placed in the DT. Also make sure that u-boot knows about it
> (#define OF_STDOUT_PATH... in your u-boot board config file)

OF_STDOUT_PATH is deprecated; you should enable
CONFIG_OF_SERIAL_VIA_ALIAS, and provide aliases in the device tree for
serial0, serial1, etc.

> 6. Remember to always specify the "rootfstype=" option on the commandline if
> booting from anything other than NFS. This was not necessary back in the
> 2.6.15-times AFAICR.

It still should not be necessary.

> 7. Boot with a device-tree (in u-boot: "bootm $addrofkernel - $addrofdtb",
> don't forget the dash if you are not using an initrd). If you don't do this,
> u-boot can't fix your DT, and the kernel probably won't find it either.

s/probably/definitely/

> 8. Be sure to use the correct version of the DTC (DT compiler) for your kernel
> (the sources are included nowadays, somewhere in arch/powerpc/boot IIRC). The
> command used to compile, should probably be something like this:

Or just use the most recent DTC.

-Scott


--0-701845607-1219353135=:22152--