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 05CC7C77B76 for ; Mon, 17 Apr 2023 20:29:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DF74385EA1; Mon, 17 Apr 2023 22:29:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b="DmoaECAc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6C84F85F7B; Mon, 17 Apr 2023 22:29:40 +0200 (CEST) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 E5A1485746 for ; Mon, 17 Apr 2023 22:29:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ralph.siemsen@linaro.org Received: by mail-qt1-x82e.google.com with SMTP id fy11so2106079qtb.12 for ; Mon, 17 Apr 2023 13:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681763376; x=1684355376; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=IfDtmVDbVpSLC/a7Ev+BVMQmB2ETcNwh2BtM8ZBAudc=; b=DmoaECAcLKRLuRaGwLhhn6ZAYRHABDZAhSVmnvWIv3N9WsfXUZMibX8A09WSMq6LaW gSkogXEAYs5q89/HpyF/jTlPJJFAsQVabd0DILkutWH56WLshOn+bDRvtRu8dBMMMF2+ sg62pwFSXRot5bNiYHUs71Jyd7CH+XTmgb8xAfqVwQwqmx/inZ/gkeqdnhS4hNE4e7em lW+yiTfCPWk4HuCsAY2VWOdSDEjGGcwsNIpDhuMRFHs4H2vzQws5ZI94TbtBmQKDJLy7 L2mAA025XJNPlpzXi1OOF7fdn+hi0/kAfTxtKM1MZ3UMtS1BouJBT5FqqYIHmOgEq+zA URQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681763376; x=1684355376; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=IfDtmVDbVpSLC/a7Ev+BVMQmB2ETcNwh2BtM8ZBAudc=; b=GUgxTOpOVlhkNloq9KLnPJy4vla0NSJz+DotL2S7GbNV6mSE9z+9QUURTWltQZdgyL ZKQsX/54JamRskPPUy9ab9K0H1p5ZBw6NX76gEuCwDL3I4SDF0T6+yDQKcdkQ8VNtTXN 8vHUhwy5+0ZUu4XOnOKD1QO9KkumURcO++jwZPRYl46sPpx9KMSUQrkEs8hyvxL6kKLE 6UEV4HUBeDX1AIz0rLyfYmgw+YzIj5bTbV8ECJBBLWEsaEjLkrof35EbNb9V+xmLmI28 /LkFPHifzTJia61mssKRBKiP1s6lRZHh/LN3f9adFuz47u4mhsMwKvyQnSbS9qtolfO7 E1RA== X-Gm-Message-State: AAQBX9eIi7vCAm3tRaqr8MMZpi0FOjrKAcLZtnuOEezsRHevrSDFrwjr M4pnb29tB69ygEAIEEuJZ+1uBA== X-Google-Smtp-Source: AKy350bcfijN0jUwb0oun90HKvhpdRUAzYvzl2Hxj5pkafKWBGdvV4/EmxKgDFibnfash+PYB+JKsw== X-Received: by 2002:a05:6214:27ef:b0:5ad:a15b:3e6c with SMTP id jt15-20020a05621427ef00b005ada15b3e6cmr15680447qvb.48.1681763376743; Mon, 17 Apr 2023 13:29:36 -0700 (PDT) Received: from localhost (rfs.netwinder.org. [206.248.184.2]) by smtp.gmail.com with ESMTPSA id eh18-20020a056214187200b005ef5ba49adesm2362701qvb.57.2023.04.17.13.29.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 13:29:36 -0700 (PDT) Date: Mon, 17 Apr 2023 16:29:35 -0400 From: Ralph Siemsen To: Marek Vasut Cc: u-boot@lists.denx.de Subject: Re: [PATCH v4 10/10] doc: renesas: add Renesas board docs Message-ID: <20230417202935.GH642444@maple.netwinder.org> References: <20230308202653.1926303-1-ralph.siemsen@linaro.org> <20230308202653.1926303-11-ralph.siemsen@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: 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.8 at phobos.denx.de X-Virus-Status: Clean On Mon, Apr 17, 2023 at 07:28:05PM +0200, Marek Vasut wrote: >On 3/8/23 21:26, Ralph Siemsen wrote: >RZ/N1 > >>+ - Schneider rzn1-snarc board >>+ >>+Building >>+-------- >>+ >>+NOTE: the following information is for the rzn1 board only. > >Maybe this should be in a separate document , some rzn1 specific .rst file ? Originally I did just document the RZ/N1 stuff, since I really have no experience or knowledge of the other ones. But it felt wrong to create "doc/board/renesas" containing only RZ/N1 information. So I tried to at least collect the names of the other Renesas boards from U-Boot sources. I'll make the fixes you suggested, and will move the RZ/N1 details into their own file. >>+ tools/mkimage -n board/schneider/rzn1-snarc/spkgimage.cfg \ >>+ -T spkgimage -a 0x20040000 -e 0x20040000 \ >>+ -d u-boot.bin u-boot.bin.spkg > >Shouldn't binman do this for you ? That should be the primary option. Indeed it does, see below. I did however want to document how to call mkimage manually, since it took me a while to work out the right arguments (especially using -n for the config file). >>+Binman >>+^^^^^^ >>+ >>+Alternatively `binman` may be used to generate the SPKG format for booting. >>+This tool and its pre-requisites must be installed as per >>+:doc:`../../../tools/binman/binman.rst`` >>+ >>+.. code-block:: bash >>+ >>+ binman -d arch/arm/dts/r9a06g032-rzn1-snarc.dtb -o >>+ >>+This will produce `u-boot.bin.spkg` in the specified directory. Ralph