From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7FA5981F5C for ; Tue, 28 Feb 2017 22:36:15 -0800 (PST) Received: by mail-pf0-x22e.google.com with SMTP id w189so7886821pfb.0 for ; Tue, 28 Feb 2017 22:36:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=u6alAK8T/dkkjDS5lnWMICackUkUzjN+Oz2E631wQ6E=; b=W586BrTZ3uZi5OdZj5VWZsQIinbVLbNMsec4ez95L09k1J7Pyo90YHJcEh6X/IUblw MNEmENMEOMw5rdcJeLPEkG+O2Z2rBnqSBsp4MtzamARKsrISgRIYvfWowWxrcBBq8jIT VQBvS7wRSuPGJwSmiVJ4/LaczFDvi6ob7GkWY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=u6alAK8T/dkkjDS5lnWMICackUkUzjN+Oz2E631wQ6E=; b=Gi5cy0RqeDtDgGLzZ+/qPajt6Tcu1/r01aOtomhSzpF+4wqzpc4QuK2B7trqOHmVsP E6yidP9YptftOioDe0AH1d7atlZIswRo/TZ/L++IQpgJSLmdSj4w9Ofkv0DloZaniLA4 08oQ//9Qlq0SPL9T1sMS/fRLhq1NCjQ5iUn09KQn6Tmre04qQcNPJ6yRFbN+sHbLmhJ6 DW+2h21Ct7xpiOosZQOtopCtlmVDJcONxZ250SAO+I6hTYsPgEEu/48Fk7SSF7MeCj/B mYymS73D24RmAvSx//X+HW6H/uIb8O6PazH92FWikHih9tEchp69Y74/eEh7b0Nq9JbM 5DXQ== X-Gm-Message-State: AMke39nFUTBfssL8fNt/J6p+REZqT9FFfW01XuXObp//f4N0NBVPf/SJt4qDAuqHgUfHX0Yo X-Received: by 10.84.228.201 with SMTP id y9mr8248493pli.42.1488350175111; Tue, 28 Feb 2017 22:36:15 -0800 (PST) Received: from localhost.localdomain ([45.56.159.97]) by smtp.gmail.com with ESMTPSA id r17sm7910668pgg.19.2017.02.28.22.36.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Feb 2017 22:36:14 -0800 (PST) From: Haojian Zhuang To: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, edk2-devel@lists.01.org, linaro-uefi@lists.linaro.org Cc: Haojian Zhuang Date: Wed, 1 Mar 2017 14:36:03 +0800 Message-Id: <1488350167-30752-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH 0/4] enhance to support android kernel X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2017 06:36:15 -0000 v1: * Fix the issue of booting kernel in AndroidFastboot. The issue was caused by broken LinuxLoader. * Add a new App to boot android kernel from storage device. Haojian Zhuang (4): EmbeddedPkg/AndroidFastboot: add the GetKernelArgs interface EmbeddedPkg/AndroidFastboot: fix to boot android kernel EmbeddedPkg: add Android boot device path EmbeddedPkg/AndroidBoot: boot android kernel from storage .../Application/AndroidBoot/AndroidBootApp.c | 118 +++++++++ .../Application/AndroidBoot/AndroidBootApp.h | 44 ++++ .../Application/AndroidBoot/AndroidBootApp.inf | 67 ++++++ .../Application/AndroidBoot/AndroidBootImg.c | 91 +++++++ .../AndroidBoot/Arm/BootAndroidBootImg.c | 268 +++++++++++++++++++++ .../AndroidFastboot/AndroidFastbootApp.c | 2 +- .../AndroidFastboot/AndroidFastbootApp.h | 21 +- .../AndroidFastboot/AndroidFastbootApp.inf | 4 + .../AndroidFastboot/Arm/BootAndroidBootImg.c | 230 +++++++++++++----- EmbeddedPkg/EmbeddedPkg.dec | 2 + .../Include/Protocol/AndroidFastbootPlatform.h | 13 + 11 files changed, 795 insertions(+), 65 deletions(-) create mode 100644 EmbeddedPkg/Application/AndroidBoot/AndroidBootApp.c create mode 100644 EmbeddedPkg/Application/AndroidBoot/AndroidBootApp.h create mode 100644 EmbeddedPkg/Application/AndroidBoot/AndroidBootApp.inf create mode 100644 EmbeddedPkg/Application/AndroidBoot/AndroidBootImg.c create mode 100644 EmbeddedPkg/Application/AndroidBoot/Arm/BootAndroidBootImg.c -- 2.7.4