{"action":"created","comment":{"url":"https://api.github.com/repos/OP-TEE/optee_os/pulls/comments/29648017","id":29648017,"diff_hunk":"@@ -0,0 +1,446 @@\n+#!/bin/bash\n+################################################################################\n+# EDIT so these match your credentials/preferences                             #\n+################################################################################\n+DEV_PATH=$HOME/devel/mtk_optee\n+\n+# You only need to set these variables if you have access to the OPTEE_TEST\n+# (requires a Linaro account and access to the git called optee_test.git)\n+# If, in addition to the base OPTEE_TEST, you have access to the GlobalPlatform\n+# \"TEE Initial Configuration\" test suite, you may add the tests by extracting\n+# the test package in the current directory and run:\n+#   $ export CFG_GP_PACKAGE_PATH=<path to the test suite directory>\n+#   $ export CFG_GP_TESTSUITE_ENABLE=y\n+#   $ ./setup_qemu_optee.sh\n+#   $ ./build.sh\n+#LINARO_USERNAME=firstname.lastname # Should _NOT_ contain @linaro.org.\n+#HAVE_ACCESS_TO_OPTEE_TEST=1\n+\n+# If the downloaded toolchain can't execute it could be that you're in a\n+# 64-bit system without required 32-bit libs\n+# For Ubuntu 14.04 the following helps:\n+# sudo apt-get install libc6:i386 libstdc++6:i386 libz1:i386\n+\n+################################################################################\n+# Don't touch anything below this comment                                      #\n+################################################################################\n+set -e\n+mkdir -p $DEV_PATH\n+\n+SRC_KERNEL=https://github.com/ibanezchen/linux-8173.git","path":"scripts/setup_mtk_optee.sh","position":30,"original_position":30,"commit_id":"7de6a8bff8c2213a0b3edd679888ebb01968192c","original_commit_id":"7de6a8bff8c2213a0b3edd679888ebb01968192c","user":{"login":"m943040028","id":470954,"avatar_url":"https://avatars.githubusercontent.com/u/470954?v=3","gravatar_id":"","url":"https://api.github.com/users/m943040028","html_url":"https://github.com/m943040028","followers_url":"https://api.github.com/users/m943040028/followers","following_url":"https://api.github.com/users/m943040028/following{/other_user}","gists_url":"https://api.github.com/users/m943040028/gists{/gist_id}","starred_url":"https://api.github.com/users/m943040028/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m943040028/subscriptions","organizations_url":"https://api.github.com/users/m943040028/orgs","repos_url":"https://api.github.com/users/m943040028/repos","events_url":"https://api.github.com/users/m943040028/events{/privacy}","received_events_url":"https://api.github.com/users/m943040028/received_events","type":"User","site_admin":false},"body":"Yes, we are still upstreaming. The kernel contains patches that is not yet merged to main line kernel","created_at":"2015-05-05T07:27:48Z","updated_at":"2015-05-05T07:27:48Z","html_url":"https://github.com/OP-TEE/optee_os/pull/276#discussion_r29648017","pull_request_url":"https://api.github.com/repos/OP-TEE/optee_os/pulls/276","_links":{"self":{"href":"https://api.github.com/repos/OP-TEE/optee_os/pulls/comments/29648017"},"html":{"href":"https://github.com/OP-TEE/optee_os/pull/276#discussion_r29648017"},"pull_request":{"href":"https://api.github.com/repos/OP-TEE/optee_os/pulls/276"}}},"pull_request":{"url":"https://api.github.com/repos/OP-TEE/optee_os/pulls/276","id":34619412,"html_url":"https://github.com/OP-TEE/optee_os/pull/276","diff_url":"https://github.com/OP-TEE/optee_os/pull/276.diff","patch_url":"https://github.com/OP-TEE/optee_os/pull/276.patch","issue_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/276","number":276,"state":"open","locked":false,"title":"Mediatek mt8173 platform support","user":{"login":"jamescfkung","id":10397509,"avatar_url":"https://avatars.githubusercontent.com/u/10397509?v=3","gravatar_id":"","url":"https://api.github.com/users/jamescfkung","html_url":"https://github.com/jamescfkung","followers_url":"https://api.github.com/users/jamescfkung/followers","following_url":"https://api.github.com/users/jamescfkung/following{/other_user}","gists_url":"https://api.github.com/users/jamescfkung/gists{/gist_id}","starred_url":"https://api.github.com/users/jamescfkung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamescfkung/subscriptions","organizations_url":"https://api.github.com/users/jamescfkung/orgs","repos_url":"https://api.github.com/users/jamescfkung/repos","events_url":"https://api.github.com/users/jamescfkung/events{/privacy}","received_events_url":"https://api.github.com/users/jamescfkung/received_events","type":"User","site_admin":false},"body":"Add support for Mediatek mt8173 platform with 32bit\r\nand 64bit OP-TEE OS. Due to Mediatek ATF firmware\r\nlimitation, this commit only tested with 64bit OP-TEE OS.\r\n\r\nTested-by: James Kung <james.kung@linaro.org> (MT8173 platform)\r\nSigned-off-by: James Kung <james.kung@linaro.org>","created_at":"2015-05-04T07:25:07Z","updated_at":"2015-05-05T07:27:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4ac479f06223fc02d6939bf6f3b8966cc8aca63","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OP-TEE/optee_os/pulls/276/commits","review_comments_url":"https://api.github.com/repos/OP-TEE/optee_os/pulls/276/comments","review_comment_url":"https://api.github.com/repos/OP-TEE/optee_os/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/276/comments","statuses_url":"https://api.github.com/repos/OP-TEE/optee_os/statuses/7de6a8bff8c2213a0b3edd679888ebb01968192c","head":{"label":"jamescfkung:mt8173_64bit","ref":"mt8173_64bit","sha":"7de6a8bff8c2213a0b3edd679888ebb01968192c","user":{"login":"jamescfkung","id":10397509,"avatar_url":"https://avatars.githubusercontent.com/u/10397509?v=3","gravatar_id":"","url":"https://api.github.com/users/jamescfkung","html_url":"https://github.com/jamescfkung","followers_url":"https://api.github.com/users/jamescfkung/followers","following_url":"https://api.github.com/users/jamescfkung/following{/other_user}","gists_url":"https://api.github.com/users/jamescfkung/gists{/gist_id}","starred_url":"https://api.github.com/users/jamescfkung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamescfkung/subscriptions","organizations_url":"https://api.github.com/users/jamescfkung/orgs","repos_url":"https://api.github.com/users/jamescfkung/repos","events_url":"https://api.github.com/users/jamescfkung/events{/privacy}","received_events_url":"https://api.github.com/users/jamescfkung/received_events","type":"User","site_admin":false},"repo":{"id":31949420,"name":"optee_os","full_name":"jamescfkung/optee_os","owner":{"login":"jamescfkung","id":10397509,"avatar_url":"https://avatars.githubusercontent.com/u/10397509?v=3","gravatar_id":"","url":"https://api.github.com/users/jamescfkung","html_url":"https://github.com/jamescfkung","followers_url":"https://api.github.com/users/jamescfkung/followers","following_url":"https://api.github.com/users/jamescfkung/following{/other_user}","gists_url":"https://api.github.com/users/jamescfkung/gists{/gist_id}","starred_url":"https://api.github.com/users/jamescfkung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamescfkung/subscriptions","organizations_url":"https://api.github.com/users/jamescfkung/orgs","repos_url":"https://api.github.com/users/jamescfkung/repos","events_url":"https://api.github.com/users/jamescfkung/events{/privacy}","received_events_url":"https://api.github.com/users/jamescfkung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamescfkung/optee_os","description":"Trusted side of the TEE","fork":true,"url":"https://api.github.com/repos/jamescfkung/optee_os","forks_url":"https://api.github.com/repos/jamescfkung/optee_os/forks","keys_url":"https://api.github.com/repos/jamescfkung/optee_os/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamescfkung/optee_os/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamescfkung/optee_os/teams","hooks_url":"https://api.github.com/repos/jamescfkung/optee_os/hooks","issue_events_url":"https://api.github.com/repos/jamescfkung/optee_os/issues/events{/number}","events_url":"https://api.github.com/repos/jamescfkung/optee_os/events","assignees_url":"https://api.github.com/repos/jamescfkung/optee_os/assignees{/user}","branches_url":"https://api.github.com/repos/jamescfkung/optee_os/branches{/branch}","tags_url":"https://api.github.com/repos/jamescfkung/optee_os/tags","blobs_url":"https://api.github.com/repos/jamescfkung/optee_os/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamescfkung/optee_os/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamescfkung/optee_os/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamescfkung/optee_os/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamescfkung/optee_os/statuses/{sha}","languages_url":"https://api.github.com/repos/jamescfkung/optee_os/languages","stargazers_url":"https://api.github.com/repos/jamescfkung/optee_os/stargazers","contributors_url":"https://api.github.com/repos/jamescfkung/optee_os/contributors","subscribers_url":"https://api.github.com/repos/jamescfkung/optee_os/subscribers","subscription_url":"https://api.github.com/repos/jamescfkung/optee_os/subscription","commits_url":"https://api.github.com/repos/jamescfkung/optee_os/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamescfkung/optee_os/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamescfkung/optee_os/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamescfkung/optee_os/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamescfkung/optee_os/contents/{+path}","compare_url":"https://api.github.com/repos/jamescfkung/optee_os/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamescfkung/optee_os/merges","archive_url":"https://api.github.com/repos/jamescfkung/optee_os/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamescfkung/optee_os/downloads","issues_url":"https://api.github.com/repos/jamescfkung/optee_os/issues{/number}","pulls_url":"https://api.github.com/repos/jamescfkung/optee_os/pulls{/number}","milestones_url":"https://api.github.com/repos/jamescfkung/optee_os/milestones{/number}","notifications_url":"https://api.github.com/repos/jamescfkung/optee_os/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamescfkung/optee_os/labels{/name}","releases_url":"https://api.github.com/repos/jamescfkung/optee_os/releases{/id}","created_at":"2015-03-10T09:42:01Z","updated_at":"2015-04-16T03:06:45Z","pushed_at":"2015-05-04T07:42:54Z","git_url":"git://github.com/jamescfkung/optee_os.git","ssh_url":"git@github.com:jamescfkung/optee_os.git","clone_url":"https://github.com/jamescfkung/optee_os.git","svn_url":"https://github.com/jamescfkung/optee_os","homepage":null,"size":5505,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OP-TEE:master","ref":"master","sha":"25b3381077aa08e718967e38034dbe9e69928c36","user":{"login":"OP-TEE","id":7488961,"avatar_url":"https://avatars.githubusercontent.com/u/7488961?v=3","gravatar_id":"","url":"https://api.github.com/users/OP-TEE","html_url":"https://github.com/OP-TEE","followers_url":"https://api.github.com/users/OP-TEE/followers","following_url":"https://api.github.com/users/OP-TEE/following{/other_user}","gists_url":"https://api.github.com/users/OP-TEE/gists{/gist_id}","starred_url":"https://api.github.com/users/OP-TEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OP-TEE/subscriptions","organizations_url":"https://api.github.com/users/OP-TEE/orgs","repos_url":"https://api.github.com/users/OP-TEE/repos","events_url":"https://api.github.com/users/OP-TEE/events{/privacy}","received_events_url":"https://api.github.com/users/OP-TEE/received_events","type":"Organization","site_admin":false},"repo":{"id":20193261,"name":"optee_os","full_name":"OP-TEE/optee_os","owner":{"login":"OP-TEE","id":7488961,"avatar_url":"https://avatars.githubusercontent.com/u/7488961?v=3","gravatar_id":"","url":"https://api.github.com/users/OP-TEE","html_url":"https://github.com/OP-TEE","followers_url":"https://api.github.com/users/OP-TEE/followers","following_url":"https://api.github.com/users/OP-TEE/following{/other_user}","gists_url":"https://api.github.com/users/OP-TEE/gists{/gist_id}","starred_url":"https://api.github.com/users/OP-TEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OP-TEE/subscriptions","organizations_url":"https://api.github.com/users/OP-TEE/orgs","repos_url":"https://api.github.com/users/OP-TEE/repos","events_url":"https://api.github.com/users/OP-TEE/events{/privacy}","received_events_url":"https://api.github.com/users/OP-TEE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OP-TEE/optee_os","description":"Trusted side of the TEE","fork":false,"url":"https://api.github.com/repos/OP-TEE/optee_os","forks_url":"https://api.github.com/repos/OP-TEE/optee_os/forks","keys_url":"https://api.github.com/repos/OP-TEE/optee_os/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OP-TEE/optee_os/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OP-TEE/optee_os/teams","hooks_url":"https://api.github.com/repos/OP-TEE/optee_os/hooks","issue_events_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/events{/number}","events_url":"https://api.github.com/repos/OP-TEE/optee_os/events","assignees_url":"https://api.github.com/repos/OP-TEE/optee_os/assignees{/user}","branches_url":"https://api.github.com/repos/OP-TEE/optee_os/branches{/branch}","tags_url":"https://api.github.com/repos/OP-TEE/optee_os/tags","blobs_url":"https://api.github.com/repos/OP-TEE/optee_os/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OP-TEE/optee_os/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OP-TEE/optee_os/git/refs{/sha}","trees_url":"https://api.github.com/repos/OP-TEE/optee_os/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OP-TEE/optee_os/statuses/{sha}","languages_url":"https://api.github.com/repos/OP-TEE/optee_os/languages","stargazers_url":"https://api.github.com/repos/OP-TEE/optee_os/stargazers","contributors_url":"https://api.github.com/repos/OP-TEE/optee_os/contributors","subscribers_url":"https://api.github.com/repos/OP-TEE/optee_os/subscribers","subscription_url":"https://api.github.com/repos/OP-TEE/optee_os/subscription","commits_url":"https://api.github.com/repos/OP-TEE/optee_os/commits{/sha}","git_commits_url":"https://api.github.com/repos/OP-TEE/optee_os/git/commits{/sha}","comments_url":"https://api.github.com/repos/OP-TEE/optee_os/comments{/number}","issue_comment_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/comments{/number}","contents_url":"https://api.github.com/repos/OP-TEE/optee_os/contents/{+path}","compare_url":"https://api.github.com/repos/OP-TEE/optee_os/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OP-TEE/optee_os/merges","archive_url":"https://api.github.com/repos/OP-TEE/optee_os/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OP-TEE/optee_os/downloads","issues_url":"https://api.github.com/repos/OP-TEE/optee_os/issues{/number}","pulls_url":"https://api.github.com/repos/OP-TEE/optee_os/pulls{/number}","milestones_url":"https://api.github.com/repos/OP-TEE/optee_os/milestones{/number}","notifications_url":"https://api.github.com/repos/OP-TEE/optee_os/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OP-TEE/optee_os/labels{/name}","releases_url":"https://api.github.com/repos/OP-TEE/optee_os/releases{/id}","created_at":"2014-05-26T17:18:57Z","updated_at":"2015-05-05T07:03:05Z","pushed_at":"2015-05-05T07:03:05Z","git_url":"git://github.com/OP-TEE/optee_os.git","ssh_url":"git@github.com:OP-TEE/optee_os.git","clone_url":"https://github.com/OP-TEE/optee_os.git","svn_url":"https://github.com/OP-TEE/optee_os","homepage":null,"size":8976,"stargazers_count":44,"watchers_count":44,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":17,"forks":40,"open_issues":17,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OP-TEE/optee_os/pulls/276"},"html":{"href":"https://github.com/OP-TEE/optee_os/pull/276"},"issue":{"href":"https://api.github.com/repos/OP-TEE/optee_os/issues/276"},"comments":{"href":"https://api.github.com/repos/OP-TEE/optee_os/issues/276/comments"},"review_comments":{"href":"https://api.github.com/repos/OP-TEE/optee_os/pulls/276/comments"},"review_comment":{"href":"https://api.github.com/repos/OP-TEE/optee_os/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OP-TEE/optee_os/pulls/276/commits"},"statuses":{"href":"https://api.github.com/repos/OP-TEE/optee_os/statuses/7de6a8bff8c2213a0b3edd679888ebb01968192c"}}}}