Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VxPPO-0004Ag-Ck for mharc-grub-devel@gnu.org; Sun, 29 Dec 2013 18:04:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxPPF-00049m-R3 for grub-devel@gnu.org; Sun, 29 Dec 2013 18:04:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxPP8-0003Jk-4p for grub-devel@gnu.org; Sun, 29 Dec 2013 18:04:25 -0500 Received: from mail-wi0-f177.google.com ([209.85.212.177]:60494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxPP7-0003Jg-V4 for grub-devel@gnu.org; Sun, 29 Dec 2013 18:04:18 -0500 Received: by mail-wi0-f177.google.com with SMTP id cc10so11099387wib.10 for ; Sun, 29 Dec 2013 15:04:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=vyB+clralapN5OMigEZsqdpaEortzUp9sNxjUtKznkI=; b=ibN9SKOqn5AE8ojKHXc2XdI1aLvN54EnGLRYyRYfbeaJ1V93iSPKfOIAsh05plvIDG 8GYY+a8EtoXj6PJ3R18JI3GGDTncvu2e1fbpmSxG+JxogTVKbZXVgONFoDNzW1xHKRga eTO7e7HHFSzstjNGZYIKJelaLl9kWfA94H0x6ZvgW4yOUV+dIlbKe3flp3tjEvO6/7bY JZX1pzuARgMhFNFWdMnyFiXttUdb8Rh2R+bbmeNOAU+eGudEC2e0TnYEpnNYtu6vNBfR T5osqpKlm8tLaKOKICXONDqC2iL+NW7J1DnFy9kwRCDE9AEA4/MRa7o3hNLwBgmxjJfR eBrw== X-Gm-Message-State: ALoCoQm9d7UE0EFHhqT1uODfcQbTvBVUg3P4rfKz9qneiJ858sWYmdPaaKxJm+Zmbn60+dIslhrh X-Received: by 10.194.243.170 with SMTP id wz10mr96849wjc.74.1388358257085; Sun, 29 Dec 2013 15:04:17 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [46.235.226.95]) by mx.google.com with ESMTPSA id ed13sm24918612wic.9.2013.12.29.15.04.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 29 Dec 2013 15:04:16 -0800 (PST) Date: Sun, 29 Dec 2013 23:04:17 +0000 From: Leif Lindholm To: Ian Campbell Subject: Re: [PATCH 0/7] arm-uboot: support for different RAM bases Message-ID: <20131229230416.GB29433@bivouac.eciton.net> References: <1388342839.32105.25.camel@hastur.hellion.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1388342839.32105.25.camel@hastur.hellion.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.212.177 Cc: grub-devel@gnu.org, Vladimir Serbinenko X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 23:04:33 -0000 Hi Ian, On Sun, Dec 29, 2013 at 06:47:19PM +0000, Ian Campbell wrote: > The current arm-uboot image type is hardcoded to run at address > 0x08000000 which means that it cannot be used on ARM systems which do > not have RAM starting from address 0 (which is many of them). This is a > bit of a problem for distros. > > The following series attempts to address this by only performing a > partial link of the arm-uboot kernel.img at build time and enhancing > grub-mkimage to finalise the link to a specific address while building > the core.img. Good stuff. > I have test this on a Midway system, which has RAM at address 0, linking > to a variety of addresses (0x{0,1,4}8000000) and on a cubieboard2 which > has RAM at 0x40000000-0x80000000 linked at 0x48000000. (there is an > unrelated issue on cubieboard2 relating to the scan for the uboot API > signature, which I'm still investigating, but I hacked around it here > and things worked fine otherwise). We can add BeagleBone Black to the list (0x88000000 and 0x90000000). (Although I'm having issues actually booting Linux on it, which I had when I just manually changed the link address, GRUB runs fine.) / Leif