Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gpX7u-0007uV-Qu for mharc-grub-devel@gnu.org; Fri, 01 Feb 2019 06:36:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpX7t-0007uM-AB for grub-devel@gnu.org; Fri, 01 Feb 2019 06:36:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpX7r-0006hM-6c for grub-devel@gnu.org; Fri, 01 Feb 2019 06:36:53 -0500 Received: from mx2.suse.de ([195.135.220.15]:40584 helo=mx1.suse.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gpX7q-0006SX-Jj for grub-devel@gnu.org; Fri, 01 Feb 2019 06:36:50 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 95F18AE43; Fri, 1 Feb 2019 11:36:31 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] arm: Move initrd upper to leave more space for kernel From: Alexander Graf X-Mailer: iPhone Mail (16D39) In-Reply-To: <20190201111927.wdudyoucdo6sskrn@bivouac.eciton.net> Date: Fri, 1 Feb 2019 12:36:30 +0100 Cc: Daniel Kiper , Guillaume GARDET , grub-devel@gnu.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20190129080945.3403-1-guillaume.gardet@free.fr> <20190201104614.coyvv5imlcwbffwc@tomti.i.net-space.pl> <20190201111927.wdudyoucdo6sskrn@bivouac.eciton.net> To: Leif Lindholm X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2019 11:36:54 -0000 > Am 01.02.2019 um 12:19 schrieb Leif Lindholm : >=20 > On Fri, Feb 01, 2019 at 11:46:14AM +0100, Daniel Kiper wrote: >>> diff --git a/include/grub/arm/linux.h b/include/grub/arm/linux.h >>> index 712ba17b9..d0b24d474 100644 >>> --- a/include/grub/arm/linux.h >>> +++ b/include/grub/arm/linux.h >>> @@ -42,7 +42,7 @@ struct linux_arm_kernel_header { >>> #if defined GRUB_MACHINE_UBOOT >>> # include >>> # define LINUX_ADDRESS (start_of_ram + 0x8000) >>> -# define LINUX_INITRD_ADDRESS (start_of_ram + 0x02000000) >>> +# define LINUX_INITRD_ADDRESS (start_of_ram + 0x03000000) >>> # define LINUX_FDT_ADDRESS (LINUX_INITRD_ADDRESS - 0x10000) >>> # define grub_arm_firmware_get_boot_data grub_uboot_get_boot_data >>> # define grub_arm_firmware_get_machine_type grub_uboot_get_machine_type >>> @@ -50,7 +50,7 @@ struct linux_arm_kernel_header { >>> #include >>> #include >>> # define LINUX_ADDRESS (start_of_ram + 0x8000) >>> -# define LINUX_INITRD_ADDRESS (start_of_ram + 0x02000000) >>> +# define LINUX_INITRD_ADDRESS (start_of_ram + 0x03000000) >>> # define LINUX_FDT_ADDRESS (LINUX_INITRD_ADDRESS - 0x10000) >>> static inline const void * >>> grub_arm_firmware_get_boot_data (void) >>=20 >> LGTM, however, I would like to hear Alex's and/or Leif's (CC-ed) opinion >> about theses changes. Heh, I suggested it :). >=20 > I don't see an issue with it. (Only platforms likely to be affected > would be ones with very little RAM and large initrds.) >=20 > However, I would like to point out that U-Boot builds with the UEFI > interface enabled can use the arm-efi platform instead, and would then > not be suffering from this issue to start with. We are actually booting with atm-efi, but then have grub boot using the lega= cy protocol atm. The plan is to move to a native efi boot path further down t= he road. Either way: Acked-by: Alexander Graf Alex