linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: David Jander <david.jander@protonic.nl>
Cc: Laxmikant Rashinkar <lk.atwork@yahoo.com>, linuxppc-embedded@ozlabs.org
Subject: Re: porting linux 2.6.27 to embedded powerpc board
Date: Thu, 21 Aug 2008 11:12:23 -0500	[thread overview]
Message-ID: <48AD93E7.5010304@freescale.com> (raw)
In-Reply-To: <200808211143.45782.david.jander@protonic.nl>

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

  parent reply	other threads:[~2008-08-21 16:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-20 23:24 porting linux 2.6.27 to embedded powerpc board Laxmikant Rashinkar
2008-08-21  9:43 ` David Jander
2008-08-21 14:52   ` Grant Likely
2008-08-21 16:12   ` Scott Wood [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-08-21 21:12 Laxmikant Rashinkar
2008-08-22 18:26 Laxmikant Rashinkar
2008-08-22 19:45 ` Grant Likely
2008-08-22 20:18 ` Scott Wood
2008-08-22 19:57 Laxmikant Rashinkar
2008-08-22 20:04 ` Grant Likely
2008-08-22 20:19 Laxmikant Rashinkar
2008-08-25 16:51 Laxmikant Rashinkar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48AD93E7.5010304@freescale.com \
    --to=scottwood@freescale.com \
    --cc=david.jander@protonic.nl \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=lk.atwork@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).