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: 262 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 129F93F033 for ; Fri, 26 Apr 2019 15:34:46 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id r13sf2101025pga.13 for ; Fri, 26 Apr 2019 06:34:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556285684; cv=pass; d=google.com; s=arc-20160816; b=czOJA52/S4FtrjXoAktgOrPoltdPfVqzI4R/FqO5Dc0uyoO4gOfHbFQsGhP61DZEYl WImzTc1EJKH8w4VGG3g1cmKK2RuwzRIg/8qEeTOK23F5TcsfeW4M9nf93LSky8I7DI6B YkF1mkZZwsxZXOHnAEJL7vuPypJANmgMZd5pmg021MODuQzEXWQObev6kD0b8CFRP8Tx YLvrjqGQCl4efl1ZmVjrxkuPzEBxPFgSB7M7Ou67Yo5QxOX7rEmwOqH1R45EoFAySCUj EmL/NnsSsw8JHHfwQ+YNo4CvbBMKtt8KSBTbpT1upD3DK+jRDd8tmIX928gyiD0TVEWy xWgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=cQtzTVKwL3YYq4RNm+jBIDPZs/4GWufIVCpkoLD94Vo=; b=X0iyuTo08k3dBvCqgFTnaGD3nTYzTLPu5/MPddOXACTKyJKtYFRTSPtfM7iU7bNjFk +dlFfBLbC3pBhUrskT/aeHOgULgEAF30I9k5G5w4gPJ0/QlApjEiVeySzn//3pHsYXuT yGriFjWtpFRfw+Xzi/SVdNr/uZd4Wjhgk58xNohW7VWMmdDIftCGc3cXcSFGjARtVGX0 HNJawkLXAdNTeLT9Al+ZwDQAinj3EQ7f5JabdlLC6vX2NEx28Ucam0usTDBXB1Nh43VY 7R2uyFDB33eOO7IiMO8lNyQNJVYBwnwtGkx2R4h73o2Z+6rgijGSo9mQNi/oz1u7JCVd ttBw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="mzxaI/cm"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=cQtzTVKwL3YYq4RNm+jBIDPZs/4GWufIVCpkoLD94Vo=; b=WnhDwpiOT/N52UU3nyIO7EDydNqRg1Tck2uNdd+qzBRu2/8CUPl7Dm0uuTY6r9LAcM P9FA815zd1PslH6XH+w5DR07lFXVIp1ubRRV/QMKtZ0GCGzdBDM5U5686FOq8Q2N9HcI q+nxMYzzjmz775dO6K4I1PktOq+w/VFFMzB4w= 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 :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=cQtzTVKwL3YYq4RNm+jBIDPZs/4GWufIVCpkoLD94Vo=; b=iEsuymmEaxMlr3tGX98keuRSoZ+uFaobKauFlihSnwaclkixe+4Jxcb00GPc8z7P+m 6BjYj+ofsKTFvESOJDr6EQfK4m32ajGHp0ZSQ47F1FfpxGVUS4hjxVvUDMpO+ok7dphX MalS1uRJHnRci/czuogigApFR4g6zSF8S4uboGjYkV36M3PQYgP2LZ/2gQKoHyzcIXoX w90ohDUAbNU8Cx2uhcn1nQPnV0sQOpnFeoA+a2FZSsbXy95B9twhsAhaTY50f7RHZYbY 4WkrACjHAsRX6THRwkP861nck7E51UMq874kIaf6KdOVLzKwOETX235x0XD+e9aX6Zbq Yz3A== X-Gm-Message-State: APjAAAVzvlsdbylXk6XRW6RWiAh5PI8umTtOBRuBBjlbRaKiPveraU3m 4u2RrsCop+6nV9zPYfvJ0lTCalyU X-Google-Smtp-Source: APXvYqwQrrZmmPB8jsSheoaZYGM9wNGItF4MjLW9PJ7mBeklgfZujFJsVqgxlTrWlNdZPfWOUcQnMw== X-Received: by 2002:a62:2a44:: with SMTP id q65mr14581521pfq.226.1556285684289; Fri, 26 Apr 2019 06:34:44 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:b60a:: with SMTP id j10ls7851066pff.6.gmail; Fri, 26 Apr 2019 06:34:43 -0700 (PDT) X-Received: by 2002:a63:2943:: with SMTP id p64mr40946163pgp.151.1556285683691; Fri, 26 Apr 2019 06:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556285683; cv=none; d=google.com; s=arc-20160816; b=lswv2H6WwKK/Ie6r20j+CfnIaZP2fCfCxQH1Lsnw2h/UM7sEowvy8ObR4V+Br+GhU1 PPn7gOnR7QQhoUhYKMAT1x/dxApb1ezwHy7QqUtXlThzae9oC66jquyMdAd5cqUHpL4f KvitWHcRlumiD3ldFbBpCAkkzTfoN9fCulHA4y7LXsu9e/QxsJ0VgeAaJNSLk4WK2gpF C34ebmAh7Lkt3fSQgnwau/dyk6jlBGy0PzzYSUIS40qw1CdNnrAtf8gklyf5FhHPHElf 1uOgLSXnSWvzX7hCYRndwwtT27YfwAoTVimRNFhVN9GvncOthmyTrTagtPEs/TU+0xY/ ezgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=7Fd3bZULM35Zg9UziIQdvQyEJ4GZ0VkpsPmi/Mc9U7Y=; b=XzZXNKeHW0Yxy6hldclGihAG3X00L6dnaYlPiZ4+23WgIRHW78mrhOM2ofw38aYzr7 15ccWW5WZyJKmfmv3CRmRVRuKXN//S+Z6HcgoA9kpReDiA27J/LfyWRnGXOECzUaT+4g RUTEIeh14urTnx7jskeRHwMUoARiEo95L2LUdokBl1CXhZ5otJJ5xswJOIQ2/eg5rvDD 6WF8ndhEi6ORS8ntwEmrcayJFYiRsvS6gmxspluVCTfTiBWmSsj7F/fUFfau7+syZ2l5 7K+1db2pZr4JvXJQybL5KVn/5ttw+ejIIt3r/2dkJl12ef5+QEbTit/R+FDHHkHJOplW tjPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="mzxaI/cm"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id j13sor566705pgq.53.2019.04.26.06.34.43 for (Google Transport Security); Fri, 26 Apr 2019 06:34:43 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; 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 Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki 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-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="mzxaI/cm"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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