From patchwork Sat Jun 8 21:27:12 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: 1112551 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="dQt+T4qo"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45Lsv02CVmz9s6w for ; Sun, 9 Jun 2019 07:27:54 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id D91CAC21F87; Sat, 8 Jun 2019 21:27:49 +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 A4AC3C21EC9; Sat, 8 Jun 2019 21:27:47 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 29905C21ECA; Sat, 8 Jun 2019 21:27:46 +0000 (UTC) Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) by lists.denx.de (Postfix) with ESMTPS id ACBABC21E9F for ; Sat, 8 Jun 2019 21:27:45 +0000 (UTC) Received: by mail-lf1-f65.google.com with SMTP id y198so4098894lfa.1 for ; Sat, 08 Jun 2019 14:27:45 -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 :in-reply-to:references; bh=S0mC31FuYwu9uP6FvWiaP6R4m0f7c+qc3Ynl72A5ISA=; b=dQt+T4qoBNTzQXi++vt3hqNf2vgBm/IzBdvKt/rLO9ckCBqosWahCdR3mt9NNiBt3B Tm0qdKZ29mvozNFV3U65ZSsjZPBPSW2Qy+iLWE0Ux8/g5SPvg/zjmxSOvHW64UgeEWAE EGocLKyl/Mc0uVAA1b3v4FV0eICcSLJ1yoOeXqzmNy4LgCZ6RVbl1ET20WA9DOOK8cUJ KjNz1zNLTtqBCW3Wx8KdbEHNNJpHH2RTOn75vxA9hP7XK6nvpIk+L3PxDtCfzAuFdFWS WRNtvQMHKiq6irvZ4PqPFChW4KdTsdcXAWTqi8wxVLzNuj7HWTeKLh4W1MiFQbillsSr G6PA== 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:in-reply-to:references; bh=S0mC31FuYwu9uP6FvWiaP6R4m0f7c+qc3Ynl72A5ISA=; b=f2h68bpDX6A08X3Pc+WF9C8kHoZK8jjbb7LmLLyQiAx7cKpx+6TAHsBTtCk9z5apPS a7j+kQqsOl4GaR7JPOoCXSOaoE3gs+43bWEICMDgcSep/cpkN1i1ANyoqTdPegnS8OqI /hl/tyRO1bFGwSuUgKrFQq/Wc8WXwc6Zdj+CQzZGL97RUOQtCU+jdovowq4mSAIiaToN 4UmFZyD5gmxNsMxJnpwxfSbCd4Sr+Xh29YpGzbmtAxgQdmWDCTbjWkvc036U4p7Swpuk kwFSAlEBXMjuJXnjx3XzdthgNV1orCT//4yXxTHoceIFhwrj6gSnTcxHSgRDXwzmFdV/ oQlg== X-Gm-Message-State: APjAAAXUsB/kiV8DOaKDh5jQEJ12yMCO+rklYVAcMbmaXIpm53pZ7dQa YVuj7arK6FwLz1ATdY57IYc= X-Google-Smtp-Source: APXvYqy6ryFFUwYcTljrCdVCoLV8pvprwqv2E4UsGlILxcEcDdhlwYzujqdU1ma1VeWnnH2FKeY/sA== X-Received: by 2002:ac2:46f9:: with SMTP id q25mr32746646lfo.181.1560029263822; Sat, 08 Jun 2019 14:27:43 -0700 (PDT) Received: from oak.local ([92.243.181.209]) by smtp.gmail.com with ESMTPSA id l29sm1125236lfp.83.2019.06.08.14.27.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jun 2019 14:27:42 -0700 (PDT) From: "Matwey V. Kornilov" To: sjg@chromium.org, philipp.tomsich@theobroma-systems.com, kever.yang@rock-chips.com Date: Sun, 9 Jun 2019 00:27:12 +0300 Message-Id: <20190608212718.9168-1-matwey.kornilov@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190601144736.8580-1-matwey.kornilov@gmail.com> References: <20190601144736.8580-1-matwey.kornilov@gmail.com> In-Reply-To: <20190601144736.8580-1-matwey.kornilov@gmail.com> References: <20190601144736.8580-1-matwey.kornilov@gmail.com> Cc: vagrant@debian.org, u-boot@lists.denx.de, "Matwey V. Kornilov" Subject: [U-Boot] [PATCH v4 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 v3: - add the entry to board/rockchip/evb_rk3328/MAINTAINERS 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 ++++++ board/rockchip/evb_rk3328/MAINTAINERS | 6 + configs/evb-rk3328_defconfig | 7 + configs/rock64-rk3328_defconfig | 91 +++++++++ doc/README.rockchip | 30 ++- include/configs/rk3328_common.h | 4 + 11 files changed, 533 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