Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/810373/?format=api
{ "id": 810373, "url": "http://patchwork.ozlabs.org/api/patches/810373/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504664087-26473-10-git-send-email-kever.yang@rock-chips.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1504664087-26473-10-git-send-email-kever.yang@rock-chips.com>", "list_archive_url": null, "date": "2017-09-06T02:14:36", "name": "[U-Boot,09/10] rockchip: evb-rk3229: add README file for OP-TEE support", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "c312cdf7bd1b840c3a7f24a2391fc016d2414c19", "submitter": { "id": 64532, "url": "http://patchwork.ozlabs.org/api/people/64532/?format=api", "name": "Kever Yang", "email": "kever.yang@rock-chips.com" }, "delegate": { "id": 69486, "url": "http://patchwork.ozlabs.org/api/users/69486/?format=api", "username": "ptomsich", "first_name": "Philipp", "last_name": "Tomsich", "email": "philipp.tomsich@theobroma-systems.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504664087-26473-10-git-send-email-kever.yang@rock-chips.com/mbox/", "series": [ { "id": 1682, "url": "http://patchwork.ozlabs.org/api/series/1682/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1682", "date": "2017-09-06T02:14:28", "name": "rockchip: add tpl and OPTEE support for rk3229", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1682/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/810373/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/810373/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"XjWwzesZ\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xn6lF4dwtz9sR9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 6 Sep 2017 12:21:13 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 55F50C21F0B; Wed, 6 Sep 2017 02:17:39 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 056AEC21EB9;\n\tWed, 6 Sep 2017 02:16:53 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid A9693C21E66; Wed, 6 Sep 2017 02:15:47 +0000 (UTC)", "from mail-pg0-f66.google.com (mail-pg0-f66.google.com\n\t[74.125.83.66])\n\tby lists.denx.de (Postfix) with ESMTPS id BF4F9C21EAB\n\tfor <u-boot@lists.denx.de>; Wed, 6 Sep 2017 02:15:40 +0000 (UTC)", "by mail-pg0-f66.google.com with SMTP id d8so2818405pgt.3\n\tfor <u-boot@lists.denx.de>; Tue, 05 Sep 2017 19:15:40 -0700 (PDT)", "from localhost.localdomain ([58.22.7.114])\n\tby smtp.gmail.com with ESMTPSA id\n\tz30sm362126pfg.54.2017.09.05.19.15.37\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 05 Sep 2017 19:15:38 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "*", "X-Spam-Status": "No, score=1.9 required=5.0 tests=RCVD_IN_BL_SPAMCOP_NET,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tRCVD_IN_SORBS_WEB, \n\tT_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=WAknS99yFMQ4dPbZhJ7tKOkuAIWxeXROtqWkDfs0aoY=;\n\tb=XjWwzesZD5Mgo7rsfVniUVrrZEm7EXVATxVKN1GtM/v8L9GE9Tib4ie5YKu8bqeKHo\n\t3K5JJPW8ODI4uhstyAYMGKdSOo2k7F5EIZ3EFq+pi9KOAuDg+s01/OUYP+4KhlfUFFAZ\n\tfdBH8JUlBbDIS03eJQAjJfjxoLrOzfduKYtcPCBySX234zSTnVk+vtljmrTsVlO5JSF2\n\tXRpEBYL3rDqZEMLTfbPEL4+qG3T6Ai+Hp3DiV8bUvQ9mnYP+orPn0+m0C8Dk+SD8oMXI\n\t3Vjv82G7FrxydlG9KHWTKhb4v/trNeGtit5rzF3FanpM3HGdLLULlGH8FKi/ZoOlwKW3\n\t+pCg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=WAknS99yFMQ4dPbZhJ7tKOkuAIWxeXROtqWkDfs0aoY=;\n\tb=WKMzQd0NT7glufFkv7/3K/s6Jh1w2MZ4J4Jfc4OEDqmHaz/uY7+Cvwz6m+j7NacPzq\n\tAvJrdUjGcM8es/x1bc/IwzOqt8CkBEnlB3N73gvq5Sna/QDJn0O6eNqL891In7PXUkhB\n\tBKbyzlCcJl3FuGdyMGnrAeoFGB+gwfBXjHA1oowISTWVVLaVHhQ/TONVBmfYnLHF4ycH\n\t1ZS3sod4c7Rc0ktFnGvjHWbuOZDfeJrvd8W4UGGQFYFX431fMQayfOHCKgRvqicLE90M\n\tMwNZ1rj+2MPINRHTAv9HaNxoNaFa4BOLEjEquaEsouYoZhyL+wXnVWzA/ycjmYb1yqRN\n\tlFiA==", "X-Gm-Message-State": "AHPjjUh7eSr9s1GqvoZtlf0LjGUlO5510a7uxxWaY6yuX/CRt1/xJ3cj\n\t9FpF497kTbCcSdDY", "X-Google-Smtp-Source": "ADKCNb4mLXn/7V0eG7vsrJSXQg3xOFuUCbX6aE9D+KrAohk9sOQUof9dLgHIwRN09/mAVk7nGHbVlQ==", "X-Received": "by 10.84.210.107 with SMTP id z98mr6399323plh.216.1504664139164; \n\tTue, 05 Sep 2017 19:15:39 -0700 (PDT)", "From": "Kever Yang <kever.yang@rock-chips.com>", "To": "u-boot@lists.denx.de", "Date": "Wed, 6 Sep 2017 10:14:36 +0800", "Message-Id": "<1504664087-26473-10-git-send-email-kever.yang@rock-chips.com>", "X-Mailer": "git-send-email 1.9.1", "In-Reply-To": "<1504664087-26473-1-git-send-email-kever.yang@rock-chips.com>", "References": "<1504664087-26473-1-git-send-email-kever.yang@rock-chips.com>", "Cc": "vagrant@debian.org", "Subject": "[U-Boot] [PATCH 09/10] rockchip: evb-rk3229: add README file for\n\tOP-TEE support", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "Detail of step by step to bring up the board with OP-TEE support.\n\nSigned-off-by: Kever Yang <kever.yang@rock-chips.com>\n---\n\n board/rockchip/evb_rk3229/README | 72 ++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 72 insertions(+)\n create mode 100644 board/rockchip/evb_rk3229/README", "diff": "diff --git a/board/rockchip/evb_rk3229/README b/board/rockchip/evb_rk3229/README\nnew file mode 100644\nindex 0000000..93328c7\n--- /dev/null\n+++ b/board/rockchip/evb_rk3229/README\n@@ -0,0 +1,72 @@\n+Get the Source and prebuild binary\n+==================================\n+\n+ > mkdir ~/evb_rk3229\n+ > cd ~/evb_rk3229\n+ > git clone git://git.denx.de/u-boot.git\n+ > git clone https://github.com/OP-TEE/optee_os.git\n+ > git clone https://github.com/rockchip-linux/rkbin.git\n+ > git clone https://github.com/rockchip-linux/rkdeveloptool.git\n+\n+Compile the OP-TEE\n+===============\n+\n+ > cd optee_os\n+ > make clean\n+ > make CROSS_COMPILE_ta_arm32=arm-none-eabi- PLATFORM=rockchip-rk322x\n+ Get tee.bin in this step, copy it to U-Boot root dir:\n+ > cp out/arm-plat-rockchip/core/tee-pager.bin ../u-boot/tee.bin\n+\n+Compile the U-Boot\n+==================\n+\n+ > cd ../u-boot\n+ > export CROSS_COMPILE=arm-linux-gnueabihf-\n+ > export ARCH=arm\n+ > make evb-rk3229_defconfig\n+ > make\n+ > make u-boot.itb\n+\n+ Get tpl/u-boot-tpl.bin, spl/u-boot-spl.bin and u-boot.itb in this step.\n+\n+Compile the rkdeveloptool\n+=======================\n+ Follow instructions in latest README\n+ > cd ../rkflashtool\n+ > autoreconf -i\n+ > ./configure\n+ > make\n+ > sudo make install\n+\n+ Get rkdeveloptool in you Host in this step.\n+\n+Both origin binaries and Tool are ready now, choose either option 1 or\n+option 2 to deploy U-Boot.\n+\n+Package the image\n+=================\n+\n+ > cd ../u-boot\n+ > tools/mkimage -n rk322x -T rksd -d tpl/u-boot-spl.bin idbloader.img\n+ > cat spl/u-boot-spl.bin >> idbloader.img\n+\n+ Get idbloader.img in this step.\n+\n+Flash the image to eMMC\n+=======================\n+Power on(or reset with RESET KEY) with MASKROM KEY preesed, and then:\n+ > cd ..\n+ > rkdeveloptool db rkbin/rk32/rk322x_loader_v1.04.232.bin\n+ > rkdeveloptool wl 64 u-boot/idbloader.img\n+ > rkdeveloptool wl 0x4000 u-boot/u-boot.itb\n+ > rkdeveloptool rd\n+\n+Flash the image to SD card\n+==========================\n+ > dd if=u-boot/idbloader.img of=/dev/sdb seek=64\n+ > dd if=u-boot/u-boot.itb of=/dev/sdb seek=16384\n+\n+You should be able to get U-Boot log message with OP-TEE boot info.\n+\n+For more detail, please reference to:\n+http://opensource.rock-chips.com/wiki_Boot_option\n", "prefixes": [ "U-Boot", "09/10" ] }