From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E8840C433F5 for ; Mon, 25 Apr 2022 00:04:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4AFF583B4C; Mon, 25 Apr 2022 02:04:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=mirx.dev Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mirx.dev header.i=@mirx.dev header.b="v8ra+kd1"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="VlqNxT8P"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A48D183B44; Mon, 25 Apr 2022 02:03:59 +0200 (CEST) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CA2DA83AC6 for ; Mon, 25 Apr 2022 02:03:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=mirx.dev Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andrew@mirx.dev Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 4145E3201FA0; Sun, 24 Apr 2022 20:03:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 24 Apr 2022 20:03:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mirx.dev; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1650845031; x=1650931431; bh=qYMqXRVwbr+y1kXfQY9815HWz zDc7g7PUCB+R933ybo=; b=v8ra+kd1B0PL/4n/rcJcK9uTRKyw3mzY2SNoOfDU4 zZWzY4U17a7nPRbNELLy3XinOZ/pm6fPUANTkkxAV1hW31RP+iNQKBb/q0rXIc0u PlOynyoe7iQ9kPeG0ZNT91YoyeUAdFxbRXZPlEJrDS0LXA5BuAaT1+fmQaTtcCmd t9GRcYMtrUjpWMzJdCOE0hjmk9HRdrFp03Hlv0qeD5OZYuMO02ezrXYuXbxPcd9l vhUNp8pGWl6f4uO/8IAWLTfvvPuT5FyvIgKVtEIF3eEmCUkEOl2XCDaTpeB5MRMw nWEsM0g4BaDwwOfbtvjgzd7otMyQ1b+PMaxfEfoxNYLFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1650845031; x=1650931431; bh=q YMqXRVwbr+y1kXfQY9815HWzzDc7g7PUCB+R933ybo=; b=VlqNxT8PcaUj5xn4Q E2JPW2ZyU7/19Pnk5opzzoH9f4PkCACvS2nn5EB+DgCAyEC5I2XFBBPBmG8b/Uuk lwZ4HixKuMe+kUmT6w5jPTs6ggXWHwhJIvZzzGeU16037YLIV1qZ+uOrUOy+f5df PcSaNgpGsSW4Xi1UhxcGh0cVqCs0MYX0oJZKeaQEu2uo3M0y6emwv7pnO6JMCgpn UMGQNzlLBckyIe5q/Q8x2cfkvCQS9kW7aTo2roaVhFSMbWj575WFM1wHYNZIFqvv 6lS0PwLACv+BCLOlm8DuzikeFCUF2NjbGcHyipLTGikuBaH2QNEs8jwDHLFZ2mhF VLp6g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddtgdefudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeetnhgurhgvficu tegssghothhtuceorghnughrvgifsehmihhrgidruggvvheqnecuggftrfgrthhtvghrnh epgefgffeggffgheegfedvgfekveekfeegfeevgeetkeeggeeugeegffdtleelgffgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvg ifsehmihhrgidruggvvh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 24 Apr 2022 20:03:46 -0400 (EDT) From: Andrew Abbott To: u-boot@lists.denx.de Cc: Andrew Abbott , Simon Glass , Philipp Tomsich , Kever Yang , Peter Robinson , Akash Gajjar , Jagan Teki , Samuel Dionne-Riel Subject: [RFC PATCH 0/8] Build Rockchip final images using binman Date: Mon, 25 Apr 2022 10:03:21 +1000 Message-Id: <20220425000329.28124-1-andrew@mirx.dev> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean My original goal was to produce SPI images for Rockchip platforms (specifically for me, ROCKPro64, and in the future ROCK64). Looking into it, it seemed nicer to just switch the SD/MMC image generation over to binman as well in the process. This is my attempt to move Rockchip final full image generation to binman, adding the option to make full SPI images as well. I'm sending this as RFC patches because I'm not sure whether this is the ideal way to do this, whether this is even something we'd even want to do, and exactly what I might be breaking by doing this. Other questions: - I noticed that ATF generation for ARM64 Rockchip is done via a Python script instead of binman. I don't currently know how to change that over to binman, but is that something worth pursuing as part of this? Please give me your feedback! Andrew Abbott (8): binman: mkimage: Support ':'-separated inputs rockchip: Add binman definitions for final images soc: rockchip: Include common U-Boot dtsi file board: rockchip: Move SPI U-Boot offset to config rockchip: Remove obsolete Makefile targets rockchip: Enable binman for ARM64 doc: rockchip: Update for new binman image generation board: rockpro64: Enable building SPI image Kconfig | 4 +- Makefile | 31 +--------- arch/arm/Kconfig | 2 +- arch/arm/dts/rk3308-u-boot.dtsi | 2 + arch/arm/dts/rk3328-u-boot.dtsi | 2 + arch/arm/dts/rk3368-lion-haikou-u-boot.dtsi | 1 - arch/arm/dts/rk3368-u-boot.dtsi | 1 + arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi | 4 -- arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi | 1 - arch/arm/dts/rk3399-roc-pc-u-boot.dtsi | 4 -- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 4 -- arch/arm/dts/rk3568-u-boot.dtsi | 2 + arch/arm/dts/rockchip-u-boot.dtsi | 59 ++++++++++++++++++-- arch/arm/mach-rockchip/Kconfig | 7 +-- arch/arm/mach-rockchip/rk3399/Kconfig | 1 + configs/lion-rk3368_defconfig | 1 + configs/pinebook-pro-rk3399_defconfig | 1 + configs/puma-rk3399_defconfig | 2 +- configs/roc-pc-rk3399_defconfig | 1 + configs/rockpro64-rk3399_defconfig | 1 + doc/board/rockchip/rockchip.rst | 34 ++++------- tools/binman/etype/mkimage.py | 33 +++++++---- 22 files changed, 107 insertions(+), 91 deletions(-) -- 2.35.3