public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] arm: mvebu: limit OpenBlocks AX3-4 to 1 GB of RAM
Date: Mon, 7 Jan 2013 12:07:12 +0100	[thread overview]
Message-ID: <20130107110712.GT3392@lunn.ch> (raw)
In-Reply-To: <20130107094747.GR3392@lunn.ch>

On Mon, Jan 07, 2013 at 10:47:47AM +0100, Andrew Lunn wrote:
> On Sun, Jan 06, 2013 at 11:53:12PM +0100, Thomas Petazzoni wrote:
> > Dear Gregory CLEMENT,
> > 
> > On Sun, 06 Jan 2013 22:36:58 +0100, Gregory CLEMENT wrote:
> > 
> > > Until now I didn't notice any problem on this board with the 3GB enable.
> > > 
> > > I made more tests since I received this email, I booted (cold and hot boot)
> > > the board dozens of times, and indeed every 5 or 10 reboot the kernel hanged
> > > during boot at line:
> > > "UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)"
> > 
> > I think it hangs at the same place here.
> > 
> > > After applying your patch, I didn't notice any hang after 20 boots. Do you
> > > have a test pattern which make the kernel to hang each time to be sure that
> > > it is the root of the problem?
> > 
> > No, I don't have a specific pattern. It just hangs from time to time.
> > Maybe 1 boot out of 5 or something like that. And it just hangs like it
> > did for you.
> 
> Hi Thomas, Gregory
> 
> I've been testing my board some more, using the PlatHome kernel
> installed on the device as i received it. I've rebooted the device 20
> times and not had a single problem.
> 
> I will now swap to a mainline kernel, 3.8-rc2 plus UART patch.

Hi Thomas, Gregory

So, twenty reboots later, no problems at all with 3.8-rc2. Got to
user space every time.

So, what are we doing differently?

BootROM 1.15
Booting from NOR flash
DDR3 Training Sequence - Ver 2.5.DDR3 Training Sequence - Registered DIMM WL -  
BootROM: Image checksum verification PASSED
 ** LOADER **


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

Do you have the same version?

I'm tftpbooting:

setenv bootargs root=/dev/ram console=ttyS0,115200 earlyprintk ; tftpboot 0x80000000 openblocks-dev; bootm

My image contain the kernel and a buildroot rootfs included within the
kernel image and DT is appended. I load it to address 0x80000000,
which puts it at the beginning of CS 3:

DRAM:   3 GB
       CS 0: base 0x00000000 size  1 GB
       CS 2: base 0x40000000 size  1 GB
       CS 3: base 0x80000000 size  1 GB

Thanks
	Andrew

  reply	other threads:[~2013-01-07 11:07 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-04 16:04 arm: mvebu: DT fixes for 3.8 Thomas Petazzoni
2013-01-04 16:04 ` [PATCH 1/4] arm: mvebu: limit OpenBlocks AX3-4 to 1 GB of RAM Thomas Petazzoni
2013-01-04 17:26   ` Andrew Lunn
2013-01-04 17:31     ` Thomas Petazzoni
2013-01-04 17:37       ` Andrew Lunn
2013-01-04 18:03         ` Thomas Petazzoni
2013-01-06 21:36           ` Gregory CLEMENT
2013-01-06 22:53             ` Thomas Petazzoni
2013-01-07  9:47               ` Andrew Lunn
2013-01-07 11:07                 ` Andrew Lunn [this message]
2013-01-07 11:26                   ` Thomas Petazzoni
2013-01-07 11:34                     ` Andrew Lunn
2013-01-07 12:27                       ` Gregory CLEMENT
2013-01-07 13:22                         ` Andrew Lunn
2013-02-26 15:20                       ` Thomas Petazzoni
2013-02-27  7:03                         ` Andrew Lunn
2013-02-27  8:33                           ` Thomas Petazzoni
2013-01-04 16:04 ` [PATCH 2/4] arm: mvebu: Armada XP MV78230 has two cores, not one Thomas Petazzoni
2013-01-04 16:04 ` [PATCH 3/4] arm: mvebu: Armada XP MV78230 has only three Ethernet interfaces Thomas Petazzoni
2013-01-04 16:04 ` [PATCH 4/4] arm: mvebu: indentation fixes for Armada 370/XP .dtsi files Thomas Petazzoni
2013-01-06  9:03   ` Andrew Lunn
2013-01-07 16:53     ` Thomas Petazzoni
2013-01-07 16:55       ` Jason Cooper
2013-01-07 17:04         ` Thomas Petazzoni
2013-01-07 17:08           ` Jason Cooper

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=20130107110712.GT3392@lunn.ch \
    --to=andrew@lunn.ch \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox