Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-09 Thread Alison Wang
> On 7 November 2016 at 02:21, Alison Wang wrote: > >> On 11/04/2016 10:12 AM, Alexander Graf wrote: > >> > > >> > > >> > On 04/11/2016 17:08, york sun wrote: > >> >> On 11/04/2016 09:53 AM, Alexander Graf wrote: > >> >>> > >> >>> > >> >>> On 04/11/2016 16:43, york sun wrote: > >> On 11/04/20

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-07 Thread york sun
On 11/06/2016 06:21 PM, Alison Wang wrote: >> > [Alison Wang] Thanks for all your comments. > > For the issue about the tree would not be bisect-able, I have > a solution. Actually it is the root cause that 64-bit kernel could not boot > up when U-Boot is running in EL2. I will move these codes fro

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-07 Thread Ryan Harkin
Hi Alison, On 7 November 2016 at 02:21, Alison Wang wrote: >> On 11/04/2016 10:12 AM, Alexander Graf wrote: >> > >> > >> > On 04/11/2016 17:08, york sun wrote: >> >> On 11/04/2016 09:53 AM, Alexander Graf wrote: >> >>> >> >>> >> >>> On 04/11/2016 16:43, york sun wrote: >> On 11/04/2016 09:32

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-06 Thread Alison Wang
> On 11/04/2016 10:12 AM, Alexander Graf wrote: > > > > > > On 04/11/2016 17:08, york sun wrote: > >> On 11/04/2016 09:53 AM, Alexander Graf wrote: > >>> > >>> > >>> On 04/11/2016 16:43, york sun wrote: > On 11/04/2016 09:32 AM, Ryan Harkin wrote: > >>> > >>> Yes, with the attached pat

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread york sun
On 11/04/2016 09:53 AM, Alexander Graf wrote: > > > On 04/11/2016 16:43, york sun wrote: >> On 11/04/2016 09:32 AM, Ryan Harkin wrote: > > Yes, with the attached patch on top of your original 2 patches, > everything works again. I tested on FVP Foundation and AEMv8 models > and Jun

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread york sun
On 11/04/2016 10:12 AM, Alexander Graf wrote: > > > On 04/11/2016 17:08, york sun wrote: >> On 11/04/2016 09:53 AM, Alexander Graf wrote: >>> >>> >>> On 04/11/2016 16:43, york sun wrote: On 11/04/2016 09:32 AM, Ryan Harkin wrote: >>> >>> Yes, with the attached patch on top of your orig

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread york sun
On 11/04/2016 09:32 AM, Ryan Harkin wrote: >>> >>> Yes, with the attached patch on top of your original 2 patches, >>> everything works again. I tested on FVP Foundation and AEMv8 models >>> and Juno R0, R1 and R2. >>> >>> I don't think it would be good to stack these three patches the way >>> the

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Alexander Graf
On 04/11/2016 17:08, york sun wrote: On 11/04/2016 09:53 AM, Alexander Graf wrote: On 04/11/2016 16:43, york sun wrote: On 11/04/2016 09:32 AM, Ryan Harkin wrote: Yes, with the attached patch on top of your original 2 patches, everything works again. I tested on FVP Foundation and AEMv8

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Ryan Harkin
On 4 November 2016 at 15:53, Alexander Graf wrote: > > > On 04/11/2016 16:43, york sun wrote: >> >> On 11/04/2016 09:32 AM, Ryan Harkin wrote: > > > Yes, with the attached patch on top of your original 2 patches, > everything works again. I tested on FVP Foundation and AEMv8 model

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Alexander Graf
On 04/11/2016 16:43, york sun wrote: On 11/04/2016 09:32 AM, Ryan Harkin wrote: Yes, with the attached patch on top of your original 2 patches, everything works again. I tested on FVP Foundation and AEMv8 models and Juno R0, R1 and R2. I don't think it would be good to stack these three pat

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Alison Wang
> On 4 November 2016 at 02:26, Alison Wang wrote: > > York, > > > > > > > > No, he don’t have my 32-bit kernel image. I am not > > sure he is using 32-bit kernel or 64-bit kernel. > > > > > > > > Ryan, > > > > > > > > I am not familiar with the boards you tested, >

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread york sun
On 11/04/2016 05:34 AM, Ryan Harkin wrote: > On 4 November 2016 at 09:20, Alison Wang wrote: >>> On 4 November 2016 at 02:26, Alison Wang wrote: York, No, he don’t have my 32-bit kernel image. I am not sure he is using 32-bit kernel or 64-bit kernel.

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Ryan Harkin
On 4 November 2016 at 15:08, york sun wrote: > On 11/04/2016 05:34 AM, Ryan Harkin wrote: >> On 4 November 2016 at 09:20, Alison Wang wrote: On 4 November 2016 at 02:26, Alison Wang wrote: > York, > > > > No, he don’t have my 32-bit kernel image. I am not

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Ryan Harkin
On 4 November 2016 at 09:20, Alison Wang wrote: >> On 4 November 2016 at 02:26, Alison Wang wrote: >> > York, >> > >> > >> > >> > No, he don’t have my 32-bit kernel image. I am not >> > sure he is using 32-bit kernel or 64-bit kernel. >> > >> > >> > >> > Ryan, >> > >> > >> > >> >

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Ryan Harkin
On 4 November 2016 at 02:26, Alison Wang wrote: > York, > > > > No, he don’t have my 32-bit kernel image. I am not sure he > is using 32-bit kernel or 64-bit kernel. > > > > Ryan, > > > > I am not familiar with the boards you tested, The FVP Foundation model is fre

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-03 Thread york sun
Alison, Does Ryan have your 32-bit kernel image? I think kernel 32-bit doesn't support spin table. Please work with Ryan if your PSCI patch is required for the test. York Original Message From: Ryan Harkin Sent: Thursday, November 3, 2016 12:17 PM To: york sun Subject: Re:

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-03 Thread Alison Wang
York, No, he don’t have my 32-bit kernel image. I am not sure he is using 32-bit kernel or 64-bit kernel. Ryan, I am not familiar with the boards you tested, so I have some questions, please help to work with me to find the root cause. 1. Are you loading

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-03 Thread Ryan Harkin
Hi York/Alison, Sorry for not having had time to look at this earlier. On 26 October 2016 at 17:54, york sun wrote: > On 10/07/2016 11:56 PM, Alison Wang wrote: >> To support loading a 32-bit OS, the execution state will change from >> AArch64 to AArch32 when jumping to kernel. >> >> The archit

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-10-26 Thread york sun
On 10/07/2016 11:56 PM, Alison Wang wrote: > To support loading a 32-bit OS, the execution state will change from > AArch64 to AArch32 when jumping to kernel. > > The architecture information will be got through checking FIT image, > then U-Boot will load 32-bit OS or 64-bit OS automatically. > > S

[U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-10-07 Thread Alison Wang
To support loading a 32-bit OS, the execution state will change from AArch64 to AArch32 when jumping to kernel. The architecture information will be got through checking FIT image, then U-Boot will load 32-bit OS or 64-bit OS automatically. Signed-off-by: Ebony Zhu Signed-off-by: Alison Wang Si