Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSsj9-0000VD-Ls for mharc-grub-devel@gnu.org; Mon, 08 Feb 2016 15:48:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSsj5-0000SH-Vq for grub-devel@gnu.org; Mon, 08 Feb 2016 15:48:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSsj3-0001Uy-0a for grub-devel@gnu.org; Mon, 08 Feb 2016 15:48:03 -0500 Received: from sub5.mail.dreamhost.com ([208.113.200.129]:45482 helo=homiemail-a91.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSsj2-0001Ua-RG for grub-devel@gnu.org; Mon, 08 Feb 2016 15:48:00 -0500 Received: from homiemail-a91.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a91.g.dreamhost.com (Postfix) with ESMTP id C81A4AE05B; Mon, 8 Feb 2016 12:47:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=shealevy.com; h=from:to:cc :subject:date:message-id; s=shealevy.com; bh=gFYkvQHJulXoP+8qEs4 gdio7b7k=; b=AXdOkFYCOv3t2AWgFJ6NPfMIFwgIfPOWytjHRhy8k0UcG3r3oaR 1jXTWQsy3IRR1cd2P/sUVZ3jBzhzr40zZ1xyudrE5yfSEiyojg0WK9zvl+ovUG6+ 7r2TgKFf78IvCQtelfd9LwqjL8Wck2nrLJVc12xK76ytJamJJQVKaWus= Received: from shlevy-laptop.hsd1.nh.comcast.net. (c-73-186-74-217.hsd1.nh.comcast.net [73.186.74.217]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: shea@shealevy.com) by homiemail-a91.g.dreamhost.com (Postfix) with ESMTPSA id 6B8E6AE059; Mon, 8 Feb 2016 12:47:57 -0800 (PST) From: Shea Levy To: The development of GNU GRUB Subject: [PATCH v3 0/3] Android bootimg support Date: Mon, 8 Feb 2016 15:47:36 -0500 Message-Id: <1454964459-28213-1-git-send-email-shea@shealevy.com> X-Mailer: git-send-email 2.7.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 208.113.200.129 Cc: Shea Levy 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: Mon, 08 Feb 2016 20:48:05 -0000 This patch series adds support for booting from android bootimgs. A set of helper functions is added to read the kernel, command line, and initrd from a bootimg partition, the initrd command is updated to respect the android_bootimg: syntax for loading the initrd from the bootimg at , and on i386 the linux command is update to respect the android_bootimg: syntax for loading the kernel and kernel command line from the bootimg. Shea Levy (3): Add helper functions to interact with android bootimg disks. i386: Add support for loading from android bootimg Add support for loading initrd from android bootimg grub-core/Makefile.core.def | 1 + grub-core/loader/android_bootimg.c | 253 +++++++++++++++++++++++++++++++++++++ grub-core/loader/i386/linux.c | 27 +++- grub-core/loader/linux.c | 7 +- include/grub/android_bootimg.h | 12 ++ 5 files changed, 293 insertions(+), 7 deletions(-) create mode 100644 grub-core/loader/android_bootimg.c create mode 100644 include/grub/android_bootimg.h -- 2.7.0