Re: [edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-30 Thread Leif Lindholm
On Sun, Jul 30, 2017 at 10:22:15PM +0800, Jun Nie wrote: > >> + Status = EfiGetSystemConfigurationTable (, (VOID > >> **)); > >> + if (!EFI_ERROR (Status)) { > >> >>> > >> >>>Should this not be > >> >>> if (EFI_ERROR (Status) && Status != EFI_NOT_FOUND) > >> >>>? > >> >> > >> >>I

Re: [edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-30 Thread Jun Nie
2017-07-28 22:52 GMT+08:00 Leif Lindholm : > On Fri, Jul 28, 2017 at 10:18:49PM +0800, Jun Nie wrote: >> On 2017年07月28日 21:06, Leif Lindholm wrote: >> >On Fri, Jul 28, 2017 at 05:47:46PM +0800, Jun Nie wrote: >> >>On 2017年07月27日 22:09, Leif Lindholm wrote: >> >>>On Thu,

Re: [edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-28 Thread Leif Lindholm
On Fri, Jul 28, 2017 at 10:18:49PM +0800, Jun Nie wrote: > On 2017年07月28日 21:06, Leif Lindholm wrote: > >On Fri, Jul 28, 2017 at 05:47:46PM +0800, Jun Nie wrote: > >>On 2017年07月27日 22:09, Leif Lindholm wrote: > >>>On Thu, Jul 27, 2017 at 06:07:19PM +0800, Jun Nie wrote: > Add an android kernel

Re: [edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-28 Thread Jun Nie
On 2017年07月28日 21:06, Leif Lindholm wrote: On Fri, Jul 28, 2017 at 05:47:46PM +0800, Jun Nie wrote: On 2017年07月27日 22:09, Leif Lindholm wrote: On Thu, Jul 27, 2017 at 06:07:19PM +0800, Jun Nie wrote: Add an android kernel loader that could load kernel from storage device. This patch is from

Re: [edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-28 Thread Leif Lindholm
On Fri, Jul 28, 2017 at 05:47:46PM +0800, Jun Nie wrote: > On 2017年07月27日 22:09, Leif Lindholm wrote: > >On Thu, Jul 27, 2017 at 06:07:19PM +0800, Jun Nie wrote: > >>Add an android kernel loader that could load kernel from storage > >>device. This patch is from Haojian's code as below link. The

Re: [edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-28 Thread Jun Nie
On 2017年07月27日 22:09, Leif Lindholm wrote: On Thu, Jul 27, 2017 at 06:07:19PM +0800, Jun Nie wrote: Add an android kernel loader that could load kernel from storage device. This patch is from Haojian's code as below link. The minor change is that alternative dtb is searched in second loader

Re: [edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-27 Thread Leif Lindholm
On Thu, Jul 27, 2017 at 06:07:19PM +0800, Jun Nie wrote: > Add an android kernel loader that could load kernel from storage > device. This patch is from Haojian's code as below link. The minor > change is that alternative dtb is searched in second loader binary > of Android bootimage if dtb is not

[edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-27 Thread Jun Nie
Add an android kernel loader that could load kernel from storage device. This patch is from Haojian's code as below link. The minor change is that alternative dtb is searched in second loader binary of Android bootimage if dtb is not found after Linux kernel.