From: Chen Baozi <baozich@gmail.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-arm@lists.xen.org, xen-devel@lists.xen.org
Subject: Re: Problems when booting on OMAP5432 devboard
Date: Mon, 1 Jul 2013 20:43:27 +0800 [thread overview]
Message-ID: <20130701124327.GA25341@cbz-workstation> (raw)
In-Reply-To: <1372682342.14691.65.camel@zakaz.uk.xensource.com>
[-- Attachment #1: Type: text/plain, Size: 2185 bytes --]
On Mon, Jul 01, 2013 at 01:39:02PM +0100, Ian Campbell wrote:
> On Mon, 2013-07-01 at 20:32 +0800, Chen Baozi wrote:
> > On Jul 1, 2013, at 8:06 PM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
> >
> > > On Mon, 2013-07-01 at 20:00 +0800, Chen Baozi wrote:
> > >
> > >>> You device has 2GB RAM, what happens if you hack the DTS to say it only
> > >>> has 1GB?
> > >>
> > >> Bingo! Compared to Arndale board, OMAP5432 uEVM's RAM is not yet 0x40000000~0xbfffffff, but 0x80000000~0xffffffff. After make the following change to DTS:
> > >>
> > >> memory {
> > >> device_type = "memory"
> > >> - reg = <0x80000000 0x80000000>; /* 2 GB */
> > >> + reg = <0x80000000 0x40000000>; /* 1 GB */
> > >> };
> > >>
> > >> I can reach the output "Xen heap: 131072 pages Dom heap: 131072 pages".
> > >
> > > Excellent!
> > >
> > > So I guess if you keep the 2GB but put it at the right address it will
> > > also work?
> >
> > I'm afraid no, :-(
> >
> > Here is how I load and boot the image both in 1GB case and 2G case (from u-boot):
> >
> > OMAP5430 EVM # fatload mmc 0 0x80000000 xen-uImage
> > reading xen-uImage
> > 902572 bytes read in 59 ms (14.6 MiB/s)
> > OMAP5430 EVM # bootm 0x80000000 -
> > ## Booting kernel from Legacy Image at 80000000 ...
> > Image Name:
> > Image Type: ARM Linux Kernel Image (uncompressed)
> > Data Size: 902508 Bytes = 881.4 KiB
> > Load Address: 80200000
> > Entry Point: 80200000
> > Verifying Checksum ... OK
> > Loading Kernel Image ... OK
> > OK
>
> > And I've also tried "fat load mmc 0 0x90000000 xen-uImage" in both
> > cases. It works for 1GB but fails in 2GB case too.
>
> What is the base address of RAM on the A31 SoC?
A31 SoC? I use OMAP5432 ES2.0 uEVM (OMAP5 Panda) board.
The attachment is the dts file which the linux kernel uses on this board by
default, which the memory line is:
reg = <0x80000000 0x80000000>; /* 2 GB */
> I don't have a DTS for
> an A31 system but all arch/arm/boot/dts/sun* (which covers A10 and A13 I
> think) have it at 0x40000000. Which means that *if* your system has 2GB
> then the correct memory line is:
> reg = <0x40000000 0x80000000>; /* 2 GB */
>
> Ian.
>
>
[-- Attachment #2: omap5-panda.dts --]
[-- Type: audio/vnd.dts, Size: 8487 bytes --]
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2013-07-01 12:43 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-27 11:55 Problems when booting on OMAP5432 devboard Chen Baozi
2013-06-27 12:10 ` Ian Campbell
2013-07-01 3:54 ` Chen Baozi
2013-07-01 8:50 ` Ian Campbell
2013-07-01 9:19 ` Chen Baozi
2013-07-01 9:30 ` Ian Campbell
2013-07-01 9:49 ` Chen Baozi
2013-07-01 9:57 ` Ian Campbell
2013-07-01 11:18 ` Chen Baozi
2013-07-01 11:31 ` Ian Campbell
2013-07-01 12:00 ` Chen Baozi
2013-07-01 12:06 ` Ian Campbell
2013-07-01 12:32 ` Chen Baozi
2013-07-01 12:39 ` Ian Campbell
2013-07-01 12:43 ` Chen Baozi [this message]
2013-07-01 12:58 ` Chen Baozi
2013-07-01 13:03 ` Ian Campbell
2013-07-01 13:43 ` Chen Baozi
2013-07-01 13:01 ` Ian Campbell
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=20130701124327.GA25341@cbz-workstation \
--to=baozich@gmail.com \
--cc=Ian.Campbell@citrix.com \
--cc=xen-arm@lists.xen.org \
--cc=xen-devel@lists.xen.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.