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

2017-01-12 Thread Alison Wang
Hi, Ryan, Thanks for your feedback. I will do some investigation and give you my solution. Best Regards, Alison Wang > -Original Message- > From: Ryan Harkin [mailto:ryan.har...@linaro.org] > Sent: Wednesday, January 11, 2017 4:59 PM > To: Alison Wang >

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

2017-01-11 Thread Ryan Harkin
Hi Alison, I wasn't sure where about in this thread to reply to this patch, so I thought here was as good as any... I know I tested this commit and it works for me. However, my colleague Tixy has spotted a recent warning on the kernel dmesg output that only arrived with an update to u-boot: [

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

2016-11-22 Thread york sun
On 11/22/2016 09:32 AM, Alexander Graf wrote: > On 11/21/2016 10:48 PM, york sun wrote: >> Alex, >> >> Since you are most familiar with EFI boot code, can you send a patch to >> address this? I can squash it with Alison's patch after testing. My >> current test branch is >>

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

2016-11-22 Thread Alexander Graf
On 11/21/2016 10:48 PM, york sun wrote: Alex, Since you are most familiar with EFI boot code, can you send a patch to address this? I can squash it with Alison's patch after testing. My current test branch is http://git.denx.de/?p=u-boot/u-boot-fsl-qoriq.git;a=shortlog;h=refs/heads/test_qoriq.

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

2016-11-22 Thread Alexander Graf
On 11/22/2016 06:07 PM, york sun wrote: On 11/22/2016 09:02 AM, Alexander Graf wrote: On 11/21/2016 10:48 PM, york sun wrote: On 11/21/2016 01:07 PM, Alexander Graf wrote: On 21/11/2016 21:45, york sun wrote: On 11/21/2016 12:40 PM, Alexander Graf wrote: On 21/11/2016 21:23, york sun wrote:

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

2016-11-22 Thread york sun
On 11/22/2016 09:02 AM, Alexander Graf wrote: > On 11/21/2016 10:48 PM, york sun wrote: >> On 11/21/2016 01:07 PM, Alexander Graf wrote: >>> >>> On 21/11/2016 21:45, york sun wrote: On 11/21/2016 12:40 PM, Alexander Graf wrote: > > On 21/11/2016 21:23, york sun wrote: >> On

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

2016-11-22 Thread Alexander Graf
On 11/21/2016 10:48 PM, york sun wrote: On 11/21/2016 01:07 PM, Alexander Graf wrote: On 21/11/2016 21:45, york sun wrote: On 11/21/2016 12:40 PM, Alexander Graf wrote: On 21/11/2016 21:23, york sun wrote: On 11/09/2016 07:02 PM, Alison Wang wrote: To support loading a 32-bit OS, the

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

2016-11-21 Thread Alison Wang
Hi, Alex, > On 11/21/2016 01:07 PM, Alexander Graf wrote: > > > > > > On 21/11/2016 21:45, york sun wrote: > >> On 11/21/2016 12:40 PM, Alexander Graf wrote: > >>> > >>> > >>> On 21/11/2016 21:23, york sun wrote: > On 11/09/2016 07:02 PM, Alison Wang wrote: > > To support loading a

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

2016-11-21 Thread york sun
On 11/21/2016 01:07 PM, Alexander Graf wrote: > > > On 21/11/2016 21:45, york sun wrote: >> On 11/21/2016 12:40 PM, Alexander Graf wrote: >>> >>> >>> On 21/11/2016 21:23, york sun wrote: On 11/09/2016 07:02 PM, Alison Wang wrote: > To support loading a 32-bit OS, the execution state will

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

2016-11-21 Thread york sun
On 11/09/2016 07:02 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. > >

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

2016-11-21 Thread Alexander Graf
On 21/11/2016 21:45, york sun wrote: On 11/21/2016 12:40 PM, Alexander Graf wrote: On 21/11/2016 21:23, york sun wrote: On 11/09/2016 07:02 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

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

2016-11-21 Thread york sun
On 11/21/2016 12:40 PM, Alexander Graf wrote: > > > On 21/11/2016 21:23, york sun wrote: >> On 11/09/2016 07:02 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

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

2016-11-21 Thread Alexander Graf
On 21/11/2016 21:23, york sun wrote: On 11/09/2016 07:02 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

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

2016-11-09 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