From: Scott Wood <scottwood@freescale.com>
To: Kay One <kayone007@gmail.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [Doubt] PPC Linux Device Tree Update
Date: Mon, 11 Jun 2012 15:14:16 -0500 [thread overview]
Message-ID: <4FD65198.7000808@freescale.com> (raw)
In-Reply-To: <CAL3nkH-HAwRngz2Ob7R_AB0YSDbSVGi6AWNEEaiwQXbcHvwGSw@mail.gmail.com>
On 06/11/2012 02:52 AM, Kay One wrote:
> Hi All,
>
> Currently I am working on p1020rdb soc for some kernel bringing up activity.
> I have come across one requirement to update the memory map (MMAP) of
> kernel from evaluation board to
> some other board who is having the same soc.
>
> for my eval board I have used the p1020rdb.dts file from 2.6.38 standard
> kernel source.
Why not start with the latest version?
> (PFA) which is working almost fine.
> But, I am really not able to find the following mapping as a part of the
> attached dts file what I am using.
> Can anyone please point me out that dts file is the only one to search
> out following base addresses selected in memory map or is there
> some specific file of kernel inside which I will be able to search
> through to find the following base addresses?
>
> FFFF_F000 4 KB .bootpg
This is not expressed in the device tree, though it is marked reserved
by U-Boot in the reserve map (part of the dtb, but not part of the
actual tree).
> FFE0_0000 1 MB CCSR
That's the "soc" node.
> EC00_0000 64 MB Flash + alias
/localbus@ffe05000/nor@0,0/
...but it's at 0xef00_0000 according to the tree you attached.
Read the ePAPR spec for a description of how the ranges property works.
> 8000_0000 1 GB PCI[1:2] mem
> FFC0_0000 256 KB PCI[1:2] I/O
These are encoded in the ranges property of the relevant PCIe node (see
version 1.0 of the ePAPR spec for how), but I don't see one with those
specific addresses. I don't know what the [1:2] is supposed to mean.
> FFB0_0000 1 MB VTSS
/localbus@ffe05000/L2switch@2,0/
> FFA0_0000 1 MB CPLD
Not represented in the device tree. The device tree shows NAND at this
address.
> FF80_0000 1 MB NAND
/localbus@ffe05000/nand@1,0/
...but with a different address, as noted above.
> 0000_0000 1 GB DDR
/memory
U-Boot fills in the reg property.
-Scott
prev parent reply other threads:[~2012-06-11 20:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-11 7:52 [Doubt] PPC Linux Device Tree Update Kay One
2012-06-11 20:14 ` Scott Wood [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=4FD65198.7000808@freescale.com \
--to=scottwood@freescale.com \
--cc=kayone007@gmail.com \
--cc=linuxppc-dev@lists.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.