From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ciblZ-00016I-R4 for barebox@lists.infradead.org; Tue, 28 Feb 2017 07:00:11 +0000 Date: Tue, 28 Feb 2017 07:59:47 +0100 From: Sascha Hauer Message-ID: <20170228065947.q26xmiy5xyph3mnz@pengutronix.de> References: <20170225205242.18106-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170225205242.18106-1-u.kleine-koenig@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 0/4] mvebu: Make 2nd-stage booting possible To: Uwe =?iso-8859-15?Q?Kleine-K=F6nig?= Cc: barebox@lists.infradead.org On Sat, Feb 25, 2017 at 09:52:38PM +0100, Uwe Kleine-K=F6nig wrote: > Hello, > = > one specialty of mvebu is that it has a movable register window. Its > base address is configured within this register range, so there is no > way to find out the current position. The BootROM leaves this window at > 0xd0000000, however it is beneficial to move it further to the end of > the address range (usually 0xf1000000) to benefit from more continuous > RAM. For this reason one of the first things that barebox does it to > move the window accordingly. If however barebox is loaded as a second > stage image this results in a crash as the register base address > register is already moved. > = > This series implements that the called image gets the base address from > the barebox header. It defaults to 0xd0000000 which is right for the > (unaware) BootROM and when barebox jumps into such an image the register > position is passed accordingly. This makes the 2nd stage images unnecessary, right? Can you remove them from images/Makefile.mvebu? Sascha -- = Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox