On Tue, Nov 29, 2016 at 1:31 PM, Ajith Kumar Kumsi <ajithkumar.kumsi@inedasystems.com> wrote:


Hi,

Thank you for the reply.

As suggested, I have gone through the http://www.slideshare.net/linaroorg/lcu14-302-how-to-port-optee-to-another-platform and https://github.com/OP-TEE/optee_os#3-platforms-supported

I have downloaded optee_os.

I have gone through the other platforms given under "optee_os/core/arch/arm" and created a new platform and modified changes in platform_config.h, conf.mk, main.c, uart.c, uart.h files accordingly related to the new platform (arm7v-a (cortex a5)).

I tried to export the platform to the new-platform name and tried to build using "make".

I can see that tee.bin got generate in optee_os/out/arm-plat-new/core.

I tried to flash tee.elf in to SRAM and I tried to debug using eclipse, I can see that it is getting halted at optee_os/core/arch/arm/kernel/generic_entry_a32.S at line 58.

 FUNC _start , :

     58         b       .       /* Data abort */

Please suggest me on how to proceed further in this regard.

Since you've obviously got a data abort I'd suggest checking LR and DFAR for more clues to the abort.

Regards,
Jens