From patchwork Mon Dec 30 08:28:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 964 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 45E103F076 for ; Mon, 30 Dec 2019 09:28:32 +0100 (CET) Received: by mail-pf1-f200.google.com with SMTP id p126sf18465015pfb.9 for ; Mon, 30 Dec 2019 00:28:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577694510; cv=pass; d=google.com; s=arc-20160816; b=X/qkSnahRlmClPBNC1F13ozygDseZcnrAchmbnz1Zy1ZrWsL0eSDU/RLgvbcnf65bM hZOLMbUF+ytERB1S2sA4/HAlhL4tsgdQIKL1ifxYwA5gfNCgwFqB1WOm9L2LaZSYkeek DJg4pElgrGIEBEk7pFJImyauDgXwMYqjDojgjwcmf/8ccRAGjUSeRB7b4h1Eri1H7n6q fT/cuKjLxZ5gsP4BMuWkGUri1XnJaPRhEKY1WreqX/EE2lDpZrq+hqVa2ePJuEx4JT14 iLWDP+UpPmEbEfOGLLyg7oB7dERDcJhft0GOtV/VOti8qcQfLpQE7k/iuyi4PP4+Ym2R yZlw== 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=uQEAze97iWb8q24nqy3/Gu9ajIB2+Re4NtrHrlKubKc=; b=JmU6SXt3us41NQZa7j/WaJahBFpVbAPBu9iH27chGWmgVRb5NxGXiJ9wwFEfuu76CK YeibYJbIDH830/2ZXDVgPk8FXHbxzp09HN/1oL/7LBZmq/rHJ5o7tK6sI4Zp9gL0p5Qp 3/7nL18C9tWzXhVGY3H7ofk5e0UDH/9A7yCVy0GO6xbb13jBsDyr1UOjq6iwm1oKPU3+ zZeDuvi671SyNf9QwPaUuSmo+e1wEslxNP71+SiAGyELf/bZDxKafjeQQpB+8YV6eTsO 1l060EhMZ5CqZeCo7LqAZQ8bl53JnpbKb1EReqqKPEPjMYdWyPcTPsa3sT4Pb3aFkKHh hUWw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dCgE4Uex; 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=uQEAze97iWb8q24nqy3/Gu9ajIB2+Re4NtrHrlKubKc=; b=LADCnzfsNkL3TdvM+h+pJsWRZPoWobTgmehob6aycdRdGD3PnxGXanLFuBSME5n8dI TT/eueHaznsnfNo8yHN6oYukUDZvUx4W1LdQfXDlR0pFQLTkNfZMbmD/BlkC1GEPoBGR XLA8QzHw9Z6/3mHegGa8BFCIrI9yp7oKtT6mE= 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=uQEAze97iWb8q24nqy3/Gu9ajIB2+Re4NtrHrlKubKc=; b=giW6D5Q8jHKDCeut3PgyU0Kki1zA+u47A7PPyLrTIPz8xSPqWyc184wsMO8ltInhnC khBebc6xDR133X22xm+O5AxCcVjCqwm83Z3tFHQqS1hOzHC3o9DQjP+p8Lr2IhEW8Yuu aVDdjLy4ac4S1UZ/REVZe4PGSBWuw2puY4Q9i545W3qdxZLC/K7UDlgN8MvSWw3oTC68 yInEbWvVGGgnuQ2LkoMgz20YIDNGNNFRQyp7IllTxmy/Pa4pvN4dVieLDkUU7SGz0CfU 9v2NHfZaj8ZlJHJjparmi8bDrwkhZY6gkJ2h5b/BbCqSOT2tdVW6sYiNt6sZkWOKUeOJ Ln7A== X-Gm-Message-State: APjAAAUlwHc+1V5ggG2cnY+AJamtL7cZkLVwGk8Be1w96UWzADRcvhMT 9MU1TaJbS3nIG1oZipi5YMbOApJh X-Google-Smtp-Source: APXvYqy05axY/QGeJxNnuG5u9WNXGTgIKrjssGVweqC2SqAdhu88+g5/4PM7wNGqnpOB2h2fEtKj9Q== X-Received: by 2002:a17:90a:e397:: with SMTP id b23mr43987053pjz.135.1577694509911; Mon, 30 Dec 2019 00:28:29 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:d352:: with SMTP id i18ls6614952pjx.4.canary-gmail; Mon, 30 Dec 2019 00:28:29 -0800 (PST) X-Received: by 2002:a17:902:442:: with SMTP id 60mr68701740ple.0.1577694509387; Mon, 30 Dec 2019 00:28:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577694509; cv=none; d=google.com; s=arc-20160816; b=mYhUTAzBzm3F/ljHYRIAZisiAwSrSq1R+lvcCVNANl4Ee9xr5xl5b7WSKypAnECQfn E/BMQ5lrnP1nmgTqL2ggnnn4805hDu1Zr8RBvF9tUfukDpBF1O8GybR4vAKtliizFIC8 DkG3vY/ahm9CnCIDnfj1LxemRdRrfP6DeWqti8LQqCxZ/dTjSUN6XWyVq64oRU0svI1P tUWVfgxBOSIVIiqM3+O3Z4tuvSAdbxTpoJZlK9GFBNtJ/XFGAxT7hCfFD4eaZsobQbjN BtJ/HNfyGRGYsPb2L7cHQ9CBXIwjMJHI69QT+uQ+O67x0QN4DtOUY9QuUrTxQsVkD5XI 3JYA== 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=btqYMsOj74q/x7AIGmy3qJ8oIoY5oxMd4QuWb+RSaDA=; b=AAkjWCxqo8JQqpXmvE+mO5zDeusdUd/1bD6TfxdZ2ivkwBU9kEc6dwm/3vTmtKK6hF 22GXUYh0Y0gImt1hePK8NDcNU0UPX0qyktZjeun9X/gRW+To2ICrlBKSQVz4KZnNVhQy ESaePNHGv0iPHB9BUhTEt+ty2SKHlaHq4wG3Z+viMAD0XyXZ7bpX4JFeXwnmDGKws1Nh jRpQQUHZc6fDQd3Yf7QBbaU5b2sheAl+mDPoUa3Whq9EgKIkFgjaonEK13eVtY/A9tTP Qn6xFFHd0evLjr0rdRxUd325JJIWdGnwCC1IipgSbcsIK6Xk/264K4EAK55tpOpqVsNB ByJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=dCgE4Uex; 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 h63sor23361153pjd.0.2019.12.30.00.28.28 for (Google Transport Security); Mon, 30 Dec 2019 00:28:28 -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:a17:90a:aa84:: with SMTP id l4mr44946125pjq.143.1577694508225; Mon, 30 Dec 2019 00:28:28 -0800 (PST) Received: from localhost.localdomain ([49.206.202.131]) by smtp.gmail.com with ESMTPSA id s1sm46240652pgv.87.2019.12.30.00.28.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2019 00:28:27 -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 v5 0/7] rockchip: Add Binman support Date: Mon, 30 Dec 2019 13:58:12 +0530 Message-Id: <20191230082819.30191-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=dCgE4Uex; 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 v5 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 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/1182449/ 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 Makefile: rockchip: Use u-boot preferred spl name arm: dts: rk3036: Add rk3036-u-boot.dtsi rockchip: Add Single boot image (with binman, pad_cat) doc: boards: Add rockchip documentation Makefile | 39 +++++++-- arch/arm/Kconfig | 1 + arch/arm/dts/rk3036-sdk-u-boot.dtsi | 2 + arch/arm/dts/rk3036-u-boot.dtsi | 6 ++ arch/arm/dts/rk3288-u-boot.dtsi | 2 + arch/arm/dts/rockchip-u-boot.dtsi | 21 +++++ doc/board/rockchip/index.rst | 10 +++ doc/board/rockchip/rockchip.rst | 128 ++++++++++++++++++++++++++++ include/configs/rockchip-common.h | 2 + 9 files changed, 204 insertions(+), 7 deletions(-) create mode 100644 arch/arm/dts/rk3036-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