From patchwork Wed Nov 28 14:31:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 152271 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1160658ljp; Wed, 28 Nov 2018 06:31:36 -0800 (PST) X-Google-Smtp-Source: AFSGD/VHTuXoBj7osW6tbFw2CuBNmestDyVLm5XPbW+6LBeTvS1LMJwdy3YUe57TZNhnVNKs+Awo X-Received: by 2002:a25:504e:: with SMTP id e75-v6mr37943493ybb.41.1543415496240; Wed, 28 Nov 2018 06:31:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543415496; cv=none; d=google.com; s=arc-20160816; b=mXosm8xu2XnHJiHVxBeTR97+z91BLH+cmWN/ta0wFzXRF7gnHZpf81teKwY5fRNjw8 bREq5+Qr3EY7j7I8SSznl0roMZC+Ba34hEVN2K1QIx/zQVN2PpsFxrVHWBdZDL/7DCgU YKERUzuXcdeLgqlZyjMP/q+tEb073uSqWZF4Vn8/CAd+E8AusHHC2CcueYP6QWr1EICp musySzRxu1HwhCvrA+yZWO+Nwb9bLBABFIC55z9kct7myYnoAIY1bPDjEy7ynGKifLfG CQsSZ8zwBmH79+flHeoYHvYWWpCxeti72RB5W7vCvhHVmrZ9YY5R2JGUtItcBGcZwqca en8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from; bh=wlIQLiizygve0dUeFpJw8/BBIqVA05JgpjUFHmuHDPA=; b=b5WI67GKFvkIbpGrnmDmkJYsUDjzx5BQqdZEuba3hedHK4//nmGJPfU+7bVUK074tK yiE8aVN8K2g0bWaGnmuJx2a1khthx1+tniJZ6j7UliuN+m8kXjB29xrBhhBNJMuaokUF FyNM3bCYkUID9ha0gCljv8ZxijyQq11vn4J1lg0OWoJil0/ca4OZdO0CV/82vK2+IfUx wmntyiFflg2s+7Gspwu8A1mHV/aqO0LHMfEBy4IaMgB/a9JXA5FNlWaHebG5PSbMKAo4 GVT6TtVkgun28gnwQrw1o6AO5h4P7sNW0sQTYDY4ZaHSXJgA94aEtpHR6JzG/Vmiijk5 72bw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="grub-devel-bounces+patch=linaro.org@gnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id h5si5172825ywk.337.2018.11.28.06.31.36 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 28 Nov 2018 06:31:36 -0800 (PST) Received-SPF: pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="grub-devel-bounces+patch=linaro.org@gnu.org" Received: from localhost ([::1]:48053 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gS0sJ-0001su-Fp for patch@linaro.org; Wed, 28 Nov 2018 09:31:35 -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 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: , Reply-To: The development of GNU GRUB Cc: Nicolas Dechesne , Jon Masters , leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: grub-devel-bounces+patch=linaro.org@gnu.org Sender: "Grub-devel" 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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel