Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gS0s6-0001sc-ES for mharc-grub-devel@gnu.org; Wed, 28 Nov 2018 09:31:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gS0rw-0001ow-F2 for grub-devel@gnu.org; Wed, 28 Nov 2018 09:31:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gS0rt-0008ML-8z for grub-devel@gnu.org; Wed, 28 Nov 2018 09:31:12 -0500 Received: from mx2.suse.de ([195.135.220.15]:41142 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 1gS0rt-0008M1-21 for grub-devel@gnu.org; Wed, 28 Nov 2018 09:31:09 -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 C94A0B0E4; Wed, 28 Nov 2018 14:31:07 +0000 (UTC) From: Alexander Graf To: grub-devel@gnu.org Cc: leif.lindholm@linaro.org, Peter Jones , Jon Masters , Ard Biesheuvel , Nicolas Dechesne Subject: [PATCH 0/2] arm64: Support HP Envy X2 Date: Wed, 28 Nov 2018 15:31:05 +0100 Message-Id: <20181128143107.37583-1-agraf@suse.de> X-Mailer: git-send-email 2.12.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] 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: Wed, 28 Nov 2018 14:31:18 -0000 I got a new toy this week: An HP Envy X2 system. This is one of those shiny new Qualcomm Snapdragon based Windows tablet/notebook hybrid things. While running Windows on those is actually not a terribly bad experience now that WSL is out, I would like to see Linux run on those as well in the future. Unfortunately as far as I'm aware so far nobody was able to run self built binaries on the built-in UEFI version. Turns out, it's a problem with aligning the start of the header to 4k. Once we do that, binaries can be loaded just fine and run. So to maintain compatibility with that device, this patch set just bumps the header alignment to 4K always on arm64-efi. This shouldn't hurt too much for not affected targets and allows us to have a single grub binary that can then chain load Linux properly. Alex Alexander Graf (2): mkimage: Simplify header size logic mkimage: arm64-efi: Align first section to page util/mkimage.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) -- 2.19.0