From: marek.vasut@gmail.com (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: pxa300 - DDRAM base value
Date: Sun, 6 Jun 2010 18:34:50 +0200 [thread overview]
Message-ID: <201006061834.50297.marek.vasut@gmail.com> (raw)
In-Reply-To: <AANLkTil5TWYILcdp872as8S8LMqQWhPYWLt7cxs2lUm5@mail.gmail.com>
Dne Ne 6. ?ervna 2010 10:17:00 Eric Miao napsal(a):
> On Sun, Jun 6, 2010 at 1:19 AM, Marek Vasut <marek.vasut@gmail.com> wrote:
> > Dne ?t 1. ?ervna 2010 07:44:18 balakrishnan napsal(a):
> >> I am working on pxa300 based development board and using Linux 2.6.34.
> >> This Linux kernel already has support for following boards
> >> 1. zylonite_pxa300
> >> 2. cm-x300
> >> 3. colibri-pxa300
> >> 4. littleton
> >>
> >> My doubt is that pxa300 based boards are using "0xa0000000" as DDRAM
> >> base and PHYS_OFFSET is also defined in
> >> "arch/arm/mach-pxa/include/mach/memory.h" as 0xa0000000.
> >> But in our board DDR is mapped in 0x80000000. Does it make any
> >> problem?. Because after mmu is turned ON, my board is hanging.
> >>
> >> "zreladdr-y := 0x80008000" is defined in
> >> "arch/arm/mach-pxa/Makefile.boot" file .
> >> my machine_desc is as follows
> >> .phys_io = 0x40000000,
> >> .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc,
> >> .boot_params = 0x80000100,
> >
> > Try editing both arch/arm/mach-pxa/Makefile.boot and
> > arch/arm/mach/pxa/include/mach/memory.h
> >
> >> With Thanks
> >> J.Balakrishnan
> >
> > The 0x80000000 should be aliased to 0xa0000000, but looking into the PXA
> > docs, it is only on pxa320. Eric, any ideas on this ?
>
> Should be working on pxa300/310 as well. If it doesn't, check you
> bootloader to make sure the mapping is OK, and memory doesn't exceed
> (0xa000_0000 - 0x8000_0000).
It worked last time I used the pxa310 littleton board, but I can't check on the
pxa300 zylonite board just yet.
Could you give us your bootloader details ?
WARNING: multiple messages have this Message-ID (diff)
From: Marek Vasut <marek.vasut@gmail.com>
To: Eric Miao <eric.y.miao@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org,
balakrishnan <balakrishnan@e-consystems.com>,
linux-kernel@vger.kernel.org,
Maharajan <maharajan@e-consystems.com>
Subject: Re: pxa300 - DDRAM base value
Date: Sun, 6 Jun 2010 18:34:50 +0200 [thread overview]
Message-ID: <201006061834.50297.marek.vasut@gmail.com> (raw)
In-Reply-To: <AANLkTil5TWYILcdp872as8S8LMqQWhPYWLt7cxs2lUm5@mail.gmail.com>
Dne Ne 6. června 2010 10:17:00 Eric Miao napsal(a):
> On Sun, Jun 6, 2010 at 1:19 AM, Marek Vasut <marek.vasut@gmail.com> wrote:
> > Dne Út 1. června 2010 07:44:18 balakrishnan napsal(a):
> >> I am working on pxa300 based development board and using Linux 2.6.34.
> >> This Linux kernel already has support for following boards
> >> 1. zylonite_pxa300
> >> 2. cm-x300
> >> 3. colibri-pxa300
> >> 4. littleton
> >>
> >> My doubt is that pxa300 based boards are using "0xa0000000" as DDRAM
> >> base and PHYS_OFFSET is also defined in
> >> "arch/arm/mach-pxa/include/mach/memory.h" as 0xa0000000.
> >> But in our board DDR is mapped in 0x80000000. Does it make any
> >> problem?. Because after mmu is turned ON, my board is hanging.
> >>
> >> "zreladdr-y := 0x80008000" is defined in
> >> "arch/arm/mach-pxa/Makefile.boot" file .
> >> my machine_desc is as follows
> >> .phys_io = 0x40000000,
> >> .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc,
> >> .boot_params = 0x80000100,
> >
> > Try editing both arch/arm/mach-pxa/Makefile.boot and
> > arch/arm/mach/pxa/include/mach/memory.h
> >
> >> With Thanks
> >> J.Balakrishnan
> >
> > The 0x80000000 should be aliased to 0xa0000000, but looking into the PXA
> > docs, it is only on pxa320. Eric, any ideas on this ?
>
> Should be working on pxa300/310 as well. If it doesn't, check you
> bootloader to make sure the mapping is OK, and memory doesn't exceed
> (0xa000_0000 - 0x8000_0000).
It worked last time I used the pxa310 littleton board, but I can't check on the
pxa300 zylonite board just yet.
Could you give us your bootloader details ?
next prev parent reply other threads:[~2010-06-06 16:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-01 5:44 pxa300 - DDRAM base value balakrishnan
2010-06-05 17:19 ` Marek Vasut
2010-06-05 17:19 ` Marek Vasut
2010-06-06 8:17 ` Eric Miao
2010-06-06 8:17 ` Eric Miao
2010-06-06 16:34 ` Marek Vasut [this message]
2010-06-06 16:34 ` Marek Vasut
2010-06-07 6:29 ` balakrishnan
2010-06-07 6:58 ` Marek Vasut
2010-06-07 6:58 ` Marek Vasut
2010-06-07 19:37 ` Mike Rapoport
2010-06-07 19:37 ` Mike Rapoport
2010-06-07 19:43 ` Marek Vasut
2010-06-07 19:43 ` Marek Vasut
2010-06-08 6:21 ` Mike Rapoport
2010-06-08 6:21 ` Mike Rapoport
2010-06-06 17:03 ` Mike Rapoport
2010-06-06 17:03 ` Mike Rapoport
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=201006061834.50297.marek.vasut@gmail.com \
--to=marek.vasut@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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.