{"id":810371,"url":"http://patchwork.ozlabs.org/api/patches/810371/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1504664087-26473-11-git-send-email-kever.yang@rock-chips.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","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-11-git-send-email-kever.yang@rock-chips.com>","list_archive_url":null,"date":"2017-09-06T02:14:37","name":"[U-Boot,10/10] rockchip: evb-rk322x: update defconfig with tpl and optee support","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"9feaaec5302135e315f2e67e8555e7ec1001a75f","submitter":{"id":64532,"url":"http://patchwork.ozlabs.org/api/people/64532/?format=json","name":"Kever Yang","email":"kever.yang@rock-chips.com"},"delegate":{"id":69486,"url":"http://patchwork.ozlabs.org/api/users/69486/?format=json","username":"ptomsich","first_name":"Philipp","last_name":"Tomsich","email":"philipp.tomsich@theobroma-systems.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1504664087-26473-11-git-send-email-kever.yang@rock-chips.com/mbox/","series":[{"id":1682,"url":"http://patchwork.ozlabs.org/api/series/1682/?format=json","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/810371/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810371/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=\"QPdX6AdV\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xn6hd5ftlz9sR9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 12:18:57 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 7364CC21EE9; Wed,  6 Sep 2017 02:16:40 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 287BCC21EF6;\n\tWed,  6 Sep 2017 02:16:04 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 873DCC21EBA; Wed,  6 Sep 2017 02:15:47 +0000 (UTC)","from mail-pf0-f194.google.com (mail-pf0-f194.google.com\n\t[209.85.192.194])\n\tby lists.denx.de (Postfix) with ESMTPS id C33FCC21C40\n\tfor <u-boot@lists.denx.de>; Wed,  6 Sep 2017 02:15:42 +0000 (UTC)","by mail-pf0-f194.google.com with SMTP id f84so543620pfj.3\n\tfor <u-boot@lists.denx.de>; Tue, 05 Sep 2017 19:15:42 -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.39\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 05 Sep 2017 19:15:40 -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=2.7 required=5.0 tests=RCVD_IN_BL_SPAMCOP_NET,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_SORBS_WEB,\n\tT_DKIM_INVALID, \n\tUPPERCASE_50_75 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=lnN8CjTLMP/ak5rTQUkjNmBn38UTwJUA2svVdoveKNU=;\n\tb=QPdX6AdVktESS9X+YlbssIMxe2vmKZYJyWJg3bAqhMVPf2RXCSNQgKpdIDmJ/DB7WH\n\tcNwoa1d/TBHzwLyHjqQ9Da3EnFkBxg5lE0GOyDNrlaB7RgbP4m3mT61ErpLgBkNo06t2\n\tI4Z4CQNR0WKgyGLes02010gk/DEVmwiHiaU6EoS6fmogSALGJfa7XMdlVY6Js0AqtQkG\n\tHtcUteV8H8hil1EfVUAM2twV3e1x7oOSL1ULz1MwZ9SmuFQuhBja3mzJjClU3gy+ItW8\n\tJBLQN/sAfJ9uYBge1Xhe1vh+qV9X0aW5/KkyuBHLh1qn5tIitb5bN/TiSHQXLZ0nSX09\n\tghEg==","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=lnN8CjTLMP/ak5rTQUkjNmBn38UTwJUA2svVdoveKNU=;\n\tb=lw6CnMzDrdAzB+daoEC4g6HUosPoGpdxm8CVNvksoYJbBEqHYSjWaERfylAlubuej6\n\tGodF6xHOkNqljtLRCaOyBdq9ZzHV0hR68jYi8FipiAxtfB1WcXSU1AIJY4n8IC3NknBI\n\tpgjP/tLX5OWNIJ7XWjV5rLqWdgAshvkymgJPkzEel2t8/bYVaKWJp0vUElbYiPk9j4Xt\n\tNoKjSs2dxrtuBDKf42ltzk56P09u8bdUNtxJKBBcu1El0Tuy3bjeUx2X5jx3LjXLiq8L\n\taTEknCHUn3LxmqM7VSNcmWM0BJYgk5/rBTtOhYmR907uMen3eJwRdZCe8vkW12XuKqX4\n\tTe3g==","X-Gm-Message-State":"AHPjjUgv8keeGQoECYZBtK6D6vtlezuISTvBmLI6vXJHB6DLqAjJ+i2Z\n\tpO0GhxwZtT2ybG65","X-Google-Smtp-Source":"ADKCNb723avpggz3N7OIZk5QlxFyxDYX62KmGkn1kc8egNYNwH9PGsbH5gATaSz61lA8JT9+hyzPGQ==","X-Received":"by 10.84.133.4 with SMTP id 4mr6488720plf.3.1504664141344;\n\tTue, 05 Sep 2017 19:15:41 -0700 (PDT)","From":"Kever Yang <kever.yang@rock-chips.com>","To":"u-boot@lists.denx.de","Date":"Wed,  6 Sep 2017 10:14:37 +0800","Message-Id":"<1504664087-26473-11-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 10/10] rockchip: evb-rk322x: update defconfig with\n\ttpl and optee 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":"Enable all the options for TPL/SPL and OPTEE.\n\nSigned-off-by: Kever Yang <kever.yang@rock-chips.com>\n---\n\n configs/evb-rk3229_defconfig | 28 ++++++++++++++++++++++++----\n 1 file changed, 24 insertions(+), 4 deletions(-)","diff":"diff --git a/configs/evb-rk3229_defconfig b/configs/evb-rk3229_defconfig\nindex bf5baf5..2fe2061 100644\n--- a/configs/evb-rk3229_defconfig\n+++ b/configs/evb-rk3229_defconfig\n@@ -4,15 +4,27 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y\n CONFIG_SPL_LIBGENERIC_SUPPORT=y\n CONFIG_SYS_MALLOC_F_LEN=0x800\n CONFIG_ROCKCHIP_RK322X=y\n-CONFIG_SPL_ROCKCHIP_BACK_TO_BROM=y\n+CONFIG_TPL_LDSCRIPT=\"arch/arm/mach-rockchip/rk322x/u-boot-tpl.lds\"\n+CONFIG_TPL_TEXT_BASE=0x10081004\n+CONFIG_TPL_MAX_SIZE=28672\n+CONFIG_TPL_STACK=0x10088000\n+CONFIG_TPL_ROCKCHIP_BACK_TO_BROM=y\n+CONFIG_ROCKCHIP_SPL_RESERVE_IRAM=0x0\n CONFIG_TARGET_EVB_RK3229=y\n-CONFIG_SPL_STACK_R_ADDR=0x80000\n+CONFIG_SPL_STACK_R_ADDR=0x60600000\n CONFIG_DEFAULT_DEVICE_TREE=\"rk3229-evb\"\n CONFIG_DEBUG_UART=y\n-CONFIG_ENV_IS_IN_MMC=y\n+CONFIG_FIT=y\n+CONFIG_FIT_VERBOSE=y\n+CONFIG_SPL_LOAD_FIT=y\n+CONFIG_SPL_FIT_SOURCE=\"board/rockchip/evb_rk3229/fit_spl_optee.its\"\n # CONFIG_DISPLAY_CPUINFO is not set\n+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set\n+# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set\n CONFIG_SPL_STACK_R=y\n-CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200\n+CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000\n+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x4000\n+CONFIG_SPL_OPTEE_SUPPORT=y\n CONFIG_FASTBOOT=y\n CONFIG_USB_FUNCTION_FASTBOOT=y\n CONFIG_CMD_FASTBOOT=y\n@@ -29,13 +41,19 @@ CONFIG_CMD_USB_MASS_STORAGE=y\n # CONFIG_CMD_SETEXPR is not set\n CONFIG_CMD_TIME=y\n CONFIG_SPL_OF_CONTROL=y\n+CONFIG_TPL_OF_CONTROL=y\n CONFIG_OF_SPL_REMOVE_PROPS=\"pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents\"\n+CONFIG_ENV_IS_IN_MMC=y\n+CONFIG_TPL_DM=y\n CONFIG_REGMAP=y\n CONFIG_SPL_REGMAP=y\n+CONFIG_TPL_REGMAP=y\n CONFIG_SYSCON=y\n CONFIG_SPL_SYSCON=y\n+CONFIG_TPL_SYSCON=y\n CONFIG_CLK=y\n CONFIG_SPL_CLK=y\n+CONFIG_TPL_CLK=y\n CONFIG_ROCKCHIP_GPIO=y\n CONFIG_SYS_I2C_ROCKCHIP=y\n CONFIG_MMC_DW=y\n@@ -44,12 +62,14 @@ CONFIG_PINCTRL=y\n CONFIG_PINCTRL_ROCKCHIP_RK322X=y\n CONFIG_RAM=y\n CONFIG_SPL_RAM=y\n+CONFIG_TPL_RAM=y\n CONFIG_BAUDRATE=1500000\n CONFIG_DEBUG_UART_BASE=0x11030000\n CONFIG_DEBUG_UART_CLOCK=24000000\n CONFIG_DEBUG_UART_SHIFT=2\n CONFIG_SYS_NS16550=y\n CONFIG_SYSRESET=y\n+CONFIG_SPL_SYSRESET=y\n CONFIG_USB=y\n CONFIG_USB_DWC2=y\n CONFIG_USB_GADGET=y\n","prefixes":["U-Boot","10/10"]}