{"id":819134,"url":"http://patchwork.ozlabs.org/api/patches/819134/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1506515969-1472-7-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":"<1506515969-1472-7-git-send-email-kever.yang@rock-chips.com>","list_archive_url":null,"date":"2017-09-27T12:39:27","name":"[U-Boot,6/8] rockchip: rk3128: add evb-rk3128 support","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"375eeeb5f7de650865f433d350c7608497717435","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/1506515969-1472-7-git-send-email-kever.yang@rock-chips.com/mbox/","series":[{"id":5353,"url":"http://patchwork.ozlabs.org/api/series/5353/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=5353","date":"2017-09-27T12:39:21","name":"rockchip: add new SoC support for RK3128","version":1,"mbox":"http://patchwork.ozlabs.org/series/5353/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/819134/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/819134/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=\"H8sGNjmz\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y2HbM0wyVz9t5l\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 27 Sep 2017 22:45:03 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid BEFF6C21C46; Wed, 27 Sep 2017 12:43:28 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 0F3BDC21E32;\n\tWed, 27 Sep 2017 12:40:34 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 61322C21E39; Wed, 27 Sep 2017 12:40:12 +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 378CEC21DA1\n\tfor <u-boot@lists.denx.de>; Wed, 27 Sep 2017 12:40:01 +0000 (UTC)","by mail-pf0-f194.google.com with SMTP id i23so6740750pfi.2\n\tfor <u-boot@lists.denx.de>; Wed, 27 Sep 2017 05:40:01 -0700 (PDT)","from localhost.localdomain ([103.29.142.67])\n\tby smtp.gmail.com with ESMTPSA id\n\tv24sm21833899pfi.132.2017.09.27.05.39.57\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 27 Sep 2017 05:39:58 -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=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=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=LuLoqAaGyoP19Fc4GV0PnT27NYBqQHsBrnQzx/2H6Ig=;\n\tb=H8sGNjmzdyEfiymVPs9TX+lFG+2U+iAWoXsh/lt8bpWgEm95c0ObFpv++0GWdHNrSo\n\tEHc78mI+kqAaRX7G+A4UPEsNjXadu0XBlxax6VU/XQvmoRqy5S8zQR6+r8Ija13GZsw0\n\tCYMGqf+is0N89vwa8WEzC04xdWwG4ZCDqzltzECsd57Y3sTvFj0aV6EB0X6MPcHvMhfI\n\tTOUFdGZVjj+W8sTJIsvhFudh6DSAty1wuU+Bq2C/KKOGVmTn6v+oPpD+gxPiJAWWvIeI\n\tV1mItY8kCP1PpVCtILY3+xVppnahvs3FII9MmKC8EBwzdqxhUzE5BNPn2On4t9h0ldaS\n\tStng==","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=LuLoqAaGyoP19Fc4GV0PnT27NYBqQHsBrnQzx/2H6Ig=;\n\tb=fxIyj8a+DgRfToD/8syACMDxYAwkqM9G1sUgQUZDpNue9KQm7JAyfxgCo2q3p9eH86\n\t8WkFFl1xZLtUjcLbV1cMTCfXQH0x7JijIr8Bv8foqtzXHivAgLWHvk4z0H47nzWv+IOb\n\ta9AadazCtYDs9LPvXyiO1mgtZHHssB9MDyaxSzAAkkftjuBnEHiUy8Qom+NsE2S64YZa\n\thc9Bi+6g0xEqv16h10l2dWTuSqI3zLPgxlNVfGs7Rpto4b2EoSbfX/uk20+p0DKnbjAC\n\tfJPpV8lAbcP5cn34Cvk4pQoorXb4T4NYQjvwYFUVm1JDsxKfU6ajFNzL0r2MlCVhJWhv\n\t0cOA==","X-Gm-Message-State":"AHPjjUgF2M+3X9DMjZT47kF6O8k3JoA3zfVgx+EEy5Yo+sJwXAD7yGgd\n\tPUeIcUsQ55V0BmIcDxDGiLGyiQ==","X-Google-Smtp-Source":"AOwi7QCCyesnKHNpj12t6XIjMf8HFN4lus2+DXCC1vlHLM1Ava7A+XqLVkp8zMkvF+xq31gFzKlQIg==","X-Received":"by 10.84.217.221 with SMTP id d29mr1134407plj.309.1506515999669; \n\tWed, 27 Sep 2017 05:39:59 -0700 (PDT)","From":"Kever Yang <kever.yang@rock-chips.com>","To":"u-boot@lists.denx.de","Date":"Wed, 27 Sep 2017 20:39:27 +0800","Message-Id":"<1506515969-1472-7-git-send-email-kever.yang@rock-chips.com>","X-Mailer":"git-send-email 1.9.1","In-Reply-To":"<1506515969-1472-1-git-send-email-kever.yang@rock-chips.com>","References":"<1506515969-1472-1-git-send-email-kever.yang@rock-chips.com>","Subject":"[U-Boot] [PATCH 6/8] rockchip: rk3128: add evb-rk3128 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":"evb-rk3128 is an evb from Rockchip based on rk3128 SoC:\n- 2 USB2.0 Host port;\n- 1 HDMI port;\n- 2 10/100M eth port;\n- 2GB ddr;\n- 16GB eMMC;\n- UART to USB debug port;\n\nSigned-off-by: Kever Yang <kever.yang@rock-chips.com>\n---\n\n arch/arm/mach-rockchip/rk3128/Kconfig  | 23 +++++++++++++++++++++++\n board/rockchip/evb_rk3128/Kconfig      | 15 +++++++++++++++\n board/rockchip/evb_rk3128/MAINTAINERS  |  6 ++++++\n board/rockchip/evb_rk3128/Makefile     |  7 +++++++\n board/rockchip/evb_rk3128/evb-rk3128.c |  9 +++++++++\n include/configs/evb_rk3128.h           | 23 +++++++++++++++++++++++\n 6 files changed, 83 insertions(+)\n create mode 100644 board/rockchip/evb_rk3128/Kconfig\n create mode 100644 board/rockchip/evb_rk3128/MAINTAINERS\n create mode 100644 board/rockchip/evb_rk3128/Makefile\n create mode 100644 board/rockchip/evb_rk3128/evb-rk3128.c\n create mode 100644 include/configs/evb_rk3128.h","diff":"diff --git a/arch/arm/mach-rockchip/rk3128/Kconfig b/arch/arm/mach-rockchip/rk3128/Kconfig\nindex e69de29..a6e8722 100644\n--- a/arch/arm/mach-rockchip/rk3128/Kconfig\n+++ b/arch/arm/mach-rockchip/rk3128/Kconfig\n@@ -0,0 +1,23 @@\n+if ROCKCHIP_RK3128\n+\n+choice\n+\tprompt \"RK3128 board select\"\n+\n+config TARGET_EVB_RK3128\n+\tbool \"RK3128 evaluation board\"\n+\thelp\n+\t  RK3128evb is a evaluation board for Rockchip rk3128,\n+\t  with full function and phisical connectors support like\n+\t  usb2.0 host ports, LVDS, JTAG, MAC, SDcard, HDMI, USB-2-serial...\n+\n+endchoice\n+\n+config SYS_SOC\n+\tdefault \"rockchip\"\n+\n+config SYS_MALLOC_F_LEN\n+\tdefault 0x0800\n+\n+source \"board/rockchip/evb_rk3128/Kconfig\"\n+\n+endif\ndiff --git a/board/rockchip/evb_rk3128/Kconfig b/board/rockchip/evb_rk3128/Kconfig\nnew file mode 100644\nindex 0000000..5b3095a\n--- /dev/null\n+++ b/board/rockchip/evb_rk3128/Kconfig\n@@ -0,0 +1,15 @@\n+if TARGET_EVB_RK3128\n+\n+config SYS_BOARD\n+\tdefault \"evb_rk3128\"\n+\n+config SYS_VENDOR\n+\tdefault \"rockchip\"\n+\n+config SYS_CONFIG_NAME\n+\tdefault \"evb_rk3128\"\n+\n+config BOARD_SPECIFIC_OPTIONS # dummy\n+\tdef_bool y\n+\n+endif\ndiff --git a/board/rockchip/evb_rk3128/MAINTAINERS b/board/rockchip/evb_rk3128/MAINTAINERS\nnew file mode 100644\nindex 0000000..f5145d1\n--- /dev/null\n+++ b/board/rockchip/evb_rk3128/MAINTAINERS\n@@ -0,0 +1,6 @@\n+EVB-RK3128\n+M:      Kever Yang <kever.yang@rock-chips.com>\n+S:      Maintained\n+F:      board/rockchip/evb_rk3128\n+F:      include/configs/evb_rk3128.h\n+F:      configs/evb-rk3128_defconfig\ndiff --git a/board/rockchip/evb_rk3128/Makefile b/board/rockchip/evb_rk3128/Makefile\nnew file mode 100644\nindex 0000000..6040891\n--- /dev/null\n+++ b/board/rockchip/evb_rk3128/Makefile\n@@ -0,0 +1,7 @@\n+#\n+# (C) Copyright 2017 Rockchip Electronics Co., Ltd\n+#\n+# SPDX-License-Identifier:     GPL-2.0+\n+#\n+\n+obj-y\t+= evb-rk3128.o\ndiff --git a/board/rockchip/evb_rk3128/evb-rk3128.c b/board/rockchip/evb_rk3128/evb-rk3128.c\nnew file mode 100644\nindex 0000000..bf36e25\n--- /dev/null\n+++ b/board/rockchip/evb_rk3128/evb-rk3128.c\n@@ -0,0 +1,9 @@\n+/*\n+ * (C) Copyright 2017 Rockchip Electronics Co., Ltd\n+ *\n+ * SPDX-License-Identifier:     GPL-2.0+\n+ */\n+\n+#include <common.h>\n+\n+DECLARE_GLOBAL_DATA_PTR;\ndiff --git a/include/configs/evb_rk3128.h b/include/configs/evb_rk3128.h\nnew file mode 100644\nindex 0000000..f60e22c\n--- /dev/null\n+++ b/include/configs/evb_rk3128.h\n@@ -0,0 +1,23 @@\n+/*\n+ * (C) Copyright 2017 Rockchip Electronics Co., Ltd\n+ *\n+ * SPDX-License-Identifier:     GPL-2.0+\n+ */\n+\n+#ifndef __EVB_RK3128_H\n+#define __EVB_RK3128_H\n+\n+#include <configs/rk3128_common.h>\n+\n+#define CONFIG_ENV_IS_IN_MMC\n+#define CONFIG_SYS_MMC_ENV_DEV 1\n+/*\n+ * SPL @ 32k for ~36k\n+ * ENV @ 96k\n+ * u-boot @ 128K\n+ */\n+#define CONFIG_ENV_OFFSET (96 * 1024)\n+\n+#define CONFIG_CONSOLE_SCROLL_LINES\t\t10\n+\n+#endif\n","prefixes":["U-Boot","6/8"]}