[PATCH 1/4] arm: mvebu: limit OpenBlocks AX3-4 to 1 GB of RAM

Andrew Lunn
2013-02-27T07:03:33Z

On Tue, Feb 26, 2013 at 04:20:23PM +0100, Thomas Petazzoni wrote:
> Dear Andrew Lunn,
>
> On Mon, 7 Jan 2013 12:34:11 +0100, Andrew Lunn wrote:
> > > Image is also with an initramfs + appended DTB. My boot command is:
> > >
> > > tftp 1000000 192.168.0.14:uImage.armada-xp-openblocks-ax3-4; bootm
> > >
> > > So I'm loading to a different address than you.
> >
> > Hi Thomas
> >
> > Uboot tells me:
> >
> > DRAM: 3 GB
> > CS 0: base 0x00000000 size 1 GB
> > CS 2: base 0x40000000 size 1 GB
> > CS 3: base 0x80000000 size 1 GB
> > Addresses 14M - 0M are saved for the U-Boot usage.
> >
> > 1000000 would be towards the beginning of this area reserved for uboot.
> >
> > Could you try moving to somewhere outside of the first 14Mbytes and
> > see if that helps.
>
> Jumping back on this old topic of the OpenBlocks AX3 not being stable
> with 3 GB of RAM for Gr??gory and me, but being stable for you. Could
> you check which revision of the Armada XP you have? Is it A0 or B0?
>
> I.e, check the message:
>
> SoC: MV78460 B0
>
> in U-Boot. Gr??gory and I are using OpenBlocks AX3 based on the A0
> version of the silicon (so the message I copy/pasted above is *not*
> from our OpenBlocks, but a different Armada XP board). However,
> PlatHome has been shipping since some time B0 revisions. Maybe it could
> explain the difference we're seeing?

Hi Thomas

My machine is an A0.

U-Boot 2009.08 (Jul 27 2012 - 18:23:11)
Plat'Home version: 1.1.1 (Base: Marvell BSP 2.2.3 NQ)

U-Boot Addressing:
Code: 00600000:006BFFF0
BSS: 0070D6A0
Stack: 0x5fff70
PageTable: 0x8e0000
Heap address: 0x900000:0xe00000
Board: OpenBlocks AX3
SoC: MV78260 A0
running 2 CPUs
Custom configuration
CPU: Marvell PJ4B (584) v7 (Rev 2) LE
CPU # 0
CPU @ 1333Mhz, L2 @ 667Mhz
DDR @ 667Mhz, TClock @ 250Mhz
DDR 64Bit Width, FastPath Memory Access
DDR ECC Disabled
PEX 0.0(0): Detected No Link.
PEX 0.1(1): Detected No Link.
DRAM: 3 GB
CS 0: base 0x00000000 size 1 GB
CS 2: base 0x40000000 size 1 GB
CS 3: base 0x80000000 size 1 GB
Addresses 14M - 0M are saved for the U-Boot usage.
Flash: 128 MB
POST: mac verify Eth0 PASSED Eth1 PASSED Eth2 PASSED Eth3 PASSED
FPU initialized to Run Fast Mode.
USB 0: Host Mode
USB 1: Host Mode
USB 2: Device Mode
Power Off External Interface
Modules Detected:
MMC: MRVL_MMC: 0
Net: egiga0, egiga1, egiga2, egiga3

I know you recently found some issue with windows. Could that explain
something?

Andrew