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 EA411C352A1 for ; Wed, 7 Dec 2022 02:00:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D921B853FB; Wed, 7 Dec 2022 03:00:18 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="S1bgEOGD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 82C7E854D4; Wed, 7 Dec 2022 02:08:46 +0100 (CET) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0FBD6853FE for ; Wed, 7 Dec 2022 02:08:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-ej1-x629.google.com with SMTP id n21so10421849ejb.9 for ; Tue, 06 Dec 2022 17:08:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RRn3d/BZBBYMm8+N0ForMj0A1oHZpS9XVvYBvyQT4ls=; b=S1bgEOGDAVRQBAniLLCW4NeDLP1PgGxH6/P9REHjPiltkR5gY2ANfU2kzooU/x7VLg 0QcWT66hxEBM2G7n7sCZDYUp3lZL+mfxXv4rIcjc+SFEwcR+3OE/pvKuvhQqH+oOWF/R 0vvb1GP/Lg70/wM/dmA+59xXTFeJ2M6w4W9/U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RRn3d/BZBBYMm8+N0ForMj0A1oHZpS9XVvYBvyQT4ls=; b=uFEqG1gJ9aTOKHltJI6Kzx1uydAvHGIn93xC/XL+ja2x5VO0nnZtamPak3h72lRbCP KV4/ouzOpcv/lfd4dsQrUwdwxKuBvJhRjqigjz1OTqNeDFn4oiIgTxmqX8tGbUKEArTu M95RA1JCH9MQoFPOex0Mqiq+xHi0ekIr4UkMueFWzMtPyROT6XGkzC230aq5gjwnLWXz qSLdg35UwtOpYKIi6CAEIE5mFyGERAdQxKzEnzB4vB9O2h1KdvUnPpZpxFrpgTkCA6am xqDPve+sXVaFUnlHiruGt+0rmoWEH4Ofvn6qJmRjotEpQ7l7mj8/Jx5YJSFSIZ6uIdD1 pBKw== X-Gm-Message-State: ANoB5pnKgWzsrfANPdG+vQKm4BV4y4ct5Umtj9o4uc7lp9gVAz1hNrOU kbtFD4ZpHWARDId/Ehyed1y2fx7iiNHaZBo84uYiStvqziWm9XVUDVA= X-Google-Smtp-Source: AA0mqf4dnUf8xTAHjt0ghBrfIuFJpOSdBSi2c+u5262qcFwekFZpCcoiJ/gL91cOcyH79aec5P6toQWIAzZdK9G3rso= X-Received: by 2002:a17:906:e87:b0:78d:b88f:1548 with SMTP id p7-20020a1709060e8700b0078db88f1548mr77921245ejf.221.1670375321974; Tue, 06 Dec 2022 17:08:41 -0800 (PST) MIME-Version: 1.0 References: <20221106224011.606743-1-sjg@chromium.org> In-Reply-To: <20221106224011.606743-1-sjg@chromium.org> From: Simon Glass Date: Wed, 7 Dec 2022 14:08:29 +1300 Message-ID: Subject: Re: [PATCH v4 0/7] binman: rockchip: Migrate from rockchip SPL_FIT_GENERATOR script To: U-Boot Mailing List Cc: Roger Quadros , Alper Nebi Yasak , Peter Geis , Philippe Reynes , Ivan Mikhaylov , Tom Rini , huang lin , Jeffy Chen , Kever Yang , Philipp Tomsich , Adam Ford , Alifer Moraes , Andre Przywara , Andreas Geisreiter , "Andrew F. Davis" , Angus Ainslie , "Ariel D'Alessandro" , Aswath Govindraju , Bin Meng , Chee Hong Ang , Chee Tien Fong , "Chia-Wei, Wang" , Chin-Liang See , Christoph Niedermaier , Dinh Nguyen , Fabio Estevam , Frieder Schrempf , Heiko Thiery , Heinrich Schuchardt , Ilko Iliev , Jagan Teki , Jan Kiszka , Le Jin , Ley Foon Tan , Luca Ceresoli , Lukasz Majewski , Manoj Sai , Marcel Ziswiler , Marco Franchi , =?UTF-8?B?TWFyZWsgQmVow7pu?= , Marek Vasut , Matteo Lisi , Michael Trimarchi , Michael Walle , Michal Simek , Mingkai Hu , Olaf Mandel , Oliver Graute , =?UTF-8?Q?Pali_Roh=C3=A1r?= , Patrice Chotard , Patrick Delaunay , =?UTF-8?Q?Pawe=C5=82_Anikiel?= , Peng Fan , Philipp Tomsich , Quentin Schulz , Rajesh Bhagat , Siew Chin Lim , Stefan Herbrechtsmeier , Teresa Remmet , Tim Harvey , "Ying-Chun Liu (PaulLiu)" , kernel@puri.sm, u-boot@dh-electronics.com, uboot-stm32@st-md-mailman.stormreply.com Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Wed, 07 Dec 2022 03:00:13 +0100 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.6 at phobos.denx.de X-Virus-Status: Clean Hi Kevar, On Mon, 7 Nov 2022 at 11:40, Simon Glass wrote: > > At present rockchip 64-bit boards make use of a FIT-generator script > written in Python. The script supports splitting an ELF file into several > 'loadable' nodes in the FIT. Binman does not current support this feature. > > This series adds binman support for ELF splitting. This works by adding a > new 'fit,operation' property to the FIT subnodes, allowing this new way of > generating nodes. > > Some other fixes and improvements are needed along the way. > > A new, common binman description is added for 64-bit boards which includes > the required u-boot.itb file. > > The existing script is removed, so that only a few zynq boards are now > using a SPL_FIT_GENERATOR script: > > avnet_ultrazedev_cc_v1_0_ultrazedev_som_v1_0 > xilinx_zynqmp_virt > > Migration of those is hopefully in progress. > > Note however that tools/k3_fit_atf.sh remains, used by a few boards that > enable CONFIG_TI_SECURE_DEVICE so this series is copied there too: > > am335x_hs_evm > am335x_hs_evm_uart > am43xx_hs_evm > am57xx_hs_evm > am57xx_hs_evm_usb > am65x_hs_evm_a53 > am65x_hs_evm_r5 > dra7xx_hs_evm > dra7xx_hs_evm_usb > j721e_hs_evm_a72 > j721e_hs_evm_r5 > k2e_hs_evm > k2g_hs_evm > k2hk_hs_evm > k2l_hs_evm > > Ivan Mikhaylov has sent a patch to help with these, but I need to take a > look at the testing side. In any case they should really be using binman > for the image generation. > > Changes in v4: > - Add new patch to disable USE_SPL_FIT_GENERATOR by default > > Changes in v3: > - Add an offset to the FIT description > - Add support for writing sections in binman > - Rebase to master > > Changes in v2: > - Rename op-tee to tee-os > - Drop use of .itb2 > - Drop patches previously applied > - Add various suggestions from Alper Nebi Yasak > - Add patches to refactor binman's FIT support > > Simon Glass (7): > binman: Allow writing section contents to a file > rockchip: evb-rk3288: Drop raw-image support > rockchip: Include binman script in 64-bit boards > rockchip: Support building the all output files in binman > rockchip: Convert all boards to use binman > rockchip: Drop the FIT generator script > treewide: Disable USE_SPL_FIT_GENERATOR by default > Can this one please be applied in time for the release? Regards, Simon