From patchwork Sat Jun 1 14:47:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matwey V. Kornilov" X-Patchwork-Id: 1108788 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="OUYKH/gr"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45GPMK55M6z9sNf for ; Sun, 2 Jun 2019 00:48:27 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 5CFF9C21E15; Sat, 1 Jun 2019 14:48:21 +0000 (UTC) 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=FREEMAIL_FROM, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id BD2BBC21C51; Sat, 1 Jun 2019 14:48:19 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 64D43C21C51; Sat, 1 Jun 2019 14:48:18 +0000 (UTC) Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) by lists.denx.de (Postfix) with ESMTPS id 041B4C21BE5 for ; Sat, 1 Jun 2019 14:48:18 +0000 (UTC) Received: by mail-lf1-f67.google.com with SMTP id q26so10263221lfc.3 for ; Sat, 01 Jun 2019 07:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/U492SflbdKNli0O4m2a11JjXM0zjfblFs4b6Yoxzkk=; b=OUYKH/gr6hstSY6eGoHNw5hHK80TbHF0F8l8mz0ZSHsvd1ORMlaV1LENI4dcDKyVK8 TiIuenVNnjRhhw3HSSi2w6y8NJdrnGSni1oPwHfLSMapCYM4pjospU+8Ja27CEfUASPc b5xSgnUCmmZoYiB+rii+4kiwB+GDosotnrZe5mMuPCtMZ7C4OCnQ1BtDyOEYnOFIeUEz uHN2uTbr8gFJtz46yWjeeMoR+RwaYgAIbeLyP6nq7Tly0hjFIcVEWkJSlzB/u03leDaI ZviOk+2WqwffYtc1FfUx4/KVQMhVjhcqJMpBZIGHFk5uvUtAVPeWqRu+oBQ07X3r1QfV BieA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/U492SflbdKNli0O4m2a11JjXM0zjfblFs4b6Yoxzkk=; b=exdJmlZX9HtQ+q2tcXOMiSie1QZFgFOPKJm6xwmvDm6qJNMNRdfKAZGqcH/JJBJ7fT YCPc7js/Bpm5ide9D5PiKUR1ifwkGbXi2IiuRBqkLCebksvKxCH2xqHC6C5hVQLQA6AR Q0NiixlMIQ3tRgujDsNY6p3aNUG6oYjI7PDqaey3QPd660NVqQfzhFq6ptw3J0BTrLu8 B2FPaOv/79wzmoTejvAskLnl6c65zaHzhOLNZQ1qGMrWKjrIy1pX/67PMt10psJsKnm0 +yKenDFSnBnV4qicNY7Z9pSnjzrFsrpQZ7lniLDe2EAa8fSpofLwW5g+SbQcScuG/Scj C/8w== X-Gm-Message-State: APjAAAW0a91GD7S89+ZVDr/yIHWxUilhHx3RqYqjoy2MKStyi7S65QBo hc7M4dNzbjsk5htjFltrTt0= X-Google-Smtp-Source: APXvYqyV/ygXn2dcV9jUirWQVReUgu+g4HDjPshgqM0v3U44hiU1Q9y160qhZkcv2i5kUkKEL2pAOA== X-Received: by 2002:ac2:5601:: with SMTP id v1mr8656143lfd.106.1559400497191; Sat, 01 Jun 2019 07:48:17 -0700 (PDT) Received: from oak.local ([92.243.181.209]) by smtp.gmail.com with ESMTPSA id e19sm1843812ljj.62.2019.06.01.07.48.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Jun 2019 07:48:16 -0700 (PDT) From: "Matwey V. Kornilov" To: sjg@chromium.org, philipp.tomsich@theobroma-systems.com, kever.yang@rock-chips.com Date: Sat, 1 Jun 2019 17:47:30 +0300 Message-Id: <20190601144736.8580-1-matwey.kornilov@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190519121020.13866-1-matwey.kornilov@gmail.com> References: <20190519121020.13866-1-matwey.kornilov@gmail.com> Cc: vagrant@debian.org, u-boot@lists.denx.de, "Matwey V. Kornilov" Subject: [U-Boot] [PATCH v3 0/6] Add initial support for Pine64 Rock64 board X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This series adds initial basic support for Pine64 Rock64 board. The ROCK64 is a credit card size SBC based on Rockchip RK3328 Quad-Core ARM Cortex A53. This series allow building u-boot SPL and u-boot.itb for Rock64 board. Unfortunately, proprietary TPL is stil required for deploy: ./tools/mkimage -n rk3328 -T rksd -d ./rkbin/bin/rk33/rk3328_ddr_333MHz_v1.14.bin idbloader.img cat ./spl/u-boot-spl.bin >> idbloader.img dd if=idbloader.img of=/dev/sdcard seek=64 conv=notrunc dd if=u-boot.itb of=/dev/sdcard seek=16384 conv=notrunc The series has been tested with ATF v1.6. Some patches in the series are taken from https://github.com/rockchip-linux/u-boot Credits are given in each patch separately. Changes since v2: - add deploy documentation to doc/README.rockchip - fix broken evb-rk3328 build Changes since v1: - reword messages for commit 2,4,5 - set SPL_REVERVE_IRAM to 0x40000 - add spl-boot-order to rk3328-rock64-u-boot.dtsi Kever Yang (3): rockchip: rk3328: add SPL board file support rockchip: rk3328: add SPL support rockchip: Kconfig: enable SPL support for rk3328 Matwey V. Kornilov (3): rockchip: dts: rk3328: add rk3328-rock64.dts rockchip: rk3328: add rock64-rk3328_defconfig doc: rockchip: Add note for Pine64 Rock64 board arch/arm/dts/Makefile | 3 +- arch/arm/dts/rk3328-rock64-u-boot.dtsi | 34 ++++ arch/arm/dts/rk3328-rock64.dts | 294 ++++++++++++++++++++++++++++++ arch/arm/mach-rockchip/Kconfig | 7 + arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rk3328-board-spl.c | 59 ++++++ configs/evb-rk3328_defconfig | 7 + configs/rock64-rk3328_defconfig | 91 +++++++++ doc/README.rockchip | 30 ++- include/configs/rk3328_common.h | 4 + 10 files changed, 527 insertions(+), 3 deletions(-) create mode 100644 arch/arm/dts/rk3328-rock64-u-boot.dtsi create mode 100644 arch/arm/dts/rk3328-rock64.dts create mode 100644 arch/arm/mach-rockchip/rk3328-board-spl.c create mode 100644 configs/rock64-rk3328_defconfig