From patchwork Fri Apr 26 13:34:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10919203 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 763A8912 for ; Fri, 26 Apr 2019 13:34:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6175228BAD for ; Fri, 26 Apr 2019 13:34:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5490A28D14; Fri, 26 Apr 2019 13:34:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C669F28BAD for ; Fri, 26 Apr 2019 13:34:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=+v8Oxrt3z5vruAbLv/QEwhjNtOrFSfWmUuIZUgLJaEY=; b=IpSxn/IFAQcX4y YKriq63rOwl8iFksWN+pvOI5tKP7uxl+dnOfYLbQBtYIuKSvdw1mTKzkpooyt+cxrDtPxwKzYlBL4 2AlRTGYoU/W8wcFO0zNir6gxfVj3LZoJjOigruLL7gids0+PCF4hpP2BC+dW17qWHk9FGm8p10gMo iUHByX/zt36dRCvTNG3x61n8RjyjAWoJINH+pZYivLmMpxLKxZz/CLRNjX6hkJF57/S9lj0G4/vVA UdCGKMlOk+Hl2HbYf7c2/YrEoB8JpshWUG0glhpWEJ19w0uWdRAi9Kq/A2LkbycyH/uykpaA5RIFb Htr1SS/I9u2Qtuhje27Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hK102-0005Bz-Vi; Fri, 26 Apr 2019 13:34:46 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hK0zz-0005Bd-Dj for linux-rockchip@lists.infradead.org; Fri, 26 Apr 2019 13:34:45 +0000 Received: by mail-pf1-x441.google.com with SMTP id h5so1762829pfo.0 for ; Fri, 26 Apr 2019 06:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7Fd3bZULM35Zg9UziIQdvQyEJ4GZ0VkpsPmi/Mc9U7Y=; b=mzxaI/cmImJ581kWWHBeIK/IiVjEpwfitLikNfhrhwFzx0fNgBR8Xss2TOs6DQ26/9 8m6LULSDzYpoW19ZDfcGsLsyR13+48GiUDisHyEXeeY477F1L3Guyv3X7dwkiYt9c8Xj CJ1BOgkF5DboGHCRxUkyKbfbzpIvLy3qTC4UQ= 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:mime-version :content-transfer-encoding; bh=7Fd3bZULM35Zg9UziIQdvQyEJ4GZ0VkpsPmi/Mc9U7Y=; b=lGPIGEJqBAjvC9IisRFr6A0O6NntU8tMyo73jyfIguu4CGk8qwye+p4TmAVl0Np/BV vjFss+/e1aT23anvGhUsfapNs2MI5DWJWBtjEripQCNzKAHjsJTbkD7L7h1QQmsZcqDP QShK1XfoW6bJ+2ANLztCqzyByMzQDHYGql+apFx9wiKu4A1KYQaGxwYVDN2Rny7Zd+O+ bcAR6q2LlVLx/Q2awOVon/xQYDyftb0QQUBpD4zAsho7hEzSw5rAYAxp0fm4atwKUPmn T09Bl+Kv5Vr6BtRyIJdhaHxcUKVN42n3VyK9ASp9XjXtjcTFTbnEAr1Aj8RNRqyTkQBx mJPA== X-Gm-Message-State: APjAAAWTAATS0ycgyhMivmBnkle29W2pYTb7/ljgO5NkyUfhRGcc+3/t csyDd+OZxJ2PemjGEC9uL6E2bA== X-Google-Smtp-Source: APXvYqxEDWKtEiD0eqMO5fksKskGV+NZcwfV0hIFkfmDzbU7zGLom9jp3DfoBNbWfo6fgtVHA2qrNA== X-Received: by 2002:a63:1b11:: with SMTP id b17mr4522582pgb.207.1556285682117; Fri, 26 Apr 2019 06:34:42 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id y19sm36946770pfn.164.2019.04.26.06.34.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 06:34:41 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar , Tom Rini , Manivannan Sadhasivam Subject: [PATCH 0/5] rk3399: make u-boot-rockchip-with-spl.bin Date: Fri, 26 Apr 2019 19:04:25 +0530 Message-Id: <20190426133430.17802-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190426_063443_608773_055C7FD0 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki , u-boot@lists.denx.de Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series will create single bootable image 'u-boot-rockchip-with-spl.bin' for rk3399 platform with single make command instead of building u-boot separately for u-boot.itb and burn them separately for SPL and U-Boot proper. This series has dependecy with[1] travis-ci issue: - need to include 'python-pyelftools' package, tried but can't succeed - right now build failed if BL31 is not exported, but this would manage to create dummy arm64 elf but any help on this would appreciate. [1] https://patchwork.ozlabs.org/cover/1091008/ Any inputs? Jagan. Jagan Teki (5): arm64: rockchip: dts: rk3399: Create -u-boot.dtsi files rockchip: rk3399: Get bl31.elf via BL31 env Kconfig: Add u-boot.itb BUILD_TARGET for Rockchip Makefile.spl: Create u-boot-spl-rockchip.bin for rk3399 rockchip: rk3399: Create single image using BINMAN Kconfig | 2 +- Makefile | 13 +++++++++++++ arch/arm/dts/rk3399-evb-u-boot.dtsi | 7 +++++++ arch/arm/dts/rk3399-evb.dts | 2 -- arch/arm/dts/rk3399-ficus-u-boot.dtsi | 7 +++++++ arch/arm/dts/rk3399-ficus.dts | 1 - arch/arm/dts/rk3399-firefly-u-boot.dtsi | 7 +++++++ arch/arm/dts/rk3399-firefly.dts | 2 -- arch/arm/dts/rk3399-gru-bob-u-boot.dtsi | 7 +++++++ arch/arm/dts/rk3399-gru-bob.dts | 1 - arch/arm/dts/rk3399-gru.dtsi | 1 - arch/arm/dts/rk3399-puma-ddr1600.dts | 2 +- arch/arm/dts/rk3399-puma.dtsi | 3 --- arch/arm/dts/rk3399-rock960-u-boot.dtsi | 7 +++++++ arch/arm/dts/rk3399-rock960.dts | 1 - arch/arm/dts/rk3399-u-boot.dtsi | 21 +++++++++++++++++++++ arch/arm/mach-rockchip/Kconfig | 9 +++++++++ arch/arm/mach-rockchip/make_fit_atf.py | 5 ++++- doc/README.rockchip | 15 ++++----------- include/configs/rk3399_common.h | 2 ++ scripts/Makefile.spl | 21 +++++++++++++++++++++ 21 files changed, 111 insertions(+), 25 deletions(-) create mode 100644 arch/arm/dts/rk3399-evb-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-ficus-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-firefly-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-gru-bob-u-boot.dtsi create mode 100644 arch/arm/dts/rk3399-rock960-u-boot.dtsi