Hi,

I have followed the steps provided in http://www.slideshare.net/linaroorg/lcu14-302-how-to-port-optee-to-another-platform

I am able to progress further after defining TEE_SCATTER_START, STACK_TMP_SIZE, STACK_THREAD_SIZE in platform_config.h as suggested in
http://www.slideshare.net/linaroorg/lcu14-302-how-to-port-optee-to-another-platform

I am able to compile and generate tee.elf using arm-none-eabi- toolchain.

While porting on to ARMv7 board, the control is halted while executing the "static bool is_valid_conf_and_notnull_size(vaddr_t b, size_t bl, vaddr_t a, size_t al) function" in tee_misc.c at the below point.

    /* invalid config return false */
    if ((b - 1 + bl < b) || (a - 1 + al < a))

Please suggest me on how to resolve this and proceed further.

Regards,
Ajith


From: Tee-dev <tee-dev-bounces@lists.linaro.org> on behalf of tee-dev-request@lists.linaro.org <tee-dev-request@lists.linaro.org>
Sent: Wednesday, December 28, 2016 5:30:02 PM
To: tee-dev@lists.linaro.org
Subject: Tee-dev Digest, Vol 18, Issue 6
 
Send Tee-dev mailing list submissions to
        tee-dev@lists.linaro.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.linaro.org/mailman/listinfo/tee-dev
lists.linaro.org
For technical discussions around TEE development. To see the collection of prior postings to the list, visit the Tee-dev Archives. Using Tee-dev

or, via email, send a message with subject or body 'help' to
        tee-dev-request@lists.linaro.org

You can reach the person managing the list at
        tee-dev-owner@lists.linaro.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tee-dev digest..."


Today's Topics:

   1. Porting Op-Tee os on ARM cortex A5 (Ajith Kumar Kumsi)


----------------------------------------------------------------------

Message: 1
Date: Tue, 27 Dec 2016 14:27:07 +0000
From: Ajith Kumar Kumsi <ajithkumar.kumsi@inedasystems.com>
To: "tee-dev@lists.linaro.org" <tee-dev@lists.linaro.org>
Subject: [Tee-dev] Porting Op-Tee os on ARM cortex A5
Message-ID:
        <MA1PR01MB02467754A54B9B4245194914FD690@MA1PR01MB0246.INDPRD01.PROD.OUTLOOK.COM>
       
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I am trying to port Optee-os on a new platform which contains ARM cortex A5.

Updated DRAM_BASE_ADDR, DRAM0_SIZE, CFG_TEE_RAM_START, CFG_TA_RAM_START, CFG_PUB_RAM_START accordingly.

compiled and built tee.elf for the new platform.

But when I tried to port tee.elf on the new platform, it is failing while executing "pbuf_intersects" in core_init_mmu_map in core_mmu.c

Please suggest me how to proceed further. Please let me know if I missed anything.

Regards,
Ajith


This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linaro.org/pipermail/tee-dev/attachments/20161227/9038d877/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Tee-dev mailing list
Tee-dev@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/tee-dev
lists.linaro.org
For technical discussions around TEE development. To see the collection of prior postings to the list, visit the Tee-dev Archives. Using Tee-dev



------------------------------

End of Tee-dev Digest, Vol 18, Issue 6
**************************************

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
www.symanteccloud.com
Backed by one of the most comprehensive global threat intelligence networks, Symantec protects against known and emerging cyber security threats.

______________________________________________________________________
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.