{"action":"created","issue":{"url":"https://api.github.com/repos/OP-TEE/optee_os/issues/598","labels_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/598/labels{/name}","comments_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/598/comments","events_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/598/events","html_url":"https://github.com/OP-TEE/optee_os/issues/598","id":122811398,"number":598,"title":"OP-TEE does not work on the current ARM Foundation Model","user":{"login":"oliviermartin","id":5757507,"avatar_url":"https://avatars.githubusercontent.com/u/5757507?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviermartin","html_url":"https://github.com/oliviermartin","followers_url":"https://api.github.com/users/oliviermartin/followers","following_url":"https://api.github.com/users/oliviermartin/following{/other_user}","gists_url":"https://api.github.com/users/oliviermartin/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviermartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviermartin/subscriptions","organizations_url":"https://api.github.com/users/oliviermartin/orgs","repos_url":"https://api.github.com/users/oliviermartin/repos","events_url":"https://api.github.com/users/oliviermartin/events{/privacy}","received_events_url":"https://api.github.com/users/oliviermartin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-17T19:56:56Z","updated_at":"2015-12-21T10:43:25Z","closed_at":null,"body":"The OP-TEE build scripts rely on ARM Trusted Firmware v1.1 (+ patches) from February 2015 - see https://github.com/OP-TEE/manifest/blob/master/fvp_stable.xml.\r\n\r\nThis version of the ARM Trusted Firmware does not work on the current ARM Foundation Model (ARM V8 Foundation Platformr0p0 (platform build 9.5.40)).\r\n![atf-on-current-foundation](https://cloud.githubusercontent.com/assets/5757507/11880058/c9872db8-a4f6-11e5-9789-b877b4d55fa3.png)\r\n\r\nUpdating the ARM Trusted Firmware to the latest (in progress) release https://github.com/ARM-software/arm-trusted-firmware/releases/tag/v1.2-rc0 with the flag `ARM_TSP_RAM_LOCATION=tdram` instead of `FVP_TSP_RAM_LOCATION=tdram FVP_SHARED_DATA_LOCATION=tdram` prevents OP-TEE OS to start on the current Foundation model.\r\nAfter doing some debugging (limited debugging because of the limitation of the ARM Foundation Model), I found OP-TEE starts but fails to initialize the stack and fails when `console_init()` pushes registers into the stack.\r\n\r\nI found an old Foundation model that make the OP-TEE software stack.\r\nBut unfortunately, there is no (easy) way on ARM Connect to identify the ARM Foundation Model (I already raise an issue to ARM Ltd). So, it is quite complicated to make OP-TEE works on the ARM Foundation Model.\r\n\r\n/cc @danh-arm"},"comment":{"url":"https://api.github.com/repos/OP-TEE/optee_os/issues/comments/166268032","html_url":"https://github.com/OP-TEE/optee_os/issues/598#issuecomment-166268032","issue_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/598","id":166268032,"user":{"login":"jenswi-linaro","id":6150306,"avatar_url":"https://avatars.githubusercontent.com/u/6150306?v=3","gravatar_id":"","url":"https://api.github.com/users/jenswi-linaro","html_url":"https://github.com/jenswi-linaro","followers_url":"https://api.github.com/users/jenswi-linaro/followers","following_url":"https://api.github.com/users/jenswi-linaro/following{/other_user}","gists_url":"https://api.github.com/users/jenswi-linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/jenswi-linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenswi-linaro/subscriptions","organizations_url":"https://api.github.com/users/jenswi-linaro/orgs","repos_url":"https://api.github.com/users/jenswi-linaro/repos","events_url":"https://api.github.com/users/jenswi-linaro/events{/privacy}","received_events_url":"https://api.github.com/users/jenswi-linaro/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T10:43:25Z","updated_at":"2015-12-21T10:43:25Z","body":"Does this https://github.com/jenswi-linaro/arm-trusted-firmware/tree/optee_paged_151203 work better?\r\n"}}