All of lore.kernel.org
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: linuxppc-embedded@ozlabs.org
Subject: Re: Is the linux-2.6.25.4 compatible with freescale lite5200b?
Date: Sat, 07 Jun 2008 13:03:17 +0200	[thread overview]
Message-ID: <m2hcc54idm.fsf@ohwell.denx.de> (raw)
In-Reply-To: 161B3BAD77161449A144FF054231C3D6022A3550@uss-am-xch-01.am.trimblecorp.net

Hi Mike,

> You are closer than you think with the ARCH=powerpc. You need to load one more
> binary file into ram and specify one more address for bootm. You need to load
> the device tree blob (DENX addresses this at http://www.denx.de/wiki/view/DULG/
> LinuxFDTBlob). Thanks again DENX?

As you may have noticed, this is a wiki, so many people participated in
writing up the documentation...

> Following your ARCH=powerpc build you should see a NEW file in your build
> output: rootfs/boot/lite5200b.dtb

Just as a reminder, as U-Boot needs to fill in at least the "chosen"
node in the fdt passed to the kernel, we have to reserve some space in
the .dtb file.  This can easily be done during the "normal" kernel
compilation by

export DTS_FLAGS="-R4 -S0x3000"

before the compilation.

> 1)       edit arch/powerpc/boot/dts/lite5200b.dts
>
> a.       change line 45 to:        reg = <00000000 8000000>   // change to 128M
> from 256M.

Someone needs to look into this, because usually the amount of RAM
should be passed correctly to the Linux kernel after dynamically finding
the correct amount.

Cheers
  Detlev

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu@denx.de

      reply	other threads:[~2008-06-07 11:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-04  2:55 Is the linux-2.6.25.4 compatible with freescale lite5200b? Henry Chen
2008-06-04 16:42 ` Detlev Zundel
2008-06-05 16:20 ` Mike Timmons
     [not found]   ` <dc1bef900806052346k4a9134bo3a995c4bf3f7b3bc@mail.gmail.com>
2008-06-06  8:27     ` Mike Timmons
2008-06-07 11:03       ` Detlev Zundel [this message]

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=m2hcc54idm.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --cc=linuxppc-embedded@ozlabs.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.