I will try, thanks.


--
Zhizhou

From: Khasim Syed Mohammed <khasim.mohammed@linaro.org>
Sent: Friday, September 19, 2014 9:13 PM
To: Zhizhou Zhang (张治洲)
Cc: linaro-android@lists.linaro.org
Subject: Re: Re:which branch does linaro-android use
 
Hi Zhizhou,

So far we only support Juno platform, so baseline your code for Juno and start adding / porting modifications for other ARMv8 platforms.

For kernel 

1) The source are: https://android.git.linaro.org/gitweb/kernel/juno.git (release 14.08 branch or master should be good)

2) For Android you can do in two ways,

a) Sync the AOSP master and start adding support for your platform, this might have some issues to bringup AOSP.

b) So I suggest you to pick your last release 14.08, follow the instructions
http://releases.linaro.org/14.08/members/arm/android/images/armv8-android-juno-lsk#tabs-3

This will give you AOSP snapshot and Juno support, start adding support for your platform on the same source.

Regards,
Khasim








On 19 September 2014 06:01, Zhizhou Zhang (张治洲) <Zhizhou.Zhang@spreadtrum.com> wrote:

Hi Khasim,


Thanks for your kindness reply!

We plan to migrate android to arm64 board. That's we does not only tested on juno board, but also the board ourself.

We want to based on linaro-android branch. So we need some imformation that which branch should we choose?


--
Zhizhou

From: Khasim Syed Mohammed <khasim.mohammed@linaro.org>
Sent: Friday, September 19, 2014 8:27 PM
To: Zhizhou Zhang (张治洲)
Cc: linaro-android@lists.linaro.org
Subject: Re:
 
Hi Zhizhou,

On 19 September 2014 01:10, Zhizhou Zhang (张治洲) <Zhizhou.Zhang@spreadtrum.com> wrote:

Dear Khasim,


I tried to build  kernel on branch lsk/linux-linaro-lsk-android. but the compiler complained the following messages:


16:03:52@~/work/linux-linaro-tracking$ make
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC      scripts/mod/devicetable-offsets.s
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTLD  scripts/mod/modpost
  CHK     include/generated/compile.h
  CC      arch/arm64/kernel/ptrace.o
arch/arm64/kernel/ptrace.c: In function ‘syscall_trace_exit’:
arch/arm64/kernel/ptrace.c:1112:3: error: implicit declaration of function ‘regs_return_value’ [-Werror=implicit-function-declaration]
   trace_sys_exit(regs, regs_return_value(regs));
   ^
cc1: some warnings being treated as errors
make[1]: *** [arch/arm64/kernel/ptrace.o] Error 1
make: *** [arch/arm64/kernel] Error 2


I thought this branch is not tested on arm64. that's said we use another branch to develop linaro-android for arm64. Am I right?

If I got it could you tell me witch branch should I track for develop android on arm64?

Can you please follow the instructions mentioned on Linaro release page ?


Let me know if you still find any problems.

Many thanks.


--
Zhizhou

Regards,
Khasim