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 1F7ACC19F2D for ; Tue, 9 Aug 2022 13:04:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3D8E2849B0; Tue, 9 Aug 2022 15:03:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Bt7B4Ic4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 982D9849B0; Tue, 9 Aug 2022 15:03:57 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9B6E4841E0 for ; Tue, 9 Aug 2022 15:03:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 51128B8111F; Tue, 9 Aug 2022 13:03:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E994EC433D6; Tue, 9 Aug 2022 13:03:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660050232; bh=D1UKn9sTqnWi3G0vecpJeGPbs8jiK/kKRu90yugWPL8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Bt7B4Ic4B1dNs8faGWtV7Qsnw7ZMEdhP1IBR/89fTnEqt4kpbovdSDm9eP29o3VYa n5fVGR4LK/wWmoZ0WeMfFsha58I1MRWFsKc3Bh1Al1kLzoN2onaMGrAKIUhTVexo0i d1GtQQlb8tALiiPwsOOM0Id/902PyQtS3gXFU+KQp6zC4OKNGy01H5uv+MJ/+vK0jW hSsp3G+xgWJBCeEBytbQxEo/eIfdOpkxMZ4+mrvc6LwYt40FrN85mJ9mfNZh6QVibt 9rf2KPGyECwcOBMF934KVjPiHEu0tuaeory85bOT5J9bT5+Lq2gO0ACzWqGS9hk4jb xYKbGQqdyamug== Received: by pali.im (Postfix) id DA2FFC1F; Tue, 9 Aug 2022 15:03:48 +0200 (CEST) Date: Tue, 9 Aug 2022 15:03:48 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Ralph Siemsen Cc: u-boot@lists.denx.de, Michel Pollet , AKASHI Takahiro , Andre Przywara , Heiko Thiery , Samuel Holland , Simon Glass , Stefan Roese Subject: Re: [RFC PATCH v1 9/9] tools: Add tool to create Renesas SPKG images Message-ID: <20220809130348.hhtdgnytufppni72@pali> References: <20220809125959.217333-1-ralph.siemsen@linaro.org> <20220809125959.217333-10-ralph.siemsen@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220809125959.217333-10-ralph.siemsen@linaro.org> User-Agent: NeoMutt/20180716 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 On Tuesday 09 August 2022 08:59:59 Ralph Siemsen wrote: > From: Michel Pollet > > Renesas RZ/N1 devices contain BootROM code that loads a custom SPKG > image from QSPI, NAND or USB DFU. This tool converts a binary image into > an SPKG. > > SPKGs can optionally be signed, however this tool does not currently > support signed SPKGs. > > Signed-off-by: Michel Pollet > Signed-off-by: Ralph Siemsen > --- > This tool could possibly be incorporated into mkimage / imagetools. > However it is unclear how to handle the extra commandline parameters > (NAND ECC settings, etc). So for now it is stand-alone tool. Hello! You can use for example config file, like it has kwbimage.c which is integrated into mkimage and has support for NAND ECC settings. It is really better if BootROM specific image format is included in standard mkimage and dumpimage tools instead of new custom vendor tools.