From patchwork Thu Jan 9 18:46:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1026 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 645A83F042 for ; Thu, 9 Jan 2020 19:47:35 +0100 (CET) Received: by mail-pg1-f197.google.com with SMTP id l13sf4152127pgt.5 for ; Thu, 09 Jan 2020 10:47:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1578595653; cv=pass; d=google.com; s=arc-20160816; b=bHOpdsu4JKmGgKu4DmdqF57xLl+04A+i5Pngrrk63KBucK2R8jIIEcr7BYeofzhGXY Wvim5YRurAEojyNSlfZD0F9xsatODkTZRYk2+6FVqX+BE3R8qUvLW//mgyo5xoFi5S+z dulyvstl+ctQ2jlxO3EQa1dgoZD+mJnuQNWNNBU3Zqzb0o0QDfBtJKWtyy9ZIZ6TqQQO +7z+MkNoKufqJFs/N8w/PmheHIrQB8z44ts2ybi5U9h+Oc4G21rKPzmLtDb/eb3e5pJt qmR+IniByb1KStLmsHPdUbq4M8fLZUGh//4WqIqhwvDxaW4iHrFl20jmLhQ1KtnLgVm/ jT/A== 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=ZeyhOsdobRV9WNwN9QKYbXmEQZZDkb2b47fAE25lpRw=; b=Z/6u/nNJcN1BEZCII/UIdrB4RtBzQd7WLXuxNh2wgRNT36nSw+9MLrx6HmSHD3xWky eD2CciASIw4T2iXOK/J8BXztkme7JzeFQwJv/h5+QHhEfNT0hbpZlyXDZ+nfJwDTvvib rCH9aOatLcH45bMukLefJn1ocfVCxNG/QrWMehzeZNyM9F6MvZlmuiZuN5RtiOg/OG0q 2SRlcn4uckmnDszDW2EICObEP496t+tCCTgH8ewTHFgIfdIGLnHusMzcqsK/uQX+R4jQ 8G1pNKVHtcJ44VEC+xwsRfzIr2f7z9Q2Vm6XCupI6st6T83z+mLpz56dESfGni4vaEfm 5Rgg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=j2tJbhWV; 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=ZeyhOsdobRV9WNwN9QKYbXmEQZZDkb2b47fAE25lpRw=; b=c+flun9VYSB/WJRlcpzgfZJmCqIKEucgh8F8PvGSOg8Ti9d16+2ytlNJuGeVIsKulQ n/+00J7upnuVKsOPz2WrjESQocCZ8i88P6Aqebjz9iNXNhILA7dqSPFylzhgwD/pRI8x csAx0MBpr7hKG2n9mgf+WLRc4MaBDYg6GJTKc= 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=ZeyhOsdobRV9WNwN9QKYbXmEQZZDkb2b47fAE25lpRw=; b=nn7r/C+blYSWRTybqfFVnvMSkcbWZ3AAVkwvY9HTCcjdnPT81371p/ZC8lUGIAe+39 KL47VpfacDhfFbFKJ4slUu1yZN9NC/ZUQcJjnMTsLZMW//9quYz6h2vHUy2rFRlxqQk9 cmBC+6sCILrup/N4XY3t4NWk4BHPhu8Dep64SbU+BlINfsJgDrx5l/YEf4LPsq/SJwxl Cxq7WUUQ/HWrv8gMUwbdFRB6eCyHbX3W3J5eW8gMNf5x7os8qhs0fGRivYeo1w9ed8JL Cprqjv9fPpxgIKvtpTHhjL7NvhEwxx7xUGvVSEyOTB5Df0YEnqdLu2mUG1exphJ1eBMR b+AQ== X-Gm-Message-State: APjAAAV9hL2268jmK365v8cAA3utoVDfxZUxIYy8iXsCZ9vg6oWz0k/3 WYqJzqtMIsfDU2cVW4w4wpb/7c7B X-Google-Smtp-Source: APXvYqxtdz7IvjyYBqvQQfaT6oHFZB8DOf2gNuCt3/zDvxuTeaczTtJNDfWgoOCg1AopMIHPTr7GzA== X-Received: by 2002:a17:902:b103:: with SMTP id q3mr11666150plr.37.1578595653251; Thu, 09 Jan 2020 10:47:33 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:e107:: with SMTP id q7ls837060pfh.15.gmail; Thu, 09 Jan 2020 10:47:32 -0800 (PST) X-Received: by 2002:a65:48cb:: with SMTP id o11mr12956978pgs.313.1578595652726; Thu, 09 Jan 2020 10:47:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578595652; cv=none; d=google.com; s=arc-20160816; b=XcNJCzhsqrXf1h4NQpNWjTt/MqQYJehQsmXdIlLSp9qUERmUociuc3VZ/LKjWs66wM +tKcwYmI+iLHrD4mPMpahSTxj8we9REpdO1JZo5p6cCMJmF7l68i8PIpC/fDTkEwhGcv QpjbOdZDIahSiVqLqRhXSiXf7NoD2DM0sbtDNOjnIPTxfiD4pioNcHgFiAMLeQWUu7GA +qeBdnO0DGtdJtd0uAzErsb+bstA+9A/HIeCjSb1AeWL9xZy5niKFC4jfSbCaWWxlEOQ i/YraZRr1NuF9aD2rHTXBF4cVtqgmUZYDwEofQvEjGw50PJKgvsh8AeoI6VT4WeXmhLT B/OA== 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=J5nw/T7/tvYjNhKEcm+ssOCT4uLU87urHfMrixP63LA=; b=jybqlezOohtc21ZwmGI+aORm1qzMb89Nl6LS9IgMvWl8MD8j1kCC73IBxRzij+O3KK 5iNZPCmG/mkY0gNoTszh9ZtqoVI7+2+96R3/eOmk2Vj7+qr8NF4V2XtrNTHcd2FsgYpG 0C/gPUEIaADI4t3J+P9HmRbEnSV/EW4ZK2bAvcwMeqysrSwjCHoVk4ppeu5yTjc9XHkO 6xWkpwLTRG8/q50yashckJQz1fTFKeSXU9g+CZvvTmVHuqARceIaLg05YZ87g4vSeXd2 +kZgD2kcY17k2SqsmZ4eHHcQVaJohatH1ggL73XViMXz1nzavnyXmSIsihhHpAJPwJRA +YwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=j2tJbhWV; 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 c20sor8009005pfp.36.2020.01.09.10.47.32 for (Google Transport Security); Thu, 09 Jan 2020 10:47:32 -0800 (PST) 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:a05:6a00:90:: with SMTP id c16mr12388142pfj.230.1578595651786; Thu, 09 Jan 2020 10:47:31 -0800 (PST) Received: from localhost.localdomain ([2405:201:c809:c7d5:c4eb:be5d:1485:edee]) by smtp.gmail.com with ESMTPSA id i8sm8967306pfa.109.2020.01.09.10.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2020 10:47:31 -0800 (PST) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Akash Gajjar , u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v7 0/7] rockchip: Add Binman support Date: Fri, 10 Jan 2020 00:16:15 +0530 Message-Id: <20200109184622.3098-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=j2tJbhWV; 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 is v7 set for Binman support in rockchip, [1] here is previous patchset. This series add single boot image with binman for arm32 and pad_cat for arm64 rockchip platforms both TPL + SPL and SPL-alone targets. Changes for v7: - fix rock board - fix phycore-rk3288 size blow issue Changes for v6: - drop idbloader.img filename change patch - update rockchip.rst to include, rockchip TPL, SPI boot as TODO Changes for v5: - collect kever review tag - drop idbloader.img from clean target Changes for v4: - support all rockchip platforms - add new patches for dtsi changes - update documentation - format proper commit message - rebase on master Changes for v3: - rebase on master - add binman for rk3288, rk3328, rk3368, rk3399 - added rst documentation for rockchip Changes for v2: - Add few clean target patches - update bl31.elf env handling code, with logging - support puma itb, via BL31 and PMUM0 env - enable BUILD_TARGET for ROCKCHIP_RK3399 [1] https://patchwork.ozlabs.org/cover/1217529/ Any inputs? Jagan. Jagan Teki (7): Makefile: Add rockchip image type Makefile: rockchip: Suffix platform type with tpl name Makefile: rockchip: Support SPL-alone mkimage arm: dts: rk3036: Add rk3036-u-boot.dtsi arm: dts: rk3188: Add rk3188-u-boot.dtsi rockchip: Add Single boot image (with binman, pad_cat) doc: boards: Add rockchip documentation Makefile | 36 +++++- arch/arm/Kconfig | 1 + arch/arm/dts/rk3036-sdk-u-boot.dtsi | 2 + arch/arm/dts/rk3036-u-boot.dtsi | 6 + arch/arm/dts/rk3188-radxarock-u-boot.dtsi | 2 + arch/arm/dts/rk3188-u-boot.dtsi | 6 + arch/arm/dts/rk3288-u-boot.dtsi | 2 + arch/arm/dts/rockchip-u-boot.dtsi | 21 ++++ configs/phycore-rk3288_defconfig | 2 - doc/board/rockchip/index.rst | 10 ++ doc/board/rockchip/rockchip.rst | 130 ++++++++++++++++++++++ include/configs/rockchip-common.h | 3 + 12 files changed, 214 insertions(+), 7 deletions(-) create mode 100644 arch/arm/dts/rk3036-u-boot.dtsi create mode 100644 arch/arm/dts/rk3188-u-boot.dtsi create mode 100644 arch/arm/dts/rockchip-u-boot.dtsi create mode 100644 doc/board/rockchip/index.rst create mode 100644 doc/board/rockchip/rockchip.rst